@oiz/stzh-components 2.11.1 → 2.12.0-beta1

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 (381) hide show
  1. package/dist/cjs/{app-globals-7697372c.js → app-globals-749422d7.js} +8 -4
  2. package/dist/cjs/app-globals-749422d7.js.map +1 -0
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-accordion.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-accordion.cjs.entry.js.map +1 -1
  7. package/dist/cjs/stzh-appointments.cjs.entry.js +7 -3
  8. package/dist/cjs/stzh-appointments.cjs.entry.js.map +1 -1
  9. package/dist/cjs/stzh-components.cjs.js +2 -2
  10. package/dist/cjs/stzh-container.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-container.cjs.entry.js.map +1 -1
  12. package/dist/cjs/stzh-datalist_2.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-datalist_2.cjs.entry.js.map +1 -1
  14. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +33 -14
  15. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  16. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-gallery.cjs.entry.js.map +1 -1
  18. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +2 -1
  19. package/dist/cjs/stzh-progressbar-item.cjs.entry.js.map +1 -1
  20. package/dist/cjs/stzh-progressbar.cjs.entry.js +14 -0
  21. package/dist/cjs/stzh-progressbar.cjs.entry.js.map +1 -1
  22. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-sticky.cjs.entry.js.map +1 -1
  24. package/dist/cjs/stzh-toastbar.cjs.entry.js +8 -1
  25. package/dist/cjs/stzh-toastbar.cjs.entry.js.map +1 -1
  26. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +7 -3
  27. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js.map +1 -1
  28. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +7 -3
  29. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js.map +1 -1
  30. package/dist/collection/assets/i18n/de.json +12 -0
  31. package/dist/collection/assets/i18n/en.json +12 -0
  32. package/dist/collection/components/stzh-accordion/stzh-accordion.css +3 -2
  33. package/dist/collection/components/stzh-appointments/stzh-appointments.js +9 -3
  34. package/dist/collection/components/stzh-appointments/stzh-appointments.js.map +1 -1
  35. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  36. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +1 -1
  37. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +1 -1
  38. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +1 -1
  39. package/dist/collection/components/stzh-container/stzh-container.css +8 -8
  40. package/dist/collection/components/stzh-datalist/stzh-datalist.css +1 -1
  41. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +1 -1
  42. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +62 -15
  43. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js.map +1 -1
  44. package/dist/collection/components/stzh-gallery/stzh-gallery.css +0 -4
  45. package/dist/collection/components/stzh-input/stzh-input.js +1 -1
  46. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  47. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +35 -0
  48. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js.map +1 -1
  49. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +3 -2
  50. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js.map +1 -1
  51. package/dist/collection/components/stzh-radio/stzh-radio.js +1 -1
  52. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +5 -3
  53. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js.map +1 -1
  54. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  55. package/dist/collection/components/stzh-sticky/stzh-sticky.css +4 -4
  56. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  57. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +8 -1
  58. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js.map +1 -1
  59. package/dist/collection/components/stzh-toggle/stzh-toggle.js +1 -1
  60. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +9 -3
  61. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js.map +1 -1
  62. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +9 -3
  63. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js.map +1 -1
  64. package/dist/collection/global/js/helpers/utils.js +6 -2
  65. package/dist/collection/index.js.map +1 -1
  66. package/dist/collection/utils/translation-utils.js.map +1 -1
  67. package/dist/components/index.js +7 -3
  68. package/dist/components/index.js.map +1 -1
  69. package/dist/components/index2.js.map +1 -1
  70. package/dist/components/stzh-accordion.js +1 -1
  71. package/dist/components/stzh-accordion.js.map +1 -1
  72. package/dist/components/stzh-appointments.js +8 -3
  73. package/dist/components/stzh-appointments.js.map +1 -1
  74. package/dist/components/stzh-container.js +1 -1
  75. package/dist/components/stzh-container.js.map +1 -1
  76. package/dist/components/stzh-datalist2.js +1 -1
  77. package/dist/components/stzh-datalist2.js.map +1 -1
  78. package/dist/components/stzh-datepicker2.js +38 -16
  79. package/dist/components/stzh-datepicker2.js.map +1 -1
  80. package/dist/components/stzh-gallery.js +1 -1
  81. package/dist/components/stzh-gallery.js.map +1 -1
  82. package/dist/components/stzh-progressbar-item2.js +2 -1
  83. package/dist/components/stzh-progressbar-item2.js.map +1 -1
  84. package/dist/components/stzh-progressbar.js +16 -1
  85. package/dist/components/stzh-progressbar.js.map +1 -1
  86. package/dist/components/stzh-radiogroup2.js +1 -1
  87. package/dist/components/stzh-sticky.js +1 -1
  88. package/dist/components/stzh-sticky.js.map +1 -1
  89. package/dist/components/stzh-toastbar.js +8 -1
  90. package/dist/components/stzh-toastbar.js.map +1 -1
  91. package/dist/components/stzh-vbz-majorticker.js +8 -3
  92. package/dist/components/stzh-vbz-majorticker.js.map +1 -1
  93. package/dist/components/stzh-vbz-ticker.js +8 -3
  94. package/dist/components/stzh-vbz-ticker.js.map +1 -1
  95. package/dist/esm/{app-globals-1a77c38b.js → app-globals-5f5be02f.js} +8 -4
  96. package/dist/esm/app-globals-5f5be02f.js.map +1 -0
  97. package/dist/esm/index.js.map +1 -1
  98. package/dist/esm/loader.js +2 -2
  99. package/dist/esm/stzh-accordion.entry.js +1 -1
  100. package/dist/esm/stzh-accordion.entry.js.map +1 -1
  101. package/dist/esm/stzh-appointments.entry.js +7 -3
  102. package/dist/esm/stzh-appointments.entry.js.map +1 -1
  103. package/dist/esm/stzh-components.js +2 -2
  104. package/dist/esm/stzh-container.entry.js +1 -1
  105. package/dist/esm/stzh-container.entry.js.map +1 -1
  106. package/dist/esm/stzh-datalist_2.entry.js +1 -1
  107. package/dist/esm/stzh-datalist_2.entry.js.map +1 -1
  108. package/dist/esm/stzh-datepicker_3.entry.js +34 -15
  109. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  110. package/dist/esm/stzh-gallery.entry.js +1 -1
  111. package/dist/esm/stzh-gallery.entry.js.map +1 -1
  112. package/dist/esm/stzh-progressbar-item.entry.js +2 -1
  113. package/dist/esm/stzh-progressbar-item.entry.js.map +1 -1
  114. package/dist/esm/stzh-progressbar.entry.js +14 -0
  115. package/dist/esm/stzh-progressbar.entry.js.map +1 -1
  116. package/dist/esm/stzh-sticky.entry.js +1 -1
  117. package/dist/esm/stzh-sticky.entry.js.map +1 -1
  118. package/dist/esm/stzh-toastbar.entry.js +8 -1
  119. package/dist/esm/stzh-toastbar.entry.js.map +1 -1
  120. package/dist/esm/stzh-vbz-majorticker.entry.js +7 -3
  121. package/dist/esm/stzh-vbz-majorticker.entry.js.map +1 -1
  122. package/dist/esm/stzh-vbz-ticker.entry.js +7 -3
  123. package/dist/esm/stzh-vbz-ticker.entry.js.map +1 -1
  124. package/dist/esm-es5/{app-globals-1a77c38b.js → app-globals-5f5be02f.js} +2 -2
  125. package/dist/esm-es5/app-globals-5f5be02f.js.map +1 -0
  126. package/dist/esm-es5/index.js.map +1 -1
  127. package/dist/esm-es5/loader.js +1 -1
  128. package/dist/esm-es5/loader.js.map +1 -1
  129. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  130. package/dist/esm-es5/stzh-accordion.entry.js.map +1 -1
  131. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  132. package/dist/esm-es5/stzh-appointments.entry.js.map +1 -1
  133. package/dist/esm-es5/stzh-components.js +1 -1
  134. package/dist/esm-es5/stzh-components.js.map +1 -1
  135. package/dist/esm-es5/stzh-container.entry.js +1 -1
  136. package/dist/esm-es5/stzh-container.entry.js.map +1 -1
  137. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
  138. package/dist/esm-es5/stzh-datalist_2.entry.js.map +1 -1
  139. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  140. package/dist/esm-es5/stzh-datepicker_3.entry.js.map +1 -1
  141. package/dist/esm-es5/stzh-gallery.entry.js +1 -1
  142. package/dist/esm-es5/stzh-gallery.entry.js.map +1 -1
  143. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  144. package/dist/esm-es5/stzh-progressbar-item.entry.js.map +1 -1
  145. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  146. package/dist/esm-es5/stzh-progressbar.entry.js.map +1 -1
  147. package/dist/esm-es5/stzh-sticky.entry.js +1 -1
  148. package/dist/esm-es5/stzh-sticky.entry.js.map +1 -1
  149. package/dist/esm-es5/stzh-toastbar.entry.js +1 -1
  150. package/dist/esm-es5/stzh-toastbar.entry.js.map +1 -1
  151. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  152. package/dist/esm-es5/stzh-vbz-majorticker.entry.js.map +1 -1
  153. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  154. package/dist/esm-es5/stzh-vbz-ticker.entry.js.map +1 -1
  155. package/dist/stzh-components/assets/i18n/de.json +12 -0
  156. package/dist/stzh-components/assets/i18n/en.json +12 -0
  157. package/dist/stzh-components/index.esm.js.map +1 -1
  158. package/dist/stzh-components/p-0b1b2aa6.system.entry.js +2 -0
  159. package/dist/stzh-components/p-0b1b2aa6.system.entry.js.map +1 -0
  160. package/dist/stzh-components/{p-11784b90.entry.js → p-0ba7ce34.entry.js} +2 -2
  161. package/dist/stzh-components/p-0ba7ce34.entry.js.map +1 -0
  162. package/dist/stzh-components/p-0bb08043.system.js.map +1 -1
  163. package/dist/stzh-components/p-222ba06a.entry.js +2 -0
  164. package/dist/stzh-components/p-222ba06a.entry.js.map +1 -0
  165. package/dist/stzh-components/{p-c658502d.system.entry.js → p-241997a2.system.entry.js} +2 -2
  166. package/dist/stzh-components/p-241997a2.system.entry.js.map +1 -0
  167. package/dist/stzh-components/p-2d88c544.system.entry.js +2 -0
  168. package/dist/stzh-components/p-2d88c544.system.entry.js.map +1 -0
  169. package/dist/stzh-components/p-361996d1.entry.js +2 -0
  170. package/dist/stzh-components/p-361996d1.entry.js.map +1 -0
  171. package/dist/stzh-components/{p-54dbcd0e.system.entry.js → p-383c2c21.system.entry.js} +2 -2
  172. package/dist/stzh-components/{p-54dbcd0e.system.entry.js.map → p-383c2c21.system.entry.js.map} +1 -1
  173. package/dist/stzh-components/{p-15980af0.entry.js → p-534dc28e.entry.js} +2 -2
  174. package/dist/stzh-components/{p-15980af0.entry.js.map → p-534dc28e.entry.js.map} +1 -1
  175. package/dist/stzh-components/{p-5fdf0a8e.entry.js → p-5486402c.entry.js} +2 -2
  176. package/dist/stzh-components/{p-5fdf0a8e.entry.js.map → p-5486402c.entry.js.map} +1 -1
  177. package/dist/stzh-components/p-55d76b46.system.entry.js +2 -0
  178. package/dist/stzh-components/p-55d76b46.system.entry.js.map +1 -0
  179. package/dist/stzh-components/{p-98b60fb7.js → p-5e014c0e.js} +2 -2
  180. package/dist/stzh-components/p-5e014c0e.js.map +1 -0
  181. package/dist/stzh-components/{p-e5c1f04c.system.entry.js → p-628b5b0d.system.entry.js} +2 -2
  182. package/dist/stzh-components/p-628b5b0d.system.entry.js.map +1 -0
  183. package/dist/stzh-components/p-66b0d1f3.entry.js +2 -0
  184. package/dist/stzh-components/p-66b0d1f3.entry.js.map +1 -0
  185. package/dist/stzh-components/{p-8b4cc10d.entry.js → p-761909d5.entry.js} +2 -2
  186. package/dist/stzh-components/p-761909d5.entry.js.map +1 -0
  187. package/dist/stzh-components/{p-50914ed3.system.entry.js → p-87a3758c.system.entry.js} +2 -2
  188. package/dist/stzh-components/p-87a3758c.system.entry.js.map +1 -0
  189. package/dist/stzh-components/p-a1e1261a.entry.js +2 -0
  190. package/dist/stzh-components/p-a1e1261a.entry.js.map +1 -0
  191. package/dist/stzh-components/p-aa9975e6.entry.js +2 -0
  192. package/dist/stzh-components/p-aa9975e6.entry.js.map +1 -0
  193. package/dist/stzh-components/{p-bb2fe16f.system.entry.js → p-b3d76f2a.system.entry.js} +2 -2
  194. package/dist/stzh-components/{p-bb2fe16f.system.entry.js.map → p-b3d76f2a.system.entry.js.map} +1 -1
  195. package/dist/stzh-components/p-bf7316ab.system.js +2 -0
  196. package/dist/stzh-components/{p-bde8bb45.system.js.map → p-bf7316ab.system.js.map} +1 -1
  197. package/dist/stzh-components/{p-aefc1441.entry.js → p-c57402af.entry.js} +2 -2
  198. package/dist/stzh-components/p-c57402af.entry.js.map +1 -0
  199. package/dist/stzh-components/{p-cbcb366a.system.entry.js → p-c60ccc16.system.entry.js} +2 -2
  200. package/dist/stzh-components/p-c60ccc16.system.entry.js.map +1 -0
  201. package/dist/stzh-components/{p-cc260e20.entry.js → p-d5ee8b1a.entry.js} +2 -2
  202. package/dist/stzh-components/{p-cc260e20.entry.js.map → p-d5ee8b1a.entry.js.map} +1 -1
  203. package/dist/stzh-components/{p-d9984b93.system.entry.js → p-dc30c467.system.entry.js} +2 -2
  204. package/dist/stzh-components/p-dc30c467.system.entry.js.map +1 -0
  205. package/dist/stzh-components/{p-9bfe7d0d.system.entry.js → p-e69312e4.system.entry.js} +2 -2
  206. package/dist/stzh-components/p-e69312e4.system.entry.js.map +1 -0
  207. package/dist/stzh-components/{p-84ae2651.system.js → p-ebb38041.system.js} +2 -2
  208. package/dist/stzh-components/p-ebb38041.system.js.map +1 -0
  209. package/dist/stzh-components/p-fa0e39e0.system.entry.js +2 -0
  210. package/dist/stzh-components/p-fa0e39e0.system.entry.js.map +1 -0
  211. package/dist/stzh-components/p-ffb4e717.entry.js +2 -0
  212. package/dist/stzh-components/p-ffb4e717.entry.js.map +1 -0
  213. package/dist/stzh-components/stzh-components.esm.js +1 -1
  214. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  215. package/dist/stzh-components/stzh-components.js +1 -1
  216. package/dist/types/components.d.ts +14 -2
  217. package/dist/types/utils/translation-utils.d.ts +2 -0
  218. package/dist/vscode-data.json +7523 -0
  219. package/package.json +1 -1
  220. package/dist/cjs/app-globals-7697372c.js.map +0 -1
  221. package/dist/esm/app-globals-1a77c38b.js.map +0 -1
  222. package/dist/esm-es5/app-globals-1a77c38b.js.map +0 -1
  223. package/dist/stzh-components/p-07819ba5.entry.js +0 -2
  224. package/dist/stzh-components/p-07819ba5.entry.js.map +0 -1
  225. package/dist/stzh-components/p-1095d872.system.entry.js +0 -2
  226. package/dist/stzh-components/p-1095d872.system.entry.js.map +0 -1
  227. package/dist/stzh-components/p-11784b90.entry.js.map +0 -1
  228. package/dist/stzh-components/p-446dcea5.entry.js +0 -2
  229. package/dist/stzh-components/p-446dcea5.entry.js.map +0 -1
  230. package/dist/stzh-components/p-50914ed3.system.entry.js.map +0 -1
  231. package/dist/stzh-components/p-7b0da017.entry.js +0 -2
  232. package/dist/stzh-components/p-7b0da017.entry.js.map +0 -1
  233. package/dist/stzh-components/p-7fdd98fe.entry.js +0 -2
  234. package/dist/stzh-components/p-7fdd98fe.entry.js.map +0 -1
  235. package/dist/stzh-components/p-84ae2651.system.js.map +0 -1
  236. package/dist/stzh-components/p-8b4cc10d.entry.js.map +0 -1
  237. package/dist/stzh-components/p-8f98fc45.system.entry.js +0 -2
  238. package/dist/stzh-components/p-8f98fc45.system.entry.js.map +0 -1
  239. package/dist/stzh-components/p-98b60fb7.js.map +0 -1
  240. package/dist/stzh-components/p-9bfe7d0d.system.entry.js.map +0 -1
  241. package/dist/stzh-components/p-aafc8687.entry.js +0 -2
  242. package/dist/stzh-components/p-aafc8687.entry.js.map +0 -1
  243. package/dist/stzh-components/p-aefc1441.entry.js.map +0 -1
  244. package/dist/stzh-components/p-afb2885a.entry.js +0 -2
  245. package/dist/stzh-components/p-afb2885a.entry.js.map +0 -1
  246. package/dist/stzh-components/p-bde8bb45.system.js +0 -2
  247. package/dist/stzh-components/p-c658502d.system.entry.js.map +0 -1
  248. package/dist/stzh-components/p-cbcb366a.system.entry.js.map +0 -1
  249. package/dist/stzh-components/p-d9984b93.system.entry.js.map +0 -1
  250. package/dist/stzh-components/p-e278cda2.system.entry.js +0 -2
  251. package/dist/stzh-components/p-e278cda2.system.entry.js.map +0 -1
  252. package/dist/stzh-components/p-e5c1f04c.system.entry.js.map +0 -1
  253. package/dist/stzh-components/p-ff356dc8.system.entry.js +0 -2
  254. package/dist/stzh-components/p-ff356dc8.system.entry.js.map +0 -1
  255. package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +0 -15
  256. package/dist/types/components/stzh-accordion-item/stzh-accordion-item.d.ts +0 -73
  257. package/dist/types/components/stzh-actions/stzh-actions.d.ts +0 -16
  258. package/dist/types/components/stzh-actionset/stzh-actionset.d.ts +0 -45
  259. package/dist/types/components/stzh-amount/stzh-amount.d.ts +0 -73
  260. package/dist/types/components/stzh-appnav/stzh-appnav.d.ts +0 -23
  261. package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +0 -73
  262. package/dist/types/components/stzh-audio/stzh-audio.d.ts +0 -58
  263. package/dist/types/components/stzh-button/stzh-button.d.ts +0 -105
  264. package/dist/types/components/stzh-buttongroup/stzh-buttongroup.d.ts +0 -7
  265. package/dist/types/components/stzh-calendar/stzh-calendar.d.ts +0 -88
  266. package/dist/types/components/stzh-card/stzh-card.d.ts +0 -127
  267. package/dist/types/components/stzh-card-list/stzh-card-list.d.ts +0 -31
  268. package/dist/types/components/stzh-carousel/stzh-carousel.d.ts +0 -175
  269. package/dist/types/components/stzh-chart/stzh-chart.d.ts +0 -15
  270. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +0 -57
  271. package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +0 -64
  272. package/dist/types/components/stzh-chip/stzh-chip.d.ts +0 -74
  273. package/dist/types/components/stzh-chip-select/stzh-chip-select.d.ts +0 -46
  274. package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +0 -49
  275. package/dist/types/components/stzh-contact/stzh-contact.d.ts +0 -54
  276. package/dist/types/components/stzh-datalist/stzh-datalist.d.ts +0 -51
  277. package/dist/types/components/stzh-datalist-item/stzh-datalist-item.d.ts +0 -62
  278. package/dist/types/components/stzh-datamessagelist/stzh-datamessagelist.d.ts +0 -6
  279. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.d.ts +0 -57
  280. package/dist/types/components/stzh-datatable/stzh-datatable.d.ts +0 -103
  281. package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +0 -91
  282. package/dist/types/components/stzh-details/stzh-details.d.ts +0 -35
  283. package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +0 -64
  284. package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +0 -173
  285. package/dist/types/components/stzh-figure/stzh-figure.d.ts +0 -21
  286. package/dist/types/components/stzh-flyingfocus/stzh-flyingfocus.d.ts +0 -35
  287. package/dist/types/components/stzh-footer/stzh-footer.d.ts +0 -27
  288. package/dist/types/components/stzh-gallery/stzh-gallery.d.ts +0 -54
  289. package/dist/types/components/stzh-ghettobox/stzh-ghettobox.d.ts +0 -50
  290. package/dist/types/components/stzh-header/stzh-header.d.ts +0 -68
  291. package/dist/types/components/stzh-hr/stzh-hr.d.ts +0 -7
  292. package/dist/types/components/stzh-iframe/stzh-iframe.d.ts +0 -60
  293. package/dist/types/components/stzh-imagecomparison/stzh-imagecomparison.d.ts +0 -29
  294. package/dist/types/components/stzh-input/stzh-input.d.ts +0 -104
  295. package/dist/types/components/stzh-invert/stzh-invert.d.ts +0 -7
  296. package/dist/types/components/stzh-langnav/stzh-langnav.d.ts +0 -19
  297. package/dist/types/components/stzh-link/stzh-link.d.ts +0 -88
  298. package/dist/types/components/stzh-list/stzh-list.d.ts +0 -9
  299. package/dist/types/components/stzh-list-item/stzh-list-item.d.ts +0 -7
  300. package/dist/types/components/stzh-loader/stzh-loader.d.ts +0 -13
  301. package/dist/types/components/stzh-loadingbar/stzh-loadingbar.d.ts +0 -12
  302. package/dist/types/components/stzh-logo/stzh-logo.d.ts +0 -9
  303. package/dist/types/components/stzh-menu-item/stzh-menu-item.d.ts +0 -50
  304. package/dist/types/components/stzh-message/stzh-message.d.ts +0 -37
  305. package/dist/types/components/stzh-metanav/stzh-metanav.d.ts +0 -11
  306. package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.d.ts +0 -33
  307. package/dist/types/components/stzh-monthyearpicker/stzh-monthyearpicker.d.ts +0 -98
  308. package/dist/types/components/stzh-olmap/stzh-olmap.d.ts +0 -124
  309. package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +0 -34
  310. package/dist/types/components/stzh-page-skiplinks/stzh-page-skiplinks.d.ts +0 -11
  311. package/dist/types/components/stzh-pagebottom/stzh-pagebottom.d.ts +0 -29
  312. package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +0 -15
  313. package/dist/types/components/stzh-pagetitle-hero/stzh-pagetitle-hero.d.ts +0 -25
  314. package/dist/types/components/stzh-pagination/stzh-pagination.d.ts +0 -52
  315. package/dist/types/components/stzh-panorama/stzh-panorama.d.ts +0 -74
  316. package/dist/types/components/stzh-popover/stzh-popover.d.ts +0 -73
  317. package/dist/types/components/stzh-print/stzh-print.d.ts +0 -12
  318. package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +0 -49
  319. package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +0 -34
  320. package/dist/types/components/stzh-radio/stzh-radio.d.ts +0 -57
  321. package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +0 -66
  322. package/dist/types/components/stzh-ratio/stzh-ratio.d.ts +0 -22
  323. package/dist/types/components/stzh-readspeaker/stzh-readspeaker.d.ts +0 -18
  324. package/dist/types/components/stzh-richtext/stzh-richtext.d.ts +0 -22
  325. package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +0 -28
  326. package/dist/types/components/stzh-scrollup/stzh-scrollup.d.ts +0 -12
  327. package/dist/types/components/stzh-share/stzh-share.d.ts +0 -21
  328. package/dist/types/components/stzh-show/stzh-show.d.ts +0 -22
  329. package/dist/types/components/stzh-sitemap/stzh-sitemap.d.ts +0 -14
  330. package/dist/types/components/stzh-skiplink/stzh-skiplink.d.ts +0 -38
  331. package/dist/types/components/stzh-sortable/stzh-sortable.d.ts +0 -59
  332. package/dist/types/components/stzh-status/stzh-status.d.ts +0 -14
  333. package/dist/types/components/stzh-sticky/stzh-sticky.d.ts +0 -58
  334. package/dist/types/components/stzh-table/stzh-table.d.ts +0 -43
  335. package/dist/types/components/stzh-textandimage/stzh-textandimage.d.ts +0 -14
  336. package/dist/types/components/stzh-timeline/stzh-timeline.d.ts +0 -23
  337. package/dist/types/components/stzh-timeline-item/stzh-timeline-item.d.ts +0 -78
  338. package/dist/types/components/stzh-timepicker/stzh-timepicker.d.ts +0 -62
  339. package/dist/types/components/stzh-toast/stzh-toast.d.ts +0 -39
  340. package/dist/types/components/stzh-toastbar/stzh-toastbar.d.ts +0 -41
  341. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +0 -59
  342. package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +0 -80
  343. package/dist/types/components/stzh-upload/stzh-upload.d.ts +0 -236
  344. package/dist/types/components/stzh-vbz-carousel/stzh-vbz-carousel.d.ts +0 -14
  345. package/dist/types/components/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +0 -37
  346. package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.d.ts +0 -41
  347. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +0 -34
  348. package/dist/types/components/stzh-youtube/stzh-youtube.d.ts +0 -30
  349. package/dist/types/index.d.ts +0 -899
  350. package/dist/types/libraries/tom-select/types/constants.d.ts +0 -12
  351. package/dist/types/libraries/tom-select/types/contrib/highlight.d.ts +0 -13
  352. package/dist/types/libraries/tom-select/types/contrib/microevent.d.ts +0 -20
  353. package/dist/types/libraries/tom-select/types/contrib/microplugin.d.ts +0 -71
  354. package/dist/types/libraries/tom-select/types/defaults.d.ts +0 -51
  355. package/dist/types/libraries/tom-select/types/getSettings.d.ts +0 -3
  356. package/dist/types/libraries/tom-select/types/plugins/caret_position/plugin.d.ts +0 -16
  357. package/dist/types/libraries/tom-select/types/plugins/change_listener/plugin.d.ts +0 -16
  358. package/dist/types/libraries/tom-select/types/plugins/checkbox_options/plugin.d.ts +0 -16
  359. package/dist/types/libraries/tom-select/types/plugins/clear_button/plugin.d.ts +0 -17
  360. package/dist/types/libraries/tom-select/types/plugins/clear_button/types.d.ts +0 -5
  361. package/dist/types/libraries/tom-select/types/plugins/drag_drop/plugin.d.ts +0 -16
  362. package/dist/types/libraries/tom-select/types/plugins/dropdown_header/plugin.d.ts +0 -17
  363. package/dist/types/libraries/tom-select/types/plugins/dropdown_header/types.d.ts +0 -8
  364. package/dist/types/libraries/tom-select/types/plugins/dropdown_input/plugin.d.ts +0 -16
  365. package/dist/types/libraries/tom-select/types/plugins/input_autogrow/plugin.d.ts +0 -15
  366. package/dist/types/libraries/tom-select/types/plugins/no_active_items/plugin.d.ts +0 -15
  367. package/dist/types/libraries/tom-select/types/plugins/no_backspace_delete/plugin.d.ts +0 -15
  368. package/dist/types/libraries/tom-select/types/plugins/optgroup_columns/plugin.d.ts +0 -16
  369. package/dist/types/libraries/tom-select/types/plugins/remove_button/plugin.d.ts +0 -17
  370. package/dist/types/libraries/tom-select/types/plugins/remove_button/types.d.ts +0 -6
  371. package/dist/types/libraries/tom-select/types/plugins/restore_on_backspace/plugin.d.ts +0 -21
  372. package/dist/types/libraries/tom-select/types/plugins/virtual_scroll/plugin.d.ts +0 -16
  373. package/dist/types/libraries/tom-select/types/tom-select.complete.d.ts +0 -2
  374. package/dist/types/libraries/tom-select/types/tom-select.d.ts +0 -596
  375. package/dist/types/libraries/tom-select/types/tom-select.popular.d.ts +0 -2
  376. package/dist/types/libraries/tom-select/types/types/core.d.ts +0 -48
  377. package/dist/types/libraries/tom-select/types/types/index.d.ts +0 -2
  378. package/dist/types/libraries/tom-select/types/types/settings.d.ts +0 -78
  379. package/dist/types/libraries/tom-select/types/utils.d.ts +0 -76
  380. package/dist/types/libraries/tom-select/types/vanilla.d.ts +0 -76
  381. package/dist/types/types/svg.d.ts +0 -4
