@oiz/stzh-components 4.12.1-beta1 → 4.12.2

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 (900) hide show
  1. package/dist/cjs/{index-N0ol04NL.js → index-D-_ltZeJ.js} +3 -3
  2. package/dist/cjs/{index-N0ol04NL.js.map → index-D-_ltZeJ.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +2 -2
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +2 -2
  6. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-appointments.cjs.entry.js +2 -2
  11. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +2 -2
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +2 -2
  14. package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-navigation.cjs.entry.js +2 -2
  19. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +2 -2
  20. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +2 -2
  21. package/dist/cjs/stzh-card_2.cjs.entry.js +2 -2
  22. package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
  23. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-checkbox.cjs.entry.js +36 -6
  25. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  26. package/dist/cjs/stzh-chip_2.cjs.entry.js +3 -3
  27. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-components.cjs.js +2 -2
  31. package/dist/cjs/stzh-contact-cv.cjs.entry.js +2 -2
  32. package/dist/cjs/stzh-contact.cjs.entry.js +2 -2
  33. package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-cta.cjs.entry.js +2 -2
  36. package/dist/cjs/stzh-datalist_3.cjs.entry.js +2 -2
  37. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datatable.cjs.entry.js +2 -2
  40. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +36 -6
  41. package/dist/cjs/stzh-daterange.cjs.entry.js +2 -2
  42. package/dist/cjs/stzh-details.cjs.entry.js +2 -2
  43. package/dist/cjs/stzh-dialog.cjs.entry.js +2 -2
  44. package/dist/cjs/stzh-disturber.cjs.entry.js +2 -2
  45. package/dist/cjs/stzh-dropdown.cjs.entry.js +3 -3
  46. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventinfo.cjs.entry.js +2 -2
  49. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +2 -2
  50. package/dist/cjs/stzh-feedreader.cjs.entry.js +2 -2
  51. package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
  52. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
  54. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-ghettobox.cjs.entry.js +2 -2
  57. package/dist/cjs/stzh-header_3.cjs.entry.js +2 -2
  58. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
  61. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  66. package/dist/cjs/{stzh-input-description-Dbubu75V.js → stzh-input-description-BCu4biHD.js} +3 -3
  67. package/dist/cjs/{stzh-input-description-Dbubu75V.js.map → stzh-input-description-BCu4biHD.js.map} +1 -1
  68. package/dist/cjs/stzh-input.cjs.entry.js +31 -36
  69. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-link.cjs.entry.js +2 -2
  71. package/dist/cjs/stzh-linklist.cjs.entry.js +2 -2
  72. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  76. package/dist/cjs/stzh-message.cjs.entry.js +4 -4
  77. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagecontent.cjs.entry.js +2 -2
  83. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +2 -2
  84. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +2 -2
  85. package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
  86. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +2 -2
  88. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +2 -2
  90. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +2 -2
  93. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +2 -2
  94. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-popover.cjs.entry.js +2 -2
  96. package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
  97. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-rating.cjs.entry.js +37 -9
  99. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
  101. package/dist/cjs/stzh-richtext.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-scrollup.cjs.entry.js +2 -2
  104. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  105. package/dist/cjs/stzh-section.cjs.entry.js +2 -2
  106. package/dist/cjs/stzh-show.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +2 -2
  113. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +2 -2
  116. package/dist/cjs/stzh-sticky.cjs.entry.js +2 -2
  117. package/dist/cjs/stzh-table.cjs.entry.js +2 -2
  118. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-textandimage.cjs.entry.js +2 -2
  120. package/dist/cjs/stzh-timeline-item.cjs.entry.js +2 -2
  121. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-toast_2.cjs.entry.js +2 -2
  124. package/dist/cjs/stzh-toggle.cjs.entry.js +36 -7
  125. package/dist/cjs/stzh-tooltip.cjs.entry.js +2 -2
  126. package/dist/cjs/stzh-twocolumns.cjs.entry.js +2 -2
  127. package/dist/cjs/stzh-upload.cjs.entry.js +37 -8
  128. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  129. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +2 -2
  131. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  135. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  136. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  137. package/dist/cjs/{utils-BtvTjHH2.js → utils-CjJm84Uq.js} +59 -2
  138. package/dist/cjs/utils-CjJm84Uq.js.map +1 -0
  139. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +40 -4
  140. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js.map +1 -1
  141. package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +12 -0
  142. package/dist/collection/components/stzh-input/stzh-input.js +29 -34
  143. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  144. package/dist/collection/components/stzh-input/stzh-input.stories.js +32 -9
  145. package/dist/collection/components/stzh-message/stzh-message.js +5 -5
  146. package/dist/collection/components/stzh-message/stzh-message.js.map +1 -1
  147. package/dist/collection/components/stzh-message/stzh-message.stories.js +127 -2
  148. package/dist/collection/components/stzh-radio/stzh-radio.js +40 -4
  149. package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
  150. package/dist/collection/components/stzh-radio/stzh-radio.stories.js +13 -1
  151. package/dist/collection/components/stzh-rating/stzh-rating.js +39 -9
  152. package/dist/collection/components/stzh-rating/stzh-rating.js.map +1 -1
  153. package/dist/collection/components/stzh-rating/stzh-rating.stories.js +11 -0
  154. package/dist/collection/components/stzh-toggle/stzh-toggle.js +40 -5
  155. package/dist/collection/components/stzh-toggle/stzh-toggle.js.map +1 -1
  156. package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +15 -0
  157. package/dist/collection/components/stzh-upload/stzh-upload.js +37 -6
  158. package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
  159. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +9 -0
  160. package/dist/collection/utils/utils.js +56 -0
  161. package/dist/collection/utils/utils.js.map +1 -1
  162. package/dist/components/index.js +2 -2
  163. package/dist/components/{p-5iYOoBns.js → p-4Vt8Vqot.js} +3 -3
  164. package/dist/components/{p-5iYOoBns.js.map → p-4Vt8Vqot.js.map} +1 -1
  165. package/dist/components/{p-H9Yh6P94.js → p-6cYGuE14.js} +12 -12
  166. package/dist/components/{p-H9Yh6P94.js.map → p-6cYGuE14.js.map} +1 -1
  167. package/dist/components/{p-CzvAx4N0.js → p-AIPoMvau.js} +3 -3
  168. package/dist/components/{p-CzvAx4N0.js.map → p-AIPoMvau.js.map} +1 -1
  169. package/dist/components/{p-8vUD5Pvs.js → p-B44NYxqN.js} +38 -43
  170. package/dist/components/p-B44NYxqN.js.map +1 -0
  171. package/dist/components/{p-BcfJQ2iG.js → p-BB0rFoJE.js} +10 -10
  172. package/dist/components/{p-BcfJQ2iG.js.map → p-BB0rFoJE.js.map} +1 -1
  173. package/dist/components/{p-DajXzNIS.js → p-BBg6OWDc.js} +3 -3
  174. package/dist/components/{p-DajXzNIS.js.map → p-BBg6OWDc.js.map} +1 -1
  175. package/dist/components/{p-B9l_iEm8.js → p-BDTpabg7.js} +3 -3
  176. package/dist/components/{p-B9l_iEm8.js.map → p-BDTpabg7.js.map} +1 -1
  177. package/dist/components/{p-ulFcx8BE.js → p-BK6Q89R0.js} +6 -6
  178. package/dist/components/{p-ulFcx8BE.js.map → p-BK6Q89R0.js.map} +1 -1
  179. package/dist/components/{p-CLC2TbXk.js → p-BTNpLREK.js} +8 -8
  180. package/dist/components/{p-CLC2TbXk.js.map → p-BTNpLREK.js.map} +1 -1
  181. package/dist/components/{p-B6XvNGiA.js → p-BYIlBCuU.js} +7 -7
  182. package/dist/components/{p-B6XvNGiA.js.map → p-BYIlBCuU.js.map} +1 -1
  183. package/dist/components/{p-dZ-dwebM.js → p-BaU8F8yT.js} +12 -12
  184. package/dist/components/{p-dZ-dwebM.js.map → p-BaU8F8yT.js.map} +1 -1
  185. package/dist/components/{p-Cq0yCqAz.js → p-BbXrDPd7.js} +4 -4
  186. package/dist/components/{p-Cq0yCqAz.js.map → p-BbXrDPd7.js.map} +1 -1
  187. package/dist/components/{p-Cg0FICEV.js → p-Bc9gWpUe.js} +13 -13
  188. package/dist/components/{p-Cg0FICEV.js.map → p-Bc9gWpUe.js.map} +1 -1
  189. package/dist/components/{p-zoQGoMI3.js → p-BdtE_fpY.js} +3 -3
  190. package/dist/components/{p-zoQGoMI3.js.map → p-BdtE_fpY.js.map} +1 -1
  191. package/dist/components/{p-D6v9nUys.js → p-BeN1KWYK.js} +6 -6
  192. package/dist/components/{p-D6v9nUys.js.map → p-BeN1KWYK.js.map} +1 -1
  193. package/dist/components/{p-C4RWomy3.js → p-Bg2ganSs.js} +3 -3
  194. package/dist/components/{p-C4RWomy3.js.map → p-Bg2ganSs.js.map} +1 -1
  195. package/dist/components/{p-UU-uJ6rm.js → p-BiFb4c_S.js} +6 -6
  196. package/dist/components/{p-UU-uJ6rm.js.map → p-BiFb4c_S.js.map} +1 -1
  197. package/dist/components/{p-DWVF3j-K.js → p-BiZ4OWbq.js} +3 -3
  198. package/dist/components/{p-DWVF3j-K.js.map → p-BiZ4OWbq.js.map} +1 -1
  199. package/dist/components/{p-nQojTf6Q.js → p-BmG3hFM8.js} +3 -3
  200. package/dist/components/{p-nQojTf6Q.js.map → p-BmG3hFM8.js.map} +1 -1
  201. package/dist/components/{p-BphPIp_9.js → p-BsRNqz_b.js} +6 -6
  202. package/dist/components/{p-BphPIp_9.js.map → p-BsRNqz_b.js.map} +1 -1
  203. package/dist/components/{p-DOs1ZWHT.js → p-Bsor2Gp2.js} +8 -8
  204. package/dist/components/{p-DOs1ZWHT.js.map → p-Bsor2Gp2.js.map} +1 -1
  205. package/dist/components/{p-B5bRe2QR.js → p-C0lp0Fm8.js} +3 -3
  206. package/dist/components/{p-B5bRe2QR.js.map → p-C0lp0Fm8.js.map} +1 -1
  207. package/dist/components/{p-C9g8C0mi.js → p-C3-tTDZG.js} +4 -4
  208. package/dist/components/{p-C9g8C0mi.js.map → p-C3-tTDZG.js.map} +1 -1
  209. package/dist/components/{p-CtfINZeC.js → p-C3YgJPrk.js} +3 -3
  210. package/dist/components/{p-CtfINZeC.js.map → p-C3YgJPrk.js.map} +1 -1
  211. package/dist/components/{p-Di88jQY_.js → p-CKLwcqdK.js} +10 -10
  212. package/dist/components/{p-Di88jQY_.js.map → p-CKLwcqdK.js.map} +1 -1
  213. package/dist/components/{p-C4ew4BWF.js → p-CPdCE2fo.js} +7 -7
  214. package/dist/components/{p-C4ew4BWF.js.map → p-CPdCE2fo.js.map} +1 -1
  215. package/dist/components/{p-C7Wum7Zf.js → p-CRo_30JG.js} +3 -3
  216. package/dist/components/{p-C7Wum7Zf.js.map → p-CRo_30JG.js.map} +1 -1
  217. package/dist/components/{p-C8p_ftK9.js → p-CSqS_CuA.js} +3 -3
  218. package/dist/components/{p-C8p_ftK9.js.map → p-CSqS_CuA.js.map} +1 -1
  219. package/dist/components/{p-BHnUxFJO.js → p-CUN47AJ6.js} +4 -4
  220. package/dist/components/{p-BHnUxFJO.js.map → p-CUN47AJ6.js.map} +1 -1
  221. package/dist/components/{p-DjTm4fFR.js → p-CUfKtr7R.js} +3 -3
  222. package/dist/components/{p-DjTm4fFR.js.map → p-CUfKtr7R.js.map} +1 -1
  223. package/dist/components/{p-DmE9OpGH.js → p-CVHui8fR.js} +4 -4
  224. package/dist/components/{p-DmE9OpGH.js.map → p-CVHui8fR.js.map} +1 -1
  225. package/dist/components/{p-Bouerm1u.js → p-CWliRPVy.js} +6 -6
  226. package/dist/components/{p-Bouerm1u.js.map → p-CWliRPVy.js.map} +1 -1
  227. package/dist/components/{p-SGLayYK3.js → p-CX72zNNm.js} +3 -3
  228. package/dist/components/{p-SGLayYK3.js.map → p-CX72zNNm.js.map} +1 -1
  229. package/dist/components/{p-o34Djtsg.js → p-CXhl6EKC.js} +6 -6
  230. package/dist/components/{p-o34Djtsg.js.map → p-CXhl6EKC.js.map} +1 -1
  231. package/dist/components/{p-DONIQb7T.js → p-ChcKhy4e.js} +4 -4
  232. package/dist/components/{p-DONIQb7T.js.map → p-ChcKhy4e.js.map} +1 -1
  233. package/dist/components/{p-SyDKOxzb.js → p-CriJMdWt.js} +3 -3
  234. package/dist/components/{p-SyDKOxzb.js.map → p-CriJMdWt.js.map} +1 -1
  235. package/dist/components/{p-CK7gMyRU.js → p-CuR6yL1b.js} +3 -3
  236. package/dist/components/{p-CK7gMyRU.js.map → p-CuR6yL1b.js.map} +1 -1
  237. package/dist/components/{p-DMh6Sy1I.js → p-Cy--N6et.js} +9 -9
  238. package/dist/components/{p-DMh6Sy1I.js.map → p-Cy--N6et.js.map} +1 -1
  239. package/dist/components/{p-CPrTAi5M.js → p-D2yGNkLU.js} +4 -4
  240. package/dist/components/{p-CPrTAi5M.js.map → p-D2yGNkLU.js.map} +1 -1
  241. package/dist/components/{p-DbtxIjHJ.js → p-D4c33pwr.js} +13 -13
  242. package/dist/components/{p-DbtxIjHJ.js.map → p-D4c33pwr.js.map} +1 -1
  243. package/dist/components/{p-CN5apKPb.js → p-DBHUqFOB.js} +59 -3
  244. package/dist/components/p-DBHUqFOB.js.map +1 -0
  245. package/dist/components/{p-B2I6UGb-.js → p-DDAHV4ye.js} +4 -4
  246. package/dist/components/{p-B2I6UGb-.js.map → p-DDAHV4ye.js.map} +1 -1
  247. package/dist/components/{p-BSx9yT8P.js → p-DEfzwFSm.js} +3 -3
  248. package/dist/components/{p-BSx9yT8P.js.map → p-DEfzwFSm.js.map} +1 -1
  249. package/dist/components/{p-B-Td5eEF.js → p-DFEhv2Xw.js} +3 -3
  250. package/dist/components/{p-B-Td5eEF.js.map → p-DFEhv2Xw.js.map} +1 -1
  251. package/dist/components/{p-CzWLgw4z.js → p-DL-zsyu2.js} +11 -11
  252. package/dist/components/{p-CzWLgw4z.js.map → p-DL-zsyu2.js.map} +1 -1
  253. package/dist/components/{p-DGZVtVjz.js → p-DLBRj3YX.js} +4 -4
  254. package/dist/components/{p-DGZVtVjz.js.map → p-DLBRj3YX.js.map} +1 -1
  255. package/dist/components/{p-BWt1OlCP.js → p-DOnc5uKa.js} +6 -6
  256. package/dist/components/{p-BWt1OlCP.js.map → p-DOnc5uKa.js.map} +1 -1
  257. package/dist/components/{p-XSAPGv74.js → p-DPyihiYB.js} +4 -4
  258. package/dist/components/{p-XSAPGv74.js.map → p-DPyihiYB.js.map} +1 -1
  259. package/dist/components/{p-DvQXjdsB.js → p-DT0ux3Yn.js} +5 -5
  260. package/dist/components/{p-DvQXjdsB.js.map → p-DT0ux3Yn.js.map} +1 -1
  261. package/dist/components/{p-DsHYayb4.js → p-DT8WI_DQ.js} +6 -6
  262. package/dist/components/{p-DsHYayb4.js.map → p-DT8WI_DQ.js.map} +1 -1
  263. package/dist/components/{p-DcQjVFab.js → p-DTs8UJec.js} +4 -4
  264. package/dist/components/{p-DcQjVFab.js.map → p-DTs8UJec.js.map} +1 -1
  265. package/dist/components/{p-DX6blqyR.js → p-DXesblGY.js} +7 -7
  266. package/dist/components/{p-DX6blqyR.js.map → p-DXesblGY.js.map} +1 -1
  267. package/dist/components/{p-BKzN4XU2.js → p-DaIlRoxA.js} +4 -4
  268. package/dist/components/{p-BKzN4XU2.js.map → p-DaIlRoxA.js.map} +1 -1
  269. package/dist/components/{p-RMVTGhIS.js → p-Deiikj-l.js} +8 -8
  270. package/dist/components/{p-RMVTGhIS.js.map → p-Deiikj-l.js.map} +1 -1
  271. package/dist/components/{p-CnJ7i4Ge.js → p-DmRzqkUn.js} +4 -4
  272. package/dist/components/{p-CnJ7i4Ge.js.map → p-DmRzqkUn.js.map} +1 -1
  273. package/dist/components/{p-Dn5GUbNz.js → p-Dp2_qh2g.js} +44 -12
  274. package/dist/components/p-Dp2_qh2g.js.map +1 -0
  275. package/dist/components/{p-BA-k3iZ-.js → p-DrLVNdlm.js} +6 -6
  276. package/dist/components/{p-BA-k3iZ-.js.map → p-DrLVNdlm.js.map} +1 -1
  277. package/dist/components/{p-CjdErtj_.js → p-EWvxAi6Y.js} +44 -12
  278. package/dist/components/p-EWvxAi6Y.js.map +1 -0
  279. package/dist/components/{p-BopctUFy.js → p-JcCSKOtR.js} +7 -7
  280. package/dist/components/{p-BopctUFy.js.map → p-JcCSKOtR.js.map} +1 -1
  281. package/dist/components/{p-KSZ8qiZE.js → p-KKaagY0f.js} +10 -10
  282. package/dist/components/{p-KSZ8qiZE.js.map → p-KKaagY0f.js.map} +1 -1
  283. package/dist/components/{p-DehXKx39.js → p-R8ubFYun.js} +10 -10
  284. package/dist/components/{p-DehXKx39.js.map → p-R8ubFYun.js.map} +1 -1
  285. package/dist/components/{p-CVwbuuw7.js → p-RJIRkyt1.js} +9 -9
  286. package/dist/components/{p-CVwbuuw7.js.map → p-RJIRkyt1.js.map} +1 -1
  287. package/dist/components/{p-Bq8KQiri.js → p-SW8QhG6M.js} +3 -3
  288. package/dist/components/{p-Bq8KQiri.js.map → p-SW8QhG6M.js.map} +1 -1
  289. package/dist/components/{p-pWmESorT.js → p-dgzFBTky.js} +3 -3
  290. package/dist/components/{p-pWmESorT.js.map → p-dgzFBTky.js.map} +1 -1
  291. package/dist/components/{p-CdY_9ADR.js → p-i5bFTONl.js} +3 -3
  292. package/dist/components/{p-CdY_9ADR.js.map → p-i5bFTONl.js.map} +1 -1
  293. package/dist/components/{p-VpVgAuYa.js → p-rjZPG2L3.js} +3 -3
  294. package/dist/components/{p-VpVgAuYa.js.map → p-rjZPG2L3.js.map} +1 -1
  295. package/dist/components/{p-BS1D_VQu.js → p-wa6O8ip3.js} +4 -4
  296. package/dist/components/{p-BS1D_VQu.js.map → p-wa6O8ip3.js.map} +1 -1
  297. package/dist/components/{p-B0HsC5lT.js → p-xKyBBmWw.js} +3 -3
  298. package/dist/components/{p-B0HsC5lT.js.map → p-xKyBBmWw.js.map} +1 -1
  299. package/dist/components/{p-Cb-REzD8.js → p-xa5yO3I6.js} +8 -8
  300. package/dist/components/{p-Cb-REzD8.js.map → p-xa5yO3I6.js.map} +1 -1
  301. package/dist/components/stzh-accordion-item.js +1 -1
  302. package/dist/components/stzh-accordion.js +1 -1
  303. package/dist/components/stzh-actions.js +1 -1
  304. package/dist/components/stzh-actionset.js +1 -1
  305. package/dist/components/stzh-amount.js +9 -9
  306. package/dist/components/stzh-anchornav.js +5 -5
  307. package/dist/components/stzh-app-nav.js +1 -1
  308. package/dist/components/stzh-appointments.js +14 -14
  309. package/dist/components/stzh-archivelist.js +7 -7
  310. package/dist/components/stzh-audio.js +6 -6
  311. package/dist/components/stzh-badge.js +1 -1
  312. package/dist/components/stzh-banner.js +4 -4
  313. package/dist/components/stzh-breadcrumb.js +1 -1
  314. package/dist/components/stzh-button.js +1 -1
  315. package/dist/components/stzh-buttongroup.js +1 -1
  316. package/dist/components/stzh-calendar.js +1 -1
  317. package/dist/components/stzh-card-navigation.js +3 -3
  318. package/dist/components/stzh-card-searchresult.js +15 -15
  319. package/dist/components/stzh-card-superteaser.js +15 -15
  320. package/dist/components/stzh-card.js +1 -1
  321. package/dist/components/stzh-cardlist.js +1 -1
  322. package/dist/components/stzh-carousel.js +1 -1
  323. package/dist/components/stzh-cell.js +1 -1
  324. package/dist/components/stzh-chart.js +1 -1
  325. package/dist/components/stzh-checkbox.js +1 -1
  326. package/dist/components/stzh-checkboxgroup.js +6 -6
  327. package/dist/components/stzh-chip.js +1 -1
  328. package/dist/components/stzh-chipgroup.js +1 -1
  329. package/dist/components/stzh-chipselect.js +1 -1
  330. package/dist/components/stzh-clamp.js +1 -1
  331. package/dist/components/stzh-company-logo.js +1 -1
  332. package/dist/components/stzh-contact-cv.js +5 -5
  333. package/dist/components/stzh-contact.js +11 -11
  334. package/dist/components/stzh-container.js +1 -1
  335. package/dist/components/stzh-content.js +1 -1
  336. package/dist/components/stzh-cspace.js +1 -1
  337. package/dist/components/stzh-cta.js +4 -4
  338. package/dist/components/stzh-datalist-item.js +1 -1
  339. package/dist/components/stzh-datalist.js +1 -1
  340. package/dist/components/stzh-datamessagelist-item.js +11 -11
  341. package/dist/components/stzh-datamessagelist.js +1 -1
  342. package/dist/components/stzh-datatable.js +18 -18
  343. package/dist/components/stzh-datepicker.js +1 -1
  344. package/dist/components/stzh-daterange.js +5 -5
  345. package/dist/components/stzh-details.js +1 -1
  346. package/dist/components/stzh-dialog.js +1 -1
  347. package/dist/components/stzh-disturber.js +5 -5
  348. package/dist/components/stzh-dropdown.js +1 -1
  349. package/dist/components/stzh-editor.js +4 -4
  350. package/dist/components/stzh-eventdata.js +1 -1
  351. package/dist/components/stzh-eventinfo.js +6 -6
  352. package/dist/components/stzh-feedreader-item.js +3 -3
  353. package/dist/components/stzh-feedreader.js +9 -9
  354. package/dist/components/stzh-fieldset.js +1 -1
  355. package/dist/components/stzh-figure.js +1 -1
  356. package/dist/components/stzh-flyingfocus.js +1 -1
  357. package/dist/components/stzh-footer.js +5 -5
  358. package/dist/components/stzh-gallery.js +8 -8
  359. package/dist/components/stzh-geo-ref-data.js +24 -24
  360. package/dist/components/stzh-ghettobox.js +5 -5
  361. package/dist/components/stzh-header.js +1 -1
  362. package/dist/components/stzh-heading.js +1 -1
  363. package/dist/components/stzh-homepage-search.js +2 -2
  364. package/dist/components/stzh-homepage-service-highlights.js +7 -7
  365. package/dist/components/stzh-hr.js +1 -1
  366. package/dist/components/stzh-hspace.js +1 -1
  367. package/dist/components/stzh-http-error.js +7 -7
  368. package/dist/components/stzh-icon.js +1 -1
  369. package/dist/components/stzh-iframe.js +1 -1
  370. package/dist/components/stzh-imagecomparison.js +2 -2
  371. package/dist/components/stzh-input.js +1 -1
  372. package/dist/components/stzh-invert.js +1 -1
  373. package/dist/components/stzh-link.js +1 -1
  374. package/dist/components/stzh-linklist.js +11 -11
  375. package/dist/components/stzh-list-item.js +1 -1
  376. package/dist/components/stzh-list.js +1 -1
  377. package/dist/components/stzh-loader.js +1 -1
  378. package/dist/components/stzh-loadingbar.js +1 -1
  379. package/dist/components/stzh-menu-item.js +1 -1
  380. package/dist/components/stzh-menu.js +1 -1
  381. package/dist/components/stzh-message.js +1 -1
  382. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  383. package/dist/components/stzh-monthyearpicker.js +5 -5
  384. package/dist/components/stzh-offline-indicator.js +6 -6
  385. package/dist/components/stzh-olmap.js +1 -1
  386. package/dist/components/stzh-overlay.js +1 -1
  387. package/dist/components/stzh-page-skiplinks.js +1 -1
  388. package/dist/components/stzh-pagebottom.js +8 -8
  389. package/dist/components/stzh-pagecontent.js +2 -2
  390. package/dist/components/stzh-pagetitle-hero.js +2 -2
  391. package/dist/components/stzh-pagetitle-home.js +3 -3
  392. package/dist/components/stzh-pagetitle.js +3 -3
  393. package/dist/components/stzh-pagination.js +1 -1
  394. package/dist/components/stzh-panorama.js +11 -11
  395. package/dist/components/stzh-pi-content-navigation.js +4 -4
  396. package/dist/components/stzh-pi-menu.js +3 -3
  397. package/dist/components/stzh-pi-pagetitle.js +3 -3
  398. package/dist/components/stzh-pi-quote.js +1 -1
  399. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  400. package/dist/components/stzh-pi-teaser-layout.js +3 -3
  401. package/dist/components/stzh-pi-teaser.js +3 -3
  402. package/dist/components/stzh-pkzh-qr.js +20 -20
  403. package/dist/components/stzh-popover.js +1 -1
  404. package/dist/components/stzh-print.js +1 -1
  405. package/dist/components/stzh-quote.js +1 -1
  406. package/dist/components/stzh-radio.js +1 -1
  407. package/dist/components/stzh-radiogroup.js +1 -1
  408. package/dist/components/stzh-rating.js +42 -12
  409. package/dist/components/stzh-rating.js.map +1 -1
  410. package/dist/components/stzh-ratio.js +1 -1
  411. package/dist/components/stzh-readspeaker.js +5 -5
  412. package/dist/components/stzh-richtext.js +2 -2
  413. package/dist/components/stzh-row.js +1 -1
  414. package/dist/components/stzh-saptcha.js +7 -7
  415. package/dist/components/stzh-scrollup.js +2 -2
  416. package/dist/components/stzh-search.js +17 -17
  417. package/dist/components/stzh-section.js +2 -2
  418. package/dist/components/stzh-share.js +1 -1
  419. package/dist/components/stzh-show.js +1 -1
  420. package/dist/components/stzh-sitemap.js +9 -9
  421. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  422. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  423. package/dist/components/stzh-skiplink.js +1 -1
  424. package/dist/components/stzh-socialmediastream-item.js +1 -1
  425. package/dist/components/stzh-socialmediastream.js +7 -7
  426. package/dist/components/stzh-sortable.js +1 -1
  427. package/dist/components/stzh-space.js +1 -1
  428. package/dist/components/stzh-status.js +1 -1
  429. package/dist/components/stzh-stepper-item.js +1 -1
  430. package/dist/components/stzh-stepper.js +3 -3
  431. package/dist/components/stzh-sticky-actions.js +3 -3
  432. package/dist/components/stzh-sticky.js +1 -1
  433. package/dist/components/stzh-table.js +2 -2
  434. package/dist/components/stzh-tag.js +1 -1
  435. package/dist/components/stzh-text.js +1 -1
  436. package/dist/components/stzh-textandimage.js +2 -2
  437. package/dist/components/stzh-timeline-item.js +4 -4
  438. package/dist/components/stzh-timeline.js +1 -1
  439. package/dist/components/stzh-timepicker.js +5 -5
  440. package/dist/components/stzh-toast.js +1 -1
  441. package/dist/components/stzh-toastbar.js +1 -1
  442. package/dist/components/stzh-toggle.js +42 -11
  443. package/dist/components/stzh-toggle.js.map +1 -1
  444. package/dist/components/stzh-tooltip.js +1 -1
  445. package/dist/components/stzh-twocolumns.js +2 -2
  446. package/dist/components/stzh-upload.js +50 -19
  447. package/dist/components/stzh-upload.js.map +1 -1
  448. package/dist/components/stzh-vbz-carousel.js +2 -2
  449. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  450. package/dist/components/stzh-vbz-intro.js +6 -6
  451. package/dist/components/stzh-vbz-linechip.js +1 -1
  452. package/dist/components/stzh-vbz-majorticker.js +8 -8
  453. package/dist/components/stzh-vbz-ticker.js +7 -7
  454. package/dist/components/stzh-visuallyhidden.js +1 -1
  455. package/dist/components/stzh-vspace.js +1 -1
  456. package/dist/components/stzh-youtube.js +6 -6
  457. package/dist/esm/{index-BDy81lpO.js → index-BMrO_esM.js} +3 -3
  458. package/dist/esm/{index-BDy81lpO.js.map → index-BMrO_esM.js.map} +1 -1
  459. package/dist/esm/loader.js +3 -3
  460. package/dist/esm/stzh-accordion_3.entry.js +2 -2
  461. package/dist/esm/stzh-actions_6.entry.js +2 -2
  462. package/dist/esm/stzh-actionset.entry.js +1 -1
  463. package/dist/esm/stzh-amount.entry.js +1 -1
  464. package/dist/esm/stzh-anchornav.entry.js +1 -1
  465. package/dist/esm/stzh-app-nav.entry.js +1 -1
  466. package/dist/esm/stzh-appointments.entry.js +2 -2
  467. package/dist/esm/stzh-archivelist.entry.js +1 -1
  468. package/dist/esm/stzh-audio.entry.js +2 -2
  469. package/dist/esm/stzh-badge_3.entry.js +2 -2
  470. package/dist/esm/stzh-banner.entry.js +1 -1
  471. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  472. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  473. package/dist/esm/stzh-calendar.entry.js +1 -1
  474. package/dist/esm/stzh-card-navigation.entry.js +2 -2
  475. package/dist/esm/stzh-card-searchresult.entry.js +2 -2
  476. package/dist/esm/stzh-card-superteaser.entry.js +2 -2
  477. package/dist/esm/stzh-card_2.entry.js +2 -2
  478. package/dist/esm/stzh-carousel.entry.js +2 -2
  479. package/dist/esm/stzh-chart.entry.js +1 -1
  480. package/dist/esm/stzh-checkbox.entry.js +36 -6
  481. package/dist/esm/stzh-checkbox.entry.js.map +1 -1
  482. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  483. package/dist/esm/stzh-chip_2.entry.js +3 -3
  484. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  485. package/dist/esm/stzh-clamp.entry.js +1 -1
  486. package/dist/esm/stzh-company-logo.entry.js +1 -1
  487. package/dist/esm/stzh-components.js +3 -3
  488. package/dist/esm/stzh-contact-cv.entry.js +2 -2
  489. package/dist/esm/stzh-contact.entry.js +2 -2
  490. package/dist/esm/stzh-container_2.entry.js +1 -1
  491. package/dist/esm/stzh-content.entry.js +1 -1
  492. package/dist/esm/stzh-cta.entry.js +2 -2
  493. package/dist/esm/stzh-datalist_3.entry.js +2 -2
  494. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  495. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  496. package/dist/esm/stzh-datatable.entry.js +2 -2
  497. package/dist/esm/stzh-datepicker_3.entry.js +36 -6
  498. package/dist/esm/stzh-daterange.entry.js +2 -2
  499. package/dist/esm/stzh-details.entry.js +2 -2
  500. package/dist/esm/stzh-dialog.entry.js +2 -2
  501. package/dist/esm/stzh-disturber.entry.js +2 -2
  502. package/dist/esm/stzh-dropdown.entry.js +3 -3
  503. package/dist/esm/stzh-editor.entry.js +1 -1
  504. package/dist/esm/stzh-eventdata.entry.js +1 -1
  505. package/dist/esm/stzh-eventinfo.entry.js +2 -2
  506. package/dist/esm/stzh-feedreader-item.entry.js +2 -2
  507. package/dist/esm/stzh-feedreader.entry.js +2 -2
  508. package/dist/esm/stzh-figure.entry.js +2 -2
  509. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  510. package/dist/esm/stzh-footer.entry.js +2 -2
  511. package/dist/esm/stzh-gallery.entry.js +1 -1
  512. package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
  513. package/dist/esm/stzh-ghettobox.entry.js +2 -2
  514. package/dist/esm/stzh-header_3.entry.js +2 -2
  515. package/dist/esm/stzh-heading.entry.js +1 -1
  516. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  517. package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
  518. package/dist/esm/stzh-hr.entry.js +1 -1
  519. package/dist/esm/stzh-hspace.entry.js +1 -1
  520. package/dist/esm/stzh-http-error.entry.js +1 -1
  521. package/dist/esm/stzh-iframe.entry.js +1 -1
  522. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  523. package/dist/esm/{stzh-input-description-D2d54L27.js → stzh-input-description-F6xJmR4b.js} +3 -3
  524. package/dist/esm/{stzh-input-description-D2d54L27.js.map → stzh-input-description-F6xJmR4b.js.map} +1 -1
  525. package/dist/esm/stzh-input.entry.js +31 -36
  526. package/dist/esm/stzh-input.entry.js.map +1 -1
  527. package/dist/esm/stzh-invert.entry.js +1 -1
  528. package/dist/esm/stzh-link.entry.js +2 -2
  529. package/dist/esm/stzh-linklist.entry.js +2 -2
  530. package/dist/esm/stzh-list_2.entry.js +1 -1
  531. package/dist/esm/stzh-loader.entry.js +1 -1
  532. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  533. package/dist/esm/stzh-menu_2.entry.js +2 -2
  534. package/dist/esm/stzh-message.entry.js +4 -4
  535. package/dist/esm/stzh-message.entry.js.map +1 -1
  536. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  537. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  538. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  539. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  540. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  541. package/dist/esm/stzh-pagecontent.entry.js +2 -2
  542. package/dist/esm/stzh-pagetitle-hero.entry.js +2 -2
  543. package/dist/esm/stzh-pagetitle-home.entry.js +2 -2
  544. package/dist/esm/stzh-pagetitle.entry.js +2 -2
  545. package/dist/esm/stzh-panorama.entry.js +1 -1
  546. package/dist/esm/stzh-pi-content-navigation.entry.js +2 -2
  547. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  548. package/dist/esm/stzh-pi-pagetitle.entry.js +2 -2
  549. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  550. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  551. package/dist/esm/stzh-pi-teaser-layout.entry.js +2 -2
  552. package/dist/esm/stzh-pi-teaser.entry.js +2 -2
  553. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  554. package/dist/esm/stzh-popover.entry.js +2 -2
  555. package/dist/esm/stzh-print_2.entry.js +2 -2
  556. package/dist/esm/stzh-quote.entry.js +1 -1
  557. package/dist/esm/stzh-rating.entry.js +37 -9
  558. package/dist/esm/stzh-rating.entry.js.map +1 -1
  559. package/dist/esm/stzh-ratio.entry.js +1 -1
  560. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  561. package/dist/esm/stzh-richtext.entry.js +1 -1
  562. package/dist/esm/stzh-saptcha.entry.js +1 -1
  563. package/dist/esm/stzh-scrollup.entry.js +2 -2
  564. package/dist/esm/stzh-search.entry.js +2 -2
  565. package/dist/esm/stzh-section.entry.js +2 -2
  566. package/dist/esm/stzh-show.entry.js +1 -1
  567. package/dist/esm/stzh-sitemap.entry.js +1 -1
  568. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  569. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  570. package/dist/esm/stzh-skiplink.entry.js +1 -1
  571. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  572. package/dist/esm/stzh-socialmediastream.entry.js +2 -2
  573. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  574. package/dist/esm/stzh-stepper.entry.js +1 -1
  575. package/dist/esm/stzh-sticky-actions.entry.js +2 -2
  576. package/dist/esm/stzh-sticky.entry.js +2 -2
  577. package/dist/esm/stzh-table.entry.js +2 -2
  578. package/dist/esm/stzh-text.entry.js +1 -1
  579. package/dist/esm/stzh-textandimage.entry.js +2 -2
  580. package/dist/esm/stzh-timeline-item.entry.js +2 -2
  581. package/dist/esm/stzh-timeline.entry.js +1 -1
  582. package/dist/esm/stzh-timepicker.entry.js +1 -1
  583. package/dist/esm/stzh-toast_2.entry.js +2 -2
  584. package/dist/esm/stzh-toggle.entry.js +36 -7
  585. package/dist/esm/stzh-toggle.entry.js.map +1 -1
  586. package/dist/esm/stzh-tooltip.entry.js +2 -2
  587. package/dist/esm/stzh-twocolumns.entry.js +2 -2
  588. package/dist/esm/stzh-upload.entry.js +37 -8
  589. package/dist/esm/stzh-upload.entry.js.map +1 -1
  590. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  591. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  592. package/dist/esm/stzh-vbz-intro.entry.js +2 -2
  593. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  594. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  595. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  596. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  597. package/dist/esm/stzh-vspace.entry.js +1 -1
  598. package/dist/esm/stzh-youtube.entry.js +1 -1
  599. package/dist/esm/{utils-BnOofzDv.js → utils-CnvjJ2wY.js} +59 -3
  600. package/dist/esm/utils-CnvjJ2wY.js.map +1 -0
  601. package/dist/stzh-components/{p-D4oTGvdl.js → p--ooR_PU_.js} +2 -2
  602. package/dist/stzh-components/{p-D4oTGvdl.js.map → p--ooR_PU_.js.map} +1 -1
  603. package/dist/stzh-components/{p-f3276383.entry.js → p-00353dba.entry.js} +2 -2
  604. package/dist/stzh-components/{p-59da8df1.entry.js → p-01b57dff.entry.js} +2 -2
  605. package/dist/stzh-components/{p-65e3833f.entry.js → p-08c26fa4.entry.js} +2 -2
  606. package/dist/stzh-components/{p-561fd23e.entry.js → p-0bcce878.entry.js} +2 -2
  607. package/dist/stzh-components/{p-5f862749.entry.js → p-0d71a712.entry.js} +2 -2
  608. package/dist/stzh-components/{p-8e4ecd25.entry.js → p-102abd6c.entry.js} +2 -2
  609. package/dist/stzh-components/p-11375541.entry.js +2 -0
  610. package/dist/stzh-components/{p-deb5310a.entry.js.map → p-11375541.entry.js.map} +1 -1
  611. package/dist/stzh-components/{p-f1e336dc.entry.js → p-117d79b0.entry.js} +2 -2
  612. package/dist/stzh-components/{p-f1a64a00.entry.js → p-11984d87.entry.js} +2 -2
  613. package/dist/stzh-components/{p-7da86126.entry.js → p-15818fb6.entry.js} +2 -2
  614. package/dist/stzh-components/{p-1b39c90b.entry.js → p-182be2cb.entry.js} +6 -6
  615. package/dist/stzh-components/{p-e2f97240.entry.js → p-19425494.entry.js} +2 -2
  616. package/dist/stzh-components/{p-f442969e.entry.js → p-1c0d8bd1.entry.js} +2 -2
  617. package/dist/stzh-components/{p-1f1aac25.entry.js → p-1c10554c.entry.js} +2 -2
  618. package/dist/stzh-components/{p-e51cd413.entry.js → p-1da17a3f.entry.js} +2 -2
  619. package/dist/stzh-components/p-1e895ec3.entry.js +2 -0
  620. package/dist/stzh-components/p-1e895ec3.entry.js.map +1 -0
  621. package/dist/stzh-components/{p-74494120.entry.js → p-21d6ad19.entry.js} +2 -2
  622. package/dist/stzh-components/{p-931abfe7.entry.js → p-223813c2.entry.js} +2 -2
  623. package/dist/stzh-components/{p-54d92856.entry.js → p-2a02f828.entry.js} +2 -2
  624. package/dist/stzh-components/{p-0cac70a3.entry.js → p-2a127cc2.entry.js} +2 -2
  625. package/dist/stzh-components/{p-5b7298a4.entry.js → p-2a398b2e.entry.js} +2 -2
  626. package/dist/stzh-components/{p-75ffb877.entry.js → p-2b767b1b.entry.js} +2 -2
  627. package/dist/stzh-components/{p-dbe53670.entry.js → p-2c7792b4.entry.js} +2 -2
  628. package/dist/stzh-components/{p-1c3942a6.entry.js → p-2ddaf03b.entry.js} +2 -2
  629. package/dist/stzh-components/{p-fc96a153.entry.js → p-301c1aa1.entry.js} +2 -2
  630. package/dist/stzh-components/{p-f18c1bc6.entry.js → p-3066d7ac.entry.js} +2 -2
  631. package/dist/stzh-components/{p-ae8fe7f0.entry.js → p-32c6e24a.entry.js} +2 -2
  632. package/dist/stzh-components/{p-645c7fba.entry.js → p-34e31715.entry.js} +3 -3
  633. package/dist/stzh-components/{p-75dad6c7.entry.js → p-357943a8.entry.js} +2 -2
  634. package/dist/stzh-components/{p-9337582a.entry.js → p-39d6dad5.entry.js} +2 -2
  635. package/dist/stzh-components/{p-fd0e8627.entry.js → p-3b764057.entry.js} +2 -2
  636. package/dist/stzh-components/{p-0e3d6349.entry.js → p-3efa45ca.entry.js} +2 -2
  637. package/dist/stzh-components/{p-c471680d.entry.js → p-3f5f0aaf.entry.js} +2 -2
  638. package/dist/stzh-components/{p-2683a93d.entry.js → p-44b7bd82.entry.js} +2 -2
  639. package/dist/stzh-components/{p-8d558e1d.entry.js → p-490d880f.entry.js} +2 -2
  640. package/dist/stzh-components/{p-1db6f565.entry.js → p-49717f35.entry.js} +2 -2
  641. package/dist/stzh-components/{p-7f825eff.entry.js → p-4cc1d883.entry.js} +2 -2
  642. package/dist/stzh-components/{p-e92a11b6.entry.js → p-4e26f1e1.entry.js} +2 -2
  643. package/dist/stzh-components/{p-2e1efcc9.entry.js → p-51069c51.entry.js} +2 -2
  644. package/dist/stzh-components/{p-deb499e2.entry.js → p-51f6f724.entry.js} +2 -2
  645. package/dist/stzh-components/{p-0e45d2de.entry.js → p-56216434.entry.js} +2 -2
  646. package/dist/stzh-components/{p-46c5b453.entry.js → p-5eff4877.entry.js} +2 -2
  647. package/dist/stzh-components/{p-85ac6d83.entry.js → p-61bf5c59.entry.js} +2 -2
  648. package/dist/stzh-components/{p-bfa62b65.entry.js → p-66aa2138.entry.js} +2 -2
  649. package/dist/stzh-components/{p-759099e2.entry.js → p-66b8f10b.entry.js} +2 -2
  650. package/dist/stzh-components/{p-8f956678.entry.js → p-683a19bb.entry.js} +2 -2
  651. package/dist/stzh-components/{p-e281a715.entry.js → p-684d4d18.entry.js} +3 -3
  652. package/dist/stzh-components/p-687cae2d.entry.js +2 -0
  653. package/dist/stzh-components/p-687cae2d.entry.js.map +1 -0
  654. package/dist/stzh-components/{p-3c861eb0.entry.js → p-6add6579.entry.js} +2 -2
  655. package/dist/stzh-components/{p-7a1296d4.entry.js → p-6af8d5cb.entry.js} +2 -2
  656. package/dist/stzh-components/{p-69f5276e.entry.js → p-6b450966.entry.js} +2 -2
  657. package/dist/stzh-components/{p-b663c8f6.entry.js → p-6c6e664c.entry.js} +2 -2
  658. package/dist/stzh-components/{p-d3209381.entry.js → p-6e23fc8e.entry.js} +2 -2
  659. package/dist/stzh-components/{p-9957d575.entry.js → p-6ec9e3dc.entry.js} +2 -2
  660. package/dist/stzh-components/{p-70b10351.entry.js → p-7368a3bd.entry.js} +2 -2
  661. package/dist/stzh-components/{p-aef3c5ac.entry.js → p-77ab7971.entry.js} +2 -2
  662. package/dist/stzh-components/{p-e27591a6.entry.js → p-7898ab3c.entry.js} +2 -2
  663. package/dist/stzh-components/{p-aed15ee1.entry.js → p-7a8d05c2.entry.js} +2 -2
  664. package/dist/stzh-components/{p-f301a05c.entry.js → p-7b070e13.entry.js} +2 -2
  665. package/dist/stzh-components/{p-07639e2e.entry.js → p-7dc226b0.entry.js} +2 -2
  666. package/dist/stzh-components/{p-c0b4f81f.entry.js → p-7fef5a6d.entry.js} +2 -2
  667. package/dist/stzh-components/{p-b2fcc490.entry.js → p-80c514e1.entry.js} +2 -2
  668. package/dist/stzh-components/{p-82d1f2f4.entry.js → p-833bd793.entry.js} +2 -2
  669. package/dist/stzh-components/{p-6c3de48d.entry.js → p-8550b2d8.entry.js} +2 -2
  670. package/dist/stzh-components/{p-cd9b9eac.entry.js → p-85b5bdbd.entry.js} +2 -2
  671. package/dist/stzh-components/{p-65a6428c.entry.js → p-873bec1c.entry.js} +2 -2
  672. package/dist/stzh-components/{p-44df0e58.entry.js → p-89c070b8.entry.js} +2 -2
  673. package/dist/stzh-components/{p-8bc9e95b.entry.js → p-90c4a686.entry.js} +2 -2
  674. package/dist/stzh-components/{p-e93dbde4.entry.js → p-90db31fb.entry.js} +2 -2
  675. package/dist/stzh-components/{p-33c80dea.entry.js → p-91083053.entry.js} +2 -2
  676. package/dist/stzh-components/p-95b9d704.entry.js +2 -0
  677. package/dist/stzh-components/p-95b9d704.entry.js.map +1 -0
  678. package/dist/stzh-components/{p-52d757b2.entry.js → p-97be25ae.entry.js} +2 -2
  679. package/dist/stzh-components/{p-94eed7e7.entry.js → p-9a732268.entry.js} +2 -2
  680. package/dist/stzh-components/{p-39217901.entry.js → p-9b164561.entry.js} +2 -2
  681. package/dist/stzh-components/{p-8735dc17.entry.js → p-9bd07097.entry.js} +2 -2
  682. package/dist/stzh-components/{p-92d54e6a.entry.js → p-9d3dcadd.entry.js} +2 -2
  683. package/dist/stzh-components/{p-f4243fa8.entry.js → p-9db9d368.entry.js} +2 -2
  684. package/dist/stzh-components/p-BMrO_esM.js +3 -0
  685. package/dist/stzh-components/{p-BDy81lpO.js.map → p-BMrO_esM.js.map} +1 -1
  686. package/dist/stzh-components/p-DhuTERdU.js +2 -0
  687. package/dist/stzh-components/p-DhuTERdU.js.map +1 -0
  688. package/dist/stzh-components/{p-dd01dcf6.entry.js → p-a2313acc.entry.js} +2 -2
  689. package/dist/stzh-components/{p-d3969952.entry.js → p-a466bef7.entry.js} +3 -3
  690. package/dist/stzh-components/{p-0fe0982a.entry.js → p-a6073abd.entry.js} +2 -2
  691. package/dist/stzh-components/{p-c5986c0b.entry.js → p-a924e049.entry.js} +2 -2
  692. package/dist/stzh-components/{p-58d6b294.entry.js → p-ab14b19a.entry.js} +2 -2
  693. package/dist/stzh-components/{p-25df4336.entry.js → p-ad11c427.entry.js} +2 -2
  694. package/dist/stzh-components/{p-85cb6ac3.entry.js → p-ad5b037d.entry.js} +2 -2
  695. package/dist/stzh-components/{p-09219622.entry.js → p-afbf7bd5.entry.js} +2 -2
  696. package/dist/stzh-components/p-b0f5c226.entry.js +2 -0
  697. package/dist/stzh-components/p-b0f5c226.entry.js.map +1 -0
  698. package/dist/stzh-components/{p-233a253c.entry.js → p-b322c0cd.entry.js} +2 -2
  699. package/dist/stzh-components/{p-e6626ed6.entry.js → p-b401f555.entry.js} +2 -2
  700. package/dist/stzh-components/{p-c9972340.entry.js → p-b6518908.entry.js} +6 -6
  701. package/dist/stzh-components/{p-97a89608.entry.js → p-b67a197e.entry.js} +2 -2
  702. package/dist/stzh-components/{p-5198a930.entry.js → p-b91a1fb5.entry.js} +2 -2
  703. package/dist/stzh-components/{p-8e34c9c9.entry.js → p-b936ffdb.entry.js} +2 -2
  704. package/dist/stzh-components/{p-64c9a8f7.entry.js → p-b93a07a9.entry.js} +2 -2
  705. package/dist/stzh-components/{p-bc622b2a.entry.js → p-b9c11320.entry.js} +2 -2
  706. package/dist/stzh-components/{p-539bb440.entry.js → p-b9d617d4.entry.js} +2 -2
  707. package/dist/stzh-components/{p-158b16e0.entry.js → p-bc49448d.entry.js} +2 -2
  708. package/dist/stzh-components/{p-45452a45.entry.js → p-c1ccb40f.entry.js} +2 -2
  709. package/dist/stzh-components/{p-d1a50145.entry.js → p-c359686c.entry.js} +2 -2
  710. package/dist/stzh-components/{p-d9ceb9a1.entry.js → p-c6ae1a73.entry.js} +2 -2
  711. package/dist/stzh-components/{p-3816c34e.entry.js → p-c8332abd.entry.js} +2 -2
  712. package/dist/stzh-components/{p-0df1be19.entry.js → p-ca39f17b.entry.js} +2 -2
  713. package/dist/stzh-components/{p-0a1eb5fd.entry.js → p-cba7e887.entry.js} +2 -2
  714. package/dist/stzh-components/{p-cc579b5c.entry.js → p-d0c780be.entry.js} +2 -2
  715. package/dist/stzh-components/{p-6aa53daf.entry.js → p-d10a459c.entry.js} +2 -2
  716. package/dist/stzh-components/{p-9c4e1649.entry.js → p-d10e2ff4.entry.js} +2 -2
  717. package/dist/stzh-components/{p-0dc95d03.entry.js → p-d319b8db.entry.js} +2 -2
  718. package/dist/stzh-components/{p-5ebd56ff.entry.js → p-d3ae51da.entry.js} +2 -2
  719. package/dist/stzh-components/{p-8a9f9b42.entry.js → p-d57711e5.entry.js} +2 -2
  720. package/dist/stzh-components/{p-7bb32473.entry.js → p-d591892c.entry.js} +2 -2
  721. package/dist/stzh-components/{p-968ef9db.entry.js → p-d8cacb50.entry.js} +2 -2
  722. package/dist/stzh-components/{p-32258f20.entry.js → p-d971957a.entry.js} +2 -2
  723. package/dist/stzh-components/{p-6e6064a5.entry.js → p-defa4f14.entry.js} +2 -2
  724. package/dist/stzh-components/p-e04fe921.entry.js +2 -0
  725. package/dist/stzh-components/p-e04fe921.entry.js.map +1 -0
  726. package/dist/stzh-components/{p-752e3cd8.entry.js → p-e6d33dfe.entry.js} +2 -2
  727. package/dist/stzh-components/{p-bb16873e.entry.js → p-e7c05a67.entry.js} +2 -2
  728. package/dist/stzh-components/{p-0747c17b.entry.js → p-e85f497a.entry.js} +2 -2
  729. package/dist/stzh-components/{p-38a9cabf.entry.js → p-e88b56a4.entry.js} +2 -2
  730. package/dist/stzh-components/{p-e84a2d9e.entry.js → p-ea2a37fa.entry.js} +2 -2
  731. package/dist/stzh-components/{p-67b2d82d.entry.js → p-ec4dc01c.entry.js} +2 -2
  732. package/dist/stzh-components/{p-32cd07f2.entry.js → p-ec958f98.entry.js} +2 -2
  733. package/dist/stzh-components/{p-120fc2f7.entry.js → p-ed66b150.entry.js} +2 -2
  734. package/dist/stzh-components/{p-78f63571.entry.js → p-eec61b75.entry.js} +2 -2
  735. package/dist/stzh-components/{p-68692aca.entry.js → p-f1fcc0d8.entry.js} +2 -2
  736. package/dist/stzh-components/{p-67e2ea65.entry.js → p-f31d01ea.entry.js} +2 -2
  737. package/dist/stzh-components/{p-79823ee9.entry.js → p-f76c80da.entry.js} +2 -2
  738. package/dist/stzh-components/{p-375f8787.entry.js → p-fce7bd0a.entry.js} +2 -2
  739. package/dist/stzh-components/{p-cd10adbb.entry.js → p-fd92dbe7.entry.js} +2 -2
  740. package/dist/stzh-components/p-fdb2fa88.entry.js +2 -0
  741. package/dist/stzh-components/p-fdb2fa88.entry.js.map +1 -0
  742. package/dist/stzh-components/{p-4dfa25ec.entry.js → p-fdca724c.entry.js} +2 -2
  743. package/dist/stzh-components/{p-01cb747a.entry.js → p-fe2e3916.entry.js} +2 -2
  744. package/dist/stzh-components/stzh-components.esm.js +1 -1
  745. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +18 -0
  746. package/dist/types/components/stzh-input/stzh-input.d.ts +15 -4
  747. package/dist/types/components/stzh-message/stzh-message.d.ts +2 -2
  748. package/dist/types/components/stzh-radio/stzh-radio.d.ts +18 -0
  749. package/dist/types/components/stzh-rating/stzh-rating.d.ts +18 -0
  750. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +18 -0
  751. package/dist/types/components/stzh-upload/stzh-upload.d.ts +18 -0
  752. package/dist/types/components.d.ts +4 -4
  753. package/dist/types/utils/utils.d.ts +13 -0
  754. package/dist/vscode-data.json +1 -1
  755. package/package.json +1 -1
  756. package/dist/cjs/utils-BtvTjHH2.js.map +0 -1
  757. package/dist/components/p-8vUD5Pvs.js.map +0 -1
  758. package/dist/components/p-CN5apKPb.js.map +0 -1
  759. package/dist/components/p-CjdErtj_.js.map +0 -1
  760. package/dist/components/p-Dn5GUbNz.js.map +0 -1
  761. package/dist/esm/utils-BnOofzDv.js.map +0 -1
  762. package/dist/stzh-components/p--MYN2wgX.js +0 -2
  763. package/dist/stzh-components/p--MYN2wgX.js.map +0 -1
  764. package/dist/stzh-components/p-0f6a6d68.entry.js +0 -2
  765. package/dist/stzh-components/p-0f6a6d68.entry.js.map +0 -1
  766. package/dist/stzh-components/p-17c76b7f.entry.js +0 -2
  767. package/dist/stzh-components/p-17c76b7f.entry.js.map +0 -1
  768. package/dist/stzh-components/p-42f4c28d.entry.js +0 -2
  769. package/dist/stzh-components/p-42f4c28d.entry.js.map +0 -1
  770. package/dist/stzh-components/p-856faa3f.entry.js +0 -2
  771. package/dist/stzh-components/p-856faa3f.entry.js.map +0 -1
  772. package/dist/stzh-components/p-963b4a81.entry.js +0 -2
  773. package/dist/stzh-components/p-963b4a81.entry.js.map +0 -1
  774. package/dist/stzh-components/p-BDy81lpO.js +0 -3
  775. package/dist/stzh-components/p-d215409f.entry.js +0 -2
  776. package/dist/stzh-components/p-d215409f.entry.js.map +0 -1
  777. package/dist/stzh-components/p-deb5310a.entry.js +0 -2
  778. /package/dist/stzh-components/{p-f3276383.entry.js.map → p-00353dba.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-59da8df1.entry.js.map → p-01b57dff.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-65e3833f.entry.js.map → p-08c26fa4.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-561fd23e.entry.js.map → p-0bcce878.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-5f862749.entry.js.map → p-0d71a712.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-8e4ecd25.entry.js.map → p-102abd6c.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-f1e336dc.entry.js.map → p-117d79b0.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-f1a64a00.entry.js.map → p-11984d87.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-7da86126.entry.js.map → p-15818fb6.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-1b39c90b.entry.js.map → p-182be2cb.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-e2f97240.entry.js.map → p-19425494.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-f442969e.entry.js.map → p-1c0d8bd1.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-1f1aac25.entry.js.map → p-1c10554c.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-e51cd413.entry.js.map → p-1da17a3f.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-74494120.entry.js.map → p-21d6ad19.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-931abfe7.entry.js.map → p-223813c2.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-54d92856.entry.js.map → p-2a02f828.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-0cac70a3.entry.js.map → p-2a127cc2.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-5b7298a4.entry.js.map → p-2a398b2e.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-75ffb877.entry.js.map → p-2b767b1b.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-dbe53670.entry.js.map → p-2c7792b4.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-1c3942a6.entry.js.map → p-2ddaf03b.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-fc96a153.entry.js.map → p-301c1aa1.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-f18c1bc6.entry.js.map → p-3066d7ac.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-ae8fe7f0.entry.js.map → p-32c6e24a.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-645c7fba.entry.js.map → p-34e31715.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-75dad6c7.entry.js.map → p-357943a8.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-9337582a.entry.js.map → p-39d6dad5.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-fd0e8627.entry.js.map → p-3b764057.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-0e3d6349.entry.js.map → p-3efa45ca.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-c471680d.entry.js.map → p-3f5f0aaf.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-2683a93d.entry.js.map → p-44b7bd82.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-8d558e1d.entry.js.map → p-490d880f.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-1db6f565.entry.js.map → p-49717f35.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-7f825eff.entry.js.map → p-4cc1d883.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-e92a11b6.entry.js.map → p-4e26f1e1.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-2e1efcc9.entry.js.map → p-51069c51.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-deb499e2.entry.js.map → p-51f6f724.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-0e45d2de.entry.js.map → p-56216434.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-46c5b453.entry.js.map → p-5eff4877.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-85ac6d83.entry.js.map → p-61bf5c59.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-bfa62b65.entry.js.map → p-66aa2138.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-759099e2.entry.js.map → p-66b8f10b.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-8f956678.entry.js.map → p-683a19bb.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-e281a715.entry.js.map → p-684d4d18.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-3c861eb0.entry.js.map → p-6add6579.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-7a1296d4.entry.js.map → p-6af8d5cb.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-69f5276e.entry.js.map → p-6b450966.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-b663c8f6.entry.js.map → p-6c6e664c.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-d3209381.entry.js.map → p-6e23fc8e.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-9957d575.entry.js.map → p-6ec9e3dc.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-70b10351.entry.js.map → p-7368a3bd.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-aef3c5ac.entry.js.map → p-77ab7971.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-e27591a6.entry.js.map → p-7898ab3c.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-aed15ee1.entry.js.map → p-7a8d05c2.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-f301a05c.entry.js.map → p-7b070e13.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-07639e2e.entry.js.map → p-7dc226b0.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-c0b4f81f.entry.js.map → p-7fef5a6d.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-b2fcc490.entry.js.map → p-80c514e1.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-82d1f2f4.entry.js.map → p-833bd793.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-6c3de48d.entry.js.map → p-8550b2d8.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-cd9b9eac.entry.js.map → p-85b5bdbd.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-65a6428c.entry.js.map → p-873bec1c.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-44df0e58.entry.js.map → p-89c070b8.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-8bc9e95b.entry.js.map → p-90c4a686.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-e93dbde4.entry.js.map → p-90db31fb.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-33c80dea.entry.js.map → p-91083053.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-52d757b2.entry.js.map → p-97be25ae.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-94eed7e7.entry.js.map → p-9a732268.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-39217901.entry.js.map → p-9b164561.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-8735dc17.entry.js.map → p-9bd07097.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-92d54e6a.entry.js.map → p-9d3dcadd.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-f4243fa8.entry.js.map → p-9db9d368.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-dd01dcf6.entry.js.map → p-a2313acc.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-d3969952.entry.js.map → p-a466bef7.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-0fe0982a.entry.js.map → p-a6073abd.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-c5986c0b.entry.js.map → p-a924e049.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-58d6b294.entry.js.map → p-ab14b19a.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-25df4336.entry.js.map → p-ad11c427.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-85cb6ac3.entry.js.map → p-ad5b037d.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-09219622.entry.js.map → p-afbf7bd5.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-233a253c.entry.js.map → p-b322c0cd.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-e6626ed6.entry.js.map → p-b401f555.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-c9972340.entry.js.map → p-b6518908.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-97a89608.entry.js.map → p-b67a197e.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-5198a930.entry.js.map → p-b91a1fb5.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-8e34c9c9.entry.js.map → p-b936ffdb.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-64c9a8f7.entry.js.map → p-b93a07a9.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-bc622b2a.entry.js.map → p-b9c11320.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-539bb440.entry.js.map → p-b9d617d4.entry.js.map} +0 -0
  868. /package/dist/stzh-components/{p-158b16e0.entry.js.map → p-bc49448d.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-45452a45.entry.js.map → p-c1ccb40f.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-d1a50145.entry.js.map → p-c359686c.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-d9ceb9a1.entry.js.map → p-c6ae1a73.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-3816c34e.entry.js.map → p-c8332abd.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-0df1be19.entry.js.map → p-ca39f17b.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-0a1eb5fd.entry.js.map → p-cba7e887.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-cc579b5c.entry.js.map → p-d0c780be.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-6aa53daf.entry.js.map → p-d10a459c.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-9c4e1649.entry.js.map → p-d10e2ff4.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-0dc95d03.entry.js.map → p-d319b8db.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-5ebd56ff.entry.js.map → p-d3ae51da.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-8a9f9b42.entry.js.map → p-d57711e5.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-7bb32473.entry.js.map → p-d591892c.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-968ef9db.entry.js.map → p-d8cacb50.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-32258f20.entry.js.map → p-d971957a.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-6e6064a5.entry.js.map → p-defa4f14.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-752e3cd8.entry.js.map → p-e6d33dfe.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-bb16873e.entry.js.map → p-e7c05a67.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-0747c17b.entry.js.map → p-e85f497a.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-38a9cabf.entry.js.map → p-e88b56a4.entry.js.map} +0 -0
  889. /package/dist/stzh-components/{p-e84a2d9e.entry.js.map → p-ea2a37fa.entry.js.map} +0 -0
  890. /package/dist/stzh-components/{p-67b2d82d.entry.js.map → p-ec4dc01c.entry.js.map} +0 -0
  891. /package/dist/stzh-components/{p-32cd07f2.entry.js.map → p-ec958f98.entry.js.map} +0 -0
  892. /package/dist/stzh-components/{p-120fc2f7.entry.js.map → p-ed66b150.entry.js.map} +0 -0
  893. /package/dist/stzh-components/{p-78f63571.entry.js.map → p-eec61b75.entry.js.map} +0 -0
  894. /package/dist/stzh-components/{p-68692aca.entry.js.map → p-f1fcc0d8.entry.js.map} +0 -0
  895. /package/dist/stzh-components/{p-67e2ea65.entry.js.map → p-f31d01ea.entry.js.map} +0 -0
  896. /package/dist/stzh-components/{p-79823ee9.entry.js.map → p-f76c80da.entry.js.map} +0 -0
  897. /package/dist/stzh-components/{p-375f8787.entry.js.map → p-fce7bd0a.entry.js.map} +0 -0
  898. /package/dist/stzh-components/{p-cd10adbb.entry.js.map → p-fd92dbe7.entry.js.map} +0 -0
  899. /package/dist/stzh-components/{p-4dfa25ec.entry.js.map → p-fdca724c.entry.js.map} +0 -0
  900. /package/dist/stzh-components/{p-01cb747a.entry.js.map → p-fe2e3916.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as o,a as e,d as i}from"./p-BDy81lpO.js";import{s as a,h as n}from"./p--MYN2wgX.js";import{w as r}from"./p--SdF31O7.js";import{s as h,a as l,b as c}from"./p-BOO84wnP.js";import{a as d}from"./p-Cpg2gH_9.js";import"./p-BubviQku.js";const f=()=>`:host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{pointer-events:all;--label-font-family:var(--stzh-toast-label-font-family);--label-font-weight:var(--stzh-toast-label-font-weight);--label-font-style:var(--stzh-toast-label-font-style);--label-color:var(--stzh-toast-label-color);--background-color:var(--stzh-toast-background-color);--close-color:var(--stzh-toast-close-color);--button-color:var(--stzh-toast-button-color);--icon-color:var(--stzh-toast-icon-color)}:host([type=success]){--icon-color:var(--stzh-toast-success-icon-color)}:host([type=warning]){--icon-color:var(--stzh-toast-warning-icon-color)}:host([type=error]){--icon-color:var(--stzh-toast-error-icon-color)}.stzh-toast{position:relative;display:flex;box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color);border-radius:var(--stzh-button-border-radius);transition:background-color var(--stzh-base-transition-animation-speed)}@media (forced-colors: active){.stzh-toast{outline:0.125rem solid Highlight;outline-offset:-0.125rem}}.stzh-toast__content{flex-grow:1;display:flex;gap:var(--stzh-space-small);padding:var(--stzh-space-medium)}.stzh-toast__icon-wrapper{flex-shrink:0;display:flex}.stzh-toast__icon{color:var(--icon-color)}.stzh-toast__text-wrapper{flex-grow:1}.stzh-toast__label{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);color:var(--label-color);font-family:var(--label-font-family);font-weight:var(--label-font-weight);font-style:var(--label-font-style);transition:color var(--stzh-base-transition-animation-speed);padding-right:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.stzh-toast__label{padding-right:var(--stzh-space-xxxlarge)}}.stzh-toast__close-wrapper{flex-shrink:0}.stzh-toast__link{--stzh-button-tertiary-color:var(--button-color);display:flex;justify-content:flex-end}.stzh-toast__close[variant=tertiary]{--color:var(--close-color);position:absolute;top:0;right:0}.stzh-toast{}.stzh-toast--has-link .stzh-toast__label:not(:empty)+.stzh-toast__link{margin-top:var(--stzh-space-xsmall)}`;const m={keyframes:[{transform:"translateY(100%)",opacity:"0",height:"0",marginBottom:"0"},{transform:"translateY(0px)",opacity:"1",height:"auto",marginBottom:"auto"}],options:{duration:300,easing:"ease-out"}};const p={keyframes:[{transform:"translateX(0px)",opacity:"1",height:"auto",marginBottom:"auto"},{transform:"translateX(-100%)",opacity:"0",height:"auto",marginBottom:"auto"},{transform:"translateX(-100%)",opacity:"0",height:"0",marginBottom:"0"}],options:{duration:300,easing:"ease-in"}};const z=class{constructor(o){t(this,o);this.stzhOpen=s(this,"stzhOpen");this.stzhOpened=s(this,"stzhOpened");this.stzhClose=s(this,"stzhClose");this.stzhClosed=s(this,"stzhClosed");this.label="";this.type="info";this.hideClose=false;this.open=true;this.initialOpenAnimation=false;this.handleLinkSlotchange=()=>{var t;const s=((t=this.element.getRootNode())===null||t===void 0?void 0:t.host)||this.element;const o=s.querySelectorAll('stzh-button[slot="link"], [slot="link"] stzh-button');o.forEach((t=>{a(t,{size:"small",variant:"tertiary"})}))};this.onCloseButtonClick=()=>{this.hide()}}async openWatcher(t){if(!this.rootElement){return}if(t){if(this.toggledByMethod){this.stzhOpen.emit({component:"stzh-toast"})}await h(this.element);this.element.hidden=false;const t=getComputedStyle(this.element,null);await l(this.element,c(m.keyframes,{height:this.element.scrollHeight,marginTop:parseInt(t["margin-top"]),marginBottom:parseInt(t["margin-bottom"])}),m.options);this.element.style.height="auto";this.element.style.opacity="1";if(this.toggledByMethod){this.stzhOpened.emit({component:"stzh-toast"})}}else{if(this.toggledByMethod){this.stzhClose.emit({component:"stzh-toast"})}await h(this.element);const t=getComputedStyle(this.element,null);await l(this.element,c(p.keyframes,{height:this.element.scrollHeight,marginTop:parseInt(t["margin-top"]),marginBottom:parseInt(t["margin-bottom"])}),p.options);this.element.style.height="0px";this.element.style.opacity="0";this.element.hidden=true;if(this.toggledByMethod){this.stzhClosed.emit({component:"stzh-toast"})}}this.toggledByMethod=false}async show(){if(this.open){return}this.toggledByMethod=true;this.open=true;return r(this.element,"stzhOpened")}async hide(){if(!this.open){return}this.toggledByMethod=true;this.open=false;return r(this.element,"stzhClosed")}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"toast")}}componentDidLoad(){if(this.initialOpenAnimation&&this.open){this.element.hidden=true;this.element.style.height="0px";this.element.style.opacity="0";requestAnimationFrame((()=>{requestAnimationFrame((()=>{this.openWatcher(true)}))}))}else{this.element.hidden=!this.open;this.element.style.height=this.open?"auto":"0px";this.element.style.opacity=this.open?"1":"0"}}render(){const t=n(this.element,"link");const s={"stzh-toast":true,"stzh-toast--has-link":t,"stzh-toast--has-close-hidden":this.hideClose,[`stzh-toast--type-${this.type}`]:!!this.type};return o(e,{key:"446b49e231a058653d3736c4a7a24365e7946505"},o("div",{key:"b8c82e172f2a3fb99abf66762f91e9febd56c901",ref:t=>this.rootElement=t,class:s},o("div",{key:"48357da05b863ddb5546b0c5424a34fde8fe8e1c",class:"stzh-toast__content"},o("div",{key:"36bd30993042f504aafc5f9b23f5579192c1014d",class:"stzh-toast__icon-wrapper"},o("stzh-icon",{key:"99d7cbcce440e9873efd79045cbd8e076e51b6ca",class:"stzh-toast__icon",name:this.type==="info"&&"info-help-filled"||this.type==="success"&&"checkmark-circle-filled"||this.type==="warning"&&"important-warning-filled"||this.type==="error"&&"warning-filled"})),o("div",{key:"a0a387bda275dfdbdb810bfe9b4a1fa04d1af3a1",class:"stzh-toast__text-wrapper"},o("div",{key:"4ca9c2d4b985d4252aefc8855397c39f15ee3213",class:"stzh-toast__label"},this.label),o("div",{key:"39e0201d434143a083dfe9bb63073600ef331b9f",class:"stzh-toast__link"},o("slot",{key:"7c50d8dd47044590ef5a232d2286a85d8a8da647",name:"link",onSlotchange:this.handleLinkSlotchange})))),!this.hideClose&&o("div",{key:"3506c634657d88e3b57b306c9ae19416e2ea49bb",class:"stzh-toast__close-wrapper"},o("stzh-button",{key:"7be034a61ffdb0c3c65a7a135537416edced7604",class:"stzh-toast__close",onClick:this.onCloseButtonClick,label:this.localization.close,variant:"tertiary",size:"small",iconOnly:true,icon:"close-big"}))))}get element(){return i(this)}static get watchers(){return{open:["openWatcher"]}}};z.style=f();const b=()=>`:host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){:host{bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){:host{bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host{bottom:var(--stzh-space-xxlarge)}}:host{z-index:var(--stzh-z-index-overlay);position:fixed;pointer-events:none;left:1.25rem;right:1.25rem;bottom:calc(var(--stzh-pagetitle-disturber-stuck-height, 0px) + var(--stzh-sticky-cta-stuck-bottom-height, 0px))}@media screen and (min-width: 600px){:host{left:2rem;right:auto;max-width:26.8125rem}}@media screen and (min-width: 900px){:host{left:2.5rem;max-width:27.5rem}}@media screen and (min-width: 1260px){:host{left:4rem;max-width:30.3125rem}}@media screen and (min-width: 1600px){:host{left:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2);max-width:34.625rem}}:host ::slotted(*:not([hidden]):not([slot])){margin-bottom:var(--stzh-space-small)}.stzh-toastbar{display:flex;flex-direction:column;justify-content:flex-end}@media screen and (min-width: 600px){.stzh-toastbar{align-items:flex-start}}`;const u="stzh-components-toastbar-closed";const g=class{constructor(s){t(this,s);this.hideAfter=30;this.max=5;this.initialToasts=[];this._initialToasts=[];this.handleSlotchange=()=>{this.toastsAppended();this.hideOverflowingItems()}}async toast(t,{type:s,link:o}={type:"info"}){const e=document.createElement("stzh-toast");e.hidden=true;e.label=t;e.role="alert";e.type=s||"info";e.initialOpenAnimation=true;if(o){o.slot="link";o.size="small";e.appendChild(o)}this.element.appendChild(e);return e}initialToastsWatcher(t){if(typeof t==="string"){this._initialToasts=JSON.parse(t)}else{this._initialToasts=t}}toastAppended(t){if(t.getAttribute("data-stzh-toastbar-managed")){return}t.setAttribute("data-stzh-toastbar-managed","");t.addEventListener("stzhClosed",(()=>{t.remove()}));if(t.type!=="error"){let s=(new Date).getTime();let o=this.hideAfter*1e3;let e=window.setTimeout((()=>{t.hide()}),o);t.addEventListener("pointerenter",(()=>{if(e){window.clearTimeout(e);const t=(new Date).getTime()-s;o=o-t}}));t.addEventListener("pointerleave",(()=>{s=(new Date).getTime();e=window.setTimeout((()=>{t.hide()}),o)}))}}toastsAppended(){var t;const s=((t=this.element.getRootNode())===null||t===void 0?void 0:t.host)||this.element;Array.from(s.children).forEach((t=>{this.toastAppended(t)}))}hideOverflowingItems(){var t;const s=((t=this.element.getRootNode())===null||t===void 0?void 0:t.host)||this.element;const o=s.children.length;Array.from(s.children).splice(0,o-this.max).forEach((t=>{t.hide()}))}componentWillLoad(){this.initialToastsWatcher(this.initialToasts)}componentDidLoad(){this._initialToasts.forEach((async t=>{if(t.cookie){const s=d.get(`${u}-${t.cookie}`);if(s){return}}let s=t.link;if(!(s instanceof HTMLElement)){const o=document.createElement("stzh-button");o.slot="link";o.size="small";Object.assign(o,t.link);s=o}const o=await this.toast(t.label,{type:t.type,link:s});if(t.cookie){let s=365;if(t.cookieExpires===0){s=null}else if(t.cookieExpires){s=t.cookieExpires}o.addEventListener("stzhClosed",(()=>{d.set(`${u}-${t.cookie}`,"1",{expires:s})}))}}))}render(){const t={"stzh-toastbar":true};return o(e,{key:"7460a6148cb0e08e92a1bb594e0c81f438844b26"},o("div",{key:"6ae7db9674257007e24f428cf51889f24cc2854d",class:t},o("slot",{key:"38ee0dc0da0aebe58ff6925d2aa3c2a93324f3b1",onSlotchange:this.handleSlotchange})))}get element(){return i(this)}static get watchers(){return{initialToasts:["initialToastsWatcher"]}}};g.style=b();export{z as stzh_toast,g as stzh_toastbar};
