@oiz/stzh-components 4.13.0-beta2 → 4.13.0-beta3

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 (854) hide show
  1. package/dist/cjs/{index-C2NolCUV.js → index-Bp0rLg2N.js} +3 -3
  2. package/dist/cjs/{index-C2NolCUV.js.map → index-Bp0rLg2N.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-chip_2.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-components.cjs.js +1 -1
  32. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  42. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  47. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +141 -48
  57. package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-header_3.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  67. package/dist/cjs/{stzh-input-description-Cg6hcgtH.js → stzh-input-description-YJYkbAAu.js} +3 -3
  68. package/dist/cjs/{stzh-input-description-Cg6hcgtH.js.map → stzh-input-description-YJYkbAAu.js.map} +1 -1
  69. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  70. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  99. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  100. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-richtext.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-search.cjs.entry.js +3 -4
  106. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-show.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
  125. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  126. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  127. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  128. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  129. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  131. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  135. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  136. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  137. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  138. package/dist/cjs/utils-CdKceirv.js.map +1 -1
  139. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.css +4 -1
  140. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +179 -46
  141. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js.map +1 -1
  142. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -3
  143. package/dist/collection/components/CMS/stzh-search/stzh-search.js.map +1 -1
  144. package/dist/collection/index.js.map +1 -1
  145. package/dist/collection/utils/utils.js.map +1 -1
  146. package/dist/components/index.js +2 -2
  147. package/dist/components/{p-Dlsh0TmW.js → p-AlFAPUcz.js} +3 -3
  148. package/dist/components/{p-Dlsh0TmW.js.map → p-AlFAPUcz.js.map} +1 -1
  149. package/dist/components/{p-BHr9Alht.js → p-B10Dxx4N.js} +6 -6
  150. package/dist/components/{p-BHr9Alht.js.map → p-B10Dxx4N.js.map} +1 -1
  151. package/dist/components/{p-CfR3hrmj.js → p-B6_Nu7ol.js} +3 -3
  152. package/dist/components/{p-CfR3hrmj.js.map → p-B6_Nu7ol.js.map} +1 -1
  153. package/dist/components/{p-DVhyRqBV.js → p-BAEif_IN.js} +11 -11
  154. package/dist/components/{p-DVhyRqBV.js.map → p-BAEif_IN.js.map} +1 -1
  155. package/dist/components/{p-Cl1gEXQY.js → p-BC5CKnR0.js} +3 -3
  156. package/dist/components/{p-Cl1gEXQY.js.map → p-BC5CKnR0.js.map} +1 -1
  157. package/dist/components/{p-U9-oC6Mf.js → p-BJJt9Z22.js} +5 -5
  158. package/dist/components/{p-U9-oC6Mf.js.map → p-BJJt9Z22.js.map} +1 -1
  159. package/dist/components/{p-BCp-ZKc2.js → p-BLcYkw6U.js} +3 -3
  160. package/dist/components/{p-BCp-ZKc2.js.map → p-BLcYkw6U.js.map} +1 -1
  161. package/dist/components/{p--kTA8A3t.js → p-BMWIx346.js} +3 -3
  162. package/dist/components/{p--kTA8A3t.js.map → p-BMWIx346.js.map} +1 -1
  163. package/dist/components/{p-BsVAjQYR.js → p-BO2rq9qS.js} +3 -3
  164. package/dist/components/{p-BsVAjQYR.js.map → p-BO2rq9qS.js.map} +1 -1
  165. package/dist/components/{p-RUuCBZnE.js → p-BO75Hl9b.js} +11 -11
  166. package/dist/components/{p-RUuCBZnE.js.map → p-BO75Hl9b.js.map} +1 -1
  167. package/dist/components/{p-ClDAVBRJ.js → p-BOm5Ou_u.js} +3 -3
  168. package/dist/components/{p-ClDAVBRJ.js.map → p-BOm5Ou_u.js.map} +1 -1
  169. package/dist/components/{p-DOYdpl1Q.js → p-BQZtw7Z7.js} +7 -7
  170. package/dist/components/{p-DOYdpl1Q.js.map → p-BQZtw7Z7.js.map} +1 -1
  171. package/dist/components/{p-D5scUQED.js → p-BUMZ_F_w.js} +7 -7
  172. package/dist/components/{p-D5scUQED.js.map → p-BUMZ_F_w.js.map} +1 -1
  173. package/dist/components/{p-BYd7Ux_3.js → p-BarwJybT.js} +3 -3
  174. package/dist/components/{p-BYd7Ux_3.js.map → p-BarwJybT.js.map} +1 -1
  175. package/dist/components/{p-CiYdGxRQ.js → p-Bax1A7b1.js} +6 -6
  176. package/dist/components/{p-CiYdGxRQ.js.map → p-Bax1A7b1.js.map} +1 -1
  177. package/dist/components/{p-1M-KfXKI.js → p-BgQDT7bh.js} +10 -10
  178. package/dist/components/{p-1M-KfXKI.js.map → p-BgQDT7bh.js.map} +1 -1
  179. package/dist/components/{p-DS7dnwKT.js → p-Bhp6jtO8.js} +7 -7
  180. package/dist/components/{p-DS7dnwKT.js.map → p-Bhp6jtO8.js.map} +1 -1
  181. package/dist/components/{p-Z-Jqp34a.js → p-Bje3oo2k.js} +3 -3
  182. package/dist/components/{p-Z-Jqp34a.js.map → p-Bje3oo2k.js.map} +1 -1
  183. package/dist/components/{p-CDAjRg5y.js → p-BjvJ021V.js} +3 -3
  184. package/dist/components/{p-CDAjRg5y.js.map → p-BjvJ021V.js.map} +1 -1
  185. package/dist/components/{p-CpOGdrbL.js → p-BtMryHk0.js} +12 -12
  186. package/dist/components/{p-CpOGdrbL.js.map → p-BtMryHk0.js.map} +1 -1
  187. package/dist/components/{p-DEPpXTKe.js → p-BvqVpJTf.js} +6 -6
  188. package/dist/components/{p-DEPpXTKe.js.map → p-BvqVpJTf.js.map} +1 -1
  189. package/dist/components/{p-Dux-ObXr.js → p-C-FuUoEq.js} +8 -8
  190. package/dist/components/{p-Dux-ObXr.js.map → p-C-FuUoEq.js.map} +1 -1
  191. package/dist/components/{p-D9laE83Y.js → p-C-FzSODV.js} +3 -3
  192. package/dist/components/{p-D9laE83Y.js.map → p-C-FzSODV.js.map} +1 -1
  193. package/dist/components/{p-qCrKVPwN.js → p-C2x3czGO.js} +7 -7
  194. package/dist/components/{p-qCrKVPwN.js.map → p-C2x3czGO.js.map} +1 -1
  195. package/dist/components/{p-DSXTn_9y.js → p-C5BMqKn_.js} +3 -3
  196. package/dist/components/{p-DSXTn_9y.js.map → p-C5BMqKn_.js.map} +1 -1
  197. package/dist/components/{p-BLPv4qvK.js → p-C7BHBfNV.js} +5 -5
  198. package/dist/components/{p-BLPv4qvK.js.map → p-C7BHBfNV.js.map} +1 -1
  199. package/dist/components/{p-Cgv50ptD.js → p-C8WcT7h2.js} +3 -3
  200. package/dist/components/{p-Cgv50ptD.js.map → p-C8WcT7h2.js.map} +1 -1
  201. package/dist/components/{p-B85c63Jz.js → p-CBCQoVcu.js} +7 -7
  202. package/dist/components/{p-B85c63Jz.js.map → p-CBCQoVcu.js.map} +1 -1
  203. package/dist/components/{p-DztW1SL5.js → p-CCyGg44V.js} +3 -3
  204. package/dist/components/{p-DztW1SL5.js.map → p-CCyGg44V.js.map} +1 -1
  205. package/dist/components/{p-ClSK_zhJ.js → p-CFAM9BEK.js} +9 -9
  206. package/dist/components/{p-ClSK_zhJ.js.map → p-CFAM9BEK.js.map} +1 -1
  207. package/dist/components/{p-XxEa8k1C.js → p-CM8WZSVV.js} +3 -3
  208. package/dist/components/{p-XxEa8k1C.js.map → p-CM8WZSVV.js.map} +1 -1
  209. package/dist/components/{p-B2fPjAf_.js → p-CRQRuJiQ.js} +5 -5
  210. package/dist/components/{p-B2fPjAf_.js.map → p-CRQRuJiQ.js.map} +1 -1
  211. package/dist/components/{p-BFYM0d9U.js → p-CZ8Mjvap.js} +10 -10
  212. package/dist/components/{p-BFYM0d9U.js.map → p-CZ8Mjvap.js.map} +1 -1
  213. package/dist/components/{p-DlTXAowj.js → p-CZhEDRHt.js} +5 -5
  214. package/dist/components/{p-DlTXAowj.js.map → p-CZhEDRHt.js.map} +1 -1
  215. package/dist/components/{p-CQxbVj7f.js → p-Ccysfqy-.js} +4 -4
  216. package/dist/components/{p-CQxbVj7f.js.map → p-Ccysfqy-.js.map} +1 -1
  217. package/dist/components/{p-v5danKU8.js → p-CgQ_cBIG.js} +3 -3
  218. package/dist/components/{p-v5danKU8.js.map → p-CgQ_cBIG.js.map} +1 -1
  219. package/dist/components/{p-BSNY3NLD.js → p-CooWp6cI.js} +3 -3
  220. package/dist/components/{p-BSNY3NLD.js.map → p-CooWp6cI.js.map} +1 -1
  221. package/dist/components/{p-CPeJeUa-.js → p-Cpg9m791.js} +7 -7
  222. package/dist/components/{p-CPeJeUa-.js.map → p-Cpg9m791.js.map} +1 -1
  223. package/dist/components/{p-kwBmMJ76.js → p-Ct0XU0Xj.js} +3 -3
  224. package/dist/components/{p-kwBmMJ76.js.map → p-Ct0XU0Xj.js.map} +1 -1
  225. package/dist/components/{p-Bqs0ypNa.js → p-CwBTEkzx.js} +9 -9
  226. package/dist/components/{p-Bqs0ypNa.js.map → p-CwBTEkzx.js.map} +1 -1
  227. package/dist/components/{p-BlwiU4CG.js → p-D1_7Pmt5.js} +3 -3
  228. package/dist/components/{p-BlwiU4CG.js.map → p-D1_7Pmt5.js.map} +1 -1
  229. package/dist/components/{p-ui-6TPA5.js → p-DBAv0gnk.js} +3 -3
  230. package/dist/components/{p-ui-6TPA5.js.map → p-DBAv0gnk.js.map} +1 -1
  231. package/dist/components/{p-BjSC2u-6.js → p-DExx9Pjz.js} +12 -12
  232. package/dist/components/{p-BjSC2u-6.js.map → p-DExx9Pjz.js.map} +1 -1
  233. package/dist/components/{p-DMzDq9Qk.js → p-DGm16OWS.js} +3 -3
  234. package/dist/components/{p-DMzDq9Qk.js.map → p-DGm16OWS.js.map} +1 -1
  235. package/dist/components/{p-B4t4nDXO.js → p-DKirOAZM.js} +3 -3
  236. package/dist/components/{p-B4t4nDXO.js.map → p-DKirOAZM.js.map} +1 -1
  237. package/dist/components/{p-DdYpx2_6.js → p-DP0n1_w_.js} +6 -6
  238. package/dist/components/{p-DdYpx2_6.js.map → p-DP0n1_w_.js.map} +1 -1
  239. package/dist/components/{p-BEN2QXaH.js → p-DPMP2OtC.js} +3 -3
  240. package/dist/components/{p-BEN2QXaH.js.map → p-DPMP2OtC.js.map} +1 -1
  241. package/dist/components/{p-cy07BSqU.js → p-DSIwFDJz.js} +4 -4
  242. package/dist/components/{p-cy07BSqU.js.map → p-DSIwFDJz.js.map} +1 -1
  243. package/dist/components/{p-DAWriA57.js → p-DUdHhTLj.js} +3 -3
  244. package/dist/components/{p-DAWriA57.js.map → p-DUdHhTLj.js.map} +1 -1
  245. package/dist/components/{p-CdBgMdny.js → p-DV5Ax_xD.js} +3 -3
  246. package/dist/components/{p-CdBgMdny.js.map → p-DV5Ax_xD.js.map} +1 -1
  247. package/dist/components/{p-C8Pvb9FC.js → p-DVHdn6_q.js} +3 -3
  248. package/dist/components/{p-C8Pvb9FC.js.map → p-DVHdn6_q.js.map} +1 -1
  249. package/dist/components/{p-B3JZYmt1.js → p-DhS6kKt0.js} +3 -3
  250. package/dist/components/{p-B3JZYmt1.js.map → p-DhS6kKt0.js.map} +1 -1
  251. package/dist/components/{p-CSvDDg8y.js → p-Di8DhNdR.js} +7 -7
  252. package/dist/components/{p-CSvDDg8y.js.map → p-Di8DhNdR.js.map} +1 -1
  253. package/dist/components/p-Dk-EHN3E.js.map +1 -1
  254. package/dist/components/{p-CWotAi0D.js → p-DpRn3ACG.js} +8 -8
  255. package/dist/components/{p-CWotAi0D.js.map → p-DpRn3ACG.js.map} +1 -1
  256. package/dist/components/{p-DGA4Wbkr.js → p-DrN8vNr_.js} +4 -4
  257. package/dist/components/{p-DGA4Wbkr.js.map → p-DrN8vNr_.js.map} +1 -1
  258. package/dist/components/{p-BwN_bjZw.js → p-Dw-ubnsp.js} +7 -7
  259. package/dist/components/{p-BwN_bjZw.js.map → p-Dw-ubnsp.js.map} +1 -1
  260. package/dist/components/{p-CpKjrb_A.js → p-DwOar9dv.js} +6 -6
  261. package/dist/components/{p-CpKjrb_A.js.map → p-DwOar9dv.js.map} +1 -1
  262. package/dist/components/{p-Ckr8PPUF.js → p-DyYArL-E.js} +3 -3
  263. package/dist/components/{p-Ckr8PPUF.js.map → p-DyYArL-E.js.map} +1 -1
  264. package/dist/components/{p-Cx8-DmKZ.js → p-H2x6aeWo.js} +3 -3
  265. package/dist/components/{p-Cx8-DmKZ.js.map → p-H2x6aeWo.js.map} +1 -1
  266. package/dist/components/{p-4LLNW_Sp.js → p-NWy2ycR9.js} +11 -11
  267. package/dist/components/{p-4LLNW_Sp.js.map → p-NWy2ycR9.js.map} +1 -1
  268. package/dist/components/{p-D3KrekDF.js → p-QipvHyAq.js} +4 -4
  269. package/dist/components/{p-D3KrekDF.js.map → p-QipvHyAq.js.map} +1 -1
  270. package/dist/components/{p-DnWtkvjB.js → p-Qlkl3kgw.js} +4 -4
  271. package/dist/components/{p-DnWtkvjB.js.map → p-Qlkl3kgw.js.map} +1 -1
  272. package/dist/components/{p-ugjxp2cX.js → p-Yn9z-xv7.js} +7 -7
  273. package/dist/components/{p-ugjxp2cX.js.map → p-Yn9z-xv7.js.map} +1 -1
  274. package/dist/components/{p-BDSDx_II.js → p-ZfYU5vT8.js} +4 -4
  275. package/dist/components/{p-BDSDx_II.js.map → p-ZfYU5vT8.js.map} +1 -1
  276. package/dist/components/{p-XwB7D2_o.js → p-kc3jagy9.js} +5 -5
  277. package/dist/components/{p-XwB7D2_o.js.map → p-kc3jagy9.js.map} +1 -1
  278. package/dist/components/{p-CJHyHIqZ.js → p-kxNH1uWn.js} +4 -4
  279. package/dist/components/{p-CJHyHIqZ.js.map → p-kxNH1uWn.js.map} +1 -1
  280. package/dist/components/p-uD4ilJut.js.map +1 -1
  281. package/dist/components/{p-CBGywK9s.js → p-u_QxrpaB.js} +3 -3
  282. package/dist/components/{p-CBGywK9s.js.map → p-u_QxrpaB.js.map} +1 -1
  283. package/dist/components/{p-Cm4H5jKM.js → p-yVdiMr7c.js} +9 -9
  284. package/dist/components/{p-Cm4H5jKM.js.map → p-yVdiMr7c.js.map} +1 -1
  285. package/dist/components/stzh-accordion-item.js +1 -1
  286. package/dist/components/stzh-accordion.js +1 -1
  287. package/dist/components/stzh-actions.js +1 -1
  288. package/dist/components/stzh-actionset.js +1 -1
  289. package/dist/components/stzh-amount.js +9 -9
  290. package/dist/components/stzh-anchornav.js +5 -5
  291. package/dist/components/stzh-app-nav.js +1 -1
  292. package/dist/components/stzh-appointments.js +13 -13
  293. package/dist/components/stzh-archivelist.js +7 -7
  294. package/dist/components/stzh-audio.js +5 -5
  295. package/dist/components/stzh-badge.js +1 -1
  296. package/dist/components/stzh-banner.js +4 -4
  297. package/dist/components/stzh-breadcrumb.js +1 -1
  298. package/dist/components/stzh-button.js +1 -1
  299. package/dist/components/stzh-buttongroup.js +1 -1
  300. package/dist/components/stzh-calendar.js +1 -1
  301. package/dist/components/stzh-card-navigation.js +2 -2
  302. package/dist/components/stzh-card-searchresult.js +14 -14
  303. package/dist/components/stzh-card-superteaser.js +14 -14
  304. package/dist/components/stzh-card.js +1 -1
  305. package/dist/components/stzh-cardlist.js +1 -1
  306. package/dist/components/stzh-carousel.js +1 -1
  307. package/dist/components/stzh-cell.js +1 -1
  308. package/dist/components/stzh-chart.js +1 -1
  309. package/dist/components/stzh-checkbox.js +1 -1
  310. package/dist/components/stzh-checkboxgroup.js +5 -5
  311. package/dist/components/stzh-chip.js +1 -1
  312. package/dist/components/stzh-chipgroup.js +1 -1
  313. package/dist/components/stzh-chipselect.js +1 -1
  314. package/dist/components/stzh-clamp.js +1 -1
  315. package/dist/components/stzh-company-logo.js +1 -1
  316. package/dist/components/stzh-contact-cv.js +4 -4
  317. package/dist/components/stzh-contact.js +10 -10
  318. package/dist/components/stzh-container.js +1 -1
  319. package/dist/components/stzh-content.js +1 -1
  320. package/dist/components/stzh-cspace.js +1 -1
  321. package/dist/components/stzh-cta.js +3 -3
  322. package/dist/components/stzh-datalist-item.js +1 -1
  323. package/dist/components/stzh-datalist.js +1 -1
  324. package/dist/components/stzh-datamessagelist-item.js +11 -11
  325. package/dist/components/stzh-datamessagelist.js +1 -1
  326. package/dist/components/stzh-datatable.js +17 -17
  327. package/dist/components/stzh-datepicker.js +1 -1
  328. package/dist/components/stzh-daterange.js +4 -4
  329. package/dist/components/stzh-details.js +1 -1
  330. package/dist/components/stzh-dialog.js +1 -1
  331. package/dist/components/stzh-disturber.js +4 -4
  332. package/dist/components/stzh-dropdown.js +1 -1
  333. package/dist/components/stzh-editor.js +4 -4
  334. package/dist/components/stzh-eventdata.js +1 -1
  335. package/dist/components/stzh-eventinfo.js +5 -5
  336. package/dist/components/stzh-feedreader-item.js +2 -2
  337. package/dist/components/stzh-feedreader.js +8 -8
  338. package/dist/components/stzh-fieldset.js +1 -1
  339. package/dist/components/stzh-figure.js +1 -1
  340. package/dist/components/stzh-flyingfocus.js +1 -1
  341. package/dist/components/stzh-footer.js +4 -4
  342. package/dist/components/stzh-gallery.js +8 -8
  343. package/dist/components/stzh-geo-ref-data.js +164 -71
  344. package/dist/components/stzh-geo-ref-data.js.map +1 -1
  345. package/dist/components/stzh-ghettobox.js +4 -4
  346. package/dist/components/stzh-header.js +1 -1
  347. package/dist/components/stzh-heading.js +1 -1
  348. package/dist/components/stzh-homepage-search.js +2 -2
  349. package/dist/components/stzh-homepage-service-highlights.js +6 -6
  350. package/dist/components/stzh-hr.js +1 -1
  351. package/dist/components/stzh-hspace.js +1 -1
  352. package/dist/components/stzh-http-error.js +6 -6
  353. package/dist/components/stzh-icon.js +1 -1
  354. package/dist/components/stzh-iframe.js +1 -1
  355. package/dist/components/stzh-imagecomparison.js +2 -2
  356. package/dist/components/stzh-input.js +1 -1
  357. package/dist/components/stzh-invert.js +1 -1
  358. package/dist/components/stzh-link.js +1 -1
  359. package/dist/components/stzh-linklist.js +10 -10
  360. package/dist/components/stzh-list-item.js +1 -1
  361. package/dist/components/stzh-list.js +1 -1
  362. package/dist/components/stzh-loader.js +1 -1
  363. package/dist/components/stzh-loadingbar.js +1 -1
  364. package/dist/components/stzh-menu-item.js +1 -1
  365. package/dist/components/stzh-menu.js +1 -1
  366. package/dist/components/stzh-message.js +1 -1
  367. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  368. package/dist/components/stzh-monthyearpicker.js +5 -5
  369. package/dist/components/stzh-offline-indicator.js +6 -6
  370. package/dist/components/stzh-olmap.js +1 -1
  371. package/dist/components/stzh-overlay.js +1 -1
  372. package/dist/components/stzh-page-skiplinks.js +1 -1
  373. package/dist/components/stzh-pagebottom.js +8 -8
  374. package/dist/components/stzh-pagecontent.js +1 -1
  375. package/dist/components/stzh-pagetitle-hero.js +1 -1
  376. package/dist/components/stzh-pagetitle-home.js +2 -2
  377. package/dist/components/stzh-pagetitle.js +2 -2
  378. package/dist/components/stzh-pagination.js +1 -1
  379. package/dist/components/stzh-panorama.js +11 -11
  380. package/dist/components/stzh-pi-content-navigation.js +3 -3
  381. package/dist/components/stzh-pi-menu.js +3 -3
  382. package/dist/components/stzh-pi-pagetitle.js +2 -2
  383. package/dist/components/stzh-pi-quote.js +1 -1
  384. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  385. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  386. package/dist/components/stzh-pi-teaser.js +2 -2
  387. package/dist/components/stzh-pkzh-qr.js +20 -20
  388. package/dist/components/stzh-popover.js +1 -1
  389. package/dist/components/stzh-print.js +1 -1
  390. package/dist/components/stzh-quote.js +1 -1
  391. package/dist/components/stzh-radio.js +1 -1
  392. package/dist/components/stzh-radiogroup.js +1 -1
  393. package/dist/components/stzh-rating.js +5 -5
  394. package/dist/components/stzh-ratio.js +1 -1
  395. package/dist/components/stzh-readspeaker.js +4 -4
  396. package/dist/components/stzh-richtext.js +2 -2
  397. package/dist/components/stzh-row.js +1 -1
  398. package/dist/components/stzh-saptcha.js +7 -7
  399. package/dist/components/stzh-scrollup.js +1 -1
  400. package/dist/components/stzh-search.js +18 -19
  401. package/dist/components/stzh-search.js.map +1 -1
  402. package/dist/components/stzh-section.js +1 -1
  403. package/dist/components/stzh-share.js +1 -1
  404. package/dist/components/stzh-show.js +1 -1
  405. package/dist/components/stzh-sitemap.js +9 -9
  406. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  407. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  408. package/dist/components/stzh-skiplink.js +1 -1
  409. package/dist/components/stzh-socialmediastream-item.js +1 -1
  410. package/dist/components/stzh-socialmediastream.js +6 -6
  411. package/dist/components/stzh-sortable.js +1 -1
  412. package/dist/components/stzh-space.js +1 -1
  413. package/dist/components/stzh-status.js +1 -1
  414. package/dist/components/stzh-stepper-item.js +1 -1
  415. package/dist/components/stzh-stepper.js +3 -3
  416. package/dist/components/stzh-sticky-actions.js +2 -2
  417. package/dist/components/stzh-sticky.js +1 -1
  418. package/dist/components/stzh-table.js +1 -1
  419. package/dist/components/stzh-tag.js +1 -1
  420. package/dist/components/stzh-text.js +1 -1
  421. package/dist/components/stzh-textandimage.js +1 -1
  422. package/dist/components/stzh-timeline-item.js +3 -3
  423. package/dist/components/stzh-timeline.js +1 -1
  424. package/dist/components/stzh-timepicker.js +5 -5
  425. package/dist/components/stzh-toast.js +1 -1
  426. package/dist/components/stzh-toastbar.js +1 -1
  427. package/dist/components/stzh-toggle.js +5 -5
  428. package/dist/components/stzh-tooltip.js +1 -1
  429. package/dist/components/stzh-twocolumns.js +1 -1
  430. package/dist/components/stzh-upload.js +13 -13
  431. package/dist/components/stzh-vbz-carousel.js +2 -2
  432. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  433. package/dist/components/stzh-vbz-intro.js +5 -5
  434. package/dist/components/stzh-vbz-linechip.js +1 -1
  435. package/dist/components/stzh-vbz-majorticker.js +7 -7
  436. package/dist/components/stzh-vbz-ticker.js +7 -7
  437. package/dist/components/stzh-visuallyhidden.js +1 -1
  438. package/dist/components/stzh-vspace.js +1 -1
  439. package/dist/components/stzh-youtube.js +6 -6
  440. package/dist/esm/{index-C0D5-aI8.js → index-D21RGl5H.js} +3 -3
  441. package/dist/esm/{index-C0D5-aI8.js.map → index-D21RGl5H.js.map} +1 -1
  442. package/dist/esm/index.js.map +1 -1
  443. package/dist/esm/loader.js +2 -2
  444. package/dist/esm/stzh-accordion_3.entry.js +1 -1
  445. package/dist/esm/stzh-actions_6.entry.js +1 -1
  446. package/dist/esm/stzh-actionset.entry.js +1 -1
  447. package/dist/esm/stzh-amount.entry.js +1 -1
  448. package/dist/esm/stzh-anchornav.entry.js +1 -1
  449. package/dist/esm/stzh-app-nav.entry.js +1 -1
  450. package/dist/esm/stzh-appointments.entry.js +1 -1
  451. package/dist/esm/stzh-archivelist.entry.js +1 -1
  452. package/dist/esm/stzh-audio.entry.js +1 -1
  453. package/dist/esm/stzh-badge_3.entry.js +1 -1
  454. package/dist/esm/stzh-banner.entry.js +1 -1
  455. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  456. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  457. package/dist/esm/stzh-calendar.entry.js +1 -1
  458. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  459. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  460. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  461. package/dist/esm/stzh-card_2.entry.js +1 -1
  462. package/dist/esm/stzh-carousel.entry.js +1 -1
  463. package/dist/esm/stzh-chart.entry.js +1 -1
  464. package/dist/esm/stzh-checkbox.entry.js +2 -2
  465. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  466. package/dist/esm/stzh-chip_2.entry.js +2 -2
  467. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  468. package/dist/esm/stzh-clamp.entry.js +1 -1
  469. package/dist/esm/stzh-company-logo.entry.js +1 -1
  470. package/dist/esm/stzh-components.js +2 -2
  471. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  472. package/dist/esm/stzh-contact.entry.js +1 -1
  473. package/dist/esm/stzh-container_2.entry.js +1 -1
  474. package/dist/esm/stzh-content.entry.js +1 -1
  475. package/dist/esm/stzh-cta.entry.js +1 -1
  476. package/dist/esm/stzh-datalist_3.entry.js +1 -1
  477. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  478. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  479. package/dist/esm/stzh-datatable.entry.js +1 -1
  480. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  481. package/dist/esm/stzh-daterange.entry.js +1 -1
  482. package/dist/esm/stzh-details.entry.js +1 -1
  483. package/dist/esm/stzh-dialog.entry.js +1 -1
  484. package/dist/esm/stzh-disturber.entry.js +1 -1
  485. package/dist/esm/stzh-dropdown.entry.js +2 -2
  486. package/dist/esm/stzh-editor.entry.js +1 -1
  487. package/dist/esm/stzh-eventdata.entry.js +1 -1
  488. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  489. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  490. package/dist/esm/stzh-feedreader.entry.js +1 -1
  491. package/dist/esm/stzh-figure.entry.js +1 -1
  492. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  493. package/dist/esm/stzh-footer.entry.js +1 -1
  494. package/dist/esm/stzh-gallery.entry.js +1 -1
  495. package/dist/esm/stzh-geo-ref-data.entry.js +141 -48
  496. package/dist/esm/stzh-geo-ref-data.entry.js.map +1 -1
  497. package/dist/esm/stzh-ghettobox.entry.js +1 -1
  498. package/dist/esm/stzh-header_3.entry.js +1 -1
  499. package/dist/esm/stzh-heading.entry.js +1 -1
  500. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  501. package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
  502. package/dist/esm/stzh-hr.entry.js +1 -1
  503. package/dist/esm/stzh-hspace.entry.js +1 -1
  504. package/dist/esm/stzh-http-error.entry.js +1 -1
  505. package/dist/esm/stzh-iframe.entry.js +1 -1
  506. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  507. package/dist/esm/{stzh-input-description-D5t-ZID5.js → stzh-input-description-BZlos0gM.js} +3 -3
  508. package/dist/esm/{stzh-input-description-D5t-ZID5.js.map → stzh-input-description-BZlos0gM.js.map} +1 -1
  509. package/dist/esm/stzh-input.entry.js +2 -2
  510. package/dist/esm/stzh-invert.entry.js +1 -1
  511. package/dist/esm/stzh-link.entry.js +1 -1
  512. package/dist/esm/stzh-linklist.entry.js +1 -1
  513. package/dist/esm/stzh-list_2.entry.js +1 -1
  514. package/dist/esm/stzh-loader.entry.js +1 -1
  515. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  516. package/dist/esm/stzh-menu_2.entry.js +1 -1
  517. package/dist/esm/stzh-message.entry.js +1 -1
  518. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  519. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  520. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  521. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  522. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  523. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  524. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  525. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  526. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  527. package/dist/esm/stzh-panorama.entry.js +1 -1
  528. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  529. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  530. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  531. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  532. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  533. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  534. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  535. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  536. package/dist/esm/stzh-popover.entry.js +1 -1
  537. package/dist/esm/stzh-print_2.entry.js +1 -1
  538. package/dist/esm/stzh-quote.entry.js +1 -1
  539. package/dist/esm/stzh-rating.entry.js +2 -2
  540. package/dist/esm/stzh-ratio.entry.js +1 -1
  541. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  542. package/dist/esm/stzh-richtext.entry.js +1 -1
  543. package/dist/esm/stzh-saptcha.entry.js +1 -1
  544. package/dist/esm/stzh-scrollup.entry.js +1 -1
  545. package/dist/esm/stzh-search.entry.js +3 -4
  546. package/dist/esm/stzh-search.entry.js.map +1 -1
  547. package/dist/esm/stzh-section.entry.js +1 -1
  548. package/dist/esm/stzh-show.entry.js +1 -1
  549. package/dist/esm/stzh-sitemap.entry.js +1 -1
  550. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  551. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  552. package/dist/esm/stzh-skiplink.entry.js +1 -1
  553. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  554. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  555. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  556. package/dist/esm/stzh-stepper.entry.js +1 -1
  557. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  558. package/dist/esm/stzh-sticky.entry.js +1 -1
  559. package/dist/esm/stzh-table.entry.js +1 -1
  560. package/dist/esm/stzh-text.entry.js +1 -1
  561. package/dist/esm/stzh-textandimage.entry.js +1 -1
  562. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  563. package/dist/esm/stzh-timeline.entry.js +1 -1
  564. package/dist/esm/stzh-timepicker.entry.js +1 -1
  565. package/dist/esm/stzh-toast_2.entry.js +1 -1
  566. package/dist/esm/stzh-toggle.entry.js +2 -2
  567. package/dist/esm/stzh-tooltip.entry.js +1 -1
  568. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  569. package/dist/esm/stzh-upload.entry.js +2 -2
  570. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  571. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  572. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  573. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  574. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  575. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  576. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  577. package/dist/esm/stzh-vspace.entry.js +1 -1
  578. package/dist/esm/stzh-youtube.entry.js +1 -1
  579. package/dist/esm/utils-frVeoxnJ.js.map +1 -1
  580. package/dist/stzh-components/index.esm.js.map +1 -1
  581. package/dist/stzh-components/{p-10862d51.entry.js → p-007b6793.entry.js} +2 -2
  582. package/dist/stzh-components/{p-0c994613.entry.js → p-00e7f722.entry.js} +2 -2
  583. package/dist/stzh-components/{p-71c5050c.entry.js → p-054def51.entry.js} +2 -2
  584. package/dist/stzh-components/{p-4eb84867.entry.js → p-07b50263.entry.js} +3 -3
  585. package/dist/stzh-components/{p-e1fb882b.entry.js → p-086f4792.entry.js} +2 -2
  586. package/dist/stzh-components/{p-03f2a37f.entry.js → p-0d8d5500.entry.js} +2 -2
  587. package/dist/stzh-components/{p-8d3790b7.entry.js → p-0e89185d.entry.js} +2 -2
  588. package/dist/stzh-components/{p-9071fb49.entry.js → p-10659241.entry.js} +2 -2
  589. package/dist/stzh-components/{p-bc01628b.entry.js → p-12d385ce.entry.js} +2 -2
  590. package/dist/stzh-components/{p-f5f251f7.entry.js → p-14c8e1f9.entry.js} +2 -2
  591. package/dist/stzh-components/{p-639eeb42.entry.js → p-15376d5a.entry.js} +2 -2
  592. package/dist/stzh-components/{p-2f72a9f5.entry.js → p-197e950d.entry.js} +2 -2
  593. package/dist/stzh-components/{p-ff57ec6d.entry.js → p-1ae47c30.entry.js} +2 -2
  594. package/dist/stzh-components/p-1ae6f59b.entry.js +2 -0
  595. package/dist/stzh-components/p-1ae6f59b.entry.js.map +1 -0
  596. package/dist/stzh-components/{p-e4f509a5.entry.js → p-1db22e54.entry.js} +2 -2
  597. package/dist/stzh-components/{p-c449ba91.entry.js → p-2037acf3.entry.js} +2 -2
  598. package/dist/stzh-components/{p-f7de1da9.entry.js → p-22786f12.entry.js} +2 -2
  599. package/dist/stzh-components/{p-131a937d.entry.js → p-232759c7.entry.js} +2 -2
  600. package/dist/stzh-components/{p-17c4821c.entry.js → p-24aac680.entry.js} +2 -2
  601. package/dist/stzh-components/{p-a11b455f.entry.js → p-2534447c.entry.js} +2 -2
  602. package/dist/stzh-components/{p-9f1866fc.entry.js → p-29348254.entry.js} +2 -2
  603. package/dist/stzh-components/{p-db291d1c.entry.js → p-29f46e68.entry.js} +2 -2
  604. package/dist/stzh-components/{p-18781028.entry.js → p-2ad723e5.entry.js} +2 -2
  605. package/dist/stzh-components/{p-14155476.entry.js → p-2dd00faf.entry.js} +2 -2
  606. package/dist/stzh-components/{p-d59d7878.entry.js → p-30f7e11d.entry.js} +2 -2
  607. package/dist/stzh-components/{p-2b843780.entry.js → p-310f9d17.entry.js} +2 -2
  608. package/dist/stzh-components/{p-623ace6f.entry.js → p-33c5f6ea.entry.js} +2 -2
  609. package/dist/stzh-components/{p-d30c7ed4.entry.js → p-33c7c971.entry.js} +2 -2
  610. package/dist/stzh-components/{p-6b3e826c.entry.js → p-33fe3b85.entry.js} +2 -2
  611. package/dist/stzh-components/{p-f8b7af04.entry.js → p-365e98d0.entry.js} +2 -2
  612. package/dist/stzh-components/{p-68288481.entry.js → p-376feb99.entry.js} +2 -2
  613. package/dist/stzh-components/{p-fe1535cb.entry.js → p-39ee13b0.entry.js} +2 -2
  614. package/dist/stzh-components/{p-9968ec76.entry.js → p-3cc80208.entry.js} +2 -2
  615. package/dist/stzh-components/{p-1fabbb71.entry.js → p-40497f58.entry.js} +6 -6
  616. package/dist/stzh-components/{p-71df251a.entry.js → p-42b99ec1.entry.js} +2 -2
  617. package/dist/stzh-components/{p-e7f532e6.entry.js → p-46d386fe.entry.js} +2 -2
  618. package/dist/stzh-components/{p-96e3957c.entry.js → p-4824221b.entry.js} +3 -3
  619. package/dist/stzh-components/{p-e516022f.entry.js → p-49253b5d.entry.js} +2 -2
  620. package/dist/stzh-components/{p-daecb2b6.entry.js → p-4bdd0c96.entry.js} +2 -2
  621. package/dist/stzh-components/{p-dc376105.entry.js → p-4bfa6af6.entry.js} +2 -2
  622. package/dist/stzh-components/{p-9e51a76e.entry.js → p-4f6da546.entry.js} +2 -2
  623. package/dist/stzh-components/{p-998fa12c.entry.js → p-52572a21.entry.js} +2 -2
  624. package/dist/stzh-components/{p-993b3333.entry.js → p-52670445.entry.js} +2 -2
  625. package/dist/stzh-components/p-554a3f0e.entry.js +2 -0
  626. package/dist/stzh-components/{p-7c5a2338.entry.js.map → p-554a3f0e.entry.js.map} +1 -1
  627. package/dist/stzh-components/{p-fcfa49af.entry.js → p-57a33e42.entry.js} +2 -2
  628. package/dist/stzh-components/{p-5a7d0e04.entry.js → p-57f1abf9.entry.js} +2 -2
  629. package/dist/stzh-components/{p-3fc6b297.entry.js → p-582018c3.entry.js} +2 -2
  630. package/dist/stzh-components/{p-87f2b8c0.entry.js → p-58a9253f.entry.js} +2 -2
  631. package/dist/stzh-components/{p-988871ea.entry.js → p-5b0819a4.entry.js} +2 -2
  632. package/dist/stzh-components/{p-26347752.entry.js → p-617089ce.entry.js} +2 -2
  633. package/dist/stzh-components/{p-dd02b5c8.entry.js → p-64792c2b.entry.js} +2 -2
  634. package/dist/stzh-components/{p-e03b0af3.entry.js → p-655f0471.entry.js} +2 -2
  635. package/dist/stzh-components/{p-231bfe4b.entry.js → p-6a525529.entry.js} +2 -2
  636. package/dist/stzh-components/{p-680e12d1.entry.js → p-6bbd8ccd.entry.js} +2 -2
  637. package/dist/stzh-components/{p-f567548a.entry.js → p-6d29d9bb.entry.js} +2 -2
  638. package/dist/stzh-components/{p-d9c9814d.entry.js → p-72cbea20.entry.js} +2 -2
  639. package/dist/stzh-components/{p-0818bf2a.entry.js → p-7496267e.entry.js} +2 -2
  640. package/dist/stzh-components/{p-8392896e.entry.js → p-79205e58.entry.js} +2 -2
  641. package/dist/stzh-components/{p-ffdc6928.entry.js → p-7b9f8685.entry.js} +2 -2
  642. package/dist/stzh-components/{p-768f882b.entry.js → p-7cd81928.entry.js} +2 -2
  643. package/dist/stzh-components/{p-f4004540.entry.js → p-8704c48a.entry.js} +2 -2
  644. package/dist/stzh-components/{p-86bb5e78.entry.js → p-88ec12ab.entry.js} +2 -2
  645. package/dist/stzh-components/{p-5a9ce779.entry.js → p-894a52c2.entry.js} +2 -2
  646. package/dist/stzh-components/{p-8de18936.entry.js → p-8a032103.entry.js} +2 -2
  647. package/dist/stzh-components/{p-592e08c6.entry.js → p-8acd9552.entry.js} +2 -2
  648. package/dist/stzh-components/{p-3b2a793f.entry.js → p-8b1ae02a.entry.js} +2 -2
  649. package/dist/stzh-components/{p-870b8ed1.entry.js → p-8b7ad22e.entry.js} +2 -2
  650. package/dist/stzh-components/{p-078878df.entry.js → p-8dac6bd6.entry.js} +2 -2
  651. package/dist/stzh-components/{p-5e91c34f.entry.js → p-90588c97.entry.js} +2 -2
  652. package/dist/stzh-components/{p-284ac2d4.entry.js → p-9096c127.entry.js} +2 -2
  653. package/dist/stzh-components/{p-7d98a3d2.entry.js → p-91b3de7a.entry.js} +2 -2
  654. package/dist/stzh-components/{p-570b6510.entry.js → p-921a5bf9.entry.js} +2 -2
  655. package/dist/stzh-components/{p-bf82166a.entry.js → p-9353194e.entry.js} +2 -2
  656. package/dist/stzh-components/{p-394442ee.entry.js → p-9508275e.entry.js} +2 -2
  657. package/dist/stzh-components/{p-ccd8940d.entry.js → p-961a71db.entry.js} +2 -2
  658. package/dist/stzh-components/{p-79569a33.entry.js → p-96bf35a9.entry.js} +2 -2
  659. package/dist/stzh-components/{p-81e540c9.entry.js → p-96c6a523.entry.js} +2 -2
  660. package/dist/stzh-components/{p-2d5cfd07.entry.js → p-977cc24f.entry.js} +2 -2
  661. package/dist/stzh-components/{p-9e0fa964.entry.js → p-998f7eca.entry.js} +2 -2
  662. package/dist/stzh-components/{p-9e2662a6.entry.js → p-9ddd35a8.entry.js} +2 -2
  663. package/dist/stzh-components/{p-d12f7c51.entry.js → p-9ecedaa4.entry.js} +2 -2
  664. package/dist/stzh-components/p-CBLSoWgI.js.map +1 -1
  665. package/dist/stzh-components/{p-2ReM0tCv.js → p-Cp0exJeG.js} +2 -2
  666. package/dist/stzh-components/{p-2ReM0tCv.js.map → p-Cp0exJeG.js.map} +1 -1
  667. package/dist/stzh-components/{p-C0D5-aI8.js → p-D21RGl5H.js} +2 -2
  668. package/dist/stzh-components/{p-C0D5-aI8.js.map → p-D21RGl5H.js.map} +1 -1
  669. package/dist/stzh-components/{p-2a95283e.entry.js → p-a195734d.entry.js} +2 -2
  670. package/dist/stzh-components/{p-2ba09061.entry.js → p-a253a5d1.entry.js} +2 -2
  671. package/dist/stzh-components/{p-b48a80c1.entry.js → p-a2652b75.entry.js} +2 -2
  672. package/dist/stzh-components/{p-9196f9cc.entry.js → p-a3d7fbad.entry.js} +2 -2
  673. package/dist/stzh-components/{p-a44e24b1.entry.js → p-a61c938e.entry.js} +2 -2
  674. package/dist/stzh-components/{p-f255971f.entry.js → p-a767822e.entry.js} +2 -2
  675. package/dist/stzh-components/{p-5c7c5e8c.entry.js → p-a97f0948.entry.js} +2 -2
  676. package/dist/stzh-components/{p-8693799a.entry.js → p-ac708899.entry.js} +2 -2
  677. package/dist/stzh-components/{p-54f27a08.entry.js → p-ae83cad2.entry.js} +2 -2
  678. package/dist/stzh-components/{p-ddfe3210.entry.js → p-b12463c3.entry.js} +2 -2
  679. package/dist/stzh-components/{p-9a1dfabf.entry.js → p-b29ded58.entry.js} +2 -2
  680. package/dist/stzh-components/{p-2c6c0ca3.entry.js → p-b4345f28.entry.js} +2 -2
  681. package/dist/stzh-components/{p-80e03036.entry.js → p-b44f99f6.entry.js} +2 -2
  682. package/dist/stzh-components/{p-a7ab234b.entry.js → p-b5648b95.entry.js} +3 -3
  683. package/dist/stzh-components/{p-86330790.entry.js → p-b648e54e.entry.js} +2 -2
  684. package/dist/stzh-components/{p-ba7dc8ca.entry.js → p-b76f40fe.entry.js} +2 -2
  685. package/dist/stzh-components/{p-a6bfa44c.entry.js → p-bdce622c.entry.js} +2 -2
  686. package/dist/stzh-components/{p-309af29f.entry.js → p-bde65396.entry.js} +2 -2
  687. package/dist/stzh-components/{p-7d7e0fa4.entry.js → p-be1a33c8.entry.js} +2 -2
  688. package/dist/stzh-components/{p-3f7b3650.entry.js → p-c21e8fcb.entry.js} +2 -2
  689. package/dist/stzh-components/{p-9c4bbf46.entry.js → p-c226cb32.entry.js} +2 -2
  690. package/dist/stzh-components/{p-6eaa5a4d.entry.js → p-c23f1fca.entry.js} +2 -2
  691. package/dist/stzh-components/{p-0fd6e998.entry.js → p-c3a80361.entry.js} +2 -2
  692. package/dist/stzh-components/{p-59c05b01.entry.js → p-c43c01e9.entry.js} +2 -2
  693. package/dist/stzh-components/{p-e629e988.entry.js → p-c4650442.entry.js} +2 -2
  694. package/dist/stzh-components/{p-06c333b7.entry.js → p-c601baf7.entry.js} +2 -2
  695. package/dist/stzh-components/{p-a3966c32.entry.js → p-c9ae877f.entry.js} +2 -2
  696. package/dist/stzh-components/{p-735d22f9.entry.js → p-d15b58ea.entry.js} +2 -2
  697. package/dist/stzh-components/{p-0f3dda10.entry.js → p-d167b410.entry.js} +2 -2
  698. package/dist/stzh-components/{p-1e2e9b15.entry.js → p-d35c207c.entry.js} +2 -2
  699. package/dist/stzh-components/{p-94f2ba62.entry.js → p-d5e6b97e.entry.js} +2 -2
  700. package/dist/stzh-components/{p-5436f321.entry.js → p-d7795ca4.entry.js} +2 -2
  701. package/dist/stzh-components/{p-2c527126.entry.js → p-da1a77b6.entry.js} +2 -2
  702. package/dist/stzh-components/{p-ad4499aa.entry.js → p-dbadd635.entry.js} +2 -2
  703. package/dist/stzh-components/{p-1a6674eb.entry.js → p-dbcd86c8.entry.js} +6 -6
  704. package/dist/stzh-components/{p-18812afb.entry.js → p-e0813830.entry.js} +2 -2
  705. package/dist/stzh-components/{p-807f386c.entry.js → p-e1cd9309.entry.js} +2 -2
  706. package/dist/stzh-components/{p-2c58f5e2.entry.js → p-e394868b.entry.js} +2 -2
  707. package/dist/stzh-components/{p-35ee9f0e.entry.js → p-e4722675.entry.js} +2 -2
  708. package/dist/stzh-components/{p-345f3e53.entry.js → p-e96815fe.entry.js} +2 -2
  709. package/dist/stzh-components/{p-27518af8.entry.js → p-eac4e080.entry.js} +2 -2
  710. package/dist/stzh-components/{p-83fa3d09.entry.js → p-ebc7e740.entry.js} +2 -2
  711. package/dist/stzh-components/{p-450d721f.entry.js → p-ee55d06f.entry.js} +2 -2
  712. package/dist/stzh-components/{p-ad398a72.entry.js → p-eee6b6fa.entry.js} +2 -2
  713. package/dist/stzh-components/{p-b2bb1103.entry.js → p-f09c8462.entry.js} +2 -2
  714. package/dist/stzh-components/{p-8a76f229.entry.js → p-f59e3c78.entry.js} +2 -2
  715. package/dist/stzh-components/p-f59e3c78.entry.js.map +1 -0
  716. package/dist/stzh-components/{p-9588d15c.entry.js → p-f833d6a4.entry.js} +2 -2
  717. package/dist/stzh-components/{p-b571d3f3.entry.js → p-f8fdbec3.entry.js} +2 -2
  718. package/dist/stzh-components/{p-319c2a3f.entry.js → p-fd2e7cf9.entry.js} +2 -2
  719. package/dist/stzh-components/stzh-components.esm.js +1 -1
  720. package/dist/types/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.d.ts +17 -1
  721. package/dist/types/components.d.ts +9 -2
  722. package/dist/types/index.d.ts +8 -0
  723. package/package.json +8 -7
  724. package/dist/stzh-components/p-7c5a2338.entry.js +0 -2
  725. package/dist/stzh-components/p-8a76f229.entry.js.map +0 -1
  726. package/dist/stzh-components/p-9e2e97a3.entry.js +0 -2
  727. package/dist/stzh-components/p-9e2e97a3.entry.js.map +0 -1
  728. /package/dist/stzh-components/{p-10862d51.entry.js.map → p-007b6793.entry.js.map} +0 -0
  729. /package/dist/stzh-components/{p-0c994613.entry.js.map → p-00e7f722.entry.js.map} +0 -0
  730. /package/dist/stzh-components/{p-71c5050c.entry.js.map → p-054def51.entry.js.map} +0 -0
  731. /package/dist/stzh-components/{p-4eb84867.entry.js.map → p-07b50263.entry.js.map} +0 -0
  732. /package/dist/stzh-components/{p-e1fb882b.entry.js.map → p-086f4792.entry.js.map} +0 -0
  733. /package/dist/stzh-components/{p-03f2a37f.entry.js.map → p-0d8d5500.entry.js.map} +0 -0
  734. /package/dist/stzh-components/{p-8d3790b7.entry.js.map → p-0e89185d.entry.js.map} +0 -0
  735. /package/dist/stzh-components/{p-9071fb49.entry.js.map → p-10659241.entry.js.map} +0 -0
  736. /package/dist/stzh-components/{p-bc01628b.entry.js.map → p-12d385ce.entry.js.map} +0 -0
  737. /package/dist/stzh-components/{p-f5f251f7.entry.js.map → p-14c8e1f9.entry.js.map} +0 -0
  738. /package/dist/stzh-components/{p-639eeb42.entry.js.map → p-15376d5a.entry.js.map} +0 -0
  739. /package/dist/stzh-components/{p-2f72a9f5.entry.js.map → p-197e950d.entry.js.map} +0 -0
  740. /package/dist/stzh-components/{p-ff57ec6d.entry.js.map → p-1ae47c30.entry.js.map} +0 -0
  741. /package/dist/stzh-components/{p-e4f509a5.entry.js.map → p-1db22e54.entry.js.map} +0 -0
  742. /package/dist/stzh-components/{p-c449ba91.entry.js.map → p-2037acf3.entry.js.map} +0 -0
  743. /package/dist/stzh-components/{p-f7de1da9.entry.js.map → p-22786f12.entry.js.map} +0 -0
  744. /package/dist/stzh-components/{p-131a937d.entry.js.map → p-232759c7.entry.js.map} +0 -0
  745. /package/dist/stzh-components/{p-17c4821c.entry.js.map → p-24aac680.entry.js.map} +0 -0
  746. /package/dist/stzh-components/{p-a11b455f.entry.js.map → p-2534447c.entry.js.map} +0 -0
  747. /package/dist/stzh-components/{p-9f1866fc.entry.js.map → p-29348254.entry.js.map} +0 -0
  748. /package/dist/stzh-components/{p-db291d1c.entry.js.map → p-29f46e68.entry.js.map} +0 -0
  749. /package/dist/stzh-components/{p-18781028.entry.js.map → p-2ad723e5.entry.js.map} +0 -0
  750. /package/dist/stzh-components/{p-14155476.entry.js.map → p-2dd00faf.entry.js.map} +0 -0
  751. /package/dist/stzh-components/{p-d59d7878.entry.js.map → p-30f7e11d.entry.js.map} +0 -0
  752. /package/dist/stzh-components/{p-2b843780.entry.js.map → p-310f9d17.entry.js.map} +0 -0
  753. /package/dist/stzh-components/{p-623ace6f.entry.js.map → p-33c5f6ea.entry.js.map} +0 -0
  754. /package/dist/stzh-components/{p-d30c7ed4.entry.js.map → p-33c7c971.entry.js.map} +0 -0
  755. /package/dist/stzh-components/{p-6b3e826c.entry.js.map → p-33fe3b85.entry.js.map} +0 -0
  756. /package/dist/stzh-components/{p-f8b7af04.entry.js.map → p-365e98d0.entry.js.map} +0 -0
  757. /package/dist/stzh-components/{p-68288481.entry.js.map → p-376feb99.entry.js.map} +0 -0
  758. /package/dist/stzh-components/{p-fe1535cb.entry.js.map → p-39ee13b0.entry.js.map} +0 -0
  759. /package/dist/stzh-components/{p-9968ec76.entry.js.map → p-3cc80208.entry.js.map} +0 -0
  760. /package/dist/stzh-components/{p-1fabbb71.entry.js.map → p-40497f58.entry.js.map} +0 -0
  761. /package/dist/stzh-components/{p-71df251a.entry.js.map → p-42b99ec1.entry.js.map} +0 -0
  762. /package/dist/stzh-components/{p-e7f532e6.entry.js.map → p-46d386fe.entry.js.map} +0 -0
  763. /package/dist/stzh-components/{p-96e3957c.entry.js.map → p-4824221b.entry.js.map} +0 -0
  764. /package/dist/stzh-components/{p-e516022f.entry.js.map → p-49253b5d.entry.js.map} +0 -0
  765. /package/dist/stzh-components/{p-daecb2b6.entry.js.map → p-4bdd0c96.entry.js.map} +0 -0
  766. /package/dist/stzh-components/{p-dc376105.entry.js.map → p-4bfa6af6.entry.js.map} +0 -0
  767. /package/dist/stzh-components/{p-9e51a76e.entry.js.map → p-4f6da546.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-998fa12c.entry.js.map → p-52572a21.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-993b3333.entry.js.map → p-52670445.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-fcfa49af.entry.js.map → p-57a33e42.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-5a7d0e04.entry.js.map → p-57f1abf9.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-3fc6b297.entry.js.map → p-582018c3.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-87f2b8c0.entry.js.map → p-58a9253f.entry.js.map} +0 -0
  774. /package/dist/stzh-components/{p-988871ea.entry.js.map → p-5b0819a4.entry.js.map} +0 -0
  775. /package/dist/stzh-components/{p-26347752.entry.js.map → p-617089ce.entry.js.map} +0 -0
  776. /package/dist/stzh-components/{p-dd02b5c8.entry.js.map → p-64792c2b.entry.js.map} +0 -0
  777. /package/dist/stzh-components/{p-e03b0af3.entry.js.map → p-655f0471.entry.js.map} +0 -0
  778. /package/dist/stzh-components/{p-231bfe4b.entry.js.map → p-6a525529.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-680e12d1.entry.js.map → p-6bbd8ccd.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-f567548a.entry.js.map → p-6d29d9bb.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-d9c9814d.entry.js.map → p-72cbea20.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-0818bf2a.entry.js.map → p-7496267e.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-8392896e.entry.js.map → p-79205e58.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-ffdc6928.entry.js.map → p-7b9f8685.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-768f882b.entry.js.map → p-7cd81928.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-f4004540.entry.js.map → p-8704c48a.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-86bb5e78.entry.js.map → p-88ec12ab.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-5a9ce779.entry.js.map → p-894a52c2.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-8de18936.entry.js.map → p-8a032103.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-592e08c6.entry.js.map → p-8acd9552.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-3b2a793f.entry.js.map → p-8b1ae02a.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-870b8ed1.entry.js.map → p-8b7ad22e.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-078878df.entry.js.map → p-8dac6bd6.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-5e91c34f.entry.js.map → p-90588c97.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-284ac2d4.entry.js.map → p-9096c127.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-7d98a3d2.entry.js.map → p-91b3de7a.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-570b6510.entry.js.map → p-921a5bf9.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-bf82166a.entry.js.map → p-9353194e.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-394442ee.entry.js.map → p-9508275e.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-ccd8940d.entry.js.map → p-961a71db.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-79569a33.entry.js.map → p-96bf35a9.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-81e540c9.entry.js.map → p-96c6a523.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-2d5cfd07.entry.js.map → p-977cc24f.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-9e0fa964.entry.js.map → p-998f7eca.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-9e2662a6.entry.js.map → p-9ddd35a8.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-d12f7c51.entry.js.map → p-9ecedaa4.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-2a95283e.entry.js.map → p-a195734d.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-2ba09061.entry.js.map → p-a253a5d1.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-b48a80c1.entry.js.map → p-a2652b75.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-9196f9cc.entry.js.map → p-a3d7fbad.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-a44e24b1.entry.js.map → p-a61c938e.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-f255971f.entry.js.map → p-a767822e.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-5c7c5e8c.entry.js.map → p-a97f0948.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-8693799a.entry.js.map → p-ac708899.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-54f27a08.entry.js.map → p-ae83cad2.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-ddfe3210.entry.js.map → p-b12463c3.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-9a1dfabf.entry.js.map → p-b29ded58.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-2c6c0ca3.entry.js.map → p-b4345f28.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-80e03036.entry.js.map → p-b44f99f6.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-a7ab234b.entry.js.map → p-b5648b95.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-86330790.entry.js.map → p-b648e54e.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-ba7dc8ca.entry.js.map → p-b76f40fe.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-a6bfa44c.entry.js.map → p-bdce622c.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-309af29f.entry.js.map → p-bde65396.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-7d7e0fa4.entry.js.map → p-be1a33c8.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-3f7b3650.entry.js.map → p-c21e8fcb.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-9c4bbf46.entry.js.map → p-c226cb32.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-6eaa5a4d.entry.js.map → p-c23f1fca.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-0fd6e998.entry.js.map → p-c3a80361.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-59c05b01.entry.js.map → p-c43c01e9.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-e629e988.entry.js.map → p-c4650442.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-06c333b7.entry.js.map → p-c601baf7.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-a3966c32.entry.js.map → p-c9ae877f.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-735d22f9.entry.js.map → p-d15b58ea.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-0f3dda10.entry.js.map → p-d167b410.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-1e2e9b15.entry.js.map → p-d35c207c.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-94f2ba62.entry.js.map → p-d5e6b97e.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-5436f321.entry.js.map → p-d7795ca4.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-2c527126.entry.js.map → p-da1a77b6.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-ad4499aa.entry.js.map → p-dbadd635.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-1a6674eb.entry.js.map → p-dbcd86c8.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-18812afb.entry.js.map → p-e0813830.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-807f386c.entry.js.map → p-e1cd9309.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-2c58f5e2.entry.js.map → p-e394868b.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-35ee9f0e.entry.js.map → p-e4722675.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-345f3e53.entry.js.map → p-e96815fe.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-27518af8.entry.js.map → p-eac4e080.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-83fa3d09.entry.js.map → p-ebc7e740.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-450d721f.entry.js.map → p-ee55d06f.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-ad398a72.entry.js.map → p-eee6b6fa.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-b2bb1103.entry.js.map → p-f09c8462.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-9588d15c.entry.js.map → p-f833d6a4.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-b571d3f3.entry.js.map → p-f8fdbec3.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-319c2a3f.entry.js.map → p-fd2e7cf9.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-kwBmMJ76.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-Ct0XU0Xj.js';
2
2
 
3
3
  const stzhHspaceCss = () => `: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{--h-space:var(--stzh-space-default);--h-around-left:0;--h-around-right:0;--h-around:0;display:flex;color:inherit;font-weight:inherit;font-family:inherit;letter-spacing:inherit}:host ::slotted(*){max-width:100%;padding-left:calc(var(--h-space) * var(--h-around-left));padding-right:calc(var(--h-space) * var(--h-around-right));margin:0}:host ::slotted(*:not(:last-child)){margin-right:calc(var(--h-space) * (1 - var(--h-around)))}:host ::slotted(stzh-show){--show-display:block}:host ::slotted(stzh-vspace),:host ::slotted(stzh-hspace),:host ::slotted(stzh-row),:host ::slotted(stzh-container),:host ::slotted(stzh-section){align-self:stretch;flex-grow:1}:host(:empty),:host([around]:not([around=false])){--h-around-left:1;--h-around-right:1;--h-around:1}:host(:empty){width:var(--h-space)}:host([around-left]:not([around-left=false])){--h-around-left:1;--h-around:1}:host([around-right]:not([around-right=false])){--h-around-right:1;--h-around:1}:host([border=left]),:host([border=left-right]){border-left:0.0625rem solid var(--stzh-base-border-color)}:host([border=right]),:host([border=left-right]){border-right:0.0625rem solid var(--stzh-base-border-color)}:host([curve=tiny]){--h-space:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){:host([curve=tiny]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){:host([curve=tiny]){--h-space:var(--stzh-space-small)}}:host([curve=small]){--h-space:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){:host([curve=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 900px){:host([curve=small]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([curve=small]){--h-space:var(--stzh-space-xlarge)}}:host([curve=intermediary]){--h-space:var(--stzh-space-medium)}@media screen and (min-width: 900px){:host([curve=intermediary]){--h-space:var(--stzh-space-large)}}:host([curve=regular]){--h-space:var(--stzh-space-medium)}@media screen and (min-width: 600px){:host([curve=regular]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 900px){:host([curve=regular]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host([curve=regular]){--h-space:var(--stzh-space-xxlarge)}}:host([curve=medium]){--h-space:var(--stzh-space-large)}@media screen and (min-width: 600px){:host([curve=medium]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){:host([curve=medium]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([curve=medium]){--h-space:var(--stzh-space-xxxlarge)}}:host([curve=large]){--h-space:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){:host([curve=large]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([curve=large]){--h-space:var(--stzh-space-xxxxlarge)}}:host([curve=big]){--h-space:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){:host([curve=big]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 900px){:host([curve=big]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){:host([curve=big]){--h-space:var(--stzh-space-xbig)}}:host([curve=huge]){--h-space:var(--stzh-space-xxxxlarge)}@media screen and (min-width: 600px){:host([curve=huge]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 900px){:host([curve=huge]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([curve=huge]){--h-space:var(--stzh-space-huge)}}:host([curve=section-inner]){--h-space:var(--stzh-space-large)}@media screen and (min-width: 600px){:host([curve=section-inner]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){:host([curve=section-inner]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([curve=section-inner]){--h-space:var(--stzh-space-xxxlarge)}}:host([curve=background-section-inner]){--h-space:var(--stzh-space-xlarge)}@media screen and (min-width: 600px){:host([curve=background-section-inner]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 900px){:host([curve=background-section-inner]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([curve=background-section-inner]){--h-space:var(--stzh-space-xxxxlarge)}}:host([curve=background-section-outer]){--h-space:var(--stzh-space-medium)}@media screen and (min-width: 600px){:host([curve=background-section-outer]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 900px){:host([curve=background-section-outer]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host([curve=background-section-outer]){--h-space:var(--stzh-space-xxlarge)}}:host([size=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}:host([size=xxsmall]){--h-space:var(--stzh-space-xxsmall)}:host([size=xsmall]){--h-space:var(--stzh-space-xsmall)}:host([size=small]){--h-space:var(--stzh-space-small)}:host([size=medium]){--h-space:var(--stzh-space-medium)}:host([size=large]){--h-space:var(--stzh-space-large)}:host([size=xlarge]){--h-space:var(--stzh-space-xlarge)}:host([size=xxlarge]){--h-space:var(--stzh-space-xxlarge)}:host([size=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}:host([size=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}:host([size=big]){--h-space:var(--stzh-space-big)}:host([size=xbig]){--h-space:var(--stzh-space-xbig)}:host([size=huge]){--h-space:var(--stzh-space-huge)}:host([size=xhuge]){--h-space:var(--stzh-space-xhuge)}:host([size=none]){--h-space:var(--stzh-space-none)}:host([size=default]){--h-space:var(--stzh-space-default)}@media screen and (min-width: 600px){:host([size-small=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 600px){:host([size-small=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 600px){:host([size-small=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 600px){:host([size-small=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 600px){:host([size-small=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 600px){:host([size-small=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 600px){:host([size-small=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){:host([size-small=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){:host([size-small=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 600px){:host([size-small=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){:host([size-small=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 600px){:host([size-small=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 600px){:host([size-small=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 600px){:host([size-small=default]){--h-space:var(--stzh-space-default)}}@media screen and (min-width: 900px){:host([size-medium=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 900px){:host([size-medium=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px){:host([size-medium=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px){:host([size-medium=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 900px){:host([size-medium=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 900px){:host([size-medium=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 900px){:host([size-medium=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){:host([size-medium=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 900px){:host([size-medium=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 900px){:host([size-medium=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 900px){:host([size-medium=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 900px){:host([size-medium=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 900px){:host([size-medium=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 900px){:host([size-medium=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 900px){:host([size-medium=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 900px){:host([size-medium=default]){--h-space:var(--stzh-space-default)}}@media screen and (min-width: 1260px){:host([size-large=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){:host([size-large=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){:host([size-large=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([size-large=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){:host([size-large=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([size-large=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){:host([size-large=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 1260px){:host([size-large=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1260px){:host([size-large=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 1260px){:host([size-large=default]){--h-space:var(--stzh-space-default)}}@media screen and (min-width: 1600px){:host([size-ultra=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1600px){:host([size-ultra=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1600px){:host([size-ultra=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1600px){:host([size-ultra=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 1600px){:host([size-ultra=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 1600px){:host([size-ultra=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 1600px){:host([size-ultra=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1600px){:host([size-ultra=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1600px){:host([size-ultra=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1600px){:host([size-ultra=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1600px){:host([size-ultra=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1600px){:host([size-ultra=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1600px){:host([size-ultra=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 1600px){:host([size-ultra=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1600px){:host([size-ultra=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 1600px){:host([size-ultra=default]){--h-space:var(--stzh-space-default)}}.stzh-hspace{flex-grow:1;width:100%;height:100%;display:flex;justify-content:flex-start;align-items:flex-start;padding:0;margin:0}.stzh-hspace--border-left{border-left:0.0625rem solid var(--stzh-base-border-color)}.stzh-hspace--border-right{border-right:0.0625rem solid var(--stzh-base-border-color)}.stzh-hspace{}.stzh-hspace--justify-center{justify-content:center}.stzh-hspace--justify-end{justify-content:flex-end}.stzh-hspace--justify-between{justify-content:space-between}.stzh-hspace--justify-around{justify-content:space-around}.stzh-hspace--justify-evenly{justify-content:space-evenly}.stzh-hspace{}.stzh-hspace--items-end{align-items:flex-end}.stzh-hspace--items-center{align-items:center}.stzh-hspace--items-baseline{align-items:baseline}.stzh-hspace--items-stretch{align-items:stretch}`;
4
4
 
@@ -61,6 +61,6 @@ function defineCustomElement() {
61
61
  }
62
62
 
63
63
  export { StzhHspace as S, defineCustomElement as d };
64
- //# sourceMappingURL=p-C8Pvb9FC.js.map
64
+ //# sourceMappingURL=p-DVHdn6_q.js.map
65
65
 
66
- //# sourceMappingURL=p-C8Pvb9FC.js.map
66
+ //# sourceMappingURL=p-DVHdn6_q.js.map
@@ -1 +1 @@
1
- {"file":"p-C8Pvb9FC.js","mappings":";;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,o8aAAo8a,CAAC;;MCYr9a,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAK,CAAA,KAAA,GAAiB,MAAM;;AAc5B,QAAA,IAAO,CAAA,OAAA,GAAmB,OAAO;;AAGjC,QAAA,IAAK,CAAA,KAAA,GAAiB,OAAO;;AAG7B,QAAA,IAAM,CAAA,MAAA,GAAY,KAAK;;AAGvB,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAG3B,QAAA,IAAW,CAAA,WAAA,GAAY,KAAK;;AAG5B,QAAA,IAAM,CAAA,MAAA,GAA6C,MAAM;AAiBnF;IAfC,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,aAAa,EAAE,IAAI;gBACnB,CAAC,CAAA,qBAAA,EAAwB,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;gBACxD,CAAC,CAAA,mBAAA,EAAsB,IAAI,CAAC,KAAK,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK;AACnD,aAAA,EAAA,EAED,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-hspace/stzh-hspace.scss?tag=stzh-hspace&encapsulation=shadow","src/components/stzh-hspace/stzh-hspace.tsx"],"sourcesContent":["@use \"sass:map\";\n\n:host {\n --h-space: #{space()};\n --h-around-left: 0;\n --h-around-right: 0;\n --h-around: 0;\n\n display: flex;\n color: inherit;\n font-weight: inherit;\n font-family: inherit;\n letter-spacing: inherit;\n\n ::slotted(*) {\n // fix IE11 not wrapping text\n max-width: 100%;\n padding-left: calc(var(--h-space) * var(--h-around-left));\n padding-right: calc(var(--h-space) * var(--h-around-right));\n margin: 0;\n }\n\n ::slotted(*:not(:last-child)) {\n margin-right: calc(var(--h-space) * (1 - var(--h-around)));\n }\n\n ::slotted(stzh-show) {\n --show-display: block;\n }\n\n ::slotted(stzh-vspace),\n ::slotted(stzh-hspace),\n ::slotted(stzh-row),\n ::slotted(stzh-container),\n ::slotted(stzh-section) {\n align-self: stretch;\n flex-grow: 1;\n }\n}\n\n:host(:empty),\n:host([around]:not([around=\"false\"])) {\n --h-around-left: 1;\n --h-around-right: 1;\n --h-around: 1;\n}\n\n:host(:empty) {\n width: var(--h-space);\n}\n\n:host([around-left]:not([around-left=\"false\"])) {\n --h-around-left: 1;\n --h-around: 1;\n}\n\n:host([around-right]:not([around-right=\"false\"])) {\n --h-around-right: 1;\n --h-around: 1;\n}\n\n/* Border variants */\n\n:host([border=\"left\"]),\n:host([border=\"left-right\"]) {\n border-left: 1px solid $baseBorderColor;\n}\n\n:host([border=\"right\"]),\n:host([border=\"left-right\"]) {\n border-right: 1px solid $baseBorderColor;\n}\n\n/* Space variants */\n\n@each $spaceCurve, $value in $spaceCurves {\n $defaultSize: map.get($value, \"size\");\n $breakpointSizes: map.get($value, \"sizes\");\n\n // :host([curve=\"#{$spaceCurve}\"]) > .stzh-h-space {\n :host([curve=\"#{$spaceCurve}\"]) {\n --h-space: #{space($defaultSize)};\n\n @each $breakpoint, $size in $breakpointSizes {\n @include mq($from: $breakpoint) {\n --h-space: #{space($size)};\n }\n }\n }\n}\n\n@mixin spaceProps($breakpoint: null) {\n @each $space, $value in $spaceSizes {\n @if $breakpoint {\n // :host([size-#{$breakpoint}=\"#{$space}\"]) > .stzh-h-space {\n :host([size-#{$breakpoint}=\"#{$space}\"]) {\n @include mq($from: $breakpoint) {\n --h-space: #{$value};\n }\n }\n } @else {\n // :host([size=\"#{$space}\"]) > .stzh-h-space {\n :host([size=\"#{$space}\"]) {\n --h-space: #{$value};\n }\n }\n }\n}\n\n@include spaceProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include spaceProps($breakpoint);\n}\n\n.stzh-hspace {\n flex-grow: 1;\n width: 100%;\n height: 100%;\n\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n padding: 0;\n margin: 0;\n\n &--border-left {\n border-left: 1px solid $baseBorderColor;\n }\n\n &--border-right {\n border-right: 1px solid $baseBorderColor;\n }\n\n /* Justify content variants */\n\n &--justify-center {\n justify-content: center;\n }\n\n &--justify-end {\n justify-content: flex-end;\n }\n\n &--justify-between {\n justify-content: space-between;\n }\n\n &--justify-around {\n justify-content: space-around;\n }\n\n &--justify-evenly {\n justify-content: space-evenly;\n }\n\n /* Align items variants */\n\n &--items-end {\n align-items: flex-end;\n }\n\n &--items-center {\n align-items: center;\n }\n\n &--items-baseline {\n align-items: baseline;\n }\n\n &--items-stretch {\n align-items: stretch;\n }\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Space, Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any elements that should be horizontically spaced\n */\n@Component({\n tag: \"stzh-hspace\",\n styleUrl: \"stzh-hspace.scss\",\n shadow: true,\n})\nexport class StzhHspace {\n /** Type of curve (see [Spacings docs page](/docs/tokens-spacings--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Space.Curves = \"none\";\n\n /** Type of size (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) size: Space.Sizes;\n /** Type of size above small breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeSmall: Space.Sizes;\n /** Type of size above medium breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeMedium: Space.Sizes;\n /** Type of size above large breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeLarge: Space.Sizes;\n /** Type of size above ultra breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeUltra: Space.Sizes;\n\n /** Alignment */\n @Prop({ reflect: true }) justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop({ reflect: true }) items: Layout.Items = \"start\";\n\n /** Apply spacing to slotted elements (padding instead of margin) */\n @Prop({ reflect: true }) around: boolean = false;\n\n /** Apply spacing to slotted elements (padding instead of margin, only left) */\n @Prop({ reflect: true }) aroundLeft: boolean = false;\n\n /** Apply spacing to slotted elements (padding instead of margin, only right) */\n @Prop({ reflect: true }) aroundRight: boolean = false;\n\n /** Add border */\n @Prop({ reflect: true }) border: \"none\" | \"left\" | \"right\" | \"left-right\" = \"none\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-hspace\": true,\n [`stzh-hspace--justify-${this.justify}`]: !!this.justify,\n [`stzh-hspace--items-${this.items}`]: !!this.items,\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-DVHdn6_q.js","mappings":";;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,o8aAAo8a,CAAC;;MCYr9a,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAK,CAAA,KAAA,GAAiB,MAAM;;AAc5B,QAAA,IAAO,CAAA,OAAA,GAAmB,OAAO;;AAGjC,QAAA,IAAK,CAAA,KAAA,GAAiB,OAAO;;AAG7B,QAAA,IAAM,CAAA,MAAA,GAAY,KAAK;;AAGvB,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAG3B,QAAA,IAAW,CAAA,WAAA,GAAY,KAAK;;AAG5B,QAAA,IAAM,CAAA,MAAA,GAA6C,MAAM;AAiBnF;IAfC,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,aAAa,EAAE,IAAI;gBACnB,CAAC,CAAA,qBAAA,EAAwB,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;gBACxD,CAAC,CAAA,mBAAA,EAAsB,IAAI,CAAC,KAAK,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK;AACnD,aAAA,EAAA,EAED,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-hspace/stzh-hspace.scss?tag=stzh-hspace&encapsulation=shadow","src/components/stzh-hspace/stzh-hspace.tsx"],"sourcesContent":["@use \"sass:map\";\n\n:host {\n --h-space: #{space()};\n --h-around-left: 0;\n --h-around-right: 0;\n --h-around: 0;\n\n display: flex;\n color: inherit;\n font-weight: inherit;\n font-family: inherit;\n letter-spacing: inherit;\n\n ::slotted(*) {\n // fix IE11 not wrapping text\n max-width: 100%;\n padding-left: calc(var(--h-space) * var(--h-around-left));\n padding-right: calc(var(--h-space) * var(--h-around-right));\n margin: 0;\n }\n\n ::slotted(*:not(:last-child)) {\n margin-right: calc(var(--h-space) * (1 - var(--h-around)));\n }\n\n ::slotted(stzh-show) {\n --show-display: block;\n }\n\n ::slotted(stzh-vspace),\n ::slotted(stzh-hspace),\n ::slotted(stzh-row),\n ::slotted(stzh-container),\n ::slotted(stzh-section) {\n align-self: stretch;\n flex-grow: 1;\n }\n}\n\n:host(:empty),\n:host([around]:not([around=\"false\"])) {\n --h-around-left: 1;\n --h-around-right: 1;\n --h-around: 1;\n}\n\n:host(:empty) {\n width: var(--h-space);\n}\n\n:host([around-left]:not([around-left=\"false\"])) {\n --h-around-left: 1;\n --h-around: 1;\n}\n\n:host([around-right]:not([around-right=\"false\"])) {\n --h-around-right: 1;\n --h-around: 1;\n}\n\n/* Border variants */\n\n:host([border=\"left\"]),\n:host([border=\"left-right\"]) {\n border-left: 1px solid $baseBorderColor;\n}\n\n:host([border=\"right\"]),\n:host([border=\"left-right\"]) {\n border-right: 1px solid $baseBorderColor;\n}\n\n/* Space variants */\n\n@each $spaceCurve, $value in $spaceCurves {\n $defaultSize: map.get($value, \"size\");\n $breakpointSizes: map.get($value, \"sizes\");\n\n // :host([curve=\"#{$spaceCurve}\"]) > .stzh-h-space {\n :host([curve=\"#{$spaceCurve}\"]) {\n --h-space: #{space($defaultSize)};\n\n @each $breakpoint, $size in $breakpointSizes {\n @include mq($from: $breakpoint) {\n --h-space: #{space($size)};\n }\n }\n }\n}\n\n@mixin spaceProps($breakpoint: null) {\n @each $space, $value in $spaceSizes {\n @if $breakpoint {\n // :host([size-#{$breakpoint}=\"#{$space}\"]) > .stzh-h-space {\n :host([size-#{$breakpoint}=\"#{$space}\"]) {\n @include mq($from: $breakpoint) {\n --h-space: #{$value};\n }\n }\n } @else {\n // :host([size=\"#{$space}\"]) > .stzh-h-space {\n :host([size=\"#{$space}\"]) {\n --h-space: #{$value};\n }\n }\n }\n}\n\n@include spaceProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include spaceProps($breakpoint);\n}\n\n.stzh-hspace {\n flex-grow: 1;\n width: 100%;\n height: 100%;\n\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n padding: 0;\n margin: 0;\n\n &--border-left {\n border-left: 1px solid $baseBorderColor;\n }\n\n &--border-right {\n border-right: 1px solid $baseBorderColor;\n }\n\n /* Justify content variants */\n\n &--justify-center {\n justify-content: center;\n }\n\n &--justify-end {\n justify-content: flex-end;\n }\n\n &--justify-between {\n justify-content: space-between;\n }\n\n &--justify-around {\n justify-content: space-around;\n }\n\n &--justify-evenly {\n justify-content: space-evenly;\n }\n\n /* Align items variants */\n\n &--items-end {\n align-items: flex-end;\n }\n\n &--items-center {\n align-items: center;\n }\n\n &--items-baseline {\n align-items: baseline;\n }\n\n &--items-stretch {\n align-items: stretch;\n }\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Space, Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any elements that should be horizontically spaced\n */\n@Component({\n tag: \"stzh-hspace\",\n styleUrl: \"stzh-hspace.scss\",\n shadow: true,\n})\nexport class StzhHspace {\n /** Type of curve (see [Spacings docs page](/docs/tokens-spacings--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Space.Curves = \"none\";\n\n /** Type of size (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) size: Space.Sizes;\n /** Type of size above small breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeSmall: Space.Sizes;\n /** Type of size above medium breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeMedium: Space.Sizes;\n /** Type of size above large breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeLarge: Space.Sizes;\n /** Type of size above ultra breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeUltra: Space.Sizes;\n\n /** Alignment */\n @Prop({ reflect: true }) justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop({ reflect: true }) items: Layout.Items = \"start\";\n\n /** Apply spacing to slotted elements (padding instead of margin) */\n @Prop({ reflect: true }) around: boolean = false;\n\n /** Apply spacing to slotted elements (padding instead of margin, only left) */\n @Prop({ reflect: true }) aroundLeft: boolean = false;\n\n /** Apply spacing to slotted elements (padding instead of margin, only right) */\n @Prop({ reflect: true }) aroundRight: boolean = false;\n\n /** Add border */\n @Prop({ reflect: true }) border: \"none\" | \"left\" | \"right\" | \"left-right\" = \"none\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-hspace\": true,\n [`stzh-hspace--justify-${this.justify}`]: !!this.justify,\n [`stzh-hspace--items-${this.items}`]: !!this.items,\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-kwBmMJ76.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-Ct0XU0Xj.js';
2
2
 
3
3
  const stzhStatusCss = () => `.sc-stzh-status-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-status-h,[stzh-hidden].sc-stzh-status-h{display:none}.sc-stzh-status-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-status-h *.sc-stzh-status,.sc-stzh-status-h *.sc-stzh-status::before,.sc-stzh-status-h *.sc-stzh-status::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-status-h .has-focus.sc-stzh-status{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-status-h .stzh-fylingfocus-focused.sc-stzh-status{outline-style:none !important}.sc-stzh-status-h .stzh-fylingfocus-focused.sc-stzh-status::-moz-focus-inner{border:0 !important}.sc-stzh-status-h{--bar-height:0.25rem;--color:var(--stzh-base-color);--min-width:none}[with-loadingbar].sc-stzh-status-h:not([with-loadingbar=false]){--min-width:10rem}[type=success].sc-stzh-status-h{--color:var(--stzh-color-success70)}[type=warning].sc-stzh-status-h{--color:var(--stzh-color-warning90)}[type=error].sc-stzh-status-h{--color:var(--stzh-color-error70)}[type=info].sc-stzh-status-h{--color:var(--stzh-color-midnightblue70)}.stzh-status.sc-stzh-status{min-width:var(--min-width);color:var(--color)}.stzh-status__dot.sc-stzh-status{border-radius:50%;width:0.75rem;height:0.75rem;background-color:currentColor;margin-right:var(--stzh-space-xxsmall)}@media (forced-colors: active){.stzh-status__dot.sc-stzh-status{forced-color-adjust:preserve-parent-color}}.stzh-status__bar.sc-stzh-status{display:block;height:var(--bar-height);border-radius:0.75rem;background-color:var(--stzh-color-old-grey13);margin-top:var(--stzh-space-xxsmall)}@media (forced-colors: active){.stzh-status__bar.sc-stzh-status{--bar-height:0.375rem;border-radius:0;outline:0.125rem solid CanvasText;outline-offset:-0.125rem}}.stzh-status__bar-inner.sc-stzh-status{position:relative;display:block;height:100%;width:0;border-radius:0.75rem;background:currentColor}@media (forced-colors: active){.stzh-status__bar-inner.sc-stzh-status{border-radius:0;outline:0.125rem solid SelectedItem;outline-offset:-0.125rem;background-color:SelectedItem}}.stzh-status__text.sc-stzh-status{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:flex;align-items:center}`;
4
4
 
@@ -49,6 +49,6 @@ function defineCustomElement() {
49
49
  }
50
50
 
51
51
  export { StzhStatus as S, defineCustomElement as d };
52
- //# sourceMappingURL=p-B3JZYmt1.js.map
52
+ //# sourceMappingURL=p-DhS6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A,EAC3B,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,wBAAwB,EAC9B,KAAK,EAAE;AACL,gBAAA,KAAK,EAAE,CAAA,EAAG,IAAI,CAAC,OAAO,CAAG,CAAA,CAAA;AAC1B,aAAA,EAAA,CACI,CACH,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-status/stzh-status.scss?tag=stzh-status&encapsulation=scoped","src/components/stzh-status/stzh-status.tsx"],"sourcesContent":["/**\n * @prop --color: Status color text\n */\n\n:host {\n --bar-height: 4px;\n --color: #{$baseColor};\n --min-width: none;\n\n &[with-loadingbar]:not([with-loadingbar=\"false\"]) {\n --min-width: 160px;\n }\n\n &[type=\"success\"] {\n --color: #{$colorSuccess70};\n }\n\n &[type=\"warning\"] {\n --color: #{$colorWarning90};\n }\n\n &[type=\"error\"] {\n --color: #{$colorError70};\n }\n\n &[type=\"info\"] {\n --color: #{$colorMidnightblue70};\n }\n}\n\n.stzh-status {\n min-width: var(--min-width);\n color: var(--color);\n\n &__dot {\n border-radius: 50%;\n width: 12px;\n height: 12px;\n background-color: currentColor;\n margin-right: space(\"xxsmall\");\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n &__bar {\n display: block;\n height: var(--bar-height);\n border-radius: 12px;\n background-color: $colorOldGrey13;\n margin-top: space(\"xxsmall\");\n\n @media (forced-colors: active) {\n --bar-height: 6px;\n border-radius: 0;\n outline: 2px solid CanvasText;\n outline-offset: -2px;\n }\n }\n\n &__bar-inner {\n position: relative;\n display: block;\n height: 100%;\n width: 0;\n border-radius: 12px;\n background: currentColor;\n\n @media (forced-colors: active) {\n border-radius: 0;\n outline: 2px solid SelectedItem;\n outline-offset: -2px;\n background-color: SelectedItem;\n }\n }\n\n &__text {\n @include fontSize(\"micro\");\n display: flex;\n align-items: center;\n }\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\nimport { StzhStatusType } from \"../../index\";\n\n/**\n */\n@Component({\n tag: \"stzh-status\",\n styleUrl: \"stzh-status.scss\",\n scoped: true,\n})\nexport class StzhStatus {\n /** Percent */\n @Prop() percent: number = 0;\n\n /** Whether to hide/show loadingbar */\n @Prop({ reflect: true }) withLoadingbar: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhStatusType = \"default\";\n\n @Element() element: HTMLStzhStatusElement;\n\n render() {\n const classes = {\n \"stzh-status\": true,\n [`stzh-status--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-status__text\">\n {!this.withLoadingbar && <div class=\"stzh-status__dot\"></div>}\n {this.label && <div class=\"stzh-status__label\">{this.label}</div>}\n </div>\n {this.withLoadingbar && (\n <div class=\"stzh-status__bar\">\n <div\n class=\"stzh-status__bar-inner\"\n style={{\n width: `${this.percent}%`,\n }}\n ></div>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-DhS6kKt0.js","mappings":";;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,gpFAAgpF,CAAC;;MCWjqF,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAOU,QAAA,IAAO,CAAA,OAAA,GAAW,CAAC;;AAGF,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;;AAGhD,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAI,CAAA,IAAA,GAAmB,SAAS;AA+B1D;IA3BC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,aAAa,EAAE,IAAI;YACnB,CAAC,CAAA,kBAAA,EAAqB,IAAI,CAAC,IAAI,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;SAChD;QAED,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,mBAAmB,EAAA,EAC3B,CAAC,IAAI,CAAC,cAAc,IAAI,4DAAK,KAAK,EAAC,kBAAkB,EAAO,CAAA,EAC5D,IAAI,CAAC,KAAK,IAAI,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,oBAAoB,EAAA,EAAE,IAAI,CAAC,KAAK,CAAO,CAC7D,EACL,IAAI,CAAC,cAAc,KAClB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAC3B,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,wBAAwB,EAC9B,KAAK,EAAE;AACL,gBAAA,KAAK,EAAE,CAAA,EAAG,IAAI,CAAC,OAAO,CAAG,CAAA,CAAA;AAC1B,aAAA,EAAA,CACI,CACH,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-status/stzh-status.scss?tag=stzh-status&encapsulation=scoped","src/components/stzh-status/stzh-status.tsx"],"sourcesContent":["/**\n * @prop --color: Status color text\n */\n\n:host {\n --bar-height: 4px;\n --color: #{$baseColor};\n --min-width: none;\n\n &[with-loadingbar]:not([with-loadingbar=\"false\"]) {\n --min-width: 160px;\n }\n\n &[type=\"success\"] {\n --color: #{$colorSuccess70};\n }\n\n &[type=\"warning\"] {\n --color: #{$colorWarning90};\n }\n\n &[type=\"error\"] {\n --color: #{$colorError70};\n }\n\n &[type=\"info\"] {\n --color: #{$colorMidnightblue70};\n }\n}\n\n.stzh-status {\n min-width: var(--min-width);\n color: var(--color);\n\n &__dot {\n border-radius: 50%;\n width: 12px;\n height: 12px;\n background-color: currentColor;\n margin-right: space(\"xxsmall\");\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n &__bar {\n display: block;\n height: var(--bar-height);\n border-radius: 12px;\n background-color: $colorOldGrey13;\n margin-top: space(\"xxsmall\");\n\n @media (forced-colors: active) {\n --bar-height: 6px;\n border-radius: 0;\n outline: 2px solid CanvasText;\n outline-offset: -2px;\n }\n }\n\n &__bar-inner {\n position: relative;\n display: block;\n height: 100%;\n width: 0;\n border-radius: 12px;\n background: currentColor;\n\n @media (forced-colors: active) {\n border-radius: 0;\n outline: 2px solid SelectedItem;\n outline-offset: -2px;\n background-color: SelectedItem;\n }\n }\n\n &__text {\n @include fontSize(\"micro\");\n display: flex;\n align-items: center;\n }\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\nimport { StzhStatusType } from \"../../index\";\n\n/**\n */\n@Component({\n tag: \"stzh-status\",\n styleUrl: \"stzh-status.scss\",\n scoped: true,\n})\nexport class StzhStatus {\n /** Percent */\n @Prop() percent: number = 0;\n\n /** Whether to hide/show loadingbar */\n @Prop({ reflect: true }) withLoadingbar: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhStatusType = \"default\";\n\n @Element() element: HTMLStzhStatusElement;\n\n render() {\n const classes = {\n \"stzh-status\": true,\n [`stzh-status--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-status__text\">\n {!this.withLoadingbar && <div class=\"stzh-status__dot\"></div>}\n {this.label && <div class=\"stzh-status__label\">{this.label}</div>}\n </div>\n {this.withLoadingbar && (\n <div class=\"stzh-status__bar\">\n <div\n class=\"stzh-status__bar-inner\"\n style={{\n width: `${this.percent}%`,\n }}\n ></div>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,9 +1,9 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-kwBmMJ76.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-Ct0XU0Xj.js';
2
2
  import { c as camelCase, h as hasSlot } from './p-Dk-EHN3E.js';
3
- import { S as StzhInputDescription } from './p-CBGywK9s.js';
4
- import { d as defineCustomElement$3 } from './p-DSXTn_9y.js';
5
- import { d as defineCustomElement$2 } from './p-cy07BSqU.js';
6
- import { d as defineCustomElement$1 } from './p-v5danKU8.js';
3
+ import { S as StzhInputDescription } from './p-u_QxrpaB.js';
4
+ import { d as defineCustomElement$3 } from './p-C5BMqKn_.js';
5
+ import { d as defineCustomElement$2 } from './p-DSIwFDJz.js';
6
+ import { d as defineCustomElement$1 } from './p-CgQ_cBIG.js';
7
7
 
8
8
  const stzhRadiogroupCss = () => `.sc-stzh-radiogroup-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-radiogroup-h,[stzh-hidden].sc-stzh-radiogroup-h{display:none}.sc-stzh-radiogroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radiogroup-h *.sc-stzh-radiogroup,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::before,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::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-radiogroup-h .has-focus.sc-stzh-radiogroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup{outline-style:none !important}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup::-moz-focus-inner{border:0 !important}.sc-stzh-radiogroup-h{--legend-color:var(--stzh-radio-group-legend-color, var(--stzh-heading-color))}[disabled].sc-stzh-radiogroup-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radiogroup__marker-symbol.sc-stzh-radiogroup{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radiogroup__marker-text.sc-stzh-radiogroup{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-radiogroup__description-wrapper.sc-stzh-radiogroup{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup__description.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radiogroup__error.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup__error-list.sc-stzh-radiogroup{list-style:none;margin:0;padding:0}.stzh-radiogroup__description.sc-stzh-radiogroup{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-radiogroup__description-long.sc-stzh-radiogroup{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-top:0}}.stzh-radiogroup__description-long-popover.sc-stzh-radiogroup{--width:auto;--max-width:27.3125rem}.stzh-radiogroup__description-long-button.sc-stzh-radiogroup{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-radiogroup.sc-stzh-radiogroup stzh-icon.stzh-radiogroup__description-long-icon.sc-stzh-radiogroup{--size:var(--stzh-icon-size-xsmall)}.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup--has-description.sc-stzh-radiogroup .stzh-radiogroup__description.sc-stzh-radiogroup{margin-top:var(--stzh-space-xxxsmall)}.stzh-radiogroup.sc-stzh-radiogroup{margin:0;padding:0;border:none}.stzh-radiogroup__fields.sc-stzh-radiogroup{display:flex;align-items:flex-start;flex-direction:column;gap:var(--stzh-space-medium)}.stzh-radiogroup__legend.sc-stzh-radiogroup{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);color:var(--legend-color);padding:0;margin-bottom:var(--stzh-space-xsmall);display:flex;align-items:center;gap:var(--stzh-space-xsmall);min-width:0;max-width:100%}.stzh-radiogroup__legend-text.sc-stzh-radiogroup{min-width:0}.stzh-radiogroup__legend.sc-stzh-radiogroup>.stzh-radiogroup__description-wrapper.sc-stzh-radiogroup{flex:0 0 auto;display:inline-flex;align-items:flex-start;margin:0;transform:translateY(0.0625rem)}.stzh-radiogroup__legend.sc-stzh-radiogroup .stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup__legend.sc-stzh-radiogroup .stzh-radiogroup__description-text.sc-stzh-radiogroup{display:none}.stzh-radiogroup__legend.sc-stzh-radiogroup .stzh-radiogroup__description.sc-stzh-radiogroup,.stzh-radiogroup__legend.sc-stzh-radiogroup .stzh-radiogroup__description-long.sc-stzh-radiogroup{display:inline-flex;align-items:flex-start;margin:0}.stzh-radiogroup__legend.sc-stzh-radiogroup .stzh-radiogroup__description-long-button.sc-stzh-radiogroup{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1}.stzh-radiogroup__legend.sc-stzh-radiogroup stzh-popover.sc-stzh-radiogroup .stzh-radiogroup__description-long-icon.sc-stzh-radiogroup{--size:var(--stzh-icon-size-small);display:block;line-height:0;color:var(--stzh-color-primary70)}.stzh-radiogroup__marker.sc-stzh-radiogroup{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-radiogroup--hide-legend.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{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-radiogroup--is-invalid.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup,.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup--is-disabled.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-grey60)}.stzh-radiogroup--direction-horizontal.sc-stzh-radiogroup .stzh-radiogroup__fields.sc-stzh-radiogroup{flex-wrap:wrap;flex-direction:row;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-xxlarge)}`;
9
9
 
@@ -246,6 +246,6 @@ function defineCustomElement() {
246
246
  }
247
247
 
248
248
  export { StzhRadiogroup as S, defineCustomElement as d };
249
- //# sourceMappingURL=p-CSvDDg8y.js.map
249
+ //# sourceMappingURL=p-Di8DhNdR.js.map
250
250
 
251
- //# sourceMappingURL=p-CSvDDg8y.js.map
251
+ //# sourceMappingURL=p-Di8DhNdR.js.map
@@ -1 +1 @@
1
- {"file":"p-CSvDDg8y.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC,uhMAAuhM,CAAC;;ACUzjM,MAAM,cAAc,GAAG,gDAAgD;AAEvE,IAAI,iBAAiB,GAAG,CAAC;MAcZ,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;AAL3B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAU2B,QAAA,IAAQ,CAAA,QAAA,GAAY,K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AAC,IAAI,CAAC,SAAS,IAAI,eAAe,MACjC,CAAA,CAAC,oBAAoB,EACnB,EAAA,GAAA,EAAA,0CAAA,EAAA,WAAW,EAAC,iBAAiB,EAC7B,EAAE,EAAE,CAAA,EAAG,IAAI,CAAC,YAAY,CAAc,YAAA,CAAA,EACtC,KAAK,EAAE,IAAI,CAAC,MAAM,EAClB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,mBAAmB,EAAE,KAAK,EAAA,CAC1B,CACH,CACQ,CACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-radiogroup/stzh-radiogroup.scss?tag=stzh-radiogroup&encapsulation=scoped","src/components/stzh-radiogroup/stzh-radiogroup.tsx"],"sourcesContent":[":host {\n --legend-color: var(--stzh-radio-group-legend-color, #{$headingColor});\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-radiogroup {\n @include input-description;\n margin: 0;\n padding: 0;\n border: none;\n\n &__fields {\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n gap: space(\"medium\");\n }\n\n &__legend {\n @include font(\"heavy\");\n @include fontSize(\"micro\");\n color: var(--legend-color);\n padding: 0;\n margin-bottom: space(\"xsmall\");\n\n display: flex;\n align-items: center;\n gap: space(\"xsmall\");\n min-width: 0;\n max-width: 100%;\n }\n\n &__legend-text {\n min-width: 0;\n }\n\n &__legend > &__description-wrapper {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n transform: translateY(1px);\n }\n\n &__legend &__error,\n &__legend &__description-text {\n display: none;\n }\n\n &__legend &__description,\n &__legend &__description-long {\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__legend &__description-long-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n line-height: 1;\n }\n\n &__legend stzh-popover &__description-long-icon {\n --size: var(--stzh-icon-size-small);\n display: block;\n line-height: 0;\n color: $colorPrimary70;\n }\n\n &__marker {\n @include fontSize(\"nano\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n &--hide-legend &__legend {\n @include visuallyhidden;\n }\n\n &--is-invalid &__legend,\n &--has-error &__legend {\n color: $colorError60;\n }\n\n &--is-disabled &__legend {\n color: $colorGrey60;\n }\n\n &--direction-horizontal &__fields {\n flex-wrap: wrap;\n flex-direction: row;\n row-gap: space(\"medium\");\n column-gap: space(\"xxlarge\");\n }\n}\n","import { Component, Element, h, Host, Listen, Prop, Watch } from \"@stencil/core\";\n\nimport { StzhRadioChangeEvent, StzhRadioValue } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { camelCase } from \"../../utils/string-utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nconst SELECTOR_RADIO = \"stzh-radio, stzh-button[type=radio], stzh-card\";\n\nlet radiogroupCounter = 0;\n\n/**\n * @slot - Slot for `stzh-radio`, `stzh-button[type=\"radio\"]` or `stzh-card` elements\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-radiogroup\",\n styleUrl: \"stzh-radiogroup.scss\",\n scoped: true,\n})\nexport class StzhRadiogroup {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** The name of the input radio elements, will define the radio group. If you have more than one radio group on a page, every group needs to have its own unique name */\n @Prop({ reflect: true }) name: string;\n\n /** The legend */\n @Prop() legend: string;\n\n /** Hide legend to show only for screenreaders */\n @Prop({ reflect: true }) hideLegend: boolean = false;\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Select a radio by value. Note that boolean values only work with property binding (not with attribute binding). */\n @Prop({ mutable: true }) value?: StzhRadioValue;\n\n /** Default value (used by reset). Note that boolean values only work with property binding (not with attribute binding). */\n @Prop({ mutable: true }) defaultValue?: StzhRadioValue;\n\n /** Direction */\n @Prop({ reflect: true }) direction: \"vertical\" | \"horizontal\" = \"vertical\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Current checked radio element (readonly) */\n @Prop() checkedRadio: HTMLStzhRadioElement | null = null;\n\n /** Prevent updating certain properties of radio elements (possible values inside array: disabled, invalid, required, hide-marker) */\n @Prop() preventUpdateProperties: string[] | string = [];\n private _preventUpdateProperties: string[] = [];\n\n /** Host element */\n @Element() element: HTMLElement;\n\n @Watch(\"name\")\n watchName(newValue: string) {\n this.updateRadiosProperty(\"name\", newValue);\n }\n\n @Watch(\"disabled\")\n watchDisabled(newValue: boolean) {\n this.updateRadiosProperty(\"disabled\", newValue);\n }\n\n @Watch(\"required\")\n watchRequired(newValue: boolean) {\n this.updateRadiosProperty(\"required\", newValue);\n }\n\n @Watch(\"value\")\n watchValue(newValue: StzhRadioValue) {\n this.updateCheckedRadioByValue(newValue);\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Watch(\"preventUpdateProperties\")\n preventUpdatePropertiesWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._preventUpdateProperties = JSON.parse(newValue);\n } else {\n this._preventUpdateProperties = newValue;\n }\n }\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Listen(\"stzhChange\")\n onChange(event: CustomEvent<StzhRadioChangeEvent>) {\n this.value = event.detail.value;\n }\n\n /** Radio elements */\n private radios: HTMLStzhRadioElement[];\n private radiogroupId: string;\n private observer: MutationObserver;\n\n private updateRadiosProperty(prop: string, value: any) {\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (prop === \"disabled\") {\n // Only set the disabled if the radio is not already disabled\n if (!radio.disabled) {\n radio.disabled = value;\n }\n } else if (prop === \"name\" || this._preventUpdateProperties.indexOf(prop) === -1) {\n radio[camelCase(prop)] = value;\n }\n });\n }\n\n private get errorUsed(): boolean {\n return hasSlot(this.element, \"error\") || this._error?.length > 0;\n }\n\n private updateCheckedRadioByValue(value: StzhRadioValue | undefined) {\n this.checkedRadio = this.radios.find(radio => radio.value === value) ?? null;\n this.radios.forEach(radio => {\n radio.checked = this.checkedRadio === radio;\n });\n }\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n };\n\n private init = () => {\n // update radios\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n this.updateRadiosProperty(\"hide-optional\", true);\n this.updateRadiosProperty(\"a11y-describedby\", `${this.radiogroupId}-description`);\n this.updateRadiosProperty(\"invalid\", this.invalid || this.errorUsed);\n\n this.watchValue(this.value);\n this.watchName(this.name);\n this.watchDisabled(this.disabled);\n this.watchRequired(this.required);\n };\n\n componentDidLoad() {\n this.defaultValue = this.defaultValue ? this.defaultValue : this.value;\n }\n\n async componentWillLoad() {\n this.radiogroupId = `stzh-radiogroup-${radiogroupCounter++}`;\n this.errorWatcher(this.error);\n this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"radiogroup\");\n }\n }\n\n componentShouldUpdate(_newValue, _oldValue, prop: string) {\n return prop !== \"checkedRadio\";\n }\n\n componentDidRender() {\n this.init();\n }\n\n connectedCallback() {\n if (!this.value) {\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n // try to find a checkbox that might has checked set to true\n const checkedRadio = this.radios.find(radio => radio.checked);\n\n if (checkedRadio) {\n this.value = checkedRadio.value;\n }\n }\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n\n const legendUsed = !this.hideLegend && (!!this.legend || descriptionLongUsed);\n\n const classes = {\n \"stzh-radiogroup\": true,\n \"stzh-radiogroup--has-description\": descriptionUsed,\n \"stzh-radiogroup--has-description-long\": descriptionLongUsed,\n \"stzh-radiogroup--has-error\": this.errorUsed,\n \"stzh-radiogroup--is-required\": this.required,\n \"stzh-radiogroup--is-disabled\": this.disabled,\n \"stzh-radiogroup--is-invalid\": this.invalid || this.errorUsed,\n \"stzh-radiogroup--hide-legend\": this.hideLegend,\n [`stzh-radiogroup--direction-${this.direction}`]: !!this.direction,\n };\n\n return (\n <Host is-invalid={this.invalid || this.errorUsed}>\n <fieldset class={classes}>\n {legendUsed && (\n <legend class=\"stzh-radiogroup__legend\">\n {this.legend && (\n <span class=\"stzh-radiogroup__legend-text\">\n {this.legend}\n\n {!this.hideOptional && (\n <span class=\"stzh-radiogroup__marker\">\n <span class=\"stzh-radiogroup__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-radiogroup__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </span>\n )}\n\n {descriptionLongUsed && (\n <StzhInputDescription\n classPrefix=\"stzh-radiogroup\"\n id={`${this.radiogroupId}-description-long`}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n showError={false}\n showDescriptionText={false}\n />\n )}\n </legend>\n )}\n <div class=\"stzh-radiogroup__fields\">\n <slot></slot>\n </div>\n {(this.errorUsed || descriptionUsed) && (\n <StzhInputDescription\n classPrefix=\"stzh-radiogroup\"\n id={`${this.radiogroupId}-description`}\n error={this._error}\n description={this.description}\n descriptionLongUsed={false}\n />\n )}\n </fieldset>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-Di8DhNdR.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC,uhMAAuhM,CAAC;;ACUzjM,MAAM,cAAc,GAAG,gDAAgD;AAEvE,IAAI,iBAAiB,GAAG,CAAC;MAcZ,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;AAL3B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAU2B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AASzB,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAG3B,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAGxB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAY,CAAA,YAAA,GAAY,KAAK;;AAS7B,QAAA,IAAS,CAAA,SAAA,GAA8B,UAAU;;AAkBlE,QAAA,IAAY,CAAA,YAAA,GAAgC,IAAI;;AAGhD,QAAA,IAAuB,CAAA,uBAAA,GAAsB,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-radiogroup/stzh-radiogroup.scss?tag=stzh-radiogroup&encapsulation=scoped","src/components/stzh-radiogroup/stzh-radiogroup.tsx"],"sourcesContent":[":host {\n --legend-color: var(--stzh-radio-group-legend-color, #{$headingColor});\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-radiogroup {\n @include input-description;\n margin: 0;\n padding: 0;\n border: none;\n\n &__fields {\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n gap: space(\"medium\");\n }\n\n &__legend {\n @include font(\"heavy\");\n @include fontSize(\"micro\");\n color: var(--legend-color);\n padding: 0;\n margin-bottom: space(\"xsmall\");\n\n display: flex;\n align-items: center;\n gap: space(\"xsmall\");\n min-width: 0;\n max-width: 100%;\n }\n\n &__legend-text {\n min-width: 0;\n }\n\n &__legend > &__description-wrapper {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n transform: translateY(1px);\n }\n\n &__legend &__error,\n &__legend &__description-text {\n display: none;\n }\n\n &__legend &__description,\n &__legend &__description-long {\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__legend &__description-long-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n line-height: 1;\n }\n\n &__legend stzh-popover &__description-long-icon {\n --size: var(--stzh-icon-size-small);\n display: block;\n line-height: 0;\n color: $colorPrimary70;\n }\n\n &__marker {\n @include fontSize(\"nano\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n &--hide-legend &__legend {\n @include visuallyhidden;\n }\n\n &--is-invalid &__legend,\n &--has-error &__legend {\n color: $colorError60;\n }\n\n &--is-disabled &__legend {\n color: $colorGrey60;\n }\n\n &--direction-horizontal &__fields {\n flex-wrap: wrap;\n flex-direction: row;\n row-gap: space(\"medium\");\n column-gap: space(\"xxlarge\");\n }\n}\n","import { Component, Element, h, Host, Listen, Prop, Watch } from \"@stencil/core\";\n\nimport { StzhRadioChangeEvent, StzhRadioValue } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { camelCase } from \"../../utils/string-utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nconst SELECTOR_RADIO = \"stzh-radio, stzh-button[type=radio], stzh-card\";\n\nlet radiogroupCounter = 0;\n\n/**\n * @slot - Slot for `stzh-radio`, `stzh-button[type=\"radio\"]` or `stzh-card` elements\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-radiogroup\",\n styleUrl: \"stzh-radiogroup.scss\",\n scoped: true,\n})\nexport class StzhRadiogroup {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** The name of the input radio elements, will define the radio group. If you have more than one radio group on a page, every group needs to have its own unique name */\n @Prop({ reflect: true }) name: string;\n\n /** The legend */\n @Prop() legend: string;\n\n /** Hide legend to show only for screenreaders */\n @Prop({ reflect: true }) hideLegend: boolean = false;\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Select a radio by value. Note that boolean values only work with property binding (not with attribute binding). */\n @Prop({ mutable: true }) value?: StzhRadioValue;\n\n /** Default value (used by reset). Note that boolean values only work with property binding (not with attribute binding). */\n @Prop({ mutable: true }) defaultValue?: StzhRadioValue;\n\n /** Direction */\n @Prop({ reflect: true }) direction: \"vertical\" | \"horizontal\" = \"vertical\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Current checked radio element (readonly) */\n @Prop() checkedRadio: HTMLStzhRadioElement | null = null;\n\n /** Prevent updating certain properties of radio elements (possible values inside array: disabled, invalid, required, hide-marker) */\n @Prop() preventUpdateProperties: string[] | string = [];\n private _preventUpdateProperties: string[] = [];\n\n /** Host element */\n @Element() element: HTMLElement;\n\n @Watch(\"name\")\n watchName(newValue: string) {\n this.updateRadiosProperty(\"name\", newValue);\n }\n\n @Watch(\"disabled\")\n watchDisabled(newValue: boolean) {\n this.updateRadiosProperty(\"disabled\", newValue);\n }\n\n @Watch(\"required\")\n watchRequired(newValue: boolean) {\n this.updateRadiosProperty(\"required\", newValue);\n }\n\n @Watch(\"value\")\n watchValue(newValue: StzhRadioValue) {\n this.updateCheckedRadioByValue(newValue);\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Watch(\"preventUpdateProperties\")\n preventUpdatePropertiesWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._preventUpdateProperties = JSON.parse(newValue);\n } else {\n this._preventUpdateProperties = newValue;\n }\n }\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Listen(\"stzhChange\")\n onChange(event: CustomEvent<StzhRadioChangeEvent>) {\n this.value = event.detail.value;\n }\n\n /** Radio elements */\n private radios: HTMLStzhRadioElement[];\n private radiogroupId: string;\n private observer: MutationObserver;\n\n private updateRadiosProperty(prop: string, value: any) {\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (prop === \"disabled\") {\n // Only set the disabled if the radio is not already disabled\n if (!radio.disabled) {\n radio.disabled = value;\n }\n } else if (prop === \"name\" || this._preventUpdateProperties.indexOf(prop) === -1) {\n radio[camelCase(prop)] = value;\n }\n });\n }\n\n private get errorUsed(): boolean {\n return hasSlot(this.element, \"error\") || this._error?.length > 0;\n }\n\n private updateCheckedRadioByValue(value: StzhRadioValue | undefined) {\n this.checkedRadio = this.radios.find(radio => radio.value === value) ?? null;\n this.radios.forEach(radio => {\n radio.checked = this.checkedRadio === radio;\n });\n }\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n };\n\n private init = () => {\n // update radios\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n this.updateRadiosProperty(\"hide-optional\", true);\n this.updateRadiosProperty(\"a11y-describedby\", `${this.radiogroupId}-description`);\n this.updateRadiosProperty(\"invalid\", this.invalid || this.errorUsed);\n\n this.watchValue(this.value);\n this.watchName(this.name);\n this.watchDisabled(this.disabled);\n this.watchRequired(this.required);\n };\n\n componentDidLoad() {\n this.defaultValue = this.defaultValue ? this.defaultValue : this.value;\n }\n\n async componentWillLoad() {\n this.radiogroupId = `stzh-radiogroup-${radiogroupCounter++}`;\n this.errorWatcher(this.error);\n this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"radiogroup\");\n }\n }\n\n componentShouldUpdate(_newValue, _oldValue, prop: string) {\n return prop !== \"checkedRadio\";\n }\n\n componentDidRender() {\n this.init();\n }\n\n connectedCallback() {\n if (!this.value) {\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n // try to find a checkbox that might has checked set to true\n const checkedRadio = this.radios.find(radio => radio.checked);\n\n if (checkedRadio) {\n this.value = checkedRadio.value;\n }\n }\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n\n const legendUsed = !this.hideLegend && (!!this.legend || descriptionLongUsed);\n\n const classes = {\n \"stzh-radiogroup\": true,\n \"stzh-radiogroup--has-description\": descriptionUsed,\n \"stzh-radiogroup--has-description-long\": descriptionLongUsed,\n \"stzh-radiogroup--has-error\": this.errorUsed,\n \"stzh-radiogroup--is-required\": this.required,\n \"stzh-radiogroup--is-disabled\": this.disabled,\n \"stzh-radiogroup--is-invalid\": this.invalid || this.errorUsed,\n \"stzh-radiogroup--hide-legend\": this.hideLegend,\n [`stzh-radiogroup--direction-${this.direction}`]: !!this.direction,\n };\n\n return (\n <Host is-invalid={this.invalid || this.errorUsed}>\n <fieldset class={classes}>\n {legendUsed && (\n <legend class=\"stzh-radiogroup__legend\">\n {this.legend && (\n <span class=\"stzh-radiogroup__legend-text\">\n {this.legend}\n\n {!this.hideOptional && (\n <span class=\"stzh-radiogroup__marker\">\n <span class=\"stzh-radiogroup__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-radiogroup__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </span>\n )}\n\n {descriptionLongUsed && (\n <StzhInputDescription\n classPrefix=\"stzh-radiogroup\"\n id={`${this.radiogroupId}-description-long`}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n showError={false}\n showDescriptionText={false}\n />\n )}\n </legend>\n )}\n <div class=\"stzh-radiogroup__fields\">\n <slot></slot>\n </div>\n {(this.errorUsed || descriptionUsed) && (\n <StzhInputDescription\n classPrefix=\"stzh-radiogroup\"\n id={`${this.radiogroupId}-description`}\n error={this._error}\n description={this.description}\n descriptionLongUsed={false}\n />\n )}\n </fieldset>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +1 @@
1
- {"file":"p-Dk-EHN3E.js","mappings":"AAAM,SAAU,uBAAuB,CAAC,OAAe,EAAA;IACrD,MAAM,QAAQ,GAAG;AACd,SAAA,OAAO,CAAC,yBAAyB,EAAE,EAAE;AACrC,SAAA,OAAO,CAAC,yBAAyB,EAAE,EAAE;AACrC,SAAA,OAAO,CAAC,0BAA0B,EAAE,SAAS,CAAC;IAEjD,OAAO,CAAA,GAAA,EAAM,QAAQ,CAAA,IAAA,CAAM;AAC7B;AAEM,SAAU,SAAS,CAAC,UAAkB,EAAA;AAC1C,IAAA,OAAO;AACJ,SAAA,OAAO,CAAC,WAAW,EAAE,UAAU,CAAC,EAAA;AAC/B,QAAA,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;AAC3B,KAAC,CAAC;AACN;AAEM,SAAU,QAAQ,CAAC,WAAmB,EAAA;AAC1C,IAAA,OAAO,WAAW,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;AAClE;AAEgB,SAAA,cAAc,CAAC,IAAI,EAAE,MAAM,EAAA;AACzC,IAAA,IAAI,IAAI,CAAC,MAAM,IAAI,MAAM,EAAE;AACzB,QAAA,OAAO,IAAI;;AAGb,IAAA,IAAI,mBAAmB,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC;IAExE,IAAI,mBAAmB,EAAE;QACvB,OAA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AAoB,CAC3B,IAAe,EACf,iBAA2B,EAAA;IAE3B,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,YAAY,EAAE;AACvC,QAAA,OAAO,KAAK;;IAGd,MAAM,OAAO,GAAG,IAAmB;AAEnC,IAAA,QACE,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC;AAC7B,QAAA,CAAC,iBAAiB,CAAC,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAE/E;;;;","names":[],"sources":["src/utils/string-utils.ts","src/utils/utils.ts"],"sourcesContent":["export function createParagraphsFromBrs(content: string) {\n const replaced = content\n .replace(/^\\s*(?:<br\\s*\\/?>\\s*)*/i, \"\")\n .replace(/\\s*(?:<br\\s*\\/?>\\s*)*$/i, \"\")\n .replace(/(?:<br\\s*\\/?>\\s*?){2,}/gi, \"</p><p>\");\n\n return `<p>${replaced}</p>`;\n}\n\nexport function camelCase(dashString: string) {\n return dashString\n .replace(/-([a-z])/g, function (g) {\n return g[1].toUpperCase();\n });\n}\n\nexport function dashCase(camelString: string) {\n return camelString.replace(/[A-Z]/g, m => \"-\" + m.toLowerCase());\n}\n\nexport function abbreviateText(text, length) {\n if (text.length <= length) {\n return text;\n }\n\n var lastWhitespaceIndex = text.substring(0, length - 1).lastIndexOf(' ');\n\n if (lastWhitespaceIndex) {\n return text.substring(0, lastWhitespaceIndex) + '\\u2026';\n } else {\n return text.substring(0, length - 1);\n }\n}\n","import { h } from \"@stencil/core\";\nimport { dashCase } from \"./string-utils\";\n\n// Determines whether an element has a slot. If name is specified, the function will look for a corresponding named\n// slot, otherwise it will look for a \"default\" slot (e.g. a non-empty text node or an element with no slot attribute).\nexport function hasSlot(el: HTMLElement, name?: string) {\n // Look for a named slot\n if (name) {\n return el.querySelector(`[slot=\"${name}\"]`) !== null;\n }\n\n // Look for a default slot\n return Array.from(childNodes(el)).some((node) => {\n if (node.nodeType === node.TEXT_NODE && node.textContent.trim() !== \"\") {\n return true;\n }\n\n if (node.nodeType === node.ELEMENT_NODE) {\n const el = node as HTMLElement;\n if (!el.hasAttribute(\"slot\")) {\n return true;\n }\n }\n\n return false;\n });\n}\n\nexport function setPropsIfNull(element: Element, attributes: any) {\n Object.keys(attributes).forEach((attribute) => {\n if (element.getAttribute(dashCase(attribute)) === null) {\n element[attribute] = attributes[attribute];\n }\n });\n}\n\nexport function setProps(element: Element, attributes: any) {\n Object.keys(attributes).forEach((attribute) => {\n element[attribute] = attributes[attribute];\n });\n}\n\nexport function isStzhElement(element: Element) {\n if (!element || element.nodeType !== 1) {\n return false;\n }\n\n return element.tagName.toLowerCase().indexOf(\"stzh-\") === 0;\n}\n\n// returns content of <meta name=\"\" content=\"\"> tags or '' if empty/non existant\nexport function getMeta(name) {\n const meta = document.querySelector(\n `meta[name=\"${name}\"],[property=\"${name}\"]`,\n );\n return meta ? meta.getAttribute(\"content\") : \"\";\n}\n\nexport function parents(node: Element | Node) {\n const parents = [];\n\n while (node) {\n parents.unshift(node);\n node = node.parentNode;\n }\n\n return parents;\n}\n\nexport function childNodes(node: Element) {\n const childNodes = node.childNodes;\n\n // check if element is stencil element without shadow dom\n // and then detect elements that were slotted into the element\n if (node[\"s-sc\"]) {\n const result = [];\n\n for (let i = 0; i < childNodes.length; i++) {\n const slot = childNodes[i][\"s-nr\"];\n\n if (slot) {\n result.push(slot);\n }\n }\n\n return result;\n }\n\n return Array.from(childNodes);\n}\n\nexport function isVisible(element: HTMLElement): boolean {\n // @ts-ignore\n if (typeof element.checkVisibility !== \"undefined\") {\n // @ts-ignore\n return element.checkVisibility({\n checkOpacity: false,\n checkVisibilityCSS: false,\n });\n } else {\n return !!(\n element.offsetWidth ||\n element.offsetHeight ||\n element.getClientRects().length\n );\n }\n}\n\nexport function offset(element): { top: number; left: number } {\n if (!element.getClientRects().length) {\n return { top: 0, left: 0 };\n }\n\n let rect = element.getBoundingClientRect();\n let win = element.ownerDocument.defaultView;\n\n return {\n top: rect.top + win.pageYOffset,\n left: rect.left + win.pageXOffset,\n };\n}\n\nexport async function raf() {\n return new Promise<void>((resolve) => {\n requestAnimationFrame(() => {\n resolve();\n });\n });\n}\n\nexport async function setTimeout(time: number) {\n return new Promise<void>((resolve) => {\n window.setTimeout(() => {\n resolve();\n }, time);\n });\n}\n\nexport enum StzhEnvironmentEnum {\n UNKNOWN = \"UNKNOWN\",\n DEV = \"DEV\",\n UAT = \"UAT\",\n PROD = \"PROD\",\n}\n\nexport function getStzhEnvironment(): StzhEnvironmentEnum {\n const url = window.location.href;\n\n switch (true) {\n // DEV\n case url.includes(\"localhost\"):\n case url.includes(\"test.stadt-zuerich.loc\"):\n case /\\.dev\\.cmp\\.szh\\.loc/.test(url):\n return StzhEnvironmentEnum.DEV;\n\n // UAT\n case url.includes(\"integ.stadt-zuerich.ch\"):\n case /\\.uat\\.cmp\\.szh\\.loc/.test(url):\n return StzhEnvironmentEnum.UAT;\n\n // PROD\n case url.includes(\"https://www.stadt-zuerich.ch\"):\n case url.includes(\"designsystem.stadt-zuerich.ch\"):\n case /\\.cmp\\.szh\\.loc/.test(url):\n return StzhEnvironmentEnum.PROD;\n\n // Fallback\n default:\n return StzhEnvironmentEnum.UNKNOWN;\n }\n}\n\nexport function addWordBreakToLinks(links: HTMLElement[]) {\n links.forEach((link) => {\n link.childNodes.forEach((node) => {\n if (node.nodeType === Node.TEXT_NODE && node.textContent?.includes(\"_\")) {\n const span = document.createElement(\"span\");\n span.innerHTML = node.textContent.replace(/_/g, \"_<wbr>\");\n link.replaceChild(span, node);\n }\n });\n });\n}\n\nexport function formatHeadingForHyphenation(heading: string): string {\n return heading.replace(\n /(?<=\\p{L})\\/(?!\\/)(?=\\p{L})/gu,\n \"/<wbr>\",\n );\n}\n\nexport function getTheme() {\n const htmlElement = document.documentElement;\n return Array.from(htmlElement.classList).find((className) =>\n className.startsWith(\"stzh-theme-\"),\n );\n}\n\n/** Below code becomes obsolete with the implementation of PDESI-1908 */\n/** ----------- */\n\n\ninterface StencilRelocatedNode extends ChildNode {\n /**\n * Internal Stencil runtime reference to the original relocated node.\n * This can exist when Stencil handles scoped slots / slot fallback nodes.\n * It is not part of the standard DOM API.\n */\n 's-nr'?: ChildNode;\n}\n\n/**\n * Checks whether a host element has meaningful default-slot content.\n *\n * This detects:\n * - normal default-slot content\n * - non-empty text nodes\n * - Stencil scoped-slot fallback / relocated nodes\n *\n * This ignores:\n * - named-slot content, meaning elements with a `slot` attribute\n * - elements with one of the provided ignored class names\n */\nexport function hasDefaultSlotContent(\n host: HTMLElement,\n ignoredClassNames: string[] = [],\n): boolean {\n if (hasSlot(host)) {\n return true;\n }\n\n return Array.from(host.childNodes).some(node => {\n const slotNode = getStencilRelocatedNode(node);\n\n if (isNonEmptyTextNode(slotNode)) {\n return true;\n }\n\n if (isDefaultSlotElement(slotNode, ignoredClassNames)) {\n return true;\n }\n\n return false;\n });\n}\n\n/**\n * Returns the original Stencil-relocated node if available.\n *\n * Stencil may attach an internal `s-nr` property to nodes when handling\n * scoped slots or slot fallback content. In that case, the useful content\n * information may be on the relocated node instead of the wrapper node.\n */\nfunction getStencilRelocatedNode(node: ChildNode): ChildNode {\n return (node as StencilRelocatedNode)['s-nr'] ?? node;\n}\n\n\n/** Checks whether the given node is a text node with visible content. */\nfunction isNonEmptyTextNode(node: ChildNode): boolean {\n return node.nodeType === Node.TEXT_NODE && (node.textContent ?? '').trim() !== '';\n}\n\n/**\n * Checks whether the given node is an element belonging to the default slot.\n * Elements with a `slot` attribute belong to a named slot and are therefore\n * not considered default-slot content.\n */\nfunction isDefaultSlotElement(\n node: ChildNode,\n ignoredClassNames: string[],\n): boolean {\n if (node.nodeType !== Node.ELEMENT_NODE) {\n return false;\n }\n\n const element = node as HTMLElement;\n\n return (\n !element.hasAttribute('slot') &&\n !ignoredClassNames.some(className => element.classList.contains(className))\n );\n}\n"],"version":3}
1
+ {"file":"p-Dk-EHN3E.js","mappings":"AAAM,SAAU,uBAAuB,CAAC,OAAe,E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-utils.ts","src/utils/utils.ts"],"sourcesContent":["export function createParagraphsFromBrs(content: string) {\n const replaced = content\n .replace(/^\\s*(?:<br\\s*\\/?>\\s*)*/i, \"\")\n .replace(/\\s*(?:<br\\s*\\/?>\\s*)*$/i, \"\")\n .replace(/(?:<br\\s*\\/?>\\s*?){2,}/gi, \"</p><p>\");\n\n return `<p>${replaced}</p>`;\n}\n\nexport function camelCase(dashString: string) {\n return dashString\n .replace(/-([a-z])/g, function (g) {\n return g[1].toUpperCase();\n });\n}\n\nexport function dashCase(camelString: string) {\n return camelString.replace(/[A-Z]/g, m => \"-\" + m.toLowerCase());\n}\n\nexport function abbreviateText(text, length) {\n if (text.length <= length) {\n return text;\n }\n\n var lastWhitespaceIndex = text.substring(0, length - 1).lastIndexOf(' ');\n\n if (lastWhitespaceIndex) {\n return text.substring(0, lastWhitespaceIndex) + '\\u2026';\n } else {\n return text.substring(0, length - 1);\n }\n}\n","import { dashCase } from \"./string-utils\";\n\n// Determines whether an element has a slot. If name is specified, the function will look for a corresponding named\n// slot, otherwise it will look for a \"default\" slot (e.g. a non-empty text node or an element with no slot attribute).\nexport function hasSlot(el: HTMLElement, name?: string) {\n // Look for a named slot\n if (name) {\n return el.querySelector(`[slot=\"${name}\"]`) !== null;\n }\n\n // Look for a default slot\n return Array.from(childNodes(el)).some((node) => {\n if (node.nodeType === node.TEXT_NODE && node.textContent.trim() !== \"\") {\n return true;\n }\n\n if (node.nodeType === node.ELEMENT_NODE) {\n const el = node as HTMLElement;\n if (!el.hasAttribute(\"slot\")) {\n return true;\n }\n }\n\n return false;\n });\n}\n\nexport function setPropsIfNull(element: Element, attributes: any) {\n Object.keys(attributes).forEach((attribute) => {\n if (element.getAttribute(dashCase(attribute)) === null) {\n element[attribute] = attributes[attribute];\n }\n });\n}\n\nexport function setProps(element: Element, attributes: any) {\n Object.keys(attributes).forEach((attribute) => {\n element[attribute] = attributes[attribute];\n });\n}\n\nexport function isStzhElement(element: Element) {\n if (!element || element.nodeType !== 1) {\n return false;\n }\n\n return element.tagName.toLowerCase().indexOf(\"stzh-\") === 0;\n}\n\n// returns content of <meta name=\"\" content=\"\"> tags or '' if empty/non existant\nexport function getMeta(name) {\n const meta = document.querySelector(\n `meta[name=\"${name}\"],[property=\"${name}\"]`,\n );\n return meta ? meta.getAttribute(\"content\") : \"\";\n}\n\nexport function parents(node: Element | Node) {\n const parents = [];\n\n while (node) {\n parents.unshift(node);\n node = node.parentNode;\n }\n\n return parents;\n}\n\nexport function childNodes(node: Element) {\n const childNodes = node.childNodes;\n\n // check if element is stencil element without shadow dom\n // and then detect elements that were slotted into the element\n if (node[\"s-sc\"]) {\n const result = [];\n\n for (let i = 0; i < childNodes.length; i++) {\n const slot = childNodes[i][\"s-nr\"];\n\n if (slot) {\n result.push(slot);\n }\n }\n\n return result;\n }\n\n return Array.from(childNodes);\n}\n\nexport function isVisible(element: HTMLElement): boolean {\n // @ts-ignore\n if (typeof element.checkVisibility !== \"undefined\") {\n // @ts-ignore\n return element.checkVisibility({\n checkOpacity: false,\n checkVisibilityCSS: false,\n });\n } else {\n return !!(\n element.offsetWidth ||\n element.offsetHeight ||\n element.getClientRects().length\n );\n }\n}\n\nexport function offset(element): { top: number; left: number } {\n if (!element.getClientRects().length) {\n return { top: 0, left: 0 };\n }\n\n let rect = element.getBoundingClientRect();\n let win = element.ownerDocument.defaultView;\n\n return {\n top: rect.top + win.pageYOffset,\n left: rect.left + win.pageXOffset,\n };\n}\n\nexport async function raf() {\n return new Promise<void>((resolve) => {\n requestAnimationFrame(() => {\n resolve();\n });\n });\n}\n\nexport async function setTimeout(time: number) {\n return new Promise<void>((resolve) => {\n window.setTimeout(() => {\n resolve();\n }, time);\n });\n}\n\nexport enum StzhEnvironmentEnum {\n UNKNOWN = \"UNKNOWN\",\n DEV = \"DEV\",\n UAT = \"UAT\",\n PROD = \"PROD\",\n}\n\nexport function getStzhEnvironment(): StzhEnvironmentEnum {\n const url = window.location.href;\n\n switch (true) {\n // DEV\n case url.includes(\"localhost\"):\n case url.includes(\"test.stadt-zuerich.loc\"):\n case /\\.dev\\.cmp\\.szh\\.loc/.test(url):\n return StzhEnvironmentEnum.DEV;\n\n // UAT\n case url.includes(\"integ.stadt-zuerich.ch\"):\n case /\\.uat\\.cmp\\.szh\\.loc/.test(url):\n return StzhEnvironmentEnum.UAT;\n\n // PROD\n case url.includes(\"https://www.stadt-zuerich.ch\"):\n case url.includes(\"designsystem.stadt-zuerich.ch\"):\n case /\\.cmp\\.szh\\.loc/.test(url):\n return StzhEnvironmentEnum.PROD;\n\n // Fallback\n default:\n return StzhEnvironmentEnum.UNKNOWN;\n }\n}\n\nexport function addWordBreakToLinks(links: HTMLElement[]) {\n links.forEach((link) => {\n link.childNodes.forEach((node) => {\n if (node.nodeType === Node.TEXT_NODE && node.textContent?.includes(\"_\")) {\n const span = document.createElement(\"span\");\n span.innerHTML = node.textContent.replace(/_/g, \"_<wbr>\");\n link.replaceChild(span, node);\n }\n });\n });\n}\n\nexport function formatHeadingForHyphenation(heading: string): string {\n return heading.replace(\n /(?<=\\p{L})\\/(?!\\/)(?=\\p{L})/gu,\n \"/<wbr>\",\n );\n}\n\nexport function getTheme() {\n const htmlElement = document.documentElement;\n return Array.from(htmlElement.classList).find((className) =>\n className.startsWith(\"stzh-theme-\"),\n );\n}\n\n/** Below code becomes obsolete with the implementation of PDESI-1908 */\n/** ----------- */\n\n\ninterface StencilRelocatedNode extends ChildNode {\n /**\n * Internal Stencil runtime reference to the original relocated node.\n * This can exist when Stencil handles scoped slots / slot fallback nodes.\n * It is not part of the standard DOM API.\n */\n 's-nr'?: ChildNode;\n}\n\n/**\n * Checks whether a host element has meaningful default-slot content.\n *\n * This detects:\n * - normal default-slot content\n * - non-empty text nodes\n * - Stencil scoped-slot fallback / relocated nodes\n *\n * This ignores:\n * - named-slot content, meaning elements with a `slot` attribute\n * - elements with one of the provided ignored class names\n */\nexport function hasDefaultSlotContent(\n host: HTMLElement,\n ignoredClassNames: string[] = [],\n): boolean {\n if (hasSlot(host)) {\n return true;\n }\n\n return Array.from(host.childNodes).some(node => {\n const slotNode = getStencilRelocatedNode(node);\n\n if (isNonEmptyTextNode(slotNode)) {\n return true;\n }\n\n if (isDefaultSlotElement(slotNode, ignoredClassNames)) {\n return true;\n }\n\n return false;\n });\n}\n\n/**\n * Returns the original Stencil-relocated node if available.\n *\n * Stencil may attach an internal `s-nr` property to nodes when handling\n * scoped slots or slot fallback content. In that case, the useful content\n * information may be on the relocated node instead of the wrapper node.\n */\nfunction getStencilRelocatedNode(node: ChildNode): ChildNode {\n return (node as StencilRelocatedNode)['s-nr'] ?? node;\n}\n\n\n/** Checks whether the given node is a text node with visible content. */\nfunction isNonEmptyTextNode(node: ChildNode): boolean {\n return node.nodeType === Node.TEXT_NODE && (node.textContent ?? '').trim() !== '';\n}\n\n/**\n * Checks whether the given node is an element belonging to the default slot.\n * Elements with a `slot` attribute belong to a named slot and are therefore\n * not considered default-slot content.\n */\nfunction isDefaultSlotElement(\n node: ChildNode,\n ignoredClassNames: string[],\n): boolean {\n if (node.nodeType !== Node.ELEMENT_NODE) {\n return false;\n }\n\n const element = node as HTMLElement;\n\n return (\n !element.hasAttribute('slot') &&\n !ignoredClassNames.some(className => element.classList.contains(className))\n );\n}\n"],"version":3}
@@ -1,10 +1,10 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-kwBmMJ76.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-Ct0XU0Xj.js';
2
2
  import { e as abbreviateText, j as getMeta } from './p-Dk-EHN3E.js';
3
- import { d as defineCustomElement$5 } from './p-Cl1gEXQY.js';
4
- import { d as defineCustomElement$4 } from './p-XwB7D2_o.js';
5
- import { d as defineCustomElement$3 } from './p-DSXTn_9y.js';
6
- import { d as defineCustomElement$2 } from './p-v5danKU8.js';
7
- import { d as defineCustomElement$1 } from './p-BLPv4qvK.js';
3
+ import { d as defineCustomElement$5 } from './p-BC5CKnR0.js';
4
+ import { d as defineCustomElement$4 } from './p-kc3jagy9.js';
5
+ import { d as defineCustomElement$3 } from './p-C5BMqKn_.js';
6
+ import { d as defineCustomElement$2 } from './p-CgQ_cBIG.js';
7
+ import { d as defineCustomElement$1 } from './p-C7BHBfNV.js';
8
8
 
9
9
  const stzhShareCss = () => `.sc-stzh-share-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-share-h,[stzh-hidden].sc-stzh-share-h{display:none}.sc-stzh-share-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-share-h *.sc-stzh-share,.sc-stzh-share-h *.sc-stzh-share::before,.sc-stzh-share-h *.sc-stzh-share::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-share-h .has-focus.sc-stzh-share{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-share-h .stzh-fylingfocus-focused.sc-stzh-share{outline-style:none !important}.sc-stzh-share-h .stzh-fylingfocus-focused.sc-stzh-share::-moz-focus-inner{border:0 !important}.stzh-share__list.sc-stzh-share{list-style:none;margin:0;padding:0;display:flex}.stzh-share__item.sc-stzh-share:not(:last-child){margin-right:var(--stzh-space-xxsmall)}`;
10
10
 
@@ -147,6 +147,6 @@ function defineCustomElement() {
147
147
  }
148
148
 
149
149
  export { StzhShare as S, defineCustomElement as d };
150
- //# sourceMappingURL=p-CWotAi0D.js.map
150
+ //# sourceMappingURL=p-DpRn3ACG.js.map
151
151
 
152
- //# sourceMappingURL=p-CWotAi0D.js.map
152
+ //# sourceMappingURL=p-DpRn3ACG.js.map
@@ -1 +1 @@
1
- {"file":"p-CWotAi0D.js","mappings":";;;;;;;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IAAI,EAAC,OAAO,EACZ,OAAO,EAAC,UAAU,EAClB,QAAQ,EAAE,IAAI,EACd,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,GAAG,EAC9B,GAAG,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,KAAK,GAAG,8BAA8B,GAAG,UAAU,EAC7E,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,KAAK,GAAG,QAAQ,GAAG,OAAO,EACvD,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,KAAK,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,GAAG,IAAI,EAC7F,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,EACtC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,EAAA,CAClB,CACF,CACZ,CACN,CAAC,CACC,CACD,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-share/stzh-share.scss?tag=stzh-share&encapsulation=scoped","src/components/stzh-share/stzh-share.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-share {\n &__list {\n list-style: none;\n margin: 0;\n padding: 0;\n display: flex;\n }\n\n &__item {\n &:not(:last-child) {\n margin-right: space(\"xxsmall\");\n }\n }\n}\n","import { Component, Host, h, Element, Prop, Watch } from \"@stencil/core\";\n\nimport { ShareService } from \"../../index\";\nimport { StzhShareLocalizedText } from \"./stzh-share.localization\";\nimport { getMeta } from \"../../utils/utils\";\nimport { abbreviateText } from \"../../utils/string-utils\";\n\n// 280 - URL (always 24) = 256\nconst MAX_TWEET_LENGTH = 256;\n\n/**\n */\n@Component({\n tag: \"stzh-share\",\n styleUrl: \"stzh-share.scss\",\n scoped: true,\n})\nexport class StzhShare {\n /** Translation strings */\n @Prop() localization: StzhShareLocalizedText;\n\n /** URL of current site (uses full URL by default) */\n @Prop() url: string = window.location.href;\n\n /** Overwrite mail subject translation */\n @Prop() mailSubject: string;\n\n /** Overwrite mail body translation */\n @Prop() mailBody: string;\n\n /**\n * Array of enabled share buttons.\n * Possible services: `facebook` / `twitter` / `linkedin` / `xing` / `mail`\n */\n @Prop() services: ShareService[] | string = [\"mail\", \"facebook\", \"twitter\", \"linkedin\", \"xing\"];\n\n private _services: ShareService[] = [];\n\n @Watch(\"services\")\n servicesWatcher(newValue: ShareService[] | string) {\n if (typeof newValue === \"string\") {\n this._services = JSON.parse(newValue);\n } else {\n this._services = newValue;\n }\n }\n\n @Element() element: HTMLStzhShareElement;\n\n private openPopup = (url, event) => {\n event.preventDefault();\n window.open(url, \"_blank\", \"width=600,height=460\");\n };\n\n async componentWillLoad() {\n this.servicesWatcher(this.services);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"share\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-share\": true,\n };\n\n const shareUrl = encodeURIComponent(this.url);\n const mailSubject = encodeURIComponent(this.mailSubject || this.localization.mailSubject);\n const mailBody = encodeURIComponent(\n (this.mailBody || this.localization.mailBody)?.replace(/\\{shareUrl\\}/gi, this.url),\n );\n\n const title = encodeURIComponent(document.title);\n const twitterTitle = encodeURIComponent(abbreviateText(title, MAX_TWEET_LENGTH));\n const description = encodeURIComponent(getMeta(\"description\"));\n\n const serviceData = {\n mail: {\n popup: false,\n blank: false,\n url: `mailto:?subject=${mailSubject}&body=${mailBody}`,\n text: this.localization.shareMail,\n icon: \"mail\",\n },\n facebook: {\n popup: true,\n blank: true,\n url: `https://www.facebook.com/sharer/sharer.php?u=${shareUrl}`,\n text: this.localization.shareFacebook,\n icon: \"facebook\",\n },\n twitter: {\n popup: true,\n blank: true,\n url: `https://twitter.com/intent/tweet?text=${twitterTitle}&url=${shareUrl}`,\n text: this.localization.shareTwitter,\n icon: \"twitter\",\n },\n linkedin: {\n popup: true,\n blank: true,\n url: `https://www.linkedin.com/shareArticle?mini=true&summary=${description}&title=${title}&url=${shareUrl}`,\n text: this.localization.shareLinkedin,\n icon: \"linkedin\",\n },\n xing: {\n popup: true,\n blank: true,\n url: `https://www.xing.com/spi/shares/new?url=${shareUrl}`,\n text: this.localization.shareXing,\n icon: \"xing\",\n },\n };\n\n return (\n <Host>\n <div class={classes}>\n <ul class=\"stzh-share__list\">\n {this._services.map(service => (\n <li class=\"stzh-share__item\">\n <stzh-tooltip content={serviceData[service].text} size=\"small\">\n <stzh-button\n class={`stzh-share__button is-${service}`}\n size=\"small\"\n variant=\"tertiary\"\n iconOnly={true}\n href={serviceData[service].url}\n rel={serviceData[service].blank ? \"nofollow noopener noreferrer\" : \"nofollow\"}\n target={serviceData[service].blank ? \"_blank\" : \"_self\"}\n onClick={serviceData[service].popup ? e => this.openPopup(serviceData[service].url, e) : null}\n analyticsId={serviceData[service].text}\n icon={serviceData[service].icon}\n ></stzh-button>\n </stzh-tooltip>\n </li>\n ))}\n </ul>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-DpRn3ACG.js","mappings":";;;;;;;;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC,wvCAAwvC,CAAC;;ACOrxC;AACA,MAAM,gBAAgB,GAAG,GAAG;MASf,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;QAUU,IAAA,CAAA,GAAG,GAAW,MAAM,CAAC,QAAQ,CAAC,IAAI;AAQ1C;;;AAGG;AACK,QAAA,IAAA,CAAA,QAAQ,GAA4B,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,CAAC;AAEvF,QAAA,IAAS,CAAA,SAAA,GAAmB,EAAE;QAa9B,IAAA,CAAA,SAAS,GAAG,CAAC,GAAG,EAAE,KAAK,KAAI;YACjC,KAAK,CAAC,cAA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I,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,EAAA,CAClB,CACF,CACZ,CACN,CAAC,CACC,CACD,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-share/stzh-share.scss?tag=stzh-share&encapsulation=scoped","src/components/stzh-share/stzh-share.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-share {\n &__list {\n list-style: none;\n margin: 0;\n padding: 0;\n display: flex;\n }\n\n &__item {\n &:not(:last-child) {\n margin-right: space(\"xxsmall\");\n }\n }\n}\n","import { Component, Host, h, Element, Prop, Watch } from \"@stencil/core\";\n\nimport { ShareService } from \"../../index\";\nimport { StzhShareLocalizedText } from \"./stzh-share.localization\";\nimport { getMeta } from \"../../utils/utils\";\nimport { abbreviateText } from \"../../utils/string-utils\";\n\n// 280 - URL (always 24) = 256\nconst MAX_TWEET_LENGTH = 256;\n\n/**\n */\n@Component({\n tag: \"stzh-share\",\n styleUrl: \"stzh-share.scss\",\n scoped: true,\n})\nexport class StzhShare {\n /** Translation strings */\n @Prop() localization: StzhShareLocalizedText;\n\n /** URL of current site (uses full URL by default) */\n @Prop() url: string = window.location.href;\n\n /** Overwrite mail subject translation */\n @Prop() mailSubject: string;\n\n /** Overwrite mail body translation */\n @Prop() mailBody: string;\n\n /**\n * Array of enabled share buttons.\n * Possible services: `facebook` / `twitter` / `linkedin` / `xing` / `mail`\n */\n @Prop() services: ShareService[] | string = [\"mail\", \"facebook\", \"twitter\", \"linkedin\", \"xing\"];\n\n private _services: ShareService[] = [];\n\n @Watch(\"services\")\n servicesWatcher(newValue: ShareService[] | string) {\n if (typeof newValue === \"string\") {\n this._services = JSON.parse(newValue);\n } else {\n this._services = newValue;\n }\n }\n\n @Element() element: HTMLStzhShareElement;\n\n private openPopup = (url, event) => {\n event.preventDefault();\n window.open(url, \"_blank\", \"width=600,height=460\");\n };\n\n async componentWillLoad() {\n this.servicesWatcher(this.services);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"share\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-share\": true,\n };\n\n const shareUrl = encodeURIComponent(this.url);\n const mailSubject = encodeURIComponent(this.mailSubject || this.localization.mailSubject);\n const mailBody = encodeURIComponent(\n (this.mailBody || this.localization.mailBody)?.replace(/\\{shareUrl\\}/gi, this.url),\n );\n\n const title = encodeURIComponent(document.title);\n const twitterTitle = encodeURIComponent(abbreviateText(title, MAX_TWEET_LENGTH));\n const description = encodeURIComponent(getMeta(\"description\"));\n\n const serviceData = {\n mail: {\n popup: false,\n blank: false,\n url: `mailto:?subject=${mailSubject}&body=${mailBody}`,\n text: this.localization.shareMail,\n icon: \"mail\",\n },\n facebook: {\n popup: true,\n blank: true,\n url: `https://www.facebook.com/sharer/sharer.php?u=${shareUrl}`,\n text: this.localization.shareFacebook,\n icon: \"facebook\",\n },\n twitter: {\n popup: true,\n blank: true,\n url: `https://twitter.com/intent/tweet?text=${twitterTitle}&url=${shareUrl}`,\n text: this.localization.shareTwitter,\n icon: \"twitter\",\n },\n linkedin: {\n popup: true,\n blank: true,\n url: `https://www.linkedin.com/shareArticle?mini=true&summary=${description}&title=${title}&url=${shareUrl}`,\n text: this.localization.shareLinkedin,\n icon: \"linkedin\",\n },\n xing: {\n popup: true,\n blank: true,\n url: `https://www.xing.com/spi/shares/new?url=${shareUrl}`,\n text: this.localization.shareXing,\n icon: \"xing\",\n },\n };\n\n return (\n <Host>\n <div class={classes}>\n <ul class=\"stzh-share__list\">\n {this._services.map(service => (\n <li class=\"stzh-share__item\">\n <stzh-tooltip content={serviceData[service].text} size=\"small\">\n <stzh-button\n class={`stzh-share__button is-${service}`}\n size=\"small\"\n variant=\"tertiary\"\n iconOnly={true}\n href={serviceData[service].url}\n rel={serviceData[service].blank ? \"nofollow noopener noreferrer\" : \"nofollow\"}\n target={serviceData[service].blank ? \"_blank\" : \"_self\"}\n onClick={serviceData[service].popup ? e => this.openPopup(serviceData[service].url, e) : null}\n analyticsId={serviceData[service].text}\n icon={serviceData[service].icon}\n ></stzh-button>\n </stzh-tooltip>\n </li>\n ))}\n </ul>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-kwBmMJ76.js';
2
- import { d as defineCustomElement$1 } from './p-DSXTn_9y.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-Ct0XU0Xj.js';
2
+ import { d as defineCustomElement$1 } from './p-C5BMqKn_.js';
3
3
 
4
4
  // This file is autogenerated. It's used to publish ESM to npm.
5
5
  function _typeof(obj) {
@@ -2116,6 +2116,6 @@ function defineCustomElement() {
2116
2116
  }
2117
2117
 
2118
2118
  export { StzhVbzLinechip as S, defineCustomElement as d };
2119
- //# sourceMappingURL=p-DGA4Wbkr.js.map
2119
+ //# sourceMappingURL=p-DrN8vNr_.js.map
2120
2120
 
2121
- //# sourceMappingURL=p-DGA4Wbkr.js.map
2121
+ //# sourceMappingURL=p-DrN8vNr_.js.map