@@ -1 +0,0 @@
1
- {"version":3,"names":["stzhDatepickerCss","StzhDatepicker","exports","this","onRootFocus","_this","input","setFocus","onInputChanged","parsedDate","dateAdapter","parse","value","isoDate","printISODate","calendar","valueWatcher","stzhChange","emit","component","valueAsDate","onCalendarChange","event","detail","format","popover","hide","class_1","prototype","createDateFormatters","localization","dateFormatLong","Intl","DateTimeFormat","$locale","day","month","year","newValue","date","parseISODate","updateButtonAccessibleLabel","setDate","getPopover","buttonLabel","concat","label","selectedDateMessage","err","connectedCallback","componentWillLoad","_a","window","stzhComponents","utils","fetchTranslations","element","_b","sent","createFormatParseAdapter","$formats","$globals","componentDidLoad","render","classes","inline","h","Host","tabindex","disabled","onFocus","class","type","name","Fragment","ref","el","isDateDisabled","calendarIsDateDisabled","min","calendarMin","max","calendarMax","onStzhChange","labelHidden","noAutocomplete","onStzhChanged","readonly","description","descriptionLong","error","invalid","required","showMarker","size","slot","placement","variant","icon","a11yLabel","stzhRadioCss","radioCounter","StzhRadio","focusedByInput","onInput","checked","originalEvent","focusEvent","FocusEvent","view","bubbles","cancelable","dispatchEvent","stzhFocus","onBlur","blurEvent","stzhBlur","class_2","focus","errorWatcher","_error","JSON","e","length","inputId","descriptionUsed","hasSlot","descriptionLongUsed","errorUsed","id","a11yDescribedby","requiredFieldMarker","optionalFieldMarker","requiredFieldText","optionalFieldText","StzhInputDescription","classPrefix","moreInfoButtonLabel","stzhRadiogroupCss","SELECTOR_RADIO","radiogroupCounter","StzhRadiogroup","_preventUpdateProperties","init","radios","Array","from","querySelectorAll","updateRadiosProperty","radiogroupId","watchValue","watchName","watchDisabled","watchInvalid","watchRequired","class_3","updateCheckedRadioByValue","preventUpdatePropertiesWatcher","onChange","prop","forEach","radio","indexOf","camelCase","checkedRadio","find","uncheckRadios","preventUpdateProperties","componentShouldUpdate","_newValue","_oldValue","componentDidRender","observer","MutationObserver","observe","childList","subtree","disconnectedCallback","disconnect","hideLegend","direction","legend"],"sources":["src/components/stzh-datepicker/stzh-datepicker.scss?tag=stzh-datepicker&encapsulation=scoped","src/components/stzh-datepicker/stzh-datepicker.tsx","src/components/stzh-radio/stzh-radio.scss?tag=stzh-radio&encapsulation=scoped","src/components/stzh-radio/stzh-radio.tsx","src/components/stzh-radiogroup/stzh-radiogroup.scss?tag=stzh-radiogroup&encapsulation=scoped","src/components/stzh-radiogroup/stzh-radiogroup.tsx"],"sourcesContent":[":host {\n width: 100%;\n}\n\n.stzh-datepicker {\n &__popover {\n --padding: #{space('medium')};\n --width: auto;\n }\n\n &__actions {\n display: flex;\n justify-content: flex-end;\n\n &:not(:empty) {\n margin-top: space('xsmall');\n }\n }\n}\n","import {\n Component,\n Prop,\n Host,\n Element,\n h,\n Event,\n EventEmitter,\n Method,\n Watch,\n Fragment,\n State\n} from \"@stencil/core\";\n\nimport {\n StzhCalendarChangeEvent,\n StzhDatepickerChangeEvent\n} from \"../../index\";\n\nimport { StzhCalendarDateDisabledPredicate } from \"../../index\";\n\nimport { printISODate, parseISODate } from \"../../utils/date-utils\"\nimport { StzhLocaleAdapter } from \"../../utils/date-adapter\"\n\nimport { StzhDatepickerLocalizedText } from \"./stzh-datepicker.localization\";\n\n/**\n * @slot action - Slot for action below calendar (stzh-link element)\n */\n@Component({\n tag: \"stzh-datepicker\",\n styleUrl: \"stzh-datepicker.scss\",\n scoped: true\n})\nexport class StzhDatepicker {\n /**\n * Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the max property.\n */\n @Prop() calendarMin: string = \"\"\n\n /**\n * Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the min property.\n */\n @Prop() calendarMax: string = \"\"\n\n /**\n * Controls which days are disabled and therefore disallowed.\n * For example, this can be used to disallow selection of weekends.\n */\n @Prop() calendarIsDateDisabled: StzhCalendarDateDisabledPredicate = () => false\n\n /** Name of the hidden date picker input. */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of hidden date picker input (current selected date in ISO format). */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Label for input field and popover */\n @Prop() label: string = \"\";\n\n /** Whether label is visually hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\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 /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Append text to label depending if field is optional/required. true -> show \"(optional)\", false -> show nothing */\n @Prop({ reflect: true }) showMarker: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Show calendar inline */\n @Prop() inline: boolean = false;\n\n /**\n * Date adapter, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n /** Translation strings. */\n @Prop() localization: StzhDatepickerLocalizedText;\n\n @State() buttonLabel: string;\n\n @Watch(\"localization\")\n createDateFormatters() {\n if (this.localization) {\n this.dateFormatLong = new Intl.DateTimeFormat(this.localization.$locale, {\n day: \"numeric\",\n month: \"long\",\n year: \"numeric\",\n })\n }\n }\n\n /** Update calendar and input when value prop has changed */\n @Watch(\"value\")\n valueWatcher(newValue: string) {\n const date = parseISODate(newValue);\n\n if (this.calendar) {\n this.calendar.value = newValue;\n }\n\n if (this.input) {\n this.input.value = this.dateAdapter.format(date, \"dateInput\");\n }\n\n this.updateButtonAccessibleLabel();\n }\n\n /** Set value by a JS Date object */\n @Method()\n async setDate(date: Date) {\n this.value = printISODate(date);\n }\n\n /** Return internal popover element */\n @Method()\n async getPopover(): Promise<HTMLStzhPopoverElement> {\n return this.popover;\n }\n\n /** Datepicker change event */\n @Event() stzhChange: EventEmitter<StzhDatepickerChangeEvent>;\n\n @Element() element: HTMLStzhDatepickerElement;\n\n /**\n * To format dates exclusively for the benefit of screen readers.\n *\n * We prefer DateTimeFormat over date.toLocaleDateString, as the former has\n * better performance when formatting large number of dates. See:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#Performance\n */\n private dateFormatLong: Intl.DateTimeFormat\n\n private input: HTMLStzhInputElement;\n private popover: HTMLStzhPopoverElement;\n private calendar: HTMLStzhCalendarElement;\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.setFocus();\n }\n }\n\n private onInputChanged = () => {\n const parsedDate = this.dateAdapter.parse(this.input.value, \"dateInput\");\n\n if (this.input.value === \"\" || parsedDate) {\n const isoDate = printISODate(parsedDate);\n\n if (this.value !== isoDate) {\n if (this.calendar) {\n this.calendar.value = isoDate;\n }\n\n this.value = isoDate;\n } else {\n this.valueWatcher(isoDate);\n }\n\n this.stzhChange.emit({\n component: \"stzh-datepicker\",\n value: this.value,\n valueAsDate: parsedDate,\n })\n }\n }\n\n private onCalendarChange = (event: CustomEvent<StzhCalendarChangeEvent>) => {\n this.value = event.detail.value;\n this.stzhChange.emit({\n component: \"stzh-datepicker\",\n value: this.value,\n valueAsDate: event.detail.valueAsDate,\n });\n\n if (this.input) {\n this.input.value = event.detail.valueAsDate\n && this.dateAdapter.format(event.detail.valueAsDate, \"dateInput\");\n }\n\n if (this.popover) {\n this.popover.hide();\n }\n }\n\n private updateButtonAccessibleLabel() {\n if (!this.localization) {\n return;\n }\n\n try {\n const valueAsDate = parseISODate(this.value);\n this.buttonLabel = `${this.label}, ${this.localization.buttonLabel}, ${this.localization.selectedDateMessage} ${this.dateFormatLong.format(valueAsDate)}`;\n } catch (err) {\n this.buttonLabel = `${this.label}, ${this.localization.buttonLabel}`;\n }\n }\n\n connectedCallback() {\n this.createDateFormatters();\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"datepicker\");\n }\n\n if (!this.dateAdapter) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals\n );\n }\n }\n\n componentDidLoad() {\n this.valueWatcher(this.value);\n }\n\n render() {\n const classes = {\n \"stzh-datepicker\": true,\n \"stzh-datepicker--inline\": this.inline\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <input\n type=\"hidden\"\n name={this.name}\n value={this.value}\n />\n\n {this.inline &&\n <Fragment>\n <stzh-calendar\n ref={(el) => (this.calendar = el as HTMLStzhCalendarElement)}\n isDateDisabled={this.calendarIsDateDisabled}\n min={this.calendarMin}\n max={this.calendarMax}\n onStzhChange={this.onCalendarChange}\n ></stzh-calendar>\n <div class=\"stzh-datepicker__actions\">\n <slot name=\"action\"></slot>\n </div>\n </Fragment>\n }\n\n {!this.inline &&\n <stzh-input\n label={this.label}\n labelHidden={this.labelHidden}\n ref={(el) => (this.input = el as HTMLStzhInputElement)}\n noAutocomplete\n onStzhChanged={this.onInputChanged}\n readonly={this.readonly}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n invalid={this.invalid}\n required={this.required}\n showMarker={this.showMarker}\n size={this.size}\n >\n <stzh-popover\n ref={(el) => (this.popover = el as HTMLStzhPopoverElement)}\n class=\"stzh-datepicker__popover\"\n slot=\"button-right\"\n placement=\"bottom-end\"\n label={this.label}\n >\n <stzh-button\n variant=\"input\"\n icon-only\n icon=\"calendar\"\n disabled={this.disabled}\n a11yLabel={this.buttonLabel}\n >\n </stzh-button>\n <div slot=\"content\">\n <stzh-calendar\n ref={(el) => (this.calendar = el as HTMLStzhCalendarElement)}\n isDateDisabled={this.calendarIsDateDisabled}\n min={this.calendarMin}\n max={this.calendarMax}\n onStzhChange={this.onCalendarChange}\n >\n </stzh-calendar>\n <div class=\"stzh-datepicker__actions\">\n <slot name=\"action\"></slot>\n </div>\n </div>\n </stzh-popover>\n </stzh-input>\n }\n </div>\n </Host>\n );\n }\n}\n",":host {\n display: inline-block;\n\n ::slotted(stzh-text) {\n --color: inherit;\n }\n}\n\n.stzh-radio {\n\t@include input-description;\n\n &__field-wrapper {\n @include fontSize('milli');\n position: relative;\n display: flex;\n user-select: none;\n cursor: pointer;\n }\n\n &__input {\n @include visuallyhiddenInput;\n border-radius: $formInputBorderRadius;\n }\n\n &__mark {\n @include radio__mark();\n }\n\n &__check {\n @include radio__check();\n }\n\n &__label {\n display: inline-block;\n color: $baseColor;\n transition: color $baseTransitionAnimationSpeed;\n margin-left: space('small');\n line-height: 24px;\n\n &:empty {\n display: none;\n }\n }\n\n &__marker-symbol {\n @include fontSize('micro');\n }\n\n /* Hover / Focus / Checked */\n\n &:hover &__label,\n &__input:checked:hover ~ &__label,\n &__input:checked:hover ~ &__mark &__check,\n &__input:checked:focus ~ &__mark &__check {\n color: $colorPrimaryHover;\n }\n\n &__input:checked ~ &__label {\n color: $colorPrimary;\n }\n\n &:hover &__mark,\n &__input:focus:hover ~ &__mark,\n &__input:checked:hover ~ &__mark,\n &__input:checked:focus ~ &__mark {\n border-color: $colorPrimaryHover;\n }\n\n &__input:focus ~ &__mark,\n &__input:checked ~ &__mark {\n border-color: $colorPrimary;\n }\n\n &__input:checked ~ &__mark &__check {\n opacity: 1;\n }\n\n /* Invalid */\n\n &--is-invalid &__input ~ &__label,\n &--is-invalid &__input ~ &__mark &__check {\n color: $colorError;\n }\n\n &--is-invalid &__input ~ &__mark {\n border-color: $colorError;\n }\n\n /* Disabled */\n\n\t&--is-disabled &__field-wrapper {\n cursor: not-allowed;\n }\n\n &--is-disabled &__input ~ &__label,\n &--is-disabled &__input ~ &__mark &__check {\n color: $formDisabledColor;\n }\n\n &--is-disabled &__input ~ &__mark {\n border-color: $formDisabledBorderColor;\n }\n\n &--is-disabled &__mark {\n background-color: $formDisabledBackgroundColor;\n }\n}\n","import {\n Host,\n Component,\n Prop,\n Event,\n Element,\n EventEmitter,\n Method,\n h,\n Watch\n} from \"@stencil/core\";\n\nimport {\n StzhRadioChangeEvent,\n StzhRadioFocusEvent,\n StzhRadioBlurEvent\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../utils/translation-utils\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nlet radioCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-radio\",\n styleUrl: \"stzh-radio.scss\",\n scoped: true\n})\nexport class StzhRadio {\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 element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** The value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Append text to label depending if field is optional/required. true -> show \"(optional)\", false -> show nothing */\n @Prop({ reflect: true }) showMarker: boolean = false;\n\n /** Checked status */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\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 /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Id for element which describes the radio button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Focus input field */\n @Method()\n async setFocus() {\n this.input.focus();\n }\n\n /** Input change event */\n @Event() stzhChange: EventEmitter<StzhRadioChangeEvent>;\n\n /** Input focus event */\n @Event() stzhFocus: EventEmitter<StzhRadioFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhRadioBlurEvent>;\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 this.invalid = this._error.length > 0;\n }\n\n @Element() element: HTMLStzhRadioElement;\n\n private input: HTMLInputElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n this.stzhChange.emit({\n component: \"stzh-radio\",\n originalEvent: event,\n value: this.value,\n checked: this.checked\n });\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.setFocus();\n }\n\n this.focusedByInput = false;\n }\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent('focus', {\n view: window,\n bubbles: false,\n cancelable: false\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-radio\",\n originalEvent: event\n });\n }\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent('blur', {\n view: window,\n bubbles: false,\n cancelable: false\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-radio\",\n originalEvent: event\n });\n }\n\n async componentWillLoad() {\n this.inputId = `stzh-radio-${radioCounter++}`;\n this.errorWatcher(this.error);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, 'radio');\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 const errorUsed = hasSlot(this.element, 'error') || !!this.error;\n\n const classes = {\n \"stzh-radio\": true,\n \"stzh-radio--has-description\": descriptionUsed,\n \"stzh-radio--has-description-long\": descriptionLongUsed,\n \"stzh-radio--has-error\": errorUsed,\n \"stzh-radio--is-required\": this.required,\n \"stzh-radio--is-invalid\": this.invalid,\n \"stzh-radio--is-disabled\": this.disabled\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <label class=\"stzh-radio__field-wrapper\">\n <input\n class=\"stzh-radio__input\"\n ref={(el) => (this.input = el as HTMLInputElement)}\n type=\"radio\"\n id={this.inputId}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n checked={this.checked}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <div class=\"stzh-radio__mark\">\n <div class=\"stzh-radio__check\"></div>\n </div>\n <div class=\"stzh-radio__label\">\n {this.label ? this.label : <slot></slot>}\n {this.showMarker &&\n <span class=\"stzh-radio__marker\">\n <span class=\"stzh-radio__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker\n }\n </span>\n <span class=\"stzh-radio__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText\n }\n </span>\n </span>\n }\n </div>\n </label>\n <StzhInputDescription\n classPrefix=\"stzh-radio\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n </div>\n </Host>\n );\n }\n}\n",":host([direction=\"vertical\"]) {\n ::slotted(stzh-radio:not(:last-child)) {\n margin-bottom: space('medium');\n }\n}\n\n:host([direction=\"horizontal\"]) {\n ::slotted(stzh-radio:not(:last-child)) {\n margin-right: space('large');\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 }\n\n &__legend {\n @include font('heavy');\n @include fontSize('nano');\n padding: 0;\n margin-bottom: space('xsmall');\n }\n\n &--hide-legend &__legend {\n @include visuallyhidden;\n }\n\n &--direction-horizontal &__fields {\n flex-direction: row;\n }\n}\n","import {\n Component,\n Prop,\n Element,\n Watch,\n h,\n Listen\n} from \"@stencil/core\";\n\nimport { StzhRadioChangeEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { camelCase } from \"../../utils/string-utils\";\nimport { StzhLocaleComponent } from \"../../utils/translation-utils\";\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 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 /** Append text to label depending if field is optional/required. true -> show \"(optional)\", false -> show nothing */\n @Prop({ reflect: true }) showMarker: boolean = false;\n\n /** Select a radio by value */\n @Prop({ mutable: true }) value: string = \"\";\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 /** 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(\"invalid\")\n watchInvalid(newValue: boolean) {\n this.updateRadiosProperty(\"invalid\", newValue);\n }\n\n @Watch(\"required\")\n watchRequired(newValue: boolean) {\n this.updateRadiosProperty(\"required\", newValue);\n }\n\n @Watch(\"value\")\n watchValue(newValue: string) {\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 this.invalid = this._error.length > 0;\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(\"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 === \"name\" || (this._preventUpdateProperties.indexOf(prop) === -1)) {\n radio[camelCase(prop)] = value;\n }\n });\n }\n\n private updateCheckedRadioByValue(value: string) {\n this.checkedRadio = this.radios.find(radio => radio.value === value);\n\n if (this.checkedRadio) {\n this.checkedRadio.checked = true;\n }\n\n this.uncheckRadios();\n }\n\n private uncheckRadios() {\n // make sure that no other radios are checked than the current one or no one\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (!this.checkedRadio || radio !== this.checkedRadio) {\n radio.checked = false;\n }\n });\n }\n\n private init = () => {\n // update radios\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n this.updateRadiosProperty(\"show-marker\", false);\n this.updateRadiosProperty(\"a11y-describedby\", `${this.radiogroupId}-description`);\n\n this.watchValue(this.value);\n this.watchName(this.name);\n this.watchDisabled(this.disabled);\n this.watchInvalid(this.invalid);\n this.watchRequired(this.required);\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 const errorUsed = hasSlot(this.element, 'error') || !!this.error;\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\": errorUsed,\n \"stzh-radiogroup--is-required\": this.required,\n \"stzh-radiogroup--is-disabled\": this.disabled,\n \"stzh-radiogroup--is-invalid\": this.invalid,\n \"stzh-radiogroup--hide-legend\": this.hideLegend,\n [`stzh-radiogroup--direction-${this.direction}`]: !!this.direction\n };\n\n return (\n <fieldset class={classes}>\n {this.legend &&\n <legend class=\"stzh-radiogroup__legend\">\n {this.legend}\n {this.showMarker &&\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 }\n </span>\n <span class=\"stzh-radiogroup__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText\n }\n </span>\n </span>\n }\n </legend>\n }\n <div class=\"stzh-radiogroup__fields\">\n <slot></slot>\n </div>\n <StzhInputDescription\n classPrefix=\"stzh-radiogroup\"\n id={`${this.radiogroupId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n </fieldset>\n );\n }\n}\n"],"mappings":"wzDAAA,IAAMA,EAAoB,2wC,ICkCbC,EAAcC,EAAA,6B,0EAkIjBC,KAAAC,YAAc,WACpB,GAAIC,EAAKC,MAAO,CACdD,EAAKC,MAAMC,U,GAIPJ,KAAAK,eAAiB,WACvB,IAAMC,EAAaJ,EAAKK,YAAYC,MAAMN,EAAKC,MAAMM,MAAO,aAE5D,GAAIP,EAAKC,MAAMM,QAAU,IAAMH,EAAY,CACzC,IAAMI,EAAUC,EAAaL,GAE7B,GAAIJ,EAAKO,QAAUC,EAAS,CAC1B,GAAIR,EAAKU,SAAU,CACjBV,EAAKU,SAASH,MAAQC,C,CAGxBR,EAAKO,MAAQC,C,KACR,CACLR,EAAKW,aAAaH,E,CAGpBR,EAAKY,WAAWC,KAAK,CACnBC,UAAW,kBACXP,MAAOP,EAAKO,MACZQ,YAAaX,G,GAKXN,KAAAkB,iBAAmB,SAACC,GAC1BjB,EAAKO,MAAQU,EAAMC,OAAOX,MAC1BP,EAAKY,WAAWC,KAAK,CACnBC,UAAW,kBACXP,MAAOP,EAAKO,MACZQ,YAAaE,EAAMC,OAAOH,cAG5B,G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E,KAAKyF,SACFzF,KAAK2B,aAAa+B,SAASsE,oBAC3BhI,KAAK2B,aAAa+B,SAASuE,qBAGjClE,EAAA,QAAMK,MAAM,gCACTpE,KAAKyF,SACFzF,KAAK2B,aAAa+B,SAASwE,kBAC3BlI,KAAK2B,aAAa+B,SAASyE,qBAOzCpE,EAAA,OAAKK,MAAM,2BACTL,EAAA,cAEFA,EAACqE,EAAoB,CACnBC,YAAY,kBACZP,GAAI,GAAApF,OAAG1C,KAAKkJ,aAAY,gBACxB3D,MAAOvF,KAAKqH,OACZhC,YAAarF,KAAKqF,YAClBC,gBAAiBtF,KAAKsF,gBACtBsC,oBAAqBA,EACrBU,oBAAqBtI,KAAK2B,aAAa+B,SAAS4E,sB,saA1P/B,I"}
@@ -1,15 +0,0 @@
1
- import { StzhAccordionItemOpenEvent } from "../../index";
2
- /**
3
- * @slot - Slot for `stzh-accordion-item` elements
4
- */
5
- export declare class StzhAccordion {
6
- /** Whether folds are collapsible */
7
- collapsible: boolean;
8
- /** Whether multiple folds can be opened at once */
9
- multiselectable: boolean;
10
- element: HTMLStzhAccordionElement;
11
- openListener(event: CustomEvent<StzhAccordionItemOpenEvent>): void;
12
- /** Set focus to accordion item */
13
- setItemFocus(accordionItem: HTMLStzhAccordionItemElement, action: string): Promise<void>;
14
- render(): any;
15
- }
@@ -1,73 +0,0 @@
1
- import { EventEmitter } from "../../stencil-public-runtime";
2
- import { StzhAccordionItemOpenEvent, StzhAccordionItemOpenedEvent, StzhAccordionItemCloseEvent, StzhAccordionItemClosedEvent, StzhAccordionItemFocusEvent, StzhAccordionItemBlurEvent } from "../../index";
3
- /**
4
- * @slot - Slot for any content
5
- * @slot icon - Slot for icon element
6
- */
7
- export declare class StzhAccordionItem {
8
- /** Whether fold is collapsible (overwrites collapsible from timeline parent) */
9
- collapsible: boolean;
10
- /** Whether fold is open */
11
- open: boolean;
12
- /** Whether fold disabled */
13
- disabled: boolean;
14
- /** Heading title */
15
- heading: string;
16
- /** Subtitle */
17
- subtitle: string;
18
- /** Description */
19
- description: string;
20
- /** Icon (use instead of icon slot) */
21
- icon: string;
22
- /** Badge */
23
- badge: string;
24
- /** Whether badge should be displayed empty */
25
- badgeEmpty: boolean;
26
- /** Badge type */
27
- badgeType: "default" | "success" | "warning" | "error" | "info";
28
- /** Heading level */
29
- headingLevel: "1" | "2" | "3" | "4";
30
- /**
31
- * For Adobe Analytics.
32
- * Will be rendered as value of `s-object-id` attribute to the button element.
33
- * Default value will be taken from `heading` prop.
34
- */
35
- analyticsId: string;
36
- element: HTMLStzhAccordionItemElement;
37
- /** Open event */
38
- stzhOpen: EventEmitter<StzhAccordionItemOpenEvent>;
39
- /** Opened event (after animation) */
40
- stzhOpened: EventEmitter<StzhAccordionItemOpenedEvent>;
41
- /** Close event */
42
- stzhClose: EventEmitter<StzhAccordionItemCloseEvent>;
43
- /** Closed event (after animation) */
44
- stzhClosed: EventEmitter<StzhAccordionItemClosedEvent>;
45
- openWatcher(newValue: boolean): Promise<void>;
46
- /** Show accordion item content */
47
- show(): Promise<void>;
48
- /** Hide accordion item content */
49
- hide(): Promise<void>;
50
- /** Toggle accordion item content */
51
- toggle(): Promise<void>;
52
- /** Set focus to button */
53
- setFocus(): Promise<void>;
54
- /** Focus event */
55
- stzhFocus: EventEmitter<StzhAccordionItemFocusEvent>;
56
- /** Input blur event */
57
- stzhBlur: EventEmitter<StzhAccordionItemBlurEvent>;
58
- private toggledByMethod;
59
- private bodyElement;
60
- private buttonElement;
61
- private accordionItemId;
62
- private accordion;
63
- private handleHeaderClick;
64
- private onFocus;
65
- private onBlur;
66
- private onButtonKeydown;
67
- private onContentKeydown;
68
- componentWillLoad(): void;
69
- componentDidLoad(): void;
70
- connectedCallback(): Promise<void>;
71
- disconnectedCallback(): void;
72
- render(): any;
73
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * @slot primary - Slot for primary button
3
- * @slot secondary - Slot for secondary button
4
- */
5
- export declare class StzhActions {
6
- /** Variant determining what position the action buttons are */
7
- variant: "form" | "dialog" | "process" | "cta";
8
- /** With border separator */
9
- withBorder: boolean;
10
- element: HTMLStzhActionsElement;
11
- private observer;
12
- private init;
13
- connectedCallback(): void;
14
- disconnectedCallback(): void;
15
- render(): any;
16
- }
@@ -1,45 +0,0 @@
1
- import { EventEmitter } from "../../stencil-public-runtime";
2
- import { StzhActionsetItem, StzhActionsetItemClickEvent } from "../../index";
3
- import { StzhActionsetLocalizedText } from './stzh-actionset.localization';
4
- import { Placement } from "@floating-ui/dom";
5
- /**
6
- */
7
- export declare class StzhActionset {
8
- /** Translation strings */
9
- localization: StzhActionsetLocalizedText;
10
- /** Variant determining what position the action buttons are */
11
- variant: "stack" | "overflow";
12
- /** Button variant of popover button (button thats holds collapsed actions) */
13
- popoverButtonVariant: "" | "default" | "secondary" | "input" | "tertiary";
14
- /** Button size of popover button (button that holds collapsed actions) */
15
- popoverButtonSize: "" | "default" | "small" | "tiny";
16
- /** Popover placement of button that holds collapsed actions */
17
- popoverPlacement: Placement;
18
- /**
19
- * Card header actions.
20
- * Array of objects that can include the button attributes `id`, `variant`, `icon`, `size`, `iconPosition`, `iconOnly`, `label` or `badge`:
21
- * `[{"id":"action-1", "icon": "alarm-bell", "label": "Lorem"}, {"id":"action-2", "icon": "mail", "label": "Lorem"}]`
22
- */
23
- actions: StzhActionsetItem[] | string;
24
- private _actions;
25
- /** Header action click event */
26
- stzhActionClick: EventEmitter<StzhActionsetItemClickEvent>;
27
- element: HTMLStzhActionsetElement;
28
- actionsWatcher(newValue: StzhActionsetItem[] | string): void;
29
- actionsCollapsed: StzhActionsetItem[];
30
- dynamicActions: boolean;
31
- isSmall: boolean;
32
- isMedium: boolean;
33
- private actionsElement;
34
- private debounceResize;
35
- private resizeObserver;
36
- private actionClick;
37
- private update;
38
- private handleResize;
39
- private mediaChangeHandler;
40
- componentWillLoad(): Promise<void>;
41
- connectedCallback(): void;
42
- disconnectedCallback(): void;
43
- componentDidLoad(): void;
44
- render(): any;
45
- }
@@ -1,73 +0,0 @@
1
- import { EventEmitter } from "../../stencil-public-runtime";
2
- import { StzhAmountChangeEvent } from "../../index";
3
- import { StzhAmountLocalizedText } from './stzh-amount.localization';
4
- export declare class StzhAmount {
5
- /** The lowest allowed amount (can be negative). */
6
- minValue: number;
7
- /** The highest allowed amount. */
8
- maxValue: number;
9
- /** The lowest amount as option in the dropdown. Needs to be set to initially display a dropdown. */
10
- minValueDropdown: number | null;
11
- /** The highest amount as option in the dropdown. Needs to be set to initially display a dropdown. */
12
- maxValueDropdown: number | null;
13
- private _showDropdown;
14
- private _dropdownOptions;
15
- /** The initial value of the amount element */
16
- value: string;
17
- /** The step the amount can be increased or decreased */
18
- step: number;
19
- /** Name of the element (hidden select element in case of dropdown) */
20
- name: string;
21
- /** Size variant */
22
- size: "default" | "small";
23
- /** Whether the amount component is disabled */
24
- disabled: boolean;
25
- /** Popover placement for the dropdown (if applicable) */
26
- popoverPlacement: "bottom" | "bottom-end" | "bottom-center" | "top" | "top-end" | "top-center";
27
- /** Label */
28
- label: string;
29
- /** Whether label is hidden. */
30
- labelHidden: boolean;
31
- /** Invalid status */
32
- invalid: boolean;
33
- /** Required status */
34
- required: boolean;
35
- /** Whether clearable button is showing for the input field (does not apply to dropdown) */
36
- clearable: boolean;
37
- /** Show text in label depending on whether field is optional/required */
38
- showMarker: boolean;
39
- /** Description placed below the amount */
40
- description: string;
41
- /** Long description message appearing in a popover */
42
- descriptionLong: string;
43
- /** One or multiple error message(s) */
44
- error: string | string[];
45
- /** Id of the element which describes the input */
46
- a11yDescribedby: string;
47
- /** Translation strings. */
48
- localization: StzhAmountLocalizedText;
49
- minMaxValueDropdownWatcher(): void;
50
- /** Amount change event */
51
- stzhChange: EventEmitter<StzhAmountChangeEvent>;
52
- element: HTMLStzhAmountElement;
53
- private amountId;
54
- private stepperInputId;
55
- private input;
56
- private onRootFocus;
57
- /** Fill the dropdown with options according to maxValueDropdown & minValueDropdown. */
58
- private setDropdownOptions;
59
- /** Handling dropdown changes (switch to input stepper if the plus option is selected in the dropdown). */
60
- private onDropdownChange;
61
- /** Handling the minus button. */
62
- private onInputMinusStepClick;
63
- /** Handling the plus button. */
64
- private onInputPlusStepClick;
65
- /** Handling manual value change of the stepper input. */
66
- private onStepperInputChange;
67
- /** Making sure, that the value is rounded correctly according to the step */
68
- private roundToStep;
69
- componentWillLoad(): Promise<void>;
70
- private renderDropdown;
71
- private renderInputStepper;
72
- render(): any;
73
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * @slot - Slot for `stzh-link` elements
3
- */
4
- export declare class StzhAppnav {
5
- /** App title shown on tablet/desktop */
6
- appTitle: string;
7
- /** Status displayed next to app title (only displayed if `app-title` is defined) */
8
- appStatus: string;
9
- /** Link of app title (only used if `app-title` is defined) */
10
- appHref: string;
11
- /**
12
- * For Adobe Analytics.
13
- * Will be rendered as value of `s-object-id` attribute to the app title link element.
14
- * Default value will be taken from `appTitle` prop or default slot.
15
- */
16
- appAnalyticsId: string;
17
- element: HTMLStzhAppnavElement;
18
- private observer;
19
- private init;
20
- connectedCallback(): void;
21
- disconnectedCallback(): void;
22
- render(): any;
23
- }
@@ -1,73 +0,0 @@
1
- import { EventEmitter } from "../../stencil-public-runtime";
2
- import { StzhAppointmentsChangeEvent } from "../../index";
3
- import { StzhLocaleAdapter } from "../../utils/date-adapter";
4
- import { StzhAppointmentsLocalizedText } from "./stzh-appointments.localization";
5
- /**
6
- * @slot - Slot for any content
7
- */
8
- export declare class StzhAppointments {
9
- /** Translation strings */
10
- localization: StzhAppointmentsLocalizedText;
11
- /** Sort by */
12
- sortBy: "start" | "place";
13
- private _sortBy;
14
- /** Initial selected values */
15
- appointments: any[] | string;
16
- private _appointments;
17
- private appointmentsShown;
18
- /** Current selected date (if undefined, earliest appointment date in list is taken or current selected one by value) */
19
- currentDate: Date | string;
20
- private _currentDate;
21
- value: string;
22
- name: string;
23
- /** Nr of items shown */
24
- showItems: number;
25
- /** Nr of items shown when more link is clicked */
26
- stepItems: number;
27
- /** Overwrite default calendar title */
28
- calendarTitle: string;
29
- /** Overwrite default appointments title */
30
- appointmentsTitle: string;
31
- /**
32
- * Date adapter, for custom parsing/formatting.
33
- * Must be object with a `parse` function which accepts a `string` and returns a `Date`,
34
- * and a `format` function which accepts a `Date` and returns a `string`.
35
- */
36
- dateAdapter: StzhLocaleAdapter;
37
- element: HTMLStzhAppointmentsElement;
38
- /** Appointments change event */
39
- stzhChange: EventEmitter<StzhAppointmentsChangeEvent>;
40
- currentDateWatcher(newValue: Date | string): void;
41
- sortByWatcher(): void;
42
- valueWatcher(): void;
43
- appointmentsWatcher(newValue: any[] | string): void;
44
- private dateByValue;
45
- private earliestDate;
46
- private latestDate;
47
- private nextDate;
48
- private showMoreLink;
49
- private moreItemsLeft;
50
- private showCalendar;
51
- private showSort;
52
- private showSortStart;
53
- private showSortPlace;
54
- private showAppointmentsTitle;
55
- private allAppointsmentOnSameDay;
56
- private sortOptions;
57
- private inputElement;
58
- private datepickerElement;
59
- private datepickerElementMedium;
60
- private updateDateByValue;
61
- private getCurrentDateAppointments;
62
- private setValueToFirstAppointmentOfCurrentDate;
63
- private isDateDisabled;
64
- private onNextActiveDateClick;
65
- private onMoreClick;
66
- private onDropdownChange;
67
- private onDatepickerChange;
68
- private onRadioChange;
69
- componentWillLoad(): Promise<void>;
70
- componentWillRender(): void;
71
- componentDidRender(): void;
72
- render(): any;
73
- }
@@ -1,58 +0,0 @@
1
- import { EventEmitter } from "../../stencil-public-runtime";
2
- import { StzhAudioPlayEvent, StzhAudioPlayingEvent, StzhAudioPauseEvent, StzhAudioReplayEvent, StzhAudioEndEvent, StzhAudioEndedEvent, StzhAudioErrorEvent } from "../../index";
3
- import "@vidstack/player/dist/prod/define/vds-media.js";
4
- import "@vidstack/player/dist/prod/define/vds-audio.js";
5
- import "@vidstack/player/dist/prod/define/vds-play-button.js";
6
- import "@vidstack/player/dist/prod/define/vds-mute-button.js";
7
- import "@vidstack/player/dist/prod/define/vds-time-slider.js";
8
- import "@vidstack/player/dist/prod/define/vds-volume-slider.js";
9
- import "@vidstack/player/dist/prod/define/vds-slider-value-text.js";
10
- import "@vidstack/player/dist/prod/define/vds-time.js";
11
- import { StzhAudioLocalizedText } from './stzh-audio.localization';
12
- /**
13
- * @slot transcript - Slot for transcript text
14
- */
15
- export declare class StzhAudio {
16
- /** Translation strings */
17
- localization: StzhAudioLocalizedText;
18
- /** Path to audio file */
19
- src: string;
20
- /** Preload strategy */
21
- preload: "none" | "metadata" | "auto";
22
- /** Transcript text (alternative for slot) */
23
- transcript: string;
24
- /** Whether transcript should be shown */
25
- transcriptShown: boolean;
26
- /**
27
- * For Adobe Analytics.
28
- * Will be rendered as value of `s-object-id` attribute to the download link element.
29
- * Default value will be taken from translations.
30
- */
31
- downloadAnalyticsId: string;
32
- /**
33
- * For Adobe Analytics.
34
- * Will be rendered as value of `s-object-id` attribute to the transcript button element.
35
- * Default value will be taken from translations.
36
- */
37
- transcriptAnalyticsId: string;
38
- /** Fired when the paused property is changed from true to false, as a result of the play() method, or the autoplay attribute. */
39
- stzhPlay: EventEmitter<StzhAudioPlayEvent>;
40
- /** Fired when playback is ready to start after having been paused or delayed due to lack of data. */
41
- stzhPlaying: EventEmitter<StzhAudioPlayingEvent>;
42
- /** Fired when a request to pause an activity is handled and the activity has entered its paused state, most commonly after the media has been paused through a call to the pause() method. */
43
- stzhPause: EventEmitter<StzhAudioPauseEvent>;
44
- /** Fired when media playback starts again after being in an ended state. This is fired when the loop property is true and media loops, whereas the vds-play event is not. */
45
- stzhReplay: EventEmitter<StzhAudioReplayEvent>;
46
- /** Fired each time media playback has reached the end. This is fired even if the loop property is true, which is generally when you'd reach for this event over the MediaEndedEvent if you want to be notified of media looping. */
47
- stzhEnd: EventEmitter<StzhAudioEndEvent>;
48
- /** Fired when playback or streaming has stopped because the end of the media was reached or because no further data is available. This is not fired if playback will start from the beginning again due to the loop property being true (see MediaReplayEvent and MediaEndEvent). */
49
- stzhEnded: EventEmitter<StzhAudioEndedEvent>;
50
- /** Fired when media loading or playback has encountered any issues (for example, a network connectivity problem). The event detail contains a potential message containing more information about the error (empty string if nothing available), and a code that identifies the general type of error that occurred. */
51
- stzhError: EventEmitter<StzhAudioErrorEvent>;
52
- element: HTMLStzhAudioElement;
53
- play(): Promise<void>;
54
- pause(): Promise<void>;
55
- private vsdAudioElement;
56
- componentWillLoad(): Promise<void>;
57
- render(): any;
58
- }
@@ -1,105 +0,0 @@
1
- import { EventEmitter } from "../../stencil-public-runtime";
2
- import { StzhButtonFocusEvent, StzhButtonBlurEvent, StzhButtonChangeEvent } from "../../index";
3
- import { StzhLocaleComponent } from "../../utils/translation-utils";
4
- /**
5
- * @slot - Slot for label/text content
6
- * @slot icon - Slot for icon element
7
- */
8
- export declare class StzhButton {
9
- /** Translation strings */
10
- localization: StzhLocaleComponent;
11
- /** Display a badge aligned to button or icons */
12
- badge: string;
13
- /** Badge type */
14
- badgeType: "default" | "success" | "warning" | "error" | "info";
15
- /** Badge position */
16
- badgePosition: "icon" | "button";
17
- /** Whether badge should be displayed empty */
18
- badgeEmpty: boolean;
19
- /** Whether the button is full width */
20
- fullwidth: boolean;
21
- /** Whether the button is rounded */
22
- rounded: boolean;
23
- /** Whether the button is floating */
24
- floating: boolean;
25
- /** Size variant */
26
- size: "default" | "small" | "tiny";
27
- /** Text alignment */
28
- textAlign: "left" | "center" | "right" | "space-between" | "default";
29
- /** Variant style */
30
- variant: "default" | "secondary" | "input" | "tertiary";
31
- /** Icon (use instead of icon slot) */
32
- icon: string;
33
- /** Icon Position */
34
- iconPosition: "left" | "right";
35
- /** Checked status (if type is radio) */
36
- checked: boolean;
37
- /** The name of the input element (if type is button or radio) */
38
- name: string;
39
- /** The value of the input element (if type is button or radio) */
40
- value: string;
41
- /** `href` if the button should be used as link */
42
- href: string;
43
- /** Rel (if href is used) */
44
- rel: string;
45
- /** Target if the button is used as link (if `href` used) */
46
- target: string;
47
- /** Download attribute of link (if `href` used) */
48
- download: string;
49
- /** Type of the button */
50
- type: "button" | "submit" | "reset" | "radio";
51
- /** Whether the button is disabled */
52
- disabled: boolean;
53
- /** Whether the button is active */
54
- active: boolean;
55
- /** Label */
56
- label: string;
57
- /** Effect/Animation used */
58
- effect: "default" | "cta";
59
- /** Whether only an icon is used inside the button */
60
- iconOnly: boolean;
61
- /** Access key of link (usually a number e.g. 1) */
62
- linkAccesskey: string;
63
- /** Accessible label for screen readers to replace visible text */
64
- a11yLabel: string;
65
- /** Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */
66
- a11yDescribedby: string;
67
- /** Aria expanded of link/button */
68
- a11yExpanded: boolean;
69
- /** Aria disabled of link/button */
70
- a11yDisabled: boolean;
71
- /** Aria controls of link/button */
72
- a11yControls: string;
73
- /** Tabindex of link/button */
74
- a11yTabindex: string;
75
- /**
76
- * For Adobe Analytics.
77
- * Will be rendered as value of `s-object-id` attribute to the link/button element.
78
- * Default value will be taken from `label` prop or default slot.
79
- */
80
- analyticsId: string;
81
- element: HTMLStzhButtonElement;
82
- /** Focus button */
83
- setFocus(): Promise<void>;
84
- /** Input focus event */
85
- stzhFocus: EventEmitter<StzhButtonFocusEvent>;
86
- /** Input blur event */
87
- stzhBlur: EventEmitter<StzhButtonBlurEvent>;
88
- /** Change event (only called if type is radio) */
89
- stzhChange: EventEmitter<StzhButtonChangeEvent>;
90
- private button;
91
- private input;
92
- private text;
93
- private focusedByInput;
94
- private onInput;
95
- private onRootFocus;
96
- private onFocus;
97
- private onBlur;
98
- private onClick;
99
- private renderIcon;
100
- private renderContent;
101
- private renderInner;
102
- componentWillLoad(): Promise<void>;
103
- componentDidRender(): void;
104
- render(): any;
105
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * @slot - Slot for buttons
3
- */
4
- export declare class StzhButtongroup {
5
- element: HTMLStzhButtongroupElement;
6
- render(): any;
7
- }