2
- //# sourceMappingURL=p-7a1296d4.entry.js.map
1
+ import{r as t,c as s,h as o,a as e,d as i}from"./p-BMrO_esM.js";import{s as a,h as n}from"./p-DhuTERdU.js";import{w as r}from"./p--SdF31O7.js";import{s as h,a as l,b as c}from"./p-BOO84wnP.js";import{a as d}from"./p-Cpg2gH_9.js";import"./p-BubviQku.js";const f=()=>`:host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{pointer-events:all;--label-font-family:var(--stzh-toast-label-font-family);--label-font-weight:var(--stzh-toast-label-font-weight);--label-font-style:var(--stzh-toast-label-font-style);--label-color:var(--stzh-toast-label-color);--background-color:var(--stzh-toast-background-color);--close-color:var(--stzh-toast-close-color);--button-color:var(--stzh-toast-button-color);--icon-color:var(--stzh-toast-icon-color)}:host([type=success]){--icon-color:var(--stzh-toast-success-icon-color)}:host([type=warning]){--icon-color:var(--stzh-toast-warning-icon-color)}:host([type=error]){--icon-color:var(--stzh-toast-error-icon-color)}.stzh-toast{position:relative;display:flex;box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color);border-radius:var(--stzh-button-border-radius);transition:background-color var(--stzh-base-transition-animation-speed)}@media (forced-colors: active){.stzh-toast{outline:0.125rem solid Highlight;outline-offset:-0.125rem}}.stzh-toast__content{flex-grow:1;display:flex;gap:var(--stzh-space-small);padding:var(--stzh-space-medium)}.stzh-toast__icon-wrapper{flex-shrink:0;display:flex}.stzh-toast__icon{color:var(--icon-color)}.stzh-toast__text-wrapper{flex-grow:1}.stzh-toast__label{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);color:var(--label-color);font-family:var(--label-font-family);font-weight:var(--label-font-weight);font-style:var(--label-font-style);transition:color var(--stzh-base-transition-animation-speed);padding-right:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.stzh-toast__label{padding-right:var(--stzh-space-xxxlarge)}}.stzh-toast__close-wrapper{flex-shrink:0}.stzh-toast__link{--stzh-button-tertiary-color:var(--button-color);display:flex;justify-content:flex-end}.stzh-toast__close[variant=tertiary]{--color:var(--close-color);position:absolute;top:0;right:0}.stzh-toast{}.stzh-toast--has-link .stzh-toast__label:not(:empty)+.stzh-toast__link{margin-top:var(--stzh-space-xsmall)}`;const m={keyframes:[{transform:"translateY(100%)",opacity:"0",height:"0",marginBottom:"0"},{transform:"translateY(0px)",opacity:"1",height:"auto",marginBottom:"auto"}],options:{duration:300,easing:"ease-out"}};const p={keyframes:[{transform:"translateX(0px)",opacity:"1",height:"auto",marginBottom:"auto"},{transform:"translateX(-100%)",opacity:"0",height:"auto",marginBottom:"auto"},{transform:"translateX(-100%)",opacity:"0",height:"0",marginBottom:"0"}],options:{duration:300,easing:"ease-in"}};const z=class{constructor(o){t(this,o);this.stzhOpen=s(this,"stzhOpen");this.stzhOpened=s(this,"stzhOpened");this.stzhClose=s(this,"stzhClose");this.stzhClosed=s(this,"stzhClosed");this.label="";this.type="info";this.hideClose=false;this.open=true;this.initialOpenAnimation=false;this.handleLinkSlotchange=()=>{var t;const s=((t=this.element.getRootNode())===null||t===void 0?void 0:t.host)||this.element;const o=s.querySelectorAll('stzh-button[slot="link"], [slot="link"] stzh-button');o.forEach((t=>{a(t,{size:"small",variant:"tertiary"})}))};this.onCloseButtonClick=()=>{this.hide()}}async openWatcher(t){if(!this.rootElement){return}if(t){if(this.toggledByMethod){this.stzhOpen.emit({component:"stzh-toast"})}await h(this.element);this.element.hidden=false;const t=getComputedStyle(this.element,null);await l(this.element,c(m.keyframes,{height:this.element.scrollHeight,marginTop:parseInt(t["margin-top"]),marginBottom:parseInt(t["margin-bottom"])}),m.options);this.element.style.height="auto";this.element.style.opacity="1";if(this.toggledByMethod){this.stzhOpened.emit({component:"stzh-toast"})}}else{if(this.toggledByMethod){this.stzhClose.emit({component:"stzh-toast"})}await h(this.element);const t=getComputedStyle(this.element,null);await l(this.element,c(p.keyframes,{height:this.element.scrollHeight,marginTop:parseInt(t["margin-top"]),marginBottom:parseInt(t["margin-bottom"])}),p.options);this.element.style.height="0px";this.element.style.opacity="0";this.element.hidden=true;if(this.toggledByMethod){this.stzhClosed.emit({component:"stzh-toast"})}}this.toggledByMethod=false}async show(){if(this.open){return}this.toggledByMethod=true;this.open=true;return r(this.element,"stzhOpened")}async hide(){if(!this.open){return}this.toggledByMethod=true;this.open=false;return r(this.element,"stzhClosed")}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"toast")}}componentDidLoad(){if(this.initialOpenAnimation&&this.open){this.element.hidden=true;this.element.style.height="0px";this.element.style.opacity="0";requestAnimationFrame((()=>{requestAnimationFrame((()=>{this.openWatcher(true)}))}))}else{this.element.hidden=!this.open;this.element.style.height=this.open?"auto":"0px";this.element.style.opacity=this.open?"1":"0"}}render(){const t=n(this.element,"link");const s={"stzh-toast":true,"stzh-toast--has-link":t,"stzh-toast--has-close-hidden":this.hideClose,[`stzh-toast--type-${this.type}`]:!!this.type};return o(e,{key:"446b49e231a058653d3736c4a7a24365e7946505"},o("div",{key:"b8c82e172f2a3fb99abf66762f91e9febd56c901",ref:t=>this.rootElement=t,class:s},o("div",{key:"48357da05b863ddb5546b0c5424a34fde8fe8e1c",class:"stzh-toast__content"},o("div",{key:"36bd30993042f504aafc5f9b23f5579192c1014d",class:"stzh-toast__icon-wrapper"},o("stzh-icon",{key:"99d7cbcce440e9873efd79045cbd8e076e51b6ca",class:"stzh-toast__icon",name:this.type==="info"&&"info-help-filled"||this.type==="success"&&"checkmark-circle-filled"||this.type==="warning"&&"important-warning-filled"||this.type==="error"&&"warning-filled"})),o("div",{key:"a0a387bda275dfdbdb810bfe9b4a1fa04d1af3a1",class:"stzh-toast__text-wrapper"},o("div",{key:"4ca9c2d4b985d4252aefc8855397c39f15ee3213",class:"stzh-toast__label"},this.label),o("div",{key:"39e0201d434143a083dfe9bb63073600ef331b9f",class:"stzh-toast__link"},o("slot",{key:"7c50d8dd47044590ef5a232d2286a85d8a8da647",name:"link",onSlotchange:this.handleLinkSlotchange})))),!this.hideClose&&o("div",{key:"3506c634657d88e3b57b306c9ae19416e2ea49bb",class:"stzh-toast__close-wrapper"},o("stzh-button",{key:"7be034a61ffdb0c3c65a7a135537416edced7604",class:"stzh-toast__close",onClick:this.onCloseButtonClick,label:this.localization.close,variant:"tertiary",size:"small",iconOnly:true,icon:"close-big"}))))}get element(){return i(this)}static get watchers(){return{open:["openWatcher"]}}};z.style=f();const u=()=>`:host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){:host{bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){:host{bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host{bottom:var(--stzh-space-xxlarge)}}:host{z-index:var(--stzh-z-index-overlay);position:fixed;pointer-events:none;left:1.25rem;right:1.25rem;bottom:calc(var(--stzh-pagetitle-disturber-stuck-height, 0px) + var(--stzh-sticky-cta-stuck-bottom-height, 0px))}@media screen and (min-width: 600px){:host{left:2rem;right:auto;max-width:26.8125rem}}@media screen and (min-width: 900px){:host{left:2.5rem;max-width:27.5rem}}@media screen and (min-width: 1260px){:host{left:4rem;max-width:30.3125rem}}@media screen and (min-width: 1600px){:host{left:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2);max-width:34.625rem}}:host ::slotted(*:not([hidden]):not([slot])){margin-bottom:var(--stzh-space-small)}.stzh-toastbar{display:flex;flex-direction:column;justify-content:flex-end}@media screen and (min-width: 600px){.stzh-toastbar{align-items:flex-start}}`;const b="stzh-components-toastbar-closed";const g=class{constructor(s){t(this,s);this.hideAfter=30;this.max=5;this.initialToasts=[];this._initialToasts=[];this.handleSlotchange=()=>{this.toastsAppended();this.hideOverflowingItems()}}async toast(t,{type:s,link:o}={type:"info"}){const e=document.createElement("stzh-toast");e.hidden=true;e.label=t;e.role="alert";e.type=s||"info";e.initialOpenAnimation=true;if(o){o.slot="link";o.size="small";e.appendChild(o)}this.element.appendChild(e);return e}initialToastsWatcher(t){if(typeof t==="string"){this._initialToasts=JSON.parse(t)}else{this._initialToasts=t}}toastAppended(t){if(t.getAttribute("data-stzh-toastbar-managed")){return}t.setAttribute("data-stzh-toastbar-managed","");t.addEventListener("stzhClosed",(()=>{t.remove()}));if(t.type!=="error"){let s=(new Date).getTime();let o=this.hideAfter*1e3;let e=window.setTimeout((()=>{t.hide()}),o);t.addEventListener("pointerenter",(()=>{if(e){window.clearTimeout(e);const t=(new Date).getTime()-s;o=o-t}}));t.addEventListener("pointerleave",(()=>{s=(new Date).getTime();e=window.setTimeout((()=>{t.hide()}),o)}))}}toastsAppended(){var t;const s=((t=this.element.getRootNode())===null||t===void 0?void 0:t.host)||this.element;Array.from(s.children).forEach((t=>{this.toastAppended(t)}))}hideOverflowingItems(){var t;const s=((t=this.element.getRootNode())===null||t===void 0?void 0:t.host)||this.element;const o=s.children.length;Array.from(s.children).splice(0,o-this.max).forEach((t=>{t.hide()}))}componentWillLoad(){this.initialToastsWatcher(this.initialToasts)}componentDidLoad(){this._initialToasts.forEach((async t=>{if(t.cookie){const s=d.get(`${b}-${t.cookie}`);if(s){return}}let s=t.link;if(!(s instanceof HTMLElement)){const o=document.createElement("stzh-button");o.slot="link";o.size="small";Object.assign(o,t.link);s=o}const o=await this.toast(t.label,{type:t.type,link:s});if(t.cookie){let s=365;if(t.cookieExpires===0){s=null}else if(t.cookieExpires){s=t.cookieExpires}o.addEventListener("stzhClosed",(()=>{d.set(`${b}-${t.cookie}`,"1",{expires:s})}))}}))}render(){const t={"stzh-toastbar":true};return o(e,{key:"7460a6148cb0e08e92a1bb594e0c81f438844b26"},o("div",{key:"6ae7db9674257007e24f428cf51889f24cc2854d",class:t},o("slot",{key:"38ee0dc0da0aebe58ff6925d2aa3c2a93324f3b1",onSlotchange:this.handleSlotchange})))}get element(){return i(this)}static get watchers(){return{initialToasts:["initialToastsWatcher"]}}};g.style=u();export{z as stzh_toast,g as stzh_toastbar};
2
+ //# sourceMappingURL=p-6af8d5cb.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as e,a as i,d as h,F as r}from"./p-BDy81lpO.js";import{S as c}from"./p-D4oTGvdl.js";import{h as o}from"./p--MYN2wgX.js";import"./p-BubviQku.js";const a=()=>`.sc-stzh-chip-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-chip-h,[stzh-hidden].sc-stzh-chip-h{display:none}.sc-stzh-chip-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-chip-h *.sc-stzh-chip,.sc-stzh-chip-h *.sc-stzh-chip::before,.sc-stzh-chip-h *.sc-stzh-chip::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-chip-h .has-focus.sc-stzh-chip{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-chip-h .stzh-fylingfocus-focused.sc-stzh-chip{outline-style:none !important}.sc-stzh-chip-h .stzh-fylingfocus-focused.sc-stzh-chip::-moz-focus-inner{border:0 !important}.sc-stzh-chip-h{--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}@media screen and (min-width: 900px){.sc-stzh-chip-h{--outer-height:auto}}.sc-stzh-chip-h{--color:var(--stzh-chip-color, var(--stzh-color-primary70));--remove-color:var(--color);--remove-border-radius:1.5rem;--background-color:var(--stzh-chip-background-color, var(--stzh-color-secondary30));--icon-size:var(--stzh-icon-size-xsmall);--icon-color:var(--color);--icon-gap:var(--stzh-space-xsmall);--counter-color:var(--color);--counter-gap:var(--stzh-space-xsmall);--hover-color:var(--stzh-chip-hover-color, var(--stzh-color-primary70));--hover-background-color:var(\n --stzh-chip-hover-background-color,\n var(--stzh-color-secondary40)\n );--hover-remove-color:var(--hover-color);--hover-remove-background-color:var(--stzh-color-primary30);--hover-icon-color:var(--hover-color);--hover-counter-color:var(--hover-color);display:inline-flex}@media (forced-colors: active){.sc-stzh-chip-h{--hover-color:Highlight;--hover-background-color:Canvas;--hover-remove-background-color:Canvas}}[variant=input].sc-stzh-chip-h{--background-color:var(--stzh-color-primary10);--hover-color:var(--stzh-color-primary90);--hover-background-color:var(--stzh-color-primary20)}[variant=tag].sc-stzh-chip-h{--color:var(--stzh-color-grey90);--background-color:var(--stzh-color-grey20);--hover-color:var(--stzh-color-grey90);--hover-background-color:var(--stzh-color-grey20)}[variant=input].sc-stzh-chip-h:where([size=small]){--icon-gap:var(--stzh-space-xxsmall)}[variant=tag].sc-stzh-chip-h:where([size=small]){--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall);--icon-gap:var(--stzh-space-xxsmall)}[variant=tag].sc-stzh-chip-h:where([type=warning]){--color:var(--stzh-color-warning90);--hover-color:var(--stzh-color-warning90)}[variant=tag].sc-stzh-chip-h:where([type=error]){--color:var(--stzh-color-error70);--hover-color:var(--stzh-color-error70)}[variant=tag].sc-stzh-chip-h:where([type=success]){--color:var(--stzh-color-success70);--hover-color:var(--stzh-color-success70)}[variant=tag].sc-stzh-chip-h:where([inverted]:not([inverted=false])){--color:var(--stzh-color-white);--background-color:var(--stzh-color-grey90);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-grey90)}[variant=tag].sc-stzh-chip-h:where([type=warning][inverted]:not([inverted=false])){--color:var(--stzh-color-black);--background-color:var(--stzh-color-warning60);--hover-color:var(--stzh-color-black);--hover-background-color:var(--stzh-color-warning60)}[variant=tag].sc-stzh-chip-h:where([type=error][inverted]:not([inverted=false])){--background-color:var(--stzh-color-error70);--hover-background-color:var(--stzh-color-error70)}[variant=tag].sc-stzh-chip-h:where([type=success][inverted]:not([inverted=false])){--background-color:var(--stzh-color-success70);--hover-background-color:var(--stzh-color-success70)}[active].sc-stzh-chip-h:not([active=false]){--color:var(--stzh-chip-active-color, var(--stzh-color-white));--background-color:var(\n --stzh-chip-active-background-color,\n var(--stzh-color-primary70)\n );--hover-color:var(--stzh-chip-active-hover-color, var(--stzh-color-white));--hover-background-color:var(\n --stzh-chip-active-hover-background-color,\n var(--stzh-color-primary90)\n );--hover-remove-background-color:var(--stzh-color-primary90)}@media (forced-colors: active){[active].sc-stzh-chip-h:not([active=false]){--color:Highlight;--background-color:Canvas;--hover-color:Highlight;--hover-background-color:Canvas;--hover-remove-background-color:Canvas}}[non-interactive].sc-stzh-chip-h:not([non-interactive=false]){--hover-color:var(--color);--hover-background-color:var(--background-color);--hover-remove-color:var(--remove-color);--hover-remove-background-color:transparent;--hover-icon-color:var(--icon-color);--hover-counter-color:var(--counter-color)}[disabled].sc-stzh-chip-h:not([disabled=false]){--color:var(--stzh-chip-disabled-color, var(--stzh-color-grey80));--background-color:var(\n --stzh-chip-disabled-background-color,\n var(--stzh-color-grey20)\n );--remove-color:var(--color);--icon-color:var(--color);--counter-color:var(--color);--hover-color:var(--color);--hover-background-color:var(--background-color);--hover-remove-color:var(--remove-color);--hover-remove-background-color:transparent;--hover-icon-color:var(--icon-color);--hover-counter-color:var(--counter-color)}[variant=input][disabled].sc-stzh-chip-h:not([disabled=false]){--background-color:var(--stzh-color-grey10)}.sc-stzh-chip-h:where([size=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}.sc-stzh-chip-h:where([size=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-chip-h:where([size-small=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 600px) and (min-width: 900px){.sc-stzh-chip-h:where([size-small=default]){--outer-height:auto}}@media screen and (min-width: 600px){.sc-stzh-chip-h:where([size-small=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}.sc-stzh-chip-h:where([size-small=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 900px){.sc-stzh-chip-h:where([size-medium=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 900px) and (min-width: 900px){.sc-stzh-chip-h:where([size-medium=default]){--outer-height:auto}}@media screen and (min-width: 900px){.sc-stzh-chip-h:where([size-medium=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}.sc-stzh-chip-h:where([size-medium=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-chip-h:where([size-large=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 1260px) and (min-width: 900px){.sc-stzh-chip-h:where([size-large=default]){--outer-height:auto}}@media screen and (min-width: 1260px){.sc-stzh-chip-h:where([size-large=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}.sc-stzh-chip-h:where([size-large=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 1600px){.sc-stzh-chip-h:where([size-ultra=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 1600px) and (min-width: 900px){.sc-stzh-chip-h:where([size-ultra=default]){--outer-height:auto}}@media screen and (min-width: 1600px){.sc-stzh-chip-h:where([size-ultra=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}.sc-stzh-chip-h:where([size-ultra=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}.stzh-chip.sc-stzh-chip{position:relative}.stzh-chip__vhidden.sc-stzh-chip{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip__button.sc-stzh-chip{font-size:var(--font-size);line-height:var(--line-height);letter-spacing:var(--letter-spacing);min-height:var(--outer-height);font-family:inherit;appearance:none;padding:0px;border:none;background-color:transparent}.stzh-chip__button.is-button.sc-stzh-chip,.stzh-chip__button.is-link.sc-stzh-chip{cursor:pointer}.stzh-chip__button-inner.sc-stzh-chip{height:var(--height);display:flex;flex-direction:row;align-items:center;border-radius:var(--border-radius);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);color:var(--color);background-color:var(--background-color);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color;-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-chip__label.sc-stzh-chip{text-align:left}.stzh-chip__icon-wrapper.sc-stzh-chip{--stzh-icon-size:var(--icon-size);display:flex;color:var(--icon-color);transition:color var(--stzh-base-transition-animation-speed);flex-shrink:0}.stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--icon-gap)}.stzh-chip__counter.sc-stzh-chip{display:flex;font-variant-numeric:tabular-nums;margin-left:var(--counter-gap);color:var(--counter-color);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip{position:absolute;top:50%;transform:translateY(-50%);right:0;appearance:none;font-family:inherit;border:none;background:none;padding:0;width:var(--height);height:var(--height);border-radius:var(--remove-border-radius);display:flex;justify-content:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--remove-color);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color, border-color;cursor:pointer}.stzh-chip__remove.sc-stzh-chip:hover{color:var(--hover-remove-color);background-color:var(--hover-remove-background-color)}.stzh-chip__remove-icon.sc-stzh-chip{--size:var(--stzh-icon-size-xxsmall)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__button-inner.sc-stzh-chip,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip .stzh-chip__button-inner.sc-stzh-chip{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__counter.sc-stzh-chip,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip .stzh-chip__counter.sc-stzh-chip{color:var(--hover-counter-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__icon-wrapper.sc-stzh-chip,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip .stzh-chip__icon-wrapper.sc-stzh-chip{color:var(--hover-icon-color)}.stzh-chip--is-removable.sc-stzh-chip .stzh-chip__button-inner.sc-stzh-chip{padding-right:calc(var(--height) + var(--stzh-space-xxsmall))}.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__button.sc-stzh-chip,.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__remove.sc-stzh-chip{cursor:not-allowed}`;const n=class{constructor(e){t(this,e);this.stzhClick=s(this,"stzhClick");this.stzhRemove=s(this,"stzhRemove");this.stzhFocus=s(this,"stzhFocus");this.stzhBlur=s(this,"stzhBlur");this.label="";this.href="";this.target="";this.nonInteractive=false;this.removable=false;this.inverted=false;this.variant="tag";this.size="default";this.type="default";this.counter="";this.removeLabel="";this.active=false;this.disabled=false;this.a11yDescribedby="";this.focusedByInput=false;this.onRootFocus=()=>{if(!this.focusedByInput){this.chip.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-chip",originalEvent:t})};this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-chip",originalEvent:t})};this.onClick=t=>{this.stzhClick.emit({component:"stzh-chip",originalEvent:t,href:this.href})};this.onRemoveClick=t=>{this.stzhRemove.emit({component:"stzh-chip",originalEvent:t})}}componentDidRender(){requestAnimationFrame((()=>{var t;(t=this.chip)===null||t===void 0?void 0:t.setAttribute("s-object-id",this.analyticsId||this.text.innerText)}))}renderInner(){return e("div",{class:"stzh-chip__button-inner"},e("div",{class:"stzh-chip__icon-wrapper"},this.icon||typeof this.icon==="undefined"&&this.variant==="tag"&&this.type!=="default"?e("stzh-icon",{class:"stzh-chip__icon",name:this.icon||this.type==="info"&&"info-help"||this.type==="warning"&&"important-warning"||this.type==="error"&&"warning"||this.type==="success"&&"checkmark-circle"}):e("slot",{name:"icon"})),e("stzh-clamp",{lines:1,class:"stzh-chip__label",ref:t=>this.text=t},this.label?this.label:e("slot",null),this.counter&&this.counter!=="undefined"&&this.counter!==undefined&&e("span",{class:"stzh-chip__vhidden"}," (",this.counter,")")),this.counter&&this.counter!=="undefined"&&this.counter!==undefined&&e("div",{class:"stzh-chip__counter","aria-hidden":"true"},this.counter))}render(){const t={"stzh-chip":true,"stzh-chip--is-active":this.active,"stzh-chip--is-disabled":this.disabled,"stzh-chip--is-removable":this.removable,"stzh-chip--is-inverted":this.inverted,"stzh-chip--has-counter":!!this.counter,[`stzh-chip--type-${this.type}`]:!!this.type,[`stzh-chip--size-${this.size}`]:!!this.size,[`stzh-chip--${this.variant}`]:!!this.variant};const s=this.nonInteractive?"div":this.href?"a":"button";return e(i,{key:"c2d6807463fe7613b47d6bd461456e3562895599",tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},e("div",{key:"fc21b4bf6596cbf5af87cbef37c56a8ca368b515",class:t},this.removable&&e("button",{key:"9b749e905aa5e1327ed4189d26fb34e62f9fbf17",class:"stzh-chip__remove",onClick:this.onRemoveClick,disabled:this.disabled,"aria-label":this.removeLabel,type:"button","s-object-id":this.removeAnalyticsId||this.removeLabel},e("stzh-icon",{key:"71156186f893429de5414f2d425fa7067ce0907d",class:"stzh-chip__remove-icon",name:"close-big"})),this.href?e(s,{ref:t=>this.chip=t,class:{"stzh-chip__button":true,"is-button":!this.nonInteractive&&!this.href,"is-link":!this.nonInteractive&&!!this.href},href:this.disabled?null:this.href,target:this.target,tabindex:this.a11yTabindex,"aria-label":this.a11yLabel||null,"aria-describedby":this.a11yDescribedby||null,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner()):e(s,{ref:t=>this.chip=t,class:{"stzh-chip__button":true,"is-button":!this.nonInteractive&&!this.href,"is-link":!this.nonInteractive&&!!this.href},disabled:this.disabled,type:"button",tabindex:this.a11yTabindex,"aria-label":this.a11yLabel||null,"aria-describedby":this.a11yDescribedby||null,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner())))}get element(){return h(this)}};n.style=a();const l=()=>`.sc-stzh-chipselect-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-chipselect-h,[stzh-hidden].sc-stzh-chipselect-h{display:none}.sc-stzh-chipselect-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-chipselect-h *.sc-stzh-chipselect,.sc-stzh-chipselect-h *.sc-stzh-chipselect::before,.sc-stzh-chipselect-h *.sc-stzh-chipselect::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-chipselect-h .has-focus.sc-stzh-chipselect{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-chipselect-h .stzh-fylingfocus-focused.sc-stzh-chipselect{outline-style:none !important}.sc-stzh-chipselect-h .stzh-fylingfocus-focused.sc-stzh-chipselect::-moz-focus-inner{border:0 !important}.sc-stzh-chipselect-h{width:100%}[disabled].sc-stzh-chipselect-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}[active].sc-stzh-chipselect-h:not([active=false]){--background-color:var(\n --stzh-chip-active-background-color,\n var(--stzh-color-primary70)\n )}[active].is-focused.sc-stzh-chipselect-h{--background-color:var(\n --stzh-chip-active-background-color,\n var(--stzh-color-primary70)\n )}[dropdown-on-mobile].sc-stzh-chipselect-h .stzh-chipselect__dropdown.sc-stzh-chipselect{display:block;width:100%}.stzh-chipselect__marker-symbol.sc-stzh-chipselect{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-chipselect__marker-text.sc-stzh-chipselect{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chipselect__description-wrapper.sc-stzh-chipselect{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-chipselect__error.sc-stzh-chipselect,.stzh-chipselect__description.sc-stzh-chipselect{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-chipselect__error.sc-stzh-chipselect{color:var(--stzh-color-error60)}.stzh-chipselect__error-list.sc-stzh-chipselect{list-style:none;margin:0;padding:0}.stzh-chipselect__description.sc-stzh-chipselect{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-chipselect__description-long.sc-stzh-chipselect{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-chipselect__description-long.sc-stzh-chipselect{margin-top:0}}.stzh-chipselect__description-long-popover.sc-stzh-chipselect{--width:auto;--max-width:27.3125rem}.stzh-chipselect__description-long-button.sc-stzh-chipselect{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-chipselect.sc-stzh-chipselect stzh-icon.stzh-chipselect__description-long-icon.sc-stzh-chipselect{--size:var(--stzh-icon-size-xsmall)}.stzh-chipselect--has-error.sc-stzh-chipselect .stzh-chipselect__error.sc-stzh-chipselect,.stzh-chipselect--has-description.sc-stzh-chipselect .stzh-chipselect__description.sc-stzh-chipselect{margin-top:var(--stzh-space-xxxsmall)}.stzh-chipselect.sc-stzh-chipselect{width:100%}.stzh-chipselect__label-wrapper.sc-stzh-chipselect{display:flex;align-items:center;gap:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-xsmall);width:100%;min-width:0;min-height:1.375rem}.stzh-chipselect__label.sc-stzh-chipselect{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--stzh-heading-color);display:block;min-width:0;flex:0 1 auto;max-width:100%;margin-bottom:0}.stzh-chipselect__label.sc-stzh-chipselect:empty{display:none}.stzh-chipselect__label-wrapper.sc-stzh-chipselect>.stzh-chipselect__description-wrapper.sc-stzh-chipselect{flex:0 0 auto;display:inline-flex;align-items:center;margin:0}.stzh-chipselect__label-wrapper.sc-stzh-chipselect .stzh-chipselect__error.sc-stzh-chipselect,.stzh-chipselect__label-wrapper.sc-stzh-chipselect .stzh-chipselect__description-text.sc-stzh-chipselect{display:none}.stzh-chipselect__label-wrapper.sc-stzh-chipselect .stzh-chipselect__description.sc-stzh-chipselect,.stzh-chipselect__label-wrapper.sc-stzh-chipselect .stzh-chipselect__description-long.sc-stzh-chipselect{display:inline-flex;align-items:center;margin:0}.stzh-chipselect__label-wrapper.sc-stzh-chipselect .stzh-chipselect__description-long-button.sc-stzh-chipselect{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1}.stzh-chipselect__label-wrapper.sc-stzh-chipselect stzh-popover.sc-stzh-chipselect .stzh-chipselect__description-long-icon.sc-stzh-chipselect{--size:var(--stzh-icon-size-small);display:block;line-height:0;color:var(--stzh-color-primary70)}.stzh-chipselect__marker.sc-stzh-chipselect{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-chipselect__chips.sc-stzh-chipselect{display:flex;align-items:center;flex-wrap:wrap;border-radius:var(--stzh-button-border-radius);gap:var(--stzh-space-medium)}.stzh-chipselect__chips.sc-stzh-chipselect:focus-within .is-focused[active].sc-stzh-chipselect{--background-color:var(--stzh-color-primary90)}@media (forced-colors: active){.stzh-chipselect__chips.sc-stzh-chipselect:focus-within .is-focused[active].sc-stzh-chipselect{--background-color:Canvas}}.stzh-chipselect__chip.is-focused.sc-stzh-chipselect:not([active]){--background-color:var(--stzh-color-secondary40)}@media (forced-colors: active){.stzh-chipselect__chip.is-focused.sc-stzh-chipselect:not([active]){--background-color:Highlight}}.stzh-chipselect__dropdown.sc-stzh-chipselect{display:block;width:100%;--popover-width:max-content;--popover-min-width:100%;--popover-max-width:calc(100vw - 2rem)}.stzh-chipselect__description-wrapper.sc-stzh-chipselect{margin-top:var(--stzh-space-xsmall)}.stzh-chipselect--has-label-hidden.sc-stzh-chipselect .stzh-chipselect__label.sc-stzh-chipselect{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chipselect--is-disabled.sc-stzh-chipselect .stzh-chipselect__chips.sc-stzh-chipselect,.stzh-chipselect--is-disabled.sc-stzh-chipselect .stzh-chipselect__label.sc-stzh-chipselect{cursor:not-allowed}`;let p=0;const d=class{constructor(e){t(this,e);this.stzhChange=s(this,"stzhChange");this.data=[];this._data=[];this._dataDropdown=[];this.label="";this.labelHidden=false;this.multiple=false;this.value="";this._value=[];this.defaultValue="";this.invalid=false;this.required=false;this.disabled=false;this.hideOptional=false;this.dropdownOnMobile=false;this.a11yDescribedby="";this.activeFocusOptionIndex=-1;this.isMobile=false;this.skipNextValueRender=false;this.handleReset=async()=>{this.value=this.defaultValue};this.handleMediaQueryChange=t=>{this.isMobile=t.matches};this.handleChipClick=async(t,s)=>{if(this.multiple){if(t.value===""&&this._value.length>0&&!(this._value.length===1&&this._value[0]==="")){this.value=[]}else if(t.value!==""){this.value=this._value.includes(t.value)?this._value.filter((s=>s!==t.value)):[...this._value,t.value]}}else{this.value=t.value}this.activeFocusOptionIndex=s;await this.waitForNextRender();this.stzhChange.emit({component:"stzh-chipselect",value:this.multiple?this._value:this._value[0]})};this.handleDropdownChange=t=>{const s=t.detail.value;const e=Array.isArray(s)?String(s):[String(s)];this.skipNextValueRender=true;this.value=this.multiple?e:e.length>0?e[0]:"";this.stzhChange.emit({component:"stzh-chipselect",value:this.multiple?e:e[0]})};this.handleKeydown=t=>{let s=null;const e=this.activeFocusOptionIndex;if(t.key==="ArrowUp"||t.key==="ArrowLeft"){t.preventDefault();if(e>0){s=e-1}}else if(t.key==="ArrowDown"||t.key==="ArrowRight"){t.preventDefault();if(e<this._data.length-1){s=e+1}}else if(t.key===" "||t.key==="Enter"){t.preventDefault();if(e<0){return}if(this.multiple){if(this._data[e].value===""&&this._value.length>0&&!(this._value.length===1&&this._value[0]==="")){this.value=[]}else if(this._data[e].value!==""){this.value=this._value.includes(this._data[e].value)?this._value.filter((t=>t!==this._data[e].value)):[...this._value,this._data[e].value]}}else{this.value=this._data[e].value}this.stzhChange.emit({component:"stzh-chipselect",value:this.value})}if(s!==null){this.activeFocusOptionIndex=s}}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}valueWatcher(t){if(typeof t==="string"){try{const s=JSON.parse(t);if(Array.isArray(s)){this._value=s}else{this._value=[t]}}catch(s){this._value=[t]}}else if(Array.isArray(t)){this._value=t}else{this._value=[]}}dataWatcher(t){if(typeof t==="string"){this._data=JSON.parse(t)}else{this._data=t}this._data.map((t=>{if(typeof t.value!=="string"){throw new TypeError(`${t.value} is not a string. The data prop only accepts arrays (or stringified arrays), where the value property is a string. Consult the StzhChipselectItem type definition for more information.`)}}));this._dataDropdown=this._data.map((t=>({text:t.counter?`${t.label} (${t.counter})`:t.label,value:t.value})))}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}componentShouldUpdate(t,s,e){if(e==="value"&&this.useDropdownOnMobile&&this.skipNextValueRender){this.skipNextValueRender=false;return false}return true}waitForNextRender(){return new Promise((t=>this.renderPromiseResolve=t))}get useDropdownOnMobile(){return this.isMobile&&this.dropdownOnMobile}componentDidRender(){if(this.renderPromiseResolve){this.renderPromiseResolve()}}async componentWillLoad(){this.id=`stzh-chipselect-${p++}`;this.dataWatcher(this.data);this.errorWatcher(this.error);this.valueWatcher(this.value);if(this.defaultValue===undefined||this.defaultValue===null){this.defaultValue=this.value}if(typeof window!=="undefined"){this.mediaQuery=window.matchMedia("(max-width: 767px)");this.isMobile=this.mediaQuery.matches}if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"chipselect")}}componentDidLoad(){if(this.mediaQuery){this.mediaQuery.addEventListener("change",this.handleMediaQueryChange)}}disconnectedCallback(){if(this.mediaQuery){this.mediaQuery.removeEventListener("change",this.handleMediaQueryChange)}}render(){var t;const s=o(this.element,"description")||!!this.description;const h=o(this.element,"description-long")||!!this.descriptionLong;const a=o(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const n=!this.labelHidden&&(!!this.label||o(this.element)||h);const l=this.activeFocusOptionIndex>=0;const p=l?`${this.id}-option-${this.activeFocusOptionIndex}`:undefined;const d={"stzh-chipselect":true,"stzh-chipselect--has-description":s,"stzh-chipselect--has-description-long":h,"stzh-chipselect--has-error":a,"stzh-chipselect--is-invalid":this.invalid||a,"stzh-chipselect--is-disabled":this.disabled,"stzh-chipselect--is-required":this.required,"stzh-chipselect--has-label-hidden":this.labelHidden};return e(i,{key:"6d2c378e763f9846d5bcef6fbdf00f24956046a5","is-invalid":this.invalid||a},e("div",{key:"8c6db8e943fa6c1d9728f895fea83f6e95dd30db",class:d},!this.useDropdownOnMobile&&(this.multiple?e(r,null,this._value.map((t=>e("input",{type:"hidden",name:this.name,value:t})))):e("input",{type:"hidden",name:this.name,value:this.value})),!this.useDropdownOnMobile&&n&&e("div",{key:"939cf90d05cc4a7677287d41992366a9024a1258",class:"stzh-chipselect__label-wrapper"},e("label",{key:"3e6d0006b9f8b6a5aa696969150aac1342ef6717",class:"stzh-chipselect__label",htmlFor:this.id},this.label?this.label:e("slot",null),!this.hideOptional&&e("span",{key:"8072a604dc9304930a2d8b88083a4c3d9ad1e625",class:"stzh-chipselect__marker"},e("span",{key:"d5fd00632be1a47cc07ca936133ca1d4d79fc6ab",class:"stzh-chipselect__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{key:"f501bb9f1e8c132f639ed72ca195eb1a669c167c",class:"stzh-chipselect__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),h&&e(c,{key:"9ff27d167b8cbac6770de6c0bfbb9121a329c9ef",classPrefix:"stzh-chipselect",id:`${this.id}-description-long`,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:h,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel,showError:false,showDescriptionText:false})),this._data.length>0&&e(r,{key:"130d007cfa576382f900029823900bbc16f5b8b2"},!this.useDropdownOnMobile?e(r,null,e("div",{id:this.id,class:"stzh-chipselect__chips",role:"listbox",tabindex:"0","aria-multiselectable":this.multiple?"true":"false","aria-activedescendant":p,"aria-describedby":`${this.id}-description ${this.a11yDescribedby}`,onKeyDown:this.handleKeydown},this._data.map(((t,s)=>e("stzh-chip",{role:"option",class:{"stzh-chipselect__chip":true,"is-focused":this.activeFocusOptionIndex===s},label:t.label,counter:t.counter,icon:t.icon,variant:t.variant||"filter",inverted:t.inverted,size:t.size||"small",disabled:this.disabled||t.disabled,active:this._value.includes(t.value)||!this.multiple&&!t.value&&(this._value.length===0||this._value[0]==="")||!t.value&&this.multiple&&(this._value.length===0||this._value.length===1&&this._value[0]===""),"aria-selected":this._value.includes(t.value)||!this.multiple&&!t.value&&(this._value.length===0||this._value[0]==="")||!t.value&&this.multiple&&(this._value.length===0||this._value.length===1&&this._value[0]==="")?"true":"false",id:`${this.id}-option-${s}`,a11yTabindex:"-1",onClick:()=>this.handleChipClick(t,s)}))))):e("stzh-dropdown",{class:"stzh-chipselect__dropdown",name:this.name,multiple:this.multiple,disabled:this.disabled,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,required:this.required,invalid:this.invalid,items:this.multiple?this._value:this._value.length>0?[this._value[0]]:[],label:this.label,labelHidden:this.labelHidden,options:this._dataDropdown,hideOptional:this.hideOptional,onStzhChange:this.handleDropdownChange})),!this.useDropdownOnMobile&&(a||s)&&e(c,{key:"74c035663687909bf314c14223de6b16893fd9f7",classPrefix:"stzh-chipselect",id:`${this.id}-description`,error:this._error,description:this.description,descriptionLongUsed:false})))}get element(){return h(this)}static get watchers(){return{value:["valueWatcher"],data:["dataWatcher"],error:["errorWatcher"]}}};d.style=l();export{n as stzh_chip,d as stzh_chipselect};
2
- //# sourceMappingURL=p-69f5276e.entry.js.map
1
+ import{r as t,c as s,h as e,a as i,d as h,F as r}from"./p-BMrO_esM.js";import{S as c}from"./p--ooR_PU_.js";import{h as o}from"./p-DhuTERdU.js";import"./p-BubviQku.js";const a=()=>`.sc-stzh-chip-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-chip-h,[stzh-hidden].sc-stzh-chip-h{display:none}.sc-stzh-chip-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-chip-h *.sc-stzh-chip,.sc-stzh-chip-h *.sc-stzh-chip::before,.sc-stzh-chip-h *.sc-stzh-chip::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-chip-h .has-focus.sc-stzh-chip{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-chip-h .stzh-fylingfocus-focused.sc-stzh-chip{outline-style:none !important}.sc-stzh-chip-h .stzh-fylingfocus-focused.sc-stzh-chip::-moz-focus-inner{border:0 !important}.sc-stzh-chip-h{--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}@media screen and (min-width: 900px){.sc-stzh-chip-h{--outer-height:auto}}.sc-stzh-chip-h{--color:var(--stzh-chip-color, var(--stzh-color-primary70));--remove-color:var(--color);--remove-border-radius:1.5rem;--background-color:var(--stzh-chip-background-color, var(--stzh-color-secondary30));--icon-size:var(--stzh-icon-size-xsmall);--icon-color:var(--color);--icon-gap:var(--stzh-space-xsmall);--counter-color:var(--color);--counter-gap:var(--stzh-space-xsmall);--hover-color:var(--stzh-chip-hover-color, var(--stzh-color-primary70));--hover-background-color:var(\n --stzh-chip-hover-background-color,\n var(--stzh-color-secondary40)\n );--hover-remove-color:var(--hover-color);--hover-remove-background-color:var(--stzh-color-primary30);--hover-icon-color:var(--hover-color);--hover-counter-color:var(--hover-color);display:inline-flex}@media (forced-colors: active){.sc-stzh-chip-h{--hover-color:Highlight;--hover-background-color:Canvas;--hover-remove-background-color:Canvas}}[variant=input].sc-stzh-chip-h{--background-color:var(--stzh-color-primary10);--hover-color:var(--stzh-color-primary90);--hover-background-color:var(--stzh-color-primary20)}[variant=tag].sc-stzh-chip-h{--color:var(--stzh-color-grey90);--background-color:var(--stzh-color-grey20);--hover-color:var(--stzh-color-grey90);--hover-background-color:var(--stzh-color-grey20)}[variant=input].sc-stzh-chip-h:where([size=small]){--icon-gap:var(--stzh-space-xxsmall)}[variant=tag].sc-stzh-chip-h:where([size=small]){--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall);--icon-gap:var(--stzh-space-xxsmall)}[variant=tag].sc-stzh-chip-h:where([type=warning]){--color:var(--stzh-color-warning90);--hover-color:var(--stzh-color-warning90)}[variant=tag].sc-stzh-chip-h:where([type=error]){--color:var(--stzh-color-error70);--hover-color:var(--stzh-color-error70)}[variant=tag].sc-stzh-chip-h:where([type=success]){--color:var(--stzh-color-success70);--hover-color:var(--stzh-color-success70)}[variant=tag].sc-stzh-chip-h:where([inverted]:not([inverted=false])){--color:var(--stzh-color-white);--background-color:var(--stzh-color-grey90);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-grey90)}[variant=tag].sc-stzh-chip-h:where([type=warning][inverted]:not([inverted=false])){--color:var(--stzh-color-black);--background-color:var(--stzh-color-warning60);--hover-color:var(--stzh-color-black);--hover-background-color:var(--stzh-color-warning60)}[variant=tag].sc-stzh-chip-h:where([type=error][inverted]:not([inverted=false])){--background-color:var(--stzh-color-error70);--hover-background-color:var(--stzh-color-error70)}[variant=tag].sc-stzh-chip-h:where([type=success][inverted]:not([inverted=false])){--background-color:var(--stzh-color-success70);--hover-background-color:var(--stzh-color-success70)}[active].sc-stzh-chip-h:not([active=false]){--color:var(--stzh-chip-active-color, var(--stzh-color-white));--background-color:var(\n --stzh-chip-active-background-color,\n var(--stzh-color-primary70)\n );--hover-color:var(--stzh-chip-active-hover-color, var(--stzh-color-white));--hover-background-color:var(\n --stzh-chip-active-hover-background-color,\n var(--stzh-color-primary90)\n );--hover-remove-background-color:var(--stzh-color-primary90)}@media (forced-colors: active){[active].sc-stzh-chip-h:not([active=false]){--color:Highlight;--background-color:Canvas;--hover-color:Highlight;--hover-background-color:Canvas;--hover-remove-background-color:Canvas}}[non-interactive].sc-stzh-chip-h:not([non-interactive=false]){--hover-color:var(--color);--hover-background-color:var(--background-color);--hover-remove-color:var(--remove-color);--hover-remove-background-color:transparent;--hover-icon-color:var(--icon-color);--hover-counter-color:var(--counter-color)}[disabled].sc-stzh-chip-h:not([disabled=false]){--color:var(--stzh-chip-disabled-color, var(--stzh-color-grey80));--background-color:var(\n --stzh-chip-disabled-background-color,\n var(--stzh-color-grey20)\n );--remove-color:var(--color);--icon-color:var(--color);--counter-color:var(--color);--hover-color:var(--color);--hover-background-color:var(--background-color);--hover-remove-color:var(--remove-color);--hover-remove-background-color:transparent;--hover-icon-color:var(--icon-color);--hover-counter-color:var(--counter-color)}[variant=input][disabled].sc-stzh-chip-h:not([disabled=false]){--background-color:var(--stzh-color-grey10)}.sc-stzh-chip-h:where([size=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}.sc-stzh-chip-h:where([size=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-chip-h:where([size-small=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 600px) and (min-width: 900px){.sc-stzh-chip-h:where([size-small=default]){--outer-height:auto}}@media screen and (min-width: 600px){.sc-stzh-chip-h:where([size-small=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}.sc-stzh-chip-h:where([size-small=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 900px){.sc-stzh-chip-h:where([size-medium=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 900px) and (min-width: 900px){.sc-stzh-chip-h:where([size-medium=default]){--outer-height:auto}}@media screen and (min-width: 900px){.sc-stzh-chip-h:where([size-medium=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}.sc-stzh-chip-h:where([size-medium=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-chip-h:where([size-large=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 1260px) and (min-width: 900px){.sc-stzh-chip-h:where([size-large=default]){--outer-height:auto}}@media screen and (min-width: 1260px){.sc-stzh-chip-h:where([size-large=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}.sc-stzh-chip-h:where([size-large=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 1600px){.sc-stzh-chip-h:where([size-ultra=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 1600px) and (min-width: 900px){.sc-stzh-chip-h:where([size-ultra=default]){--outer-height:auto}}@media screen and (min-width: 1600px){.sc-stzh-chip-h:where([size-ultra=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}.sc-stzh-chip-h:where([size-ultra=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}.stzh-chip.sc-stzh-chip{position:relative}.stzh-chip__vhidden.sc-stzh-chip{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip__button.sc-stzh-chip{font-size:var(--font-size);line-height:var(--line-height);letter-spacing:var(--letter-spacing);min-height:var(--outer-height);font-family:inherit;appearance:none;padding:0px;border:none;background-color:transparent}.stzh-chip__button.is-button.sc-stzh-chip,.stzh-chip__button.is-link.sc-stzh-chip{cursor:pointer}.stzh-chip__button-inner.sc-stzh-chip{height:var(--height);display:flex;flex-direction:row;align-items:center;border-radius:var(--border-radius);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);color:var(--color);background-color:var(--background-color);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color;-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-chip__label.sc-stzh-chip{text-align:left}.stzh-chip__icon-wrapper.sc-stzh-chip{--stzh-icon-size:var(--icon-size);display:flex;color:var(--icon-color);transition:color var(--stzh-base-transition-animation-speed);flex-shrink:0}.stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--icon-gap)}.stzh-chip__counter.sc-stzh-chip{display:flex;font-variant-numeric:tabular-nums;margin-left:var(--counter-gap);color:var(--counter-color);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip{position:absolute;top:50%;transform:translateY(-50%);right:0;appearance:none;font-family:inherit;border:none;background:none;padding:0;width:var(--height);height:var(--height);border-radius:var(--remove-border-radius);display:flex;justify-content:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--remove-color);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color, border-color;cursor:pointer}.stzh-chip__remove.sc-stzh-chip:hover{color:var(--hover-remove-color);background-color:var(--hover-remove-background-color)}.stzh-chip__remove-icon.sc-stzh-chip{--size:var(--stzh-icon-size-xxsmall)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__button-inner.sc-stzh-chip,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip .stzh-chip__button-inner.sc-stzh-chip{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__counter.sc-stzh-chip,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip .stzh-chip__counter.sc-stzh-chip{color:var(--hover-counter-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__icon-wrapper.sc-stzh-chip,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip .stzh-chip__icon-wrapper.sc-stzh-chip{color:var(--hover-icon-color)}.stzh-chip--is-removable.sc-stzh-chip .stzh-chip__button-inner.sc-stzh-chip{padding-right:calc(var(--height) + var(--stzh-space-xxsmall))}.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__button.sc-stzh-chip,.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__remove.sc-stzh-chip{cursor:not-allowed}`;const n=class{constructor(e){t(this,e);this.stzhClick=s(this,"stzhClick");this.stzhRemove=s(this,"stzhRemove");this.stzhFocus=s(this,"stzhFocus");this.stzhBlur=s(this,"stzhBlur");this.label="";this.href="";this.target="";this.nonInteractive=false;this.removable=false;this.inverted=false;this.variant="tag";this.size="default";this.type="default";this.counter="";this.removeLabel="";this.active=false;this.disabled=false;this.a11yDescribedby="";this.focusedByInput=false;this.onRootFocus=()=>{if(!this.focusedByInput){this.chip.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-chip",originalEvent:t})};this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-chip",originalEvent:t})};this.onClick=t=>{this.stzhClick.emit({component:"stzh-chip",originalEvent:t,href:this.href})};this.onRemoveClick=t=>{this.stzhRemove.emit({component:"stzh-chip",originalEvent:t})}}componentDidRender(){requestAnimationFrame((()=>{var t;(t=this.chip)===null||t===void 0?void 0:t.setAttribute("s-object-id",this.analyticsId||this.text.innerText)}))}renderInner(){return e("div",{class:"stzh-chip__button-inner"},e("div",{class:"stzh-chip__icon-wrapper"},this.icon||typeof this.icon==="undefined"&&this.variant==="tag"&&this.type!=="default"?e("stzh-icon",{class:"stzh-chip__icon",name:this.icon||this.type==="info"&&"info-help"||this.type==="warning"&&"important-warning"||this.type==="error"&&"warning"||this.type==="success"&&"checkmark-circle"}):e("slot",{name:"icon"})),e("stzh-clamp",{lines:1,class:"stzh-chip__label",ref:t=>this.text=t},this.label?this.label:e("slot",null),this.counter&&this.counter!=="undefined"&&this.counter!==undefined&&e("span",{class:"stzh-chip__vhidden"}," (",this.counter,")")),this.counter&&this.counter!=="undefined"&&this.counter!==undefined&&e("div",{class:"stzh-chip__counter","aria-hidden":"true"},this.counter))}render(){const t={"stzh-chip":true,"stzh-chip--is-active":this.active,"stzh-chip--is-disabled":this.disabled,"stzh-chip--is-removable":this.removable,"stzh-chip--is-inverted":this.inverted,"stzh-chip--has-counter":!!this.counter,[`stzh-chip--type-${this.type}`]:!!this.type,[`stzh-chip--size-${this.size}`]:!!this.size,[`stzh-chip--${this.variant}`]:!!this.variant};const s=this.nonInteractive?"div":this.href?"a":"button";return e(i,{key:"c2d6807463fe7613b47d6bd461456e3562895599",tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},e("div",{key:"fc21b4bf6596cbf5af87cbef37c56a8ca368b515",class:t},this.removable&&e("button",{key:"9b749e905aa5e1327ed4189d26fb34e62f9fbf17",class:"stzh-chip__remove",onClick:this.onRemoveClick,disabled:this.disabled,"aria-label":this.removeLabel,type:"button","s-object-id":this.removeAnalyticsId||this.removeLabel},e("stzh-icon",{key:"71156186f893429de5414f2d425fa7067ce0907d",class:"stzh-chip__remove-icon",name:"close-big"})),this.href?e(s,{ref:t=>this.chip=t,class:{"stzh-chip__button":true,"is-button":!this.nonInteractive&&!this.href,"is-link":!this.nonInteractive&&!!this.href},href:this.disabled?null:this.href,target:this.target,tabindex:this.a11yTabindex,"aria-label":this.a11yLabel||null,"aria-describedby":this.a11yDescribedby||null,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner()):e(s,{ref:t=>this.chip=t,class:{"stzh-chip__button":true,"is-button":!this.nonInteractive&&!this.href,"is-link":!this.nonInteractive&&!!this.href},disabled:this.disabled,type:"button",tabindex:this.a11yTabindex,"aria-label":this.a11yLabel||null,"aria-describedby":this.a11yDescribedby||null,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner())))}get element(){return h(this)}};n.style=a();const l=()=>`.sc-stzh-chipselect-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-chipselect-h,[stzh-hidden].sc-stzh-chipselect-h{display:none}.sc-stzh-chipselect-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-chipselect-h *.sc-stzh-chipselect,.sc-stzh-chipselect-h *.sc-stzh-chipselect::before,.sc-stzh-chipselect-h *.sc-stzh-chipselect::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-chipselect-h .has-focus.sc-stzh-chipselect{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-chipselect-h .stzh-fylingfocus-focused.sc-stzh-chipselect{outline-style:none !important}.sc-stzh-chipselect-h .stzh-fylingfocus-focused.sc-stzh-chipselect::-moz-focus-inner{border:0 !important}.sc-stzh-chipselect-h{width:100%}[disabled].sc-stzh-chipselect-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}[active].sc-stzh-chipselect-h:not([active=false]){--background-color:var(\n --stzh-chip-active-background-color,\n var(--stzh-color-primary70)\n )}[active].is-focused.sc-stzh-chipselect-h{--background-color:var(\n --stzh-chip-active-background-color,\n var(--stzh-color-primary70)\n )}[dropdown-on-mobile].sc-stzh-chipselect-h .stzh-chipselect__dropdown.sc-stzh-chipselect{display:block;width:100%}.stzh-chipselect__marker-symbol.sc-stzh-chipselect{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-chipselect__marker-text.sc-stzh-chipselect{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chipselect__description-wrapper.sc-stzh-chipselect{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-chipselect__error.sc-stzh-chipselect,.stzh-chipselect__description.sc-stzh-chipselect{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-chipselect__error.sc-stzh-chipselect{color:var(--stzh-color-error60)}.stzh-chipselect__error-list.sc-stzh-chipselect{list-style:none;margin:0;padding:0}.stzh-chipselect__description.sc-stzh-chipselect{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-chipselect__description-long.sc-stzh-chipselect{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-chipselect__description-long.sc-stzh-chipselect{margin-top:0}}.stzh-chipselect__description-long-popover.sc-stzh-chipselect{--width:auto;--max-width:27.3125rem}.stzh-chipselect__description-long-button.sc-stzh-chipselect{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-chipselect.sc-stzh-chipselect stzh-icon.stzh-chipselect__description-long-icon.sc-stzh-chipselect{--size:var(--stzh-icon-size-xsmall)}.stzh-chipselect--has-error.sc-stzh-chipselect .stzh-chipselect__error.sc-stzh-chipselect,.stzh-chipselect--has-description.sc-stzh-chipselect .stzh-chipselect__description.sc-stzh-chipselect{margin-top:var(--stzh-space-xxxsmall)}.stzh-chipselect.sc-stzh-chipselect{width:100%}.stzh-chipselect__label-wrapper.sc-stzh-chipselect{display:flex;align-items:center;gap:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-xsmall);width:100%;min-width:0;min-height:1.375rem}.stzh-chipselect__label.sc-stzh-chipselect{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--stzh-heading-color);display:block;min-width:0;flex:0 1 auto;max-width:100%;margin-bottom:0}.stzh-chipselect__label.sc-stzh-chipselect:empty{display:none}.stzh-chipselect__label-wrapper.sc-stzh-chipselect>.stzh-chipselect__description-wrapper.sc-stzh-chipselect{flex:0 0 auto;display:inline-flex;align-items:center;margin:0}.stzh-chipselect__label-wrapper.sc-stzh-chipselect .stzh-chipselect__error.sc-stzh-chipselect,.stzh-chipselect__label-wrapper.sc-stzh-chipselect .stzh-chipselect__description-text.sc-stzh-chipselect{display:none}.stzh-chipselect__label-wrapper.sc-stzh-chipselect .stzh-chipselect__description.sc-stzh-chipselect,.stzh-chipselect__label-wrapper.sc-stzh-chipselect .stzh-chipselect__description-long.sc-stzh-chipselect{display:inline-flex;align-items:center;margin:0}.stzh-chipselect__label-wrapper.sc-stzh-chipselect .stzh-chipselect__description-long-button.sc-stzh-chipselect{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1}.stzh-chipselect__label-wrapper.sc-stzh-chipselect stzh-popover.sc-stzh-chipselect .stzh-chipselect__description-long-icon.sc-stzh-chipselect{--size:var(--stzh-icon-size-small);display:block;line-height:0;color:var(--stzh-color-primary70)}.stzh-chipselect__marker.sc-stzh-chipselect{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-chipselect__chips.sc-stzh-chipselect{display:flex;align-items:center;flex-wrap:wrap;border-radius:var(--stzh-button-border-radius);gap:var(--stzh-space-medium)}.stzh-chipselect__chips.sc-stzh-chipselect:focus-within .is-focused[active].sc-stzh-chipselect{--background-color:var(--stzh-color-primary90)}@media (forced-colors: active){.stzh-chipselect__chips.sc-stzh-chipselect:focus-within .is-focused[active].sc-stzh-chipselect{--background-color:Canvas}}.stzh-chipselect__chip.is-focused.sc-stzh-chipselect:not([active]){--background-color:var(--stzh-color-secondary40)}@media (forced-colors: active){.stzh-chipselect__chip.is-focused.sc-stzh-chipselect:not([active]){--background-color:Highlight}}.stzh-chipselect__dropdown.sc-stzh-chipselect{display:block;width:100%;--popover-width:max-content;--popover-min-width:100%;--popover-max-width:calc(100vw - 2rem)}.stzh-chipselect__description-wrapper.sc-stzh-chipselect{margin-top:var(--stzh-space-xsmall)}.stzh-chipselect--has-label-hidden.sc-stzh-chipselect .stzh-chipselect__label.sc-stzh-chipselect{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chipselect--is-disabled.sc-stzh-chipselect .stzh-chipselect__chips.sc-stzh-chipselect,.stzh-chipselect--is-disabled.sc-stzh-chipselect .stzh-chipselect__label.sc-stzh-chipselect{cursor:not-allowed}`;let p=0;const d=class{constructor(e){t(this,e);this.stzhChange=s(this,"stzhChange");this.data=[];this._data=[];this._dataDropdown=[];this.label="";this.labelHidden=false;this.multiple=false;this.value="";this._value=[];this.defaultValue="";this.invalid=false;this.required=false;this.disabled=false;this.hideOptional=false;this.dropdownOnMobile=false;this.a11yDescribedby="";this.activeFocusOptionIndex=-1;this.isMobile=false;this.skipNextValueRender=false;this.handleReset=async()=>{this.value=this.defaultValue};this.handleMediaQueryChange=t=>{this.isMobile=t.matches};this.handleChipClick=async(t,s)=>{if(this.multiple){if(t.value===""&&this._value.length>0&&!(this._value.length===1&&this._value[0]==="")){this.value=[]}else if(t.value!==""){this.value=this._value.includes(t.value)?this._value.filter((s=>s!==t.value)):[...this._value,t.value]}}else{this.value=t.value}this.activeFocusOptionIndex=s;await this.waitForNextRender();this.stzhChange.emit({component:"stzh-chipselect",value:this.multiple?this._value:this._value[0]})};this.handleDropdownChange=t=>{const s=t.detail.value;const e=Array.isArray(s)?String(s):[String(s)];this.skipNextValueRender=true;this.value=this.multiple?e:e.length>0?e[0]:"";this.stzhChange.emit({component:"stzh-chipselect",value:this.multiple?e:e[0]})};this.handleKeydown=t=>{let s=null;const e=this.activeFocusOptionIndex;if(t.key==="ArrowUp"||t.key==="ArrowLeft"){t.preventDefault();if(e>0){s=e-1}}else if(t.key==="ArrowDown"||t.key==="ArrowRight"){t.preventDefault();if(e<this._data.length-1){s=e+1}}else if(t.key===" "||t.key==="Enter"){t.preventDefault();if(e<0){return}if(this.multiple){if(this._data[e].value===""&&this._value.length>0&&!(this._value.length===1&&this._value[0]==="")){this.value=[]}else if(this._data[e].value!==""){this.value=this._value.includes(this._data[e].value)?this._value.filter((t=>t!==this._data[e].value)):[...this._value,this._data[e].value]}}else{this.value=this._data[e].value}this.stzhChange.emit({component:"stzh-chipselect",value:this.value})}if(s!==null){this.activeFocusOptionIndex=s}}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}valueWatcher(t){if(typeof t==="string"){try{const s=JSON.parse(t);if(Array.isArray(s)){this._value=s}else{this._value=[t]}}catch(s){this._value=[t]}}else if(Array.isArray(t)){this._value=t}else{this._value=[]}}dataWatcher(t){if(typeof t==="string"){this._data=JSON.parse(t)}else{this._data=t}this._data.map((t=>{if(typeof t.value!=="string"){throw new TypeError(`${t.value} is not a string. The data prop only accepts arrays (or stringified arrays), where the value property is a string. Consult the StzhChipselectItem type definition for more information.`)}}));this._dataDropdown=this._data.map((t=>({text:t.counter?`${t.label} (${t.counter})`:t.label,value:t.value})))}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}componentShouldUpdate(t,s,e){if(e==="value"&&this.useDropdownOnMobile&&this.skipNextValueRender){this.skipNextValueRender=false;return false}return true}waitForNextRender(){return new Promise((t=>this.renderPromiseResolve=t))}get useDropdownOnMobile(){return this.isMobile&&this.dropdownOnMobile}componentDidRender(){if(this.renderPromiseResolve){this.renderPromiseResolve()}}async componentWillLoad(){this.id=`stzh-chipselect-${p++}`;this.dataWatcher(this.data);this.errorWatcher(this.error);this.valueWatcher(this.value);if(this.defaultValue===undefined||this.defaultValue===null){this.defaultValue=this.value}if(typeof window!=="undefined"){this.mediaQuery=window.matchMedia("(max-width: 767px)");this.isMobile=this.mediaQuery.matches}if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"chipselect")}}componentDidLoad(){if(this.mediaQuery){this.mediaQuery.addEventListener("change",this.handleMediaQueryChange)}}disconnectedCallback(){if(this.mediaQuery){this.mediaQuery.removeEventListener("change",this.handleMediaQueryChange)}}render(){var t;const s=o(this.element,"description")||!!this.description;const h=o(this.element,"description-long")||!!this.descriptionLong;const a=o(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const n=!this.labelHidden&&(!!this.label||o(this.element)||h);const l=this.activeFocusOptionIndex>=0;const p=l?`${this.id}-option-${this.activeFocusOptionIndex}`:undefined;const d={"stzh-chipselect":true,"stzh-chipselect--has-description":s,"stzh-chipselect--has-description-long":h,"stzh-chipselect--has-error":a,"stzh-chipselect--is-invalid":this.invalid||a,"stzh-chipselect--is-disabled":this.disabled,"stzh-chipselect--is-required":this.required,"stzh-chipselect--has-label-hidden":this.labelHidden};return e(i,{key:"6d2c378e763f9846d5bcef6fbdf00f24956046a5","is-invalid":this.invalid||a},e("div",{key:"8c6db8e943fa6c1d9728f895fea83f6e95dd30db",class:d},!this.useDropdownOnMobile&&(this.multiple?e(r,null,this._value.map((t=>e("input",{type:"hidden",name:this.name,value:t})))):e("input",{type:"hidden",name:this.name,value:this.value})),!this.useDropdownOnMobile&&n&&e("div",{key:"939cf90d05cc4a7677287d41992366a9024a1258",class:"stzh-chipselect__label-wrapper"},e("label",{key:"3e6d0006b9f8b6a5aa696969150aac1342ef6717",class:"stzh-chipselect__label",htmlFor:this.id},this.label?this.label:e("slot",null),!this.hideOptional&&e("span",{key:"8072a604dc9304930a2d8b88083a4c3d9ad1e625",class:"stzh-chipselect__marker"},e("span",{key:"d5fd00632be1a47cc07ca936133ca1d4d79fc6ab",class:"stzh-chipselect__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{key:"f501bb9f1e8c132f639ed72ca195eb1a669c167c",class:"stzh-chipselect__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),h&&e(c,{key:"9ff27d167b8cbac6770de6c0bfbb9121a329c9ef",classPrefix:"stzh-chipselect",id:`${this.id}-description-long`,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:h,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel,showError:false,showDescriptionText:false})),this._data.length>0&&e(r,{key:"130d007cfa576382f900029823900bbc16f5b8b2"},!this.useDropdownOnMobile?e(r,null,e("div",{id:this.id,class:"stzh-chipselect__chips",role:"listbox",tabindex:"0","aria-multiselectable":this.multiple?"true":"false","aria-activedescendant":p,"aria-describedby":`${this.id}-description ${this.a11yDescribedby}`,onKeyDown:this.handleKeydown},this._data.map(((t,s)=>e("stzh-chip",{role:"option",class:{"stzh-chipselect__chip":true,"is-focused":this.activeFocusOptionIndex===s},label:t.label,counter:t.counter,icon:t.icon,variant:t.variant||"filter",inverted:t.inverted,size:t.size||"small",disabled:this.disabled||t.disabled,active:this._value.includes(t.value)||!this.multiple&&!t.value&&(this._value.length===0||this._value[0]==="")||!t.value&&this.multiple&&(this._value.length===0||this._value.length===1&&this._value[0]===""),"aria-selected":this._value.includes(t.value)||!this.multiple&&!t.value&&(this._value.length===0||this._value[0]==="")||!t.value&&this.multiple&&(this._value.length===0||this._value.length===1&&this._value[0]==="")?"true":"false",id:`${this.id}-option-${s}`,a11yTabindex:"-1",onClick:()=>this.handleChipClick(t,s)}))))):e("stzh-dropdown",{class:"stzh-chipselect__dropdown",name:this.name,multiple:this.multiple,disabled:this.disabled,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,required:this.required,invalid:this.invalid,items:this.multiple?this._value:this._value.length>0?[this._value[0]]:[],label:this.label,labelHidden:this.labelHidden,options:this._dataDropdown,hideOptional:this.hideOptional,onStzhChange:this.handleDropdownChange})),!this.useDropdownOnMobile&&(a||s)&&e(c,{key:"74c035663687909bf314c14223de6b16893fd9f7",classPrefix:"stzh-chipselect",id:`${this.id}-description`,error:this._error,description:this.description,descriptionLongUsed:false})))}get element(){return h(this)}static get watchers(){return{value:["valueWatcher"],data:["dataWatcher"],error:["errorWatcher"]}}};d.style=l();export{n as stzh_chip,d as stzh_chipselect};
2
+ //# sourceMappingURL=p-6b450966.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,f as e,h as i,a as h,d as r}from"./p-BDy81lpO.js";import{m as a,a as c,r as n}from"./p-CUGRmgip.js";const o=()=>`.sc-stzh-stepper-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-stepper-h,[stzh-hidden].sc-stzh-stepper-h{display:none}.sc-stzh-stepper-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-stepper-h *.sc-stzh-stepper,.sc-stzh-stepper-h *.sc-stzh-stepper::before,.sc-stzh-stepper-h *.sc-stzh-stepper::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-stepper-h .has-focus.sc-stzh-stepper{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-stepper-h .stzh-fylingfocus-focused.sc-stzh-stepper{outline-style:none !important}.sc-stzh-stepper-h .stzh-fylingfocus-focused.sc-stzh-stepper::-moz-focus-inner{border:0 !important}.sc-stzh-stepper-h{min-width:calc(var(--steps) * 1.6875rem * 2)}@media screen and (min-width: 600px){.sc-stzh-stepper-h{min-width:calc(var(--steps) * 1.9375rem * 2)}}.stzh-stepper.sc-stzh-stepper{position:relative;z-index:0;overflow:hidden}.stzh-stepper__items.sc-stzh-stepper{display:flex;flex-wrap:nowrap}.stzh-stepper__item.sc-stzh-stepper{flex-grow:1;flex-shrink:1;flex-basis:0}`;const p=class{constructor(e){t(this,e);this.stzhClick=s(this,"stzhClick");this.stzhDottedClick=s(this,"stzhDottedClick");this.data=[];this.index=0;this.steps=5;this.stepsSmall=6;this.stepsMedium=0;this.stepsLarge=0;this.stepsUltra=0;this.clickDisabled=false;this.handleStepClick=t=>{t.preventDefault();t.stopPropagation();if(t.type!=="stzhDottedClick"){this.stzhClick.emit({component:"stzh-stepper-item",originalEvent:t.detail.originalEvent,index:t.detail.index})}else{this.stzhDottedClick.emit({component:"stzh-stepper-item",originalEvent:t.detail.originalEvent,index:t.detail.index})}};this.setCurrentSteps=()=>{if(a("ultra").matches&&this.stepsUltra){this.currentSteps=this.stepsUltra}else if(a("large").matches&&this.stepsLarge){this.currentSteps=this.stepsLarge}else if(a("medium").matches&&this.stepsMedium){this.currentSteps=this.stepsMedium}else if(a("small").matches&&this.stepsSmall){this.currentSteps=this.stepsSmall}else{this.currentSteps=this.steps}}}async getItemData(){return this._data.map(((t,s)=>Object.assign(Object.assign({},t),this.getItemAttributes(s))))}onIndexChange(){this.indexWatcher(this.index);this.setCurrentSteps();e(this.element)}indexWatcher(t){if(typeof t==="string"){this.index=JSON.parse(t)}else{this.index=t}}stepsWatcher(){this.setCurrentSteps()}dataWatcher(t){if(typeof t==="string"){this._data=JSON.parse(t)}else{this._data=t}this.lastItemIndex=this._data.length-1;this.maxStepIndex=this.currentSteps-1;this.withinLastFewSteps=this.index>=this._data.length-this.maxStepIndex}getItemAttributes(t){const s={};s.step=t+1;s.first=t===0;s.last=t===this.lastItemIndex;s.current=t===this.index;s.passed=t<this.index;const e=this._data[t];s.incomplete=e.incomplete;if(this._data.length>this.currentSteps){if(t===this.lastItemIndex&&!this.withinLastFewSteps){s.dotted=true}if(this.index<2){s.hide=t>this.maxStepIndex-1&&t<this.lastItemIndex}else{if(t===0){s.dotted=true}let e=this.index;if(this.withinLastFewSteps){e=this._data.length-this.maxStepIndex}s.hide=t>0&&t<e||t>this.index+(this.currentSteps-3)&&t<this.lastItemIndex}}return s}async componentWillLoad(){this.dataWatcher(this.data);this.indexWatcher(this.index);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"stepper")}}async componentShouldUpdate(){this.dataWatcher(this.data);this.indexWatcher(this.index)}async componentDidUpdate(){this.dataWatcher(this.data);this.indexWatcher(this.index)}connectedCallback(){this.setCurrentSteps();c(this.setCurrentSteps)}disconnectedCallback(){n(this.setCurrentSteps)}render(){const t={"stzh-stepper":true,[`stzh-stepper--index-${this.index}`]:!!this.index};return i(h,{key:"14aace3ba2481f10966df3ba4c2df8c2998cb71f",style:{"--steps":this.currentSteps?this.currentSteps.toString():null}},i("div",{key:"13308bcf9d97fedca884252aefd2e5f0aa08591a",class:t},i("div",{key:"04733611bfa3d6c0c8c4d0fba3cb49fd51db7637",class:"stzh-stepper__items",role:"list","aria-label":this.localization.label},this._data.map(((t,s)=>i("stzh-stepper-item",Object.assign({},this.getItemAttributes(s),{icon:t.icon,disabled:t.disabled,label:t.label,"click-disabled":t.clickDisabled!==undefined?t.clickDisabled:this.clickDisabled,onStzhClick:t=>{this.handleStepClick(t)},onStzhDottedClick:t=>{this.handleStepClick(t)},class:"stzh-stepper__item"})))),i("slot",{key:"c4a8d8d8f8510715ee9c8081991d5a41661a5d58"}))))}get element(){return r(this)}static get watchers(){return{index:["onIndexChange"],steps:["stepsWatcher"],stepsSmall:["stepsWatcher"],stepsMedium:["stepsWatcher"],stepsLarge:["stepsWatcher"],stepsUltra:["stepsWatcher"],data:["dataWatcher"]}}};p.style=o();export{p as stzh_stepper};
2
- //# sourceMappingURL=p-b663c8f6.entry.js.map
1
+ import{r as t,c as s,f as e,h as i,a as h,d as r}from"./p-BMrO_esM.js";import{m as a,a as c,r as n}from"./p-CUGRmgip.js";const o=()=>`.sc-stzh-stepper-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-stepper-h,[stzh-hidden].sc-stzh-stepper-h{display:none}.sc-stzh-stepper-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-stepper-h *.sc-stzh-stepper,.sc-stzh-stepper-h *.sc-stzh-stepper::before,.sc-stzh-stepper-h *.sc-stzh-stepper::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-stepper-h .has-focus.sc-stzh-stepper{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-stepper-h .stzh-fylingfocus-focused.sc-stzh-stepper{outline-style:none !important}.sc-stzh-stepper-h .stzh-fylingfocus-focused.sc-stzh-stepper::-moz-focus-inner{border:0 !important}.sc-stzh-stepper-h{min-width:calc(var(--steps) * 1.6875rem * 2)}@media screen and (min-width: 600px){.sc-stzh-stepper-h{min-width:calc(var(--steps) * 1.9375rem * 2)}}.stzh-stepper.sc-stzh-stepper{position:relative;z-index:0;overflow:hidden}.stzh-stepper__items.sc-stzh-stepper{display:flex;flex-wrap:nowrap}.stzh-stepper__item.sc-stzh-stepper{flex-grow:1;flex-shrink:1;flex-basis:0}`;const p=class{constructor(e){t(this,e);this.stzhClick=s(this,"stzhClick");this.stzhDottedClick=s(this,"stzhDottedClick");this.data=[];this.index=0;this.steps=5;this.stepsSmall=6;this.stepsMedium=0;this.stepsLarge=0;this.stepsUltra=0;this.clickDisabled=false;this.handleStepClick=t=>{t.preventDefault();t.stopPropagation();if(t.type!=="stzhDottedClick"){this.stzhClick.emit({component:"stzh-stepper-item",originalEvent:t.detail.originalEvent,index:t.detail.index})}else{this.stzhDottedClick.emit({component:"stzh-stepper-item",originalEvent:t.detail.originalEvent,index:t.detail.index})}};this.setCurrentSteps=()=>{if(a("ultra").matches&&this.stepsUltra){this.currentSteps=this.stepsUltra}else if(a("large").matches&&this.stepsLarge){this.currentSteps=this.stepsLarge}else if(a("medium").matches&&this.stepsMedium){this.currentSteps=this.stepsMedium}else if(a("small").matches&&this.stepsSmall){this.currentSteps=this.stepsSmall}else{this.currentSteps=this.steps}}}async getItemData(){return this._data.map(((t,s)=>Object.assign(Object.assign({},t),this.getItemAttributes(s))))}onIndexChange(){this.indexWatcher(this.index);this.setCurrentSteps();e(this.element)}indexWatcher(t){if(typeof t==="string"){this.index=JSON.parse(t)}else{this.index=t}}stepsWatcher(){this.setCurrentSteps()}dataWatcher(t){if(typeof t==="string"){this._data=JSON.parse(t)}else{this._data=t}this.lastItemIndex=this._data.length-1;this.maxStepIndex=this.currentSteps-1;this.withinLastFewSteps=this.index>=this._data.length-this.maxStepIndex}getItemAttributes(t){const s={};s.step=t+1;s.first=t===0;s.last=t===this.lastItemIndex;s.current=t===this.index;s.passed=t<this.index;const e=this._data[t];s.incomplete=e.incomplete;if(this._data.length>this.currentSteps){if(t===this.lastItemIndex&&!this.withinLastFewSteps){s.dotted=true}if(this.index<2){s.hide=t>this.maxStepIndex-1&&t<this.lastItemIndex}else{if(t===0){s.dotted=true}let e=this.index;if(this.withinLastFewSteps){e=this._data.length-this.maxStepIndex}s.hide=t>0&&t<e||t>this.index+(this.currentSteps-3)&&t<this.lastItemIndex}}return s}async componentWillLoad(){this.dataWatcher(this.data);this.indexWatcher(this.index);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"stepper")}}async componentShouldUpdate(){this.dataWatcher(this.data);this.indexWatcher(this.index)}async componentDidUpdate(){this.dataWatcher(this.data);this.indexWatcher(this.index)}connectedCallback(){this.setCurrentSteps();c(this.setCurrentSteps)}disconnectedCallback(){n(this.setCurrentSteps)}render(){const t={"stzh-stepper":true,[`stzh-stepper--index-${this.index}`]:!!this.index};return i(h,{key:"14aace3ba2481f10966df3ba4c2df8c2998cb71f",style:{"--steps":this.currentSteps?this.currentSteps.toString():null}},i("div",{key:"13308bcf9d97fedca884252aefd2e5f0aa08591a",class:t},i("div",{key:"04733611bfa3d6c0c8c4d0fba3cb49fd51db7637",class:"stzh-stepper__items",role:"list","aria-label":this.localization.label},this._data.map(((t,s)=>i("stzh-stepper-item",Object.assign({},this.getItemAttributes(s),{icon:t.icon,disabled:t.disabled,label:t.label,"click-disabled":t.clickDisabled!==undefined?t.clickDisabled:this.clickDisabled,onStzhClick:t=>{this.handleStepClick(t)},onStzhDottedClick:t=>{this.handleStepClick(t)},class:"stzh-stepper__item"})))),i("slot",{key:"c4a8d8d8f8510715ee9c8081991d5a41661a5d58"}))))}get element(){return r(this)}static get watchers(){return{index:["onIndexChange"],steps:["stepsWatcher"],stepsSmall:["stepsWatcher"],stepsMedium:["stepsWatcher"],stepsLarge:["stepsWatcher"],stepsUltra:["stepsWatcher"],data:["dataWatcher"]}}};p.style=o();export{p as stzh_stepper};
2
+ //# sourceMappingURL=p-6c6e664c.entry.js.map