@oiz/stzh-components 2.6.0 → 2.7.0-alpha

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 (170) hide show
  1. package/dist/cjs/{app-globals-4dcdf160.js → app-globals-5dfa53d1.js} +2 -2
  2. package/dist/cjs/{app-globals-4dcdf160.js.map → app-globals-5dfa53d1.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-amount.cjs.entry.js +30 -79
  6. package/dist/cjs/stzh-amount.cjs.entry.js.map +1 -1
  7. package/dist/cjs/stzh-components.cjs.js +2 -2
  8. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  9. package/dist/cjs/stzh-dropdown.cjs.entry.js +60 -25
  10. package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
  11. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +191 -0
  12. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js.map +1 -0
  13. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
  15. package/dist/cjs/stzh-timepicker.cjs.entry.js +82 -0
  16. package/dist/cjs/stzh-timepicker.cjs.entry.js.map +1 -0
  17. package/dist/cjs/translation-utils-73073e44.js.map +1 -1
  18. package/dist/collection/assets/i18n/de.json +10 -7
  19. package/dist/collection/assets/i18n/en.json +8 -5
  20. package/dist/collection/collection-manifest.json +2 -0
  21. package/dist/collection/components/stzh-amount/stzh-amount.js +32 -85
  22. package/dist/collection/components/stzh-amount/stzh-amount.js.map +1 -1
  23. package/dist/collection/components/stzh-amount/stzh-amount.localization.js.map +1 -1
  24. package/dist/collection/components/stzh-amount/stzh-amount.stories.js +1 -1
  25. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +1 -1
  26. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js.map +1 -1
  27. package/dist/collection/components/stzh-datepicker/stzh-datepicker.stories.js +3 -0
  28. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +32 -20
  29. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +40 -9
  30. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  31. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.css +123 -0
  32. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +724 -0
  33. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js.map +1 -0
  34. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.localization.js +2 -0
  35. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.localization.js.map +1 -0
  36. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.stories.js +61 -0
  37. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +1 -1
  38. package/dist/collection/components/stzh-timepicker/stzh-timepicker.css +109 -0
  39. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +438 -0
  40. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js.map +1 -0
  41. package/dist/collection/components/stzh-timepicker/stzh-timepicker.localization.js +2 -0
  42. package/dist/collection/components/stzh-timepicker/stzh-timepicker.localization.js.map +1 -0
  43. package/dist/collection/components/stzh-timepicker/stzh-timepicker.stories.js +45 -0
  44. package/dist/collection/index.js.map +1 -1
  45. package/dist/collection/libraries/tom-select/cjs/tom-select.complete.js +47 -18
  46. package/dist/collection/libraries/tom-select/cjs/tom-select.js +47 -18
  47. package/dist/collection/libraries/tom-select/cjs/tom-select.popular.js +47 -18
  48. package/dist/collection/libraries/tom-select/esm/tom-select.complete.js +47 -18
  49. package/dist/collection/libraries/tom-select/esm/tom-select.js +47 -18
  50. package/dist/collection/libraries/tom-select/esm/tom-select.popular.js +47 -18
  51. package/dist/collection/libraries/tom-select/js/tom-select.base.js +47 -18
  52. package/dist/collection/libraries/tom-select/js/tom-select.base.min.js +16 -17
  53. package/dist/collection/libraries/tom-select/js/tom-select.complete.js +47 -18
  54. package/dist/collection/libraries/tom-select/js/tom-select.complete.min.js +12 -13
  55. package/dist/collection/libraries/tom-select/js/tom-select.popular.js +47 -18
  56. package/dist/collection/libraries/tom-select/js/tom-select.popular.min.js +21 -22
  57. package/dist/collection/utils/translation-utils.js.map +1 -1
  58. package/dist/components/index.js +1 -1
  59. package/dist/components/index2.js.map +1 -1
  60. package/dist/components/stzh-amount.js +40 -83
  61. package/dist/components/stzh-amount.js.map +1 -1
  62. package/dist/components/stzh-buttongroup.js +1 -31
  63. package/dist/components/stzh-buttongroup.js.map +1 -1
  64. package/dist/components/stzh-buttongroup2.js +35 -0
  65. package/dist/components/stzh-buttongroup2.js.map +1 -0
  66. package/dist/components/stzh-datepicker2.js.map +1 -1
  67. package/dist/components/stzh-dropdown2.js +61 -25
  68. package/dist/components/stzh-dropdown2.js.map +1 -1
  69. package/dist/components/stzh-monthyearpicker.d.ts +11 -0
  70. package/dist/components/stzh-monthyearpicker.js +251 -0
  71. package/dist/components/stzh-monthyearpicker.js.map +1 -0
  72. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  73. package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
  74. package/dist/components/stzh-timepicker.d.ts +11 -0
  75. package/dist/components/stzh-timepicker.js +132 -0
  76. package/dist/components/stzh-timepicker.js.map +1 -0
  77. package/dist/components/translation-utils.js.map +1 -1
  78. package/dist/esm/{app-globals-91875913.js → app-globals-862dc6d0.js} +2 -2
  79. package/dist/esm/{app-globals-91875913.js.map → app-globals-862dc6d0.js.map} +1 -1
  80. package/dist/esm/index.js.map +1 -1
  81. package/dist/esm/loader.js +2 -2
  82. package/dist/esm/stzh-amount.entry.js +30 -79
  83. package/dist/esm/stzh-amount.entry.js.map +1 -1
  84. package/dist/esm/stzh-components.js +2 -2
  85. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  86. package/dist/esm/stzh-dropdown.entry.js +60 -25
  87. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  88. package/dist/esm/stzh-monthyearpicker.entry.js +187 -0
  89. package/dist/esm/stzh-monthyearpicker.entry.js.map +1 -0
  90. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  91. package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  92. package/dist/esm/stzh-timepicker.entry.js +78 -0
  93. package/dist/esm/stzh-timepicker.entry.js.map +1 -0
  94. package/dist/esm/translation-utils-2623783f.js.map +1 -1
  95. package/dist/esm-es5/{app-globals-91875913.js → app-globals-862dc6d0.js} +2 -2
  96. package/dist/esm-es5/{app-globals-91875913.js.map → app-globals-862dc6d0.js.map} +1 -1
  97. package/dist/esm-es5/index.js.map +1 -1
  98. package/dist/esm-es5/loader.js +1 -1
  99. package/dist/esm-es5/loader.js.map +1 -1
  100. package/dist/esm-es5/stzh-amount.entry.js +1 -1
  101. package/dist/esm-es5/stzh-amount.entry.js.map +1 -1
  102. package/dist/esm-es5/stzh-components.js +1 -1
  103. package/dist/esm-es5/stzh-components.js.map +1 -1
  104. package/dist/esm-es5/stzh-datepicker_3.entry.js.map +1 -1
  105. package/dist/esm-es5/stzh-dropdown.entry.js +2 -2
  106. package/dist/esm-es5/stzh-dropdown.entry.js.map +1 -1
  107. package/dist/esm-es5/stzh-monthyearpicker.entry.js +2 -0
  108. package/dist/esm-es5/stzh-monthyearpicker.entry.js.map +1 -0
  109. package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js +1 -1
  110. package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  111. package/dist/esm-es5/stzh-timepicker.entry.js +2 -0
  112. package/dist/esm-es5/stzh-timepicker.entry.js.map +1 -0
  113. package/dist/esm-es5/translation-utils-2623783f.js.map +1 -1
  114. package/dist/stzh-components/assets/i18n/de.json +10 -7
  115. package/dist/stzh-components/assets/i18n/en.json +8 -5
  116. package/dist/stzh-components/index.esm.js.map +1 -1
  117. package/dist/stzh-components/p-14e782cb.entry.js +2 -0
  118. package/dist/stzh-components/{p-85504842.entry.js.map → p-14e782cb.entry.js.map} +1 -1
  119. package/dist/stzh-components/p-1678e09c.system.js +2 -0
  120. package/dist/stzh-components/{p-3e10addb.system.js.map → p-1678e09c.system.js.map} +1 -1
  121. package/dist/stzh-components/p-25a09313.js.map +1 -1
  122. package/dist/stzh-components/{p-61b66e55.system.js → p-3b4833a0.system.js} +2 -2
  123. package/dist/stzh-components/{p-61b66e55.system.js.map → p-3b4833a0.system.js.map} +1 -1
  124. package/dist/stzh-components/p-51f1714c.system.entry.js +2 -0
  125. package/dist/stzh-components/p-51f1714c.system.entry.js.map +1 -0
  126. package/dist/stzh-components/p-5aa96b49.system.entry.js +2 -0
  127. package/dist/stzh-components/p-5aa96b49.system.entry.js.map +1 -0
  128. package/dist/stzh-components/p-82e886d4.entry.js.map +1 -1
  129. package/dist/stzh-components/p-9f31cf7d.entry.js +2 -0
  130. package/dist/stzh-components/p-9f31cf7d.entry.js.map +1 -0
  131. package/dist/stzh-components/p-9fe69be8.system.entry.js +2 -0
  132. package/dist/stzh-components/{p-479a02fb.system.entry.js.map → p-9fe69be8.system.entry.js.map} +1 -1
  133. package/dist/stzh-components/p-a408bfba.system.js.map +1 -1
  134. package/dist/stzh-components/p-ad33db31.entry.js +2 -0
  135. package/dist/stzh-components/p-ad33db31.entry.js.map +1 -0
  136. package/dist/stzh-components/p-b5cda655.entry.js +2 -0
  137. package/dist/stzh-components/p-b5cda655.entry.js.map +1 -0
  138. package/dist/stzh-components/{p-362af013.js → p-bc82ed48.js} +2 -2
  139. package/dist/stzh-components/{p-362af013.js.map → p-bc82ed48.js.map} +1 -1
  140. package/dist/stzh-components/p-c0f971f2.entry.js +9 -0
  141. package/dist/stzh-components/p-c0f971f2.entry.js.map +1 -0
  142. package/dist/stzh-components/p-c901fe72.system.entry.js +9 -0
  143. package/dist/stzh-components/p-c901fe72.system.entry.js.map +1 -0
  144. package/dist/stzh-components/p-e8545386.system.entry.js +2 -0
  145. package/dist/stzh-components/p-e8545386.system.entry.js.map +1 -0
  146. package/dist/stzh-components/p-eaa65f52.system.js.map +1 -1
  147. package/dist/stzh-components/p-f2d74491.system.entry.js.map +1 -1
  148. package/dist/stzh-components/stzh-components.css +1 -1
  149. package/dist/stzh-components/stzh-components.esm.js +1 -1
  150. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  151. package/dist/stzh-components/stzh-components.js +1 -1
  152. package/dist/types/components/stzh-amount/stzh-amount.localization.d.ts +0 -2
  153. package/dist/types/components/stzh-monthyearpicker/stzh-monthyearpicker.localization.d.ts +5 -0
  154. package/dist/types/components/stzh-timepicker/stzh-timepicker.localization.d.ts +2 -0
  155. package/dist/types/components.d.ts +428 -6
  156. package/dist/types/index.d.ts +14 -0
  157. package/dist/types/utils/translation-utils.d.ts +1 -0
  158. package/dist/vscode-data.json +263 -1
  159. package/package.json +1 -1
  160. package/dist/stzh-components/p-1cc48f98.entry.js +0 -9
  161. package/dist/stzh-components/p-1cc48f98.entry.js.map +0 -1
  162. package/dist/stzh-components/p-3e10addb.system.js +0 -2
  163. package/dist/stzh-components/p-479a02fb.system.entry.js +0 -2
  164. package/dist/stzh-components/p-67b11b03.system.entry.js +0 -2
  165. package/dist/stzh-components/p-67b11b03.system.entry.js.map +0 -1
  166. package/dist/stzh-components/p-6bb83b30.system.entry.js +0 -9
  167. package/dist/stzh-components/p-6bb83b30.system.entry.js.map +0 -1
  168. package/dist/stzh-components/p-85504842.entry.js +0 -2
  169. package/dist/stzh-components/p-c94f7331.entry.js +0 -2
  170. package/dist/stzh-components/p-c94f7331.entry.js.map +0 -1
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-bf651831.js');
6
- const appGlobals = require('./app-globals-4dcdf160.js');
6
+ const appGlobals = require('./app-globals-5dfa53d1.js');
7
7
 
8
8
  /*
9
9
  Stencil Client Patch Esm v3.3.0 | MIT Licensed | https://stenciljs.com
@@ -16,7 +16,7 @@ const defineCustomElements = (win, options) => {
16
16
  if (typeof window === 'undefined') return Promise.resolve();
17
17
  return patchEsm().then(() => {
18
18
  appGlobals.globalScripts();
19
- return index.bootstrapLazy(JSON.parse("[[\"stzh-microsite-teaserlist.cjs\",[[2,\"stzh-microsite-teaserlist\",{\"localization\":[16],\"api\":[1],\"tags\":[1],\"stepItems\":[2,\"step-items\"],\"showItems\":[32],\"activeFilter\":[32]}]]],[\"stzh-appointments.cjs\",[[2,\"stzh-appointments\",{\"localization\":[16],\"sortBy\":[1025,\"sort-by\"],\"appointments\":[1],\"currentDate\":[1025,\"current-date\"],\"value\":[1025],\"name\":[513],\"showItems\":[1026,\"show-items\"],\"stepItems\":[2,\"step-items\"],\"calendarTitle\":[1,\"calendar-title\"],\"appointmentsTitle\":[1,\"appointments-title\"],\"dateAdapter\":[16]}]]],[\"stzh-datamessagelist-item.cjs\",[[2,\"stzh-datamessagelist-item\",{\"localization\":[16],\"heading\":[1],\"unread\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"description\":[1],\"icon\":[1],\"loadingStatus\":[1,\"loading-status\"],\"meta\":[1],\"actions\":[1],\"tags\":[1],\"analyticsId\":[1,\"analytics-id\"],\"external\":[32]}]]],[\"stzh-contact.cjs\",[[6,\"stzh-contact\",{\"type\":[1],\"heading\":[1],\"mainHeading\":[1,\"main-heading\"],\"name\":[1],\"street\":[1],\"streetInfo\":[1,\"street-info\"],\"postalCode\":[1,\"postal-code\"],\"location\":[1],\"numbers\":[1],\"poBoxHeading\":[1,\"po-box-heading\"],\"poboxTitle\":[1,\"pobox-title\"],\"poboxPostalCode\":[1,\"pobox-postal-code\"],\"poboxLocation\":[1,\"pobox-location\"],\"availabilityTitle\":[1,\"availability-title\"],\"availability\":[1],\"withBorder\":[4,\"with-border\"]}]]],[\"stzh-sitemap.cjs\",[[0,\"stzh-sitemap\",{\"items\":[1]}]]],[\"stzh-amount.cjs\",[[0,\"stzh-amount\",{\"minValue\":[2,\"min-value\"],\"maxValue\":[2,\"max-value\"],\"minValueDropdown\":[2,\"min-value-dropdown\"],\"maxValueDropdown\":[2,\"max-value-dropdown\"],\"value\":[1025],\"step\":[2],\"name\":[513],\"size\":[513],\"disabled\":[516],\"popoverPlacement\":[513,\"popover-placement\"],\"label\":[1],\"invalid\":[516],\"required\":[516],\"clearable\":[516],\"showMarker\":[516,\"show-marker\"],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1025],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"localization\":[16]}]]],[\"stzh-datatable.cjs\",[[4,\"stzh-datatable\",{\"localization\":[16],\"label\":[1],\"sortBy\":[1025,\"sort-by\"],\"sortDirection\":[1025,\"sort-direction\"],\"tokenize\":[1],\"idField\":[1,\"id-field\"],\"disableMinWidth\":[516,\"disable-min-width\"],\"rows\":[1],\"columns\":[1],\"query\":[32],\"hasScrollLeft\":[32],\"hasScrollRight\":[32],\"isScrollable\":[32],\"cellsStickyLeft\":[32],\"cellsStickyRight\":[32],\"toggleSort\":[64]}]]],[\"stzh-saptcha.cjs\",[[2,\"stzh-saptcha\",{\"localization\":[16],\"numbers\":[1],\"value\":[1],\"name\":[513],\"error\":[1],\"invalid\":[516],\"disabled\":[516]}]]],[\"stzh-vbz-majorticker.cjs\",[[2,\"stzh-vbz-majorticker\",{\"api\":[1],\"data\":[8],\"moreInfoLink\":[1,\"more-info-link\"],\"dateAdapter\":[16],\"localization\":[16],\"ghettoboxCloseTimeKey\":[1,\"ghettobox-close-time-key\"],\"ghettoboxShown\":[32],\"getGhettoboxShown\":[64],\"getDisturbance\":[64]}]]],[\"stzh-vbz-ticker.cjs\",[[6,\"stzh-vbz-ticker\",{\"api\":[1],\"data\":[8],\"moreInfoLink\":[1,\"more-info-link\"],\"dateAdapter\":[16],\"localization\":[16]}]]],[\"stzh-anchornav.cjs\",[[2,\"stzh-anchornav\",{\"columns\":[514],\"columnsSmall\":[514,\"columns-small\"],\"columnsMedium\":[514,\"columns-medium\"],\"columnsLarge\":[514,\"columns-large\"],\"columnsUltra\":[514,\"columns-ultra\"],\"items\":[1],\"withBorder\":[516,\"with-border\"]}]]],[\"stzh-audio.cjs\",[[6,\"stzh-audio\",{\"localization\":[16],\"src\":[1],\"preload\":[1],\"transcript\":[1],\"transcriptShown\":[1028,\"transcript-shown\"],\"downloadAnalyticsId\":[1,\"download-analytics-id\"],\"transcriptAnalyticsId\":[1,\"transcript-analytics-id\"],\"play\":[64],\"pause\":[64]}]]],[\"stzh-upload.cjs\",[[4,\"stzh-upload\",{\"existingFiles\":[1,\"existing-files\"],\"label\":[1],\"description\":[1],\"button\":[1],\"url\":[1],\"method\":[1],\"withCredentials\":[4,\"with-credentials\"],\"disabled\":[516],\"invalid\":[516],\"downloadDisabled\":[4,\"download-disabled\"],\"error\":[1],\"acceptedFiles\":[1,\"accepted-files\"],\"autoProcessQueue\":[4,\"auto-process-queue\"],\"maxFiles\":[2,\"max-files\"],\"maxFilesize\":[2,\"max-filesize\"],\"parallelUploads\":[2,\"parallel-uploads\"],\"uploadMultiple\":[4,\"upload-multiple\"],\"chunking\":[4],\"forceChunking\":[4,\"force-chunking\"],\"chunkSize\":[2,\"chunk-size\"],\"parallelChunkUploads\":[4,\"parallel-chunk-uploads\"],\"retryChunks\":[4,\"retry-chunks\"],\"retryChunksLimit\":[2,\"retry-chunks-limit\"],\"filesizeBase\":[2,\"filesize-base\"],\"headers\":[16],\"defaultHeaders\":[4,\"default-headers\"],\"accept\":[16],\"chunksUploaded\":[16],\"hiddenInputContainer\":[1,\"hidden-input-container\"],\"localization\":[16],\"processQueue\":[64],\"removeFile\":[64],\"removeAllFiles\":[64]}]]],[\"stzh-footer.cjs\",[[4,\"stzh-footer\",{\"localization\":[16],\"copyright\":[1],\"variant\":[1],\"mainUrl\":[1,\"main-url\"],\"withBorder\":[4,\"with-border\"]}]]],[\"stzh-langnav.cjs\",[[2,\"stzh-langnav\",{\"languageActive\":[1,\"language-active\"],\"languages\":[1],\"popoverPlacement\":[513,\"popover-placement\"],\"preventUrlchange\":[4,\"prevent-urlchange\"]}]]],[\"stzh-message.cjs\",[[6,\"stzh-message\",{\"label\":[1],\"description\":[1],\"closeKey\":[1,\"close-key\"],\"type\":[513],\"hideClose\":[4,\"hide-close\"],\"localization\":[16],\"open\":[32],\"show\":[64],\"hide\":[64]}]]],[\"stzh-pagebottom.cjs\",[[6,\"stzh-pagebottom\",{\"shareTitle\":[1,\"share-title\"],\"shareUrl\":[1,\"share-url\"],\"shareServices\":[1,\"share-services\"],\"shareDisabled\":[4,\"share-disabled\"],\"logoHref\":[1,\"logo-href\"],\"logoAnalyticsId\":[1,\"logo-analytics-id\"],\"withBorder\":[4,\"with-border\"]}]]],[\"stzh-accordion-item.cjs\",[[6,\"stzh-accordion-item\",{\"open\":[1540],\"disabled\":[516],\"heading\":[1],\"subtitle\":[1],\"description\":[1],\"icon\":[1],\"badge\":[1],\"badgeEmpty\":[516,\"badge-empty\"],\"badgeType\":[513,\"badge-type\"],\"headingLevel\":[513,\"heading-level\"],\"analyticsId\":[1,\"analytics-id\"],\"show\":[64],\"hide\":[64],\"toggle\":[64],\"setFocus\":[64]}]]],[\"stzh-checkbox.cjs\",[[6,\"stzh-checkbox\",{\"localization\":[16],\"disabled\":[516],\"name\":[513],\"value\":[1025],\"invalid\":[516],\"required\":[516],\"checked\":[1540],\"label\":[1],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"showMarker\":[516,\"show-marker\"],\"error\":[1],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"setFocus\":[64]}]]],[\"stzh-checkboxgroup.cjs\",[[6,\"stzh-checkboxgroup\",{\"localization\":[16],\"disabled\":[516],\"name\":[513],\"legend\":[1],\"hideLegend\":[516,\"hide-legend\"],\"invalid\":[516],\"showMarker\":[516,\"show-marker\"],\"value\":[1025],\"direction\":[513],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"checkedCheckbox\":[16],\"preventUpdateProperties\":[1,\"prevent-update-properties\"]},[[0,\"stzhChange\",\"onChange\"]]]]],[\"stzh-dialog.cjs\",[[6,\"stzh-dialog\",{\"localization\":[16],\"closeOnEscapeKey\":[4,\"close-on-escape-key\"],\"closeOnBackdropClick\":[4,\"close-on-backdrop-click\"],\"open\":[1028],\"stay\":[4],\"size\":[513],\"hideClose\":[4,\"hide-close\"],\"heading\":[1],\"a11yRole\":[1,\"a11y-role\"],\"a11yLabel\":[1,\"a11y-label\"],\"closeAnalyticsId\":[1,\"close-analytics-id\"],\"show\":[64],\"hide\":[64]},[[6,\"click\",\"handleOutsideClick\"],[4,\"keydown\",\"handleKeydown\"],[4,\"click\",\"handleOpenTriggerClick\"]]]]],[\"stzh-progressbar.cjs\",[[2,\"stzh-progressbar\",{\"localization\":[16],\"data\":[1],\"index\":[2],\"steps\":[2],\"stepsSmall\":[2,\"steps-small\"],\"stepsMedium\":[2,\"steps-medium\"],\"stepsLarge\":[2,\"steps-large\"],\"stepsUltra\":[2,\"steps-ultra\"],\"currentSteps\":[32]}]]],[\"stzh-toggle.cjs\",[[6,\"stzh-toggle\",{\"localization\":[16],\"disabled\":[516],\"name\":[513],\"value\":[1025],\"invalid\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"checked\":[1540],\"label\":[1],\"labelPosition\":[513,\"label-position\"],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"setFocus\":[64]}]]],[\"stzh-fieldset.cjs\",[[6,\"stzh-fieldset\",{\"legend\":[1],\"hideLegend\":[4,\"hide-legend\"],\"legendLevel\":[1,\"legend-level\"],\"legendCurve\":[1,\"legend-curve\"]}]]],[\"stzh-olmap.cjs\",[[0,\"stzh-olmap\",{\"localization\":[16],\"hostname\":[1],\"scaleControl\":[4,\"scale-control\"],\"layerControl\":[4,\"layer-control\"],\"printControl\":[4,\"print-control\"],\"locationControl\":[4,\"location-control\"],\"layer\":[1025],\"zoom\":[2],\"zoomLocation\":[2,\"zoom-location\"],\"center\":[16],\"centerMarker\":[4,\"center-marker\"],\"resolutions\":[16],\"layers\":[1],\"getMap\":[64],\"addIconMarker\":[64],\"removeIconMarker\":[64],\"setIconMarkerActive\":[64],\"setIconMarkerInactive\":[64],\"enableLocationTracking\":[64],\"disableLocationTracking\":[64],\"getDistance\":[64]},[[8,\"load\",\"handleLoad\"],[8,\"deviceorientation\",\"handleLoad\"],[8,\"pageshow\",\"handleLoad\"]]]]],[\"stzh-accordion.cjs\",[[6,\"stzh-accordion\",{\"collapsible\":[4],\"multiselectable\":[4],\"setItemFocus\":[64]},[[0,\"stzhOpen\",\"openListener\"]]]]],[\"stzh-actions.cjs\",[[6,\"stzh-actions\",{\"variant\":[513],\"withBorder\":[516,\"with-border\"]}]]],[\"stzh-appnav.cjs\",[[6,\"stzh-appnav\",{\"appTitle\":[1,\"app-title\"],\"appStatus\":[1,\"app-status\"],\"appHref\":[1,\"app-href\"],\"appAnalyticsId\":[1,\"app-analytics-id\"]}]]],[\"stzh-buttongroup.cjs\",[[6,\"stzh-buttongroup\"]]],[\"stzh-carousel.cjs\",[[6,\"stzh-carousel\",{\"localization\":[16],\"variant\":[513],\"disabled\":[516],\"slides\":[2],\"slidesSmall\":[2,\"slides-small\"],\"slidesMedium\":[2,\"slides-medium\"],\"slidesLarge\":[2,\"slides-large\"],\"slidesUltra\":[2,\"slides-ultra\"],\"slide\":[2],\"autoplay\":[1028],\"tabThrough\":[4,\"tab-through\"],\"preventMouseDrag\":[32],\"scrollTimeout\":[32],\"autoplayTimeout\":[32],\"distanceQuickSwipe\":[32],\"distancePreventClick\":[32],\"autoplayRunning\":[32],\"autoplayDisabledByMotionMedia\":[32],\"autoplayDisabledByMouse\":[32],\"autoplayDisabledByFocus\":[32],\"dragging\":[32],\"scrolling\":[32],\"ariaLive\":[32],\"currentSlides\":[32],\"currentSwipeSlides\":[32],\"slideElements\":[32],\"previousElements\":[32],\"nextElements\":[32],\"navigationTextElements\":[32],\"slideTo\":[64],\"slideToPrevious\":[64],\"slideToNext\":[64]}]]],[\"stzh-cell.cjs\",[[1,\"stzh-cell\",{\"span\":[2],\"spanSmall\":[2,\"span-small\"],\"spanMedium\":[2,\"span-medium\"],\"spanLarge\":[2,\"span-large\"],\"spanUltra\":[2,\"span-ultra\"],\"justifySelf\":[513,\"justify-self\"],\"alignSelf\":[513,\"align-self\"]}]]],[\"stzh-chart.cjs\",[[0,\"stzh-chart\",{\"chartId\":[1,\"chart-id\"],\"create\":[16]}]]],[\"stzh-container.cjs\",[[6,\"stzh-container\"]]],[\"stzh-cspace.cjs\",[[6,\"stzh-cspace\"]]],[\"stzh-datamessagelist.cjs\",[[6,\"stzh-datamessagelist\"]]],[\"stzh-details.cjs\",[[6,\"stzh-details\",{\"open\":[1540],\"show\":[64],\"hide\":[64],\"toggle\":[64]}]]],[\"stzh-figure.cjs\",[[6,\"stzh-figure\",{\"caption\":[1],\"copyright\":[1],\"fullwidth\":[516]}]]],[\"stzh-flyingfocus.cjs\",[[2,\"stzh-flyingfocus\",{\"style\":[32],\"position\":[32],\"enabled\":[32],\"visible\":[32],\"helper\":[32],\"moving\":[32],\"reposition\":[64]},[[4,\"keydown\",\"handleKeydown\"],[5,\"mousedown\",\"handleMousedown\"],[6,\"focus\",\"handleFocus\"],[6,\"stzhFocus\",\"handleFocus\"],[6,\"blur\",\"handleBlur\"],[7,\"scroll\",\"handleScrollResize\"],[11,\"resize\",\"handleScrollResize\"]]]]],[\"stzh-header.cjs\",[[6,\"stzh-header\",{\"href\":[1],\"metabarStay\":[4,\"metabar-stay\"],\"stickyDisabled\":[4,\"sticky-disabled\"],\"preventAppnavPlaceholder\":[4,\"prevent-appnav-placeholder\"],\"logoAnalyticsId\":[1,\"logo-analytics-id\"],\"hideLogo\":[32],\"paddingTop\":[32],\"metabarTransform\":[32],\"sticky\":[32],\"stickyClosing\":[32],\"stickyMetabar\":[32],\"stickyMetabarEnd\":[32],\"updatePosition\":[64]},[[9,\"scroll\",\"scrollListener\"]]]]],[\"stzh-hr.cjs\",[[2,\"stzh-hr\"]]],[\"stzh-hspace.cjs\",[[1,\"stzh-hspace\",{\"curve\":[1],\"size\":[1],\"sizeSmall\":[1,\"size-small\"],\"sizeMedium\":[1,\"size-medium\"],\"sizeLarge\":[1,\"size-large\"],\"sizeUltra\":[1,\"size-ultra\"],\"justify\":[1],\"items\":[1],\"around\":[516],\"border\":[513]}]]],[\"stzh-icon-sprite.cjs\",[[0,\"stzh-icon-sprite\"]]],[\"stzh-invert.cjs\",[[6,\"stzh-invert\"]]],[\"stzh-list.cjs\",[[1,\"stzh-list\",{\"variant\":[513]}]]],[\"stzh-list-item.cjs\",[[1,\"stzh-list-item\"]]],[\"stzh-loadingbar.cjs\",[[2,\"stzh-loadingbar\",{\"percent\":[2],\"hidePercent\":[4,\"hide-percent\"],\"label\":[1]}]]],[\"stzh-metanav.cjs\",[[6,\"stzh-metanav\"]]],[\"stzh-overlay.cjs\",[[6,\"stzh-overlay\",{\"open\":[1028],\"stay\":[4],\"a11yLabel\":[1,\"a11y-label\"],\"show\":[64],\"hide\":[64]}]]],[\"stzh-page-skiplinks.cjs\",[[6,\"stzh-page-skiplinks\"]]],[\"stzh-pagetitle.cjs\",[[6,\"stzh-pagetitle\"]]],[\"stzh-pagetitle-hero.cjs\",[[6,\"stzh-pagetitle-hero\",{\"heading\":[1],\"leadAuthor\":[1,\"lead-author\"],\"subtitle\":[1]}]]],[\"stzh-ratio.cjs\",[[6,\"stzh-ratio\",{\"ratio\":[513],\"portrait\":[516],\"fit\":[513]}]]],[\"stzh-readspeaker.cjs\",[[4,\"stzh-readspeaker\",{\"href\":[1],\"eventId\":[1,\"event-id\"]},[[8,\"DOMContentLoaded\",\"addClickEvents\"],[8,\"load\",\"addClickEvents\"]]]]],[\"stzh-row.cjs\",[[1,\"stzh-row\",{\"span\":[2],\"spanSmall\":[2,\"span-small\"],\"spanMedium\":[2,\"span-medium\"],\"spanLarge\":[2,\"span-large\"],\"spanUltra\":[2,\"span-ultra\"],\"justify\":[513],\"items\":[513],\"content\":[513]}]]],[\"stzh-section.cjs\",[[6,\"stzh-section\",{\"variant\":[1]}]]],[\"stzh-show.cjs\",[[1,\"stzh-show\",{\"mikro\":[4],\"small\":[4],\"medium\":[4],\"large\":[4],\"ultra\":[4],\"hideFromDate\":[1,\"hide-from-date\"]}]]],[\"stzh-skin-portal-mitwirken.cjs\",[[0,\"stzh-skin-portal-mitwirken\"]]],[\"stzh-skin-storybook-preview.cjs\",[[0,\"stzh-skin-storybook-preview\"]]],[\"stzh-skiplink.cjs\",[[6,\"stzh-skiplink\",{\"label\":[1],\"href\":[1],\"linkAccesskey\":[1,\"link-accesskey\"],\"linkTitle\":[1,\"link-title\"],\"analyticsId\":[1,\"analytics-id\"],\"focused\":[32]},[[0,\"focusin\",\"focusinHandler\"],[0,\"focusout\",\"focusoutHandler\"]]]]],[\"stzh-space.cjs\",[[1,\"stzh-space\",{\"curve\":[1],\"size\":[1],\"sizeSmall\":[1,\"size-small\"],\"sizeMedium\":[1,\"size-medium\"],\"sizeLarge\":[1,\"size-large\"],\"sizeUltra\":[1,\"size-ultra\"],\"justify\":[1],\"items\":[1],\"around\":[516],\"border\":[513]}]]],[\"stzh-sticky.cjs\",[[6,\"stzh-sticky\",{\"disableStickyTop\":[516,\"disable-sticky-top\"],\"disableStickyBottom\":[516,\"disable-sticky-bottom\"],\"breakout\":[516],\"isStuckTop\":[32],\"isStuckBottom\":[32]}]]],[\"stzh-table.cjs\",[[4,\"stzh-table\",{\"fixedLeft\":[2,\"fixed-left\"],\"fixedRight\":[2,\"fixed-right\"],\"disableMinWidth\":[516,\"disable-min-width\"],\"hasScrollLeft\":[32],\"hasScrollRight\":[32],\"isScrollable\":[32],\"cellsStickyLeft\":[32],\"cellsStickyRight\":[32]}]]],[\"stzh-textandimage.cjs\",[[1,\"stzh-textandimage\",{\"floating\":[516],\"fullwidth\":[516],\"size\":[513]}]]],[\"stzh-visuallyhidden.cjs\",[[6,\"stzh-visuallyhidden\"]]],[\"stzh-vspace.cjs\",[[1,\"stzh-vspace\",{\"curve\":[1],\"size\":[1],\"sizeSmall\":[1,\"size-small\"],\"sizeMedium\":[1,\"size-medium\"],\"sizeLarge\":[1,\"size-large\"],\"sizeUltra\":[1,\"size-ultra\"],\"justify\":[1],\"items\":[1],\"around\":[516],\"border\":[513]}]]],[\"stzh-badge_3.cjs\",[[6,\"stzh-button\",{\"localization\":[16],\"badge\":[1],\"badgeType\":[513,\"badge-type\"],\"badgePosition\":[513,\"badge-position\"],\"badgeEmpty\":[516,\"badge-empty\"],\"fullwidth\":[516],\"rounded\":[516],\"floating\":[516],\"size\":[513],\"textAlign\":[513,\"text-align\"],\"variant\":[513],\"icon\":[1],\"iconPosition\":[513,\"icon-position\"],\"checked\":[1540],\"name\":[513],\"value\":[1025],\"href\":[1],\"rel\":[1],\"target\":[1],\"download\":[1],\"type\":[1],\"disabled\":[516],\"active\":[516],\"label\":[1],\"effect\":[1],\"iconOnly\":[516,\"icon-only\"],\"linkAccesskey\":[1,\"link-accesskey\"],\"a11yLabel\":[1,\"a11y-label\"],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"a11yExpanded\":[516,\"a11y-expanded\"],\"a11yDisabled\":[516,\"a11y-disabled\"],\"a11yControls\":[1,\"a11y-controls\"],\"a11yTabindex\":[1,\"a11y-tabindex\"],\"analyticsId\":[1,\"analytics-id\"],\"setFocus\":[64]}],[2,\"stzh-badge\",{\"label\":[1],\"type\":[513]}],[2,\"stzh-icon\",{\"name\":[1],\"a11yTitle\":[1,\"a11y-title\"]}]]],[\"stzh-share.cjs\",[[2,\"stzh-share\",{\"localization\":[16],\"url\":[1],\"services\":[1]}]]],[\"stzh-progressbar-item.cjs\",[[6,\"stzh-progressbar-item\",{\"label\":[513],\"disabled\":[516],\"first\":[516],\"last\":[516],\"passed\":[516],\"current\":[516],\"hide\":[516],\"dotted\":[516],\"step\":[514],\"icon\":[513],\"analyticsId\":[1,\"analytics-id\"]}]]],[\"stzh-vbz-linechip.cjs\",[[2,\"stzh-vbz-linechip\",{\"line\":[1],\"active\":[516],\"alert\":[516],\"global\":[516],\"disabled\":[516],\"analyticsId\":[1,\"analytics-id\"],\"setFocus\":[64]}]]],[\"stzh-loader.cjs\",[[6,\"stzh-loader\",{\"size\":[1],\"label\":[1],\"hideLabel\":[4,\"hide-label\"]}]]],[\"stzh-actionset.cjs\",[[2,\"stzh-actionset\",{\"localization\":[16],\"variant\":[513],\"popoverButtonVariant\":[513,\"popover-button-variant\"],\"popoverButtonSize\":[513,\"popover-button-size\"],\"popoverPlacement\":[513,\"popover-placement\"],\"actions\":[1],\"actionsCollapsed\":[32],\"dynamicActions\":[32],\"isSmall\":[32],\"isMedium\":[32]}]]],[\"stzh-ghettobox_2.cjs\",[[6,\"stzh-ghettobox\",{\"hiddenTitle\":[1,\"hidden-title\"],\"mainTitle\":[1,\"main-title\"],\"description\":[1],\"hideClose\":[4,\"hide-close\"],\"publishDate\":[1,\"publish-date\"],\"closeTimeKey\":[1,\"close-time-key\"],\"localization\":[16],\"open\":[32],\"show\":[64],\"hide\":[64]}],[6,\"stzh-richtext\",{\"localization\":[16],\"externalLinkSelector\":[1,\"external-link-selector\"],\"externalLinkIcon\":[1,\"external-link-icon\"]}]]],[\"stzh-calendar.cjs\",[[2,\"stzh-calendar\",{\"value\":[1025],\"min\":[1],\"max\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"localization\":[16],\"isDateDisabled\":[16],\"prevMonthAnalyticsId\":[1,\"prev-month-analytics-id\"],\"nextMonthAnalyticsId\":[1,\"next-month-analytics-id\"],\"activeFocus\":[32],\"focusedDay\":[32],\"setFocusedDay\":[64],\"setDate\":[64]}]]],[\"stzh-sortable.cjs\",[[6,\"stzh-sortable\",{\"localization\":[16],\"disabled\":[516],\"dataIdAttribute\":[1,\"data-id-attribute\"],\"container\":[16],\"ghostClone\":[16],\"filterElements\":[1,\"filter-elements\"],\"toArray\":[64],\"sort\":[64],\"moveItem\":[64]}]]],[\"stzh-text.cjs\",[[6,\"stzh-text\",{\"font\":[1],\"curve\":[513],\"lead\":[516],\"size\":[1],\"sizeSmall\":[1,\"size-small\"],\"sizeMedium\":[1,\"size-medium\"],\"sizeLarge\":[1,\"size-large\"],\"sizeUltra\":[1,\"size-ultra\"]}]]],[\"stzh-heading.cjs\",[[6,\"stzh-heading\",{\"level\":[513],\"curve\":[513],\"withBorder\":[516,\"with-border\"]}]]],[\"stzh-popover.cjs\",[[6,\"stzh-popover\",{\"open\":[1540],\"placement\":[513],\"variant\":[513],\"skidding\":[2],\"distance\":[2],\"label\":[1],\"strategy\":[1],\"localization\":[16],\"computedPlacement\":[32],\"show\":[64],\"hide\":[64],\"toggle\":[64],\"update\":[64]},[[6,\"click\",\"handleOutsideClick\"]]]]],[\"stzh-dropdown.cjs\",[[4,\"stzh-dropdown\",{\"options\":[1],\"optgroups\":[1],\"items\":[1],\"searchField\":[1,\"search-field\"],\"multiple\":[516],\"inline\":[516],\"maxOptions\":[2,\"max-options\"],\"searchConjunction\":[1,\"search-conjunction\"],\"allowEmptyOption\":[4,\"allow-empty-option\"],\"openOnFocus\":[4,\"open-on-focus\"],\"closeAfterSelect\":[4,\"close-after-select\"],\"load\":[16],\"minCharacters\":[2,\"min-characters\"],\"loadThrottle\":[2,\"load-throttle\"],\"preload\":[8],\"labelField\":[1,\"label-field\"],\"valueField\":[1,\"value-field\"],\"optgroupField\":[1,\"optgroup-field\"],\"optgroupLabelField\":[1,\"optgroup-label-field\"],\"optgroupValueField\":[1,\"optgroup-value-field\"],\"lockOptgroupOrder\":[4,\"lock-optgroup-order\"],\"name\":[513],\"open\":[4],\"isOpen\":[516,\"is-open\"],\"variant\":[513],\"size\":[513],\"disabled\":[516],\"popoverPlacement\":[513,\"popover-placement\"],\"label\":[1],\"icon\":[1],\"noSearch\":[4,\"no-search\"],\"noBackspaceDelete\":[4,\"no-backspace-delete\"],\"invalid\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"localization\":[16],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"getValue\":[64],\"setValue\":[64],\"setFocus\":[64],\"resetLoadedSearches\":[64],\"getLoadedSearches\":[64],\"getItems\":[64],\"loadItems\":[64],\"show\":[64],\"hide\":[64]}]]],[\"stzh-chip_2.cjs\",[[6,\"stzh-chip\",{\"label\":[1],\"icon\":[1],\"href\":[1],\"target\":[1],\"nonInteractive\":[516,\"non-interactive\"],\"removable\":[516],\"variant\":[513],\"size\":[513],\"type\":[513],\"counter\":[1],\"removeLabel\":[1,\"remove-label\"],\"active\":[516],\"disabled\":[516],\"a11yTabindex\":[1,\"a11y-tabindex\"],\"a11yLabel\":[1,\"a11y-label\"],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"analyticsId\":[1,\"analytics-id\"],\"removeAnalyticsId\":[1,\"remove-analytics-id\"],\"setFocus\":[64]}],[4,\"stzh-clamp\",{\"localization\":[16],\"lines\":[2],\"linesSmall\":[2,\"lines-small\"],\"linesMedium\":[2,\"lines-medium\"],\"linesLarge\":[2,\"lines-large\"],\"linesUltra\":[2,\"lines-ultra\"],\"showExpandLink\":[4,\"show-expand-link\"],\"expanded\":[1540],\"clamped\":[1540],\"update\":[64]}]]],[\"stzh-card_3.cjs\",[[6,\"stzh-card\",{\"localization\":[16],\"collapsed\":[1540],\"starred\":[1540],\"starrable\":[516],\"selectable\":[516],\"checked\":[516],\"name\":[513],\"href\":[513],\"target\":[1],\"value\":[1025],\"disabled\":[516],\"withArrow\":[516,\"with-arrow\"],\"heading\":[1],\"subtitle\":[1],\"headerActions\":[1,\"header-actions\"],\"footerActions\":[1,\"footer-actions\"],\"subtitleInteractive\":[4,\"subtitle-interactive\"],\"sortableDisabled\":[516,\"sortable-disabled\"],\"collapsible\":[516],\"hideHeaderBorder\":[516,\"hide-header-border\"],\"hideFooterBorder\":[516,\"hide-footer-border\"],\"hideElevation\":[516,\"hide-elevation\"],\"hideMovementActions\":[4,\"hide-movement-actions\"],\"analyticsId\":[1,\"analytics-id\"]}],[6,\"stzh-chip-select\",{\"localization\":[16],\"data\":[1],\"name\":[513],\"label\":[1],\"value\":[1],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"invalid\":[516],\"required\":[516],\"disabled\":[516],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"activeFocusOptionIndex\":[32]}],[6,\"stzh-card-list\",{\"localization\":[16],\"layout\":[513],\"description\":[1],\"showToggleLink\":[516,\"show-toggle-link\"],\"sortableEnabled\":[4,\"sortable-enabled\"],\"sortableDataIdAttribute\":[1,\"sortable-data-id-attribute\"],\"allCollapsed\":[32]},[[0,\"stzhCollapse\",\"collapseListener\"]]]]],[\"stzh-input.cjs\",[[6,\"stzh-input\",{\"localization\":[16],\"multiline\":[4],\"rows\":[2],\"type\":[1],\"step\":[2],\"min\":[2],\"max\":[2],\"showSpin\":[516,\"show-spin\"],\"readonly\":[516],\"disabled\":[516],\"clearable\":[516],\"showMarker\":[516,\"show-marker\"],\"minlength\":[2],\"maxlength\":[2],\"name\":[513],\"value\":[1025],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"invalid\":[516],\"required\":[516],\"inputmode\":[1],\"autocomplete\":[1],\"noAutocomplete\":[4,\"no-autocomplete\"],\"label\":[1],\"size\":[513],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"filled\":[32],\"setFocus\":[64]}]]],[\"stzh-datepicker_3.cjs\",[[6,\"stzh-datepicker\",{\"calendarMin\":[1,\"calendar-min\"],\"calendarMax\":[1,\"calendar-max\"],\"calendarIsDateDisabled\":[16],\"name\":[513],\"value\":[1025],\"label\":[1],\"readonly\":[516],\"disabled\":[516],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"invalid\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"size\":[513],\"inline\":[4],\"dateAdapter\":[16],\"localization\":[16],\"buttonLabel\":[32],\"setDate\":[64],\"getPopover\":[64]}],[6,\"stzh-radio\",{\"localization\":[16],\"disabled\":[516],\"name\":[513],\"value\":[1025],\"invalid\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"checked\":[1540],\"label\":[1],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"setFocus\":[64]}],[6,\"stzh-radiogroup\",{\"localization\":[16],\"disabled\":[516],\"name\":[513],\"legend\":[1],\"hideLegend\":[516,\"hide-legend\"],\"invalid\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"value\":[1025],\"direction\":[513],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"checkedRadio\":[8,\"checked-radio\"],\"preventUpdateProperties\":[1,\"prevent-update-properties\"]},[[0,\"stzhChange\",\"onChange\"]]]]],[\"stzh-status.cjs\",[[2,\"stzh-status\",{\"percent\":[2],\"withLoadingbar\":[516,\"with-loadingbar\"],\"label\":[1],\"type\":[513]}]]],[\"stzh-datalist_2.cjs\",[[6,\"stzh-datalist\",{\"direction\":[513],\"directionSmall\":[513,\"direction-small\"],\"directionMedium\":[513,\"direction-medium\"],\"directionLarge\":[513,\"direction-large\"],\"directionUltra\":[513,\"direction-ultra\"],\"hideBorder\":[516,\"hide-border\"],\"disableLabelMinWidth\":[516,\"disable-label-min-width\"],\"currentDirection\":[513,\"current-direction\"],\"items\":[1]}],[6,\"stzh-datalist-item\",{\"localization\":[16],\"direction\":[513],\"href\":[513],\"rel\":[1],\"target\":[1],\"download\":[1],\"leadingIcon\":[1,\"leading-icon\"],\"icon\":[1],\"iconLabel\":[1,\"icon-label\"],\"iconTooltip\":[1,\"icon-tooltip\"],\"label\":[1],\"value\":[1],\"meta\":[1],\"statusLabel\":[1,\"status-label\"],\"statusType\":[1,\"status-type\"],\"hideBorder\":[516,\"hide-border\"],\"a11yExpanded\":[516,\"a11y-expanded\"],\"a11yControls\":[1,\"a11y-controls\"],\"external\":[32]}]]],[\"stzh-menu_2.cjs\",[[6,\"stzh-menu-item\",{\"badge\":[1],\"badgeType\":[513,\"badge-type\"],\"badgeEmpty\":[516,\"badge-empty\"],\"disabled\":[516],\"active\":[516],\"icon\":[1],\"label\":[1],\"href\":[1],\"target\":[1],\"a11yLabel\":[1,\"a11y-label\"],\"analyticsId\":[1,\"analytics-id\"],\"setFocus\":[64]}],[6,\"stzh-menu\"]]],[\"stzh-link.cjs\",[[6,\"stzh-link\",{\"localization\":[16],\"icon\":[1],\"iconPosition\":[513,\"icon-position\"],\"size\":[513],\"href\":[1],\"rel\":[1],\"target\":[1],\"download\":[1],\"type\":[1],\"variant\":[513],\"fullwidth\":[516],\"textAlign\":[513,\"text-align\"],\"badge\":[1],\"badgeType\":[513,\"badge-type\"],\"badgeEmpty\":[516,\"badge-empty\"],\"badgePosition\":[513,\"badge-position\"],\"disabled\":[516],\"active\":[516],\"iconOnly\":[516,\"icon-only\"],\"label\":[1],\"linkAccesskey\":[1,\"link-accesskey\"],\"a11yLabel\":[1,\"a11y-label\"],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"a11yExpanded\":[516,\"a11y-expanded\"],\"a11yDisabled\":[516,\"a11y-disabled\"],\"a11yControls\":[1,\"a11y-controls\"],\"a11yTabindex\":[1,\"a11y-tabindex\"],\"analyticsId\":[1,\"analytics-id\"],\"setFocus\":[64]}]]],[\"stzh-tooltip.cjs\",[[6,\"stzh-tooltip\",{\"open\":[1028],\"label\":[1],\"content\":[1],\"placement\":[1],\"strategy\":[1],\"skidding\":[2],\"distance\":[2],\"interactive\":[4],\"trigger\":[1],\"localization\":[16],\"computedPlacement\":[32],\"show\":[64],\"hide\":[64],\"toggle\":[64],\"update\":[64]},[[6,\"click\",\"handleDocumentClick\"]]]]]]"), options);
19
+ return index.bootstrapLazy(JSON.parse("[[\"stzh-microsite-teaserlist.cjs\",[[2,\"stzh-microsite-teaserlist\",{\"localization\":[16],\"api\":[1],\"tags\":[1],\"stepItems\":[2,\"step-items\"],\"showItems\":[32],\"activeFilter\":[32]}]]],[\"stzh-appointments.cjs\",[[2,\"stzh-appointments\",{\"localization\":[16],\"sortBy\":[1025,\"sort-by\"],\"appointments\":[1],\"currentDate\":[1025,\"current-date\"],\"value\":[1025],\"name\":[513],\"showItems\":[1026,\"show-items\"],\"stepItems\":[2,\"step-items\"],\"calendarTitle\":[1,\"calendar-title\"],\"appointmentsTitle\":[1,\"appointments-title\"],\"dateAdapter\":[16]}]]],[\"stzh-datamessagelist-item.cjs\",[[2,\"stzh-datamessagelist-item\",{\"localization\":[16],\"heading\":[1],\"unread\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"description\":[1],\"icon\":[1],\"loadingStatus\":[1,\"loading-status\"],\"meta\":[1],\"actions\":[1],\"tags\":[1],\"analyticsId\":[1,\"analytics-id\"],\"external\":[32]}]]],[\"stzh-contact.cjs\",[[6,\"stzh-contact\",{\"type\":[1],\"heading\":[1],\"mainHeading\":[1,\"main-heading\"],\"name\":[1],\"street\":[1],\"streetInfo\":[1,\"street-info\"],\"postalCode\":[1,\"postal-code\"],\"location\":[1],\"numbers\":[1],\"poBoxHeading\":[1,\"po-box-heading\"],\"poboxTitle\":[1,\"pobox-title\"],\"poboxPostalCode\":[1,\"pobox-postal-code\"],\"poboxLocation\":[1,\"pobox-location\"],\"availabilityTitle\":[1,\"availability-title\"],\"availability\":[1],\"withBorder\":[4,\"with-border\"]}]]],[\"stzh-amount.cjs\",[[0,\"stzh-amount\",{\"minValue\":[2,\"min-value\"],\"maxValue\":[2,\"max-value\"],\"minValueDropdown\":[2,\"min-value-dropdown\"],\"maxValueDropdown\":[2,\"max-value-dropdown\"],\"value\":[1025],\"step\":[2],\"name\":[513],\"size\":[513],\"disabled\":[516],\"popoverPlacement\":[513,\"popover-placement\"],\"label\":[1],\"invalid\":[516],\"required\":[516],\"clearable\":[516],\"showMarker\":[516,\"show-marker\"],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1025],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"localization\":[16]}]]],[\"stzh-sitemap.cjs\",[[0,\"stzh-sitemap\",{\"items\":[1]}]]],[\"stzh-datatable.cjs\",[[4,\"stzh-datatable\",{\"localization\":[16],\"label\":[1],\"sortBy\":[1025,\"sort-by\"],\"sortDirection\":[1025,\"sort-direction\"],\"tokenize\":[1],\"idField\":[1,\"id-field\"],\"disableMinWidth\":[516,\"disable-min-width\"],\"rows\":[1],\"columns\":[1],\"query\":[32],\"hasScrollLeft\":[32],\"hasScrollRight\":[32],\"isScrollable\":[32],\"cellsStickyLeft\":[32],\"cellsStickyRight\":[32],\"toggleSort\":[64]}]]],[\"stzh-saptcha.cjs\",[[2,\"stzh-saptcha\",{\"localization\":[16],\"numbers\":[1],\"value\":[1],\"name\":[513],\"error\":[1],\"invalid\":[516],\"disabled\":[516]}]]],[\"stzh-vbz-majorticker.cjs\",[[2,\"stzh-vbz-majorticker\",{\"api\":[1],\"data\":[8],\"moreInfoLink\":[1,\"more-info-link\"],\"dateAdapter\":[16],\"localization\":[16],\"ghettoboxCloseTimeKey\":[1,\"ghettobox-close-time-key\"],\"ghettoboxShown\":[32],\"getGhettoboxShown\":[64],\"getDisturbance\":[64]}]]],[\"stzh-vbz-ticker.cjs\",[[6,\"stzh-vbz-ticker\",{\"api\":[1],\"data\":[8],\"moreInfoLink\":[1,\"more-info-link\"],\"dateAdapter\":[16],\"localization\":[16]}]]],[\"stzh-anchornav.cjs\",[[2,\"stzh-anchornav\",{\"columns\":[514],\"columnsSmall\":[514,\"columns-small\"],\"columnsMedium\":[514,\"columns-medium\"],\"columnsLarge\":[514,\"columns-large\"],\"columnsUltra\":[514,\"columns-ultra\"],\"items\":[1],\"withBorder\":[516,\"with-border\"]}]]],[\"stzh-audio.cjs\",[[6,\"stzh-audio\",{\"localization\":[16],\"src\":[1],\"preload\":[1],\"transcript\":[1],\"transcriptShown\":[1028,\"transcript-shown\"],\"downloadAnalyticsId\":[1,\"download-analytics-id\"],\"transcriptAnalyticsId\":[1,\"transcript-analytics-id\"],\"play\":[64],\"pause\":[64]}]]],[\"stzh-upload.cjs\",[[4,\"stzh-upload\",{\"existingFiles\":[1,\"existing-files\"],\"label\":[1],\"description\":[1],\"button\":[1],\"url\":[1],\"method\":[1],\"withCredentials\":[4,\"with-credentials\"],\"disabled\":[516],\"invalid\":[516],\"downloadDisabled\":[4,\"download-disabled\"],\"error\":[1],\"acceptedFiles\":[1,\"accepted-files\"],\"autoProcessQueue\":[4,\"auto-process-queue\"],\"maxFiles\":[2,\"max-files\"],\"maxFilesize\":[2,\"max-filesize\"],\"parallelUploads\":[2,\"parallel-uploads\"],\"uploadMultiple\":[4,\"upload-multiple\"],\"chunking\":[4],\"forceChunking\":[4,\"force-chunking\"],\"chunkSize\":[2,\"chunk-size\"],\"parallelChunkUploads\":[4,\"parallel-chunk-uploads\"],\"retryChunks\":[4,\"retry-chunks\"],\"retryChunksLimit\":[2,\"retry-chunks-limit\"],\"filesizeBase\":[2,\"filesize-base\"],\"headers\":[16],\"defaultHeaders\":[4,\"default-headers\"],\"accept\":[16],\"chunksUploaded\":[16],\"hiddenInputContainer\":[1,\"hidden-input-container\"],\"localization\":[16],\"processQueue\":[64],\"removeFile\":[64],\"removeAllFiles\":[64]}]]],[\"stzh-footer.cjs\",[[4,\"stzh-footer\",{\"localization\":[16],\"copyright\":[1],\"variant\":[1],\"mainUrl\":[1,\"main-url\"],\"withBorder\":[4,\"with-border\"]}]]],[\"stzh-langnav.cjs\",[[2,\"stzh-langnav\",{\"languageActive\":[1,\"language-active\"],\"languages\":[1],\"popoverPlacement\":[513,\"popover-placement\"],\"preventUrlchange\":[4,\"prevent-urlchange\"]}]]],[\"stzh-message.cjs\",[[6,\"stzh-message\",{\"label\":[1],\"description\":[1],\"closeKey\":[1,\"close-key\"],\"type\":[513],\"hideClose\":[4,\"hide-close\"],\"localization\":[16],\"open\":[32],\"show\":[64],\"hide\":[64]}]]],[\"stzh-monthyearpicker.cjs\",[[2,\"stzh-monthyearpicker\",{\"months\":[1],\"years\":[1],\"min\":[1],\"max\":[1],\"minYear\":[2,\"min-year\"],\"maxYear\":[2,\"max-year\"],\"format\":[513],\"name\":[513],\"value\":[1025],\"popoverPlacement\":[513,\"popover-placement\"],\"monthLabel\":[1,\"month-label\"],\"yearLabel\":[1,\"year-label\"],\"readonly\":[516],\"disabled\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"size\":[513],\"descriptionMonth\":[1,\"description-month\"],\"descriptionYear\":[1,\"description-year\"],\"descriptionLongMonth\":[1,\"description-long-month\"],\"descriptionLongYear\":[1,\"description-long-year\"],\"errorMonth\":[1,\"error-month\"],\"errorYear\":[1,\"error-year\"],\"invalidMonth\":[516,\"invalid-month\"],\"invalidYear\":[516,\"invalid-year\"],\"a11yDescribedbyMonth\":[1,\"a11y-describedby\"],\"a11yDescribedbyYear\":[1,\"a11y-describedby\"],\"localization\":[16]}]]],[\"stzh-pagebottom.cjs\",[[6,\"stzh-pagebottom\",{\"shareTitle\":[1,\"share-title\"],\"shareUrl\":[1,\"share-url\"],\"shareServices\":[1,\"share-services\"],\"shareDisabled\":[4,\"share-disabled\"],\"logoHref\":[1,\"logo-href\"],\"logoAnalyticsId\":[1,\"logo-analytics-id\"],\"withBorder\":[4,\"with-border\"]}]]],[\"stzh-timepicker.cjs\",[[2,\"stzh-timepicker\",{\"min\":[2],\"max\":[2],\"step\":[2],\"name\":[513],\"value\":[1025],\"popoverPlacement\":[513,\"popover-placement\"],\"label\":[1],\"readonly\":[516],\"disabled\":[516],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"invalid\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"size\":[513],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"localization\":[16]}]]],[\"stzh-accordion-item.cjs\",[[6,\"stzh-accordion-item\",{\"open\":[1540],\"disabled\":[516],\"heading\":[1],\"subtitle\":[1],\"description\":[1],\"icon\":[1],\"badge\":[1],\"badgeEmpty\":[516,\"badge-empty\"],\"badgeType\":[513,\"badge-type\"],\"headingLevel\":[513,\"heading-level\"],\"analyticsId\":[1,\"analytics-id\"],\"show\":[64],\"hide\":[64],\"toggle\":[64],\"setFocus\":[64]}]]],[\"stzh-checkbox.cjs\",[[6,\"stzh-checkbox\",{\"localization\":[16],\"disabled\":[516],\"name\":[513],\"value\":[1025],\"invalid\":[516],\"required\":[516],\"checked\":[1540],\"label\":[1],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"showMarker\":[516,\"show-marker\"],\"error\":[1],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"setFocus\":[64]}]]],[\"stzh-checkboxgroup.cjs\",[[6,\"stzh-checkboxgroup\",{\"localization\":[16],\"disabled\":[516],\"name\":[513],\"legend\":[1],\"hideLegend\":[516,\"hide-legend\"],\"invalid\":[516],\"showMarker\":[516,\"show-marker\"],\"value\":[1025],\"direction\":[513],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"checkedCheckbox\":[16],\"preventUpdateProperties\":[1,\"prevent-update-properties\"]},[[0,\"stzhChange\",\"onChange\"]]]]],[\"stzh-dialog.cjs\",[[6,\"stzh-dialog\",{\"localization\":[16],\"closeOnEscapeKey\":[4,\"close-on-escape-key\"],\"closeOnBackdropClick\":[4,\"close-on-backdrop-click\"],\"open\":[1028],\"stay\":[4],\"size\":[513],\"hideClose\":[4,\"hide-close\"],\"heading\":[1],\"a11yRole\":[1,\"a11y-role\"],\"a11yLabel\":[1,\"a11y-label\"],\"closeAnalyticsId\":[1,\"close-analytics-id\"],\"show\":[64],\"hide\":[64]},[[6,\"click\",\"handleOutsideClick\"],[4,\"keydown\",\"handleKeydown\"],[4,\"click\",\"handleOpenTriggerClick\"]]]]],[\"stzh-progressbar.cjs\",[[2,\"stzh-progressbar\",{\"localization\":[16],\"data\":[1],\"index\":[2],\"steps\":[2],\"stepsSmall\":[2,\"steps-small\"],\"stepsMedium\":[2,\"steps-medium\"],\"stepsLarge\":[2,\"steps-large\"],\"stepsUltra\":[2,\"steps-ultra\"],\"currentSteps\":[32]}]]],[\"stzh-toggle.cjs\",[[6,\"stzh-toggle\",{\"localization\":[16],\"disabled\":[516],\"name\":[513],\"value\":[1025],\"invalid\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"checked\":[1540],\"label\":[1],\"labelPosition\":[513,\"label-position\"],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"setFocus\":[64]}]]],[\"stzh-fieldset.cjs\",[[6,\"stzh-fieldset\",{\"legend\":[1],\"hideLegend\":[4,\"hide-legend\"],\"legendLevel\":[1,\"legend-level\"],\"legendCurve\":[1,\"legend-curve\"]}]]],[\"stzh-olmap.cjs\",[[0,\"stzh-olmap\",{\"localization\":[16],\"hostname\":[1],\"scaleControl\":[4,\"scale-control\"],\"layerControl\":[4,\"layer-control\"],\"printControl\":[4,\"print-control\"],\"locationControl\":[4,\"location-control\"],\"layer\":[1025],\"zoom\":[2],\"zoomLocation\":[2,\"zoom-location\"],\"center\":[16],\"centerMarker\":[4,\"center-marker\"],\"resolutions\":[16],\"layers\":[1],\"getMap\":[64],\"addIconMarker\":[64],\"removeIconMarker\":[64],\"setIconMarkerActive\":[64],\"setIconMarkerInactive\":[64],\"enableLocationTracking\":[64],\"disableLocationTracking\":[64],\"getDistance\":[64]},[[8,\"load\",\"handleLoad\"],[8,\"deviceorientation\",\"handleLoad\"],[8,\"pageshow\",\"handleLoad\"]]]]],[\"stzh-accordion.cjs\",[[6,\"stzh-accordion\",{\"collapsible\":[4],\"multiselectable\":[4],\"setItemFocus\":[64]},[[0,\"stzhOpen\",\"openListener\"]]]]],[\"stzh-actions.cjs\",[[6,\"stzh-actions\",{\"variant\":[513],\"withBorder\":[516,\"with-border\"]}]]],[\"stzh-appnav.cjs\",[[6,\"stzh-appnav\",{\"appTitle\":[1,\"app-title\"],\"appStatus\":[1,\"app-status\"],\"appHref\":[1,\"app-href\"],\"appAnalyticsId\":[1,\"app-analytics-id\"]}]]],[\"stzh-carousel.cjs\",[[6,\"stzh-carousel\",{\"localization\":[16],\"variant\":[513],\"disabled\":[516],\"slides\":[2],\"slidesSmall\":[2,\"slides-small\"],\"slidesMedium\":[2,\"slides-medium\"],\"slidesLarge\":[2,\"slides-large\"],\"slidesUltra\":[2,\"slides-ultra\"],\"slide\":[2],\"autoplay\":[1028],\"tabThrough\":[4,\"tab-through\"],\"preventMouseDrag\":[32],\"scrollTimeout\":[32],\"autoplayTimeout\":[32],\"distanceQuickSwipe\":[32],\"distancePreventClick\":[32],\"autoplayRunning\":[32],\"autoplayDisabledByMotionMedia\":[32],\"autoplayDisabledByMouse\":[32],\"autoplayDisabledByFocus\":[32],\"dragging\":[32],\"scrolling\":[32],\"ariaLive\":[32],\"currentSlides\":[32],\"currentSwipeSlides\":[32],\"slideElements\":[32],\"previousElements\":[32],\"nextElements\":[32],\"navigationTextElements\":[32],\"slideTo\":[64],\"slideToPrevious\":[64],\"slideToNext\":[64]}]]],[\"stzh-cell.cjs\",[[1,\"stzh-cell\",{\"span\":[2],\"spanSmall\":[2,\"span-small\"],\"spanMedium\":[2,\"span-medium\"],\"spanLarge\":[2,\"span-large\"],\"spanUltra\":[2,\"span-ultra\"],\"justifySelf\":[513,\"justify-self\"],\"alignSelf\":[513,\"align-self\"]}]]],[\"stzh-chart.cjs\",[[0,\"stzh-chart\",{\"chartId\":[1,\"chart-id\"],\"create\":[16]}]]],[\"stzh-container.cjs\",[[6,\"stzh-container\"]]],[\"stzh-cspace.cjs\",[[6,\"stzh-cspace\"]]],[\"stzh-datamessagelist.cjs\",[[6,\"stzh-datamessagelist\"]]],[\"stzh-details.cjs\",[[6,\"stzh-details\",{\"open\":[1540],\"show\":[64],\"hide\":[64],\"toggle\":[64]}]]],[\"stzh-figure.cjs\",[[6,\"stzh-figure\",{\"caption\":[1],\"copyright\":[1],\"fullwidth\":[516]}]]],[\"stzh-flyingfocus.cjs\",[[2,\"stzh-flyingfocus\",{\"style\":[32],\"position\":[32],\"enabled\":[32],\"visible\":[32],\"helper\":[32],\"moving\":[32],\"reposition\":[64]},[[4,\"keydown\",\"handleKeydown\"],[5,\"mousedown\",\"handleMousedown\"],[6,\"focus\",\"handleFocus\"],[6,\"stzhFocus\",\"handleFocus\"],[6,\"blur\",\"handleBlur\"],[7,\"scroll\",\"handleScrollResize\"],[11,\"resize\",\"handleScrollResize\"]]]]],[\"stzh-header.cjs\",[[6,\"stzh-header\",{\"href\":[1],\"metabarStay\":[4,\"metabar-stay\"],\"stickyDisabled\":[4,\"sticky-disabled\"],\"preventAppnavPlaceholder\":[4,\"prevent-appnav-placeholder\"],\"logoAnalyticsId\":[1,\"logo-analytics-id\"],\"hideLogo\":[32],\"paddingTop\":[32],\"metabarTransform\":[32],\"sticky\":[32],\"stickyClosing\":[32],\"stickyMetabar\":[32],\"stickyMetabarEnd\":[32],\"updatePosition\":[64]},[[9,\"scroll\",\"scrollListener\"]]]]],[\"stzh-hr.cjs\",[[2,\"stzh-hr\"]]],[\"stzh-hspace.cjs\",[[1,\"stzh-hspace\",{\"curve\":[1],\"size\":[1],\"sizeSmall\":[1,\"size-small\"],\"sizeMedium\":[1,\"size-medium\"],\"sizeLarge\":[1,\"size-large\"],\"sizeUltra\":[1,\"size-ultra\"],\"justify\":[1],\"items\":[1],\"around\":[516],\"border\":[513]}]]],[\"stzh-icon-sprite.cjs\",[[0,\"stzh-icon-sprite\"]]],[\"stzh-invert.cjs\",[[6,\"stzh-invert\"]]],[\"stzh-list.cjs\",[[1,\"stzh-list\",{\"variant\":[513]}]]],[\"stzh-list-item.cjs\",[[1,\"stzh-list-item\"]]],[\"stzh-loadingbar.cjs\",[[2,\"stzh-loadingbar\",{\"percent\":[2],\"hidePercent\":[4,\"hide-percent\"],\"label\":[1]}]]],[\"stzh-metanav.cjs\",[[6,\"stzh-metanav\"]]],[\"stzh-overlay.cjs\",[[6,\"stzh-overlay\",{\"open\":[1028],\"stay\":[4],\"a11yLabel\":[1,\"a11y-label\"],\"show\":[64],\"hide\":[64]}]]],[\"stzh-page-skiplinks.cjs\",[[6,\"stzh-page-skiplinks\"]]],[\"stzh-pagetitle.cjs\",[[6,\"stzh-pagetitle\"]]],[\"stzh-pagetitle-hero.cjs\",[[6,\"stzh-pagetitle-hero\",{\"heading\":[1],\"leadAuthor\":[1,\"lead-author\"],\"subtitle\":[1]}]]],[\"stzh-ratio.cjs\",[[6,\"stzh-ratio\",{\"ratio\":[513],\"portrait\":[516],\"fit\":[513]}]]],[\"stzh-readspeaker.cjs\",[[4,\"stzh-readspeaker\",{\"href\":[1],\"eventId\":[1,\"event-id\"]},[[8,\"DOMContentLoaded\",\"addClickEvents\"],[8,\"load\",\"addClickEvents\"]]]]],[\"stzh-row.cjs\",[[1,\"stzh-row\",{\"span\":[2],\"spanSmall\":[2,\"span-small\"],\"spanMedium\":[2,\"span-medium\"],\"spanLarge\":[2,\"span-large\"],\"spanUltra\":[2,\"span-ultra\"],\"justify\":[513],\"items\":[513],\"content\":[513]}]]],[\"stzh-section.cjs\",[[6,\"stzh-section\",{\"variant\":[1]}]]],[\"stzh-show.cjs\",[[1,\"stzh-show\",{\"mikro\":[4],\"small\":[4],\"medium\":[4],\"large\":[4],\"ultra\":[4],\"hideFromDate\":[1,\"hide-from-date\"]}]]],[\"stzh-skin-portal-mitwirken.cjs\",[[0,\"stzh-skin-portal-mitwirken\"]]],[\"stzh-skin-storybook-preview.cjs\",[[0,\"stzh-skin-storybook-preview\"]]],[\"stzh-skiplink.cjs\",[[6,\"stzh-skiplink\",{\"label\":[1],\"href\":[1],\"linkAccesskey\":[1,\"link-accesskey\"],\"linkTitle\":[1,\"link-title\"],\"analyticsId\":[1,\"analytics-id\"],\"focused\":[32]},[[0,\"focusin\",\"focusinHandler\"],[0,\"focusout\",\"focusoutHandler\"]]]]],[\"stzh-space.cjs\",[[1,\"stzh-space\",{\"curve\":[1],\"size\":[1],\"sizeSmall\":[1,\"size-small\"],\"sizeMedium\":[1,\"size-medium\"],\"sizeLarge\":[1,\"size-large\"],\"sizeUltra\":[1,\"size-ultra\"],\"justify\":[1],\"items\":[1],\"around\":[516],\"border\":[513]}]]],[\"stzh-sticky.cjs\",[[6,\"stzh-sticky\",{\"disableStickyTop\":[516,\"disable-sticky-top\"],\"disableStickyBottom\":[516,\"disable-sticky-bottom\"],\"breakout\":[516],\"isStuckTop\":[32],\"isStuckBottom\":[32]}]]],[\"stzh-table.cjs\",[[4,\"stzh-table\",{\"fixedLeft\":[2,\"fixed-left\"],\"fixedRight\":[2,\"fixed-right\"],\"disableMinWidth\":[516,\"disable-min-width\"],\"hasScrollLeft\":[32],\"hasScrollRight\":[32],\"isScrollable\":[32],\"cellsStickyLeft\":[32],\"cellsStickyRight\":[32]}]]],[\"stzh-textandimage.cjs\",[[1,\"stzh-textandimage\",{\"floating\":[516],\"fullwidth\":[516],\"size\":[513]}]]],[\"stzh-visuallyhidden.cjs\",[[6,\"stzh-visuallyhidden\"]]],[\"stzh-vspace.cjs\",[[1,\"stzh-vspace\",{\"curve\":[1],\"size\":[1],\"sizeSmall\":[1,\"size-small\"],\"sizeMedium\":[1,\"size-medium\"],\"sizeLarge\":[1,\"size-large\"],\"sizeUltra\":[1,\"size-ultra\"],\"justify\":[1],\"items\":[1],\"around\":[516],\"border\":[513]}]]],[\"stzh-badge_3.cjs\",[[6,\"stzh-button\",{\"localization\":[16],\"badge\":[1],\"badgeType\":[513,\"badge-type\"],\"badgePosition\":[513,\"badge-position\"],\"badgeEmpty\":[516,\"badge-empty\"],\"fullwidth\":[516],\"rounded\":[516],\"floating\":[516],\"size\":[513],\"textAlign\":[513,\"text-align\"],\"variant\":[513],\"icon\":[1],\"iconPosition\":[513,\"icon-position\"],\"checked\":[1540],\"name\":[513],\"value\":[1025],\"href\":[1],\"rel\":[1],\"target\":[1],\"download\":[1],\"type\":[1],\"disabled\":[516],\"active\":[516],\"label\":[1],\"effect\":[1],\"iconOnly\":[516,\"icon-only\"],\"linkAccesskey\":[1,\"link-accesskey\"],\"a11yLabel\":[1,\"a11y-label\"],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"a11yExpanded\":[516,\"a11y-expanded\"],\"a11yDisabled\":[516,\"a11y-disabled\"],\"a11yControls\":[1,\"a11y-controls\"],\"a11yTabindex\":[1,\"a11y-tabindex\"],\"analyticsId\":[1,\"analytics-id\"],\"setFocus\":[64]}],[2,\"stzh-badge\",{\"label\":[1],\"type\":[513]}],[2,\"stzh-icon\",{\"name\":[1],\"a11yTitle\":[1,\"a11y-title\"]}]]],[\"stzh-share.cjs\",[[2,\"stzh-share\",{\"localization\":[16],\"url\":[1],\"services\":[1]}]]],[\"stzh-progressbar-item.cjs\",[[6,\"stzh-progressbar-item\",{\"label\":[513],\"disabled\":[516],\"first\":[516],\"last\":[516],\"passed\":[516],\"current\":[516],\"hide\":[516],\"dotted\":[516],\"step\":[514],\"icon\":[513],\"analyticsId\":[1,\"analytics-id\"]}]]],[\"stzh-vbz-linechip.cjs\",[[2,\"stzh-vbz-linechip\",{\"line\":[1],\"active\":[516],\"alert\":[516],\"global\":[516],\"disabled\":[516],\"analyticsId\":[1,\"analytics-id\"],\"setFocus\":[64]}]]],[\"stzh-buttongroup.cjs\",[[6,\"stzh-buttongroup\"]]],[\"stzh-loader.cjs\",[[6,\"stzh-loader\",{\"size\":[1],\"label\":[1],\"hideLabel\":[4,\"hide-label\"]}]]],[\"stzh-actionset.cjs\",[[2,\"stzh-actionset\",{\"localization\":[16],\"variant\":[513],\"popoverButtonVariant\":[513,\"popover-button-variant\"],\"popoverButtonSize\":[513,\"popover-button-size\"],\"popoverPlacement\":[513,\"popover-placement\"],\"actions\":[1],\"actionsCollapsed\":[32],\"dynamicActions\":[32],\"isSmall\":[32],\"isMedium\":[32]}]]],[\"stzh-ghettobox_2.cjs\",[[6,\"stzh-ghettobox\",{\"hiddenTitle\":[1,\"hidden-title\"],\"mainTitle\":[1,\"main-title\"],\"description\":[1],\"hideClose\":[4,\"hide-close\"],\"publishDate\":[1,\"publish-date\"],\"closeTimeKey\":[1,\"close-time-key\"],\"localization\":[16],\"open\":[32],\"show\":[64],\"hide\":[64]}],[6,\"stzh-richtext\",{\"localization\":[16],\"externalLinkSelector\":[1,\"external-link-selector\"],\"externalLinkIcon\":[1,\"external-link-icon\"]}]]],[\"stzh-calendar.cjs\",[[2,\"stzh-calendar\",{\"value\":[1025],\"min\":[1],\"max\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"localization\":[16],\"isDateDisabled\":[16],\"prevMonthAnalyticsId\":[1,\"prev-month-analytics-id\"],\"nextMonthAnalyticsId\":[1,\"next-month-analytics-id\"],\"activeFocus\":[32],\"focusedDay\":[32],\"setFocusedDay\":[64],\"setDate\":[64]}]]],[\"stzh-sortable.cjs\",[[6,\"stzh-sortable\",{\"localization\":[16],\"disabled\":[516],\"dataIdAttribute\":[1,\"data-id-attribute\"],\"container\":[16],\"ghostClone\":[16],\"filterElements\":[1,\"filter-elements\"],\"toArray\":[64],\"sort\":[64],\"moveItem\":[64]}]]],[\"stzh-text.cjs\",[[6,\"stzh-text\",{\"font\":[1],\"curve\":[513],\"lead\":[516],\"size\":[1],\"sizeSmall\":[1,\"size-small\"],\"sizeMedium\":[1,\"size-medium\"],\"sizeLarge\":[1,\"size-large\"],\"sizeUltra\":[1,\"size-ultra\"]}]]],[\"stzh-heading.cjs\",[[6,\"stzh-heading\",{\"level\":[513],\"curve\":[513],\"withBorder\":[516,\"with-border\"]}]]],[\"stzh-chip_2.cjs\",[[6,\"stzh-chip\",{\"label\":[1],\"icon\":[1],\"href\":[1],\"target\":[1],\"nonInteractive\":[516,\"non-interactive\"],\"removable\":[516],\"variant\":[513],\"size\":[513],\"type\":[513],\"counter\":[1],\"removeLabel\":[1,\"remove-label\"],\"active\":[516],\"disabled\":[516],\"a11yTabindex\":[1,\"a11y-tabindex\"],\"a11yLabel\":[1,\"a11y-label\"],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"analyticsId\":[1,\"analytics-id\"],\"removeAnalyticsId\":[1,\"remove-analytics-id\"],\"setFocus\":[64]}],[4,\"stzh-clamp\",{\"localization\":[16],\"lines\":[2],\"linesSmall\":[2,\"lines-small\"],\"linesMedium\":[2,\"lines-medium\"],\"linesLarge\":[2,\"lines-large\"],\"linesUltra\":[2,\"lines-ultra\"],\"showExpandLink\":[4,\"show-expand-link\"],\"expanded\":[1540],\"clamped\":[1540],\"update\":[64]}]]],[\"stzh-card_3.cjs\",[[6,\"stzh-card\",{\"localization\":[16],\"collapsed\":[1540],\"starred\":[1540],\"starrable\":[516],\"selectable\":[516],\"checked\":[516],\"name\":[513],\"href\":[513],\"target\":[1],\"value\":[1025],\"disabled\":[516],\"withArrow\":[516,\"with-arrow\"],\"heading\":[1],\"subtitle\":[1],\"headerActions\":[1,\"header-actions\"],\"footerActions\":[1,\"footer-actions\"],\"subtitleInteractive\":[4,\"subtitle-interactive\"],\"sortableDisabled\":[516,\"sortable-disabled\"],\"collapsible\":[516],\"hideHeaderBorder\":[516,\"hide-header-border\"],\"hideFooterBorder\":[516,\"hide-footer-border\"],\"hideElevation\":[516,\"hide-elevation\"],\"hideMovementActions\":[4,\"hide-movement-actions\"],\"analyticsId\":[1,\"analytics-id\"]}],[6,\"stzh-chip-select\",{\"localization\":[16],\"data\":[1],\"name\":[513],\"label\":[1],\"value\":[1],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"invalid\":[516],\"required\":[516],\"disabled\":[516],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"activeFocusOptionIndex\":[32]}],[6,\"stzh-card-list\",{\"localization\":[16],\"layout\":[513],\"description\":[1],\"showToggleLink\":[516,\"show-toggle-link\"],\"sortableEnabled\":[4,\"sortable-enabled\"],\"sortableDataIdAttribute\":[1,\"sortable-data-id-attribute\"],\"allCollapsed\":[32]},[[0,\"stzhCollapse\",\"collapseListener\"]]]]],[\"stzh-input.cjs\",[[6,\"stzh-input\",{\"localization\":[16],\"multiline\":[4],\"rows\":[2],\"type\":[1],\"step\":[2],\"min\":[2],\"max\":[2],\"showSpin\":[516,\"show-spin\"],\"readonly\":[516],\"disabled\":[516],\"clearable\":[516],\"showMarker\":[516,\"show-marker\"],\"minlength\":[2],\"maxlength\":[2],\"name\":[513],\"value\":[1025],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"invalid\":[516],\"required\":[516],\"inputmode\":[1],\"autocomplete\":[1],\"noAutocomplete\":[4,\"no-autocomplete\"],\"label\":[1],\"size\":[513],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"filled\":[32],\"setFocus\":[64]}]]],[\"stzh-datepicker_3.cjs\",[[6,\"stzh-datepicker\",{\"calendarMin\":[1,\"calendar-min\"],\"calendarMax\":[1,\"calendar-max\"],\"calendarIsDateDisabled\":[16],\"name\":[513],\"value\":[1025],\"label\":[1],\"readonly\":[516],\"disabled\":[516],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"invalid\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"size\":[513],\"inline\":[4],\"dateAdapter\":[16],\"localization\":[16],\"buttonLabel\":[32],\"setDate\":[64],\"getPopover\":[64]}],[6,\"stzh-radio\",{\"localization\":[16],\"disabled\":[516],\"name\":[513],\"value\":[1025],\"invalid\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"checked\":[1540],\"label\":[1],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"setFocus\":[64]}],[6,\"stzh-radiogroup\",{\"localization\":[16],\"disabled\":[516],\"name\":[513],\"legend\":[1],\"hideLegend\":[516,\"hide-legend\"],\"invalid\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"value\":[1025],\"direction\":[513],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"checkedRadio\":[8,\"checked-radio\"],\"preventUpdateProperties\":[1,\"prevent-update-properties\"]},[[0,\"stzhChange\",\"onChange\"]]]]],[\"stzh-status.cjs\",[[2,\"stzh-status\",{\"percent\":[2],\"withLoadingbar\":[516,\"with-loadingbar\"],\"label\":[1],\"type\":[513]}]]],[\"stzh-datalist_2.cjs\",[[6,\"stzh-datalist\",{\"direction\":[513],\"directionSmall\":[513,\"direction-small\"],\"directionMedium\":[513,\"direction-medium\"],\"directionLarge\":[513,\"direction-large\"],\"directionUltra\":[513,\"direction-ultra\"],\"hideBorder\":[516,\"hide-border\"],\"disableLabelMinWidth\":[516,\"disable-label-min-width\"],\"currentDirection\":[513,\"current-direction\"],\"items\":[1]}],[6,\"stzh-datalist-item\",{\"localization\":[16],\"direction\":[513],\"href\":[513],\"rel\":[1],\"target\":[1],\"download\":[1],\"leadingIcon\":[1,\"leading-icon\"],\"icon\":[1],\"iconLabel\":[1,\"icon-label\"],\"iconTooltip\":[1,\"icon-tooltip\"],\"label\":[1],\"value\":[1],\"meta\":[1],\"statusLabel\":[1,\"status-label\"],\"statusType\":[1,\"status-type\"],\"hideBorder\":[516,\"hide-border\"],\"a11yExpanded\":[516,\"a11y-expanded\"],\"a11yControls\":[1,\"a11y-controls\"],\"external\":[32]}]]],[\"stzh-dropdown.cjs\",[[4,\"stzh-dropdown\",{\"options\":[1],\"optgroups\":[1],\"items\":[1],\"searchField\":[1,\"search-field\"],\"multiple\":[516],\"inline\":[516],\"maxOptions\":[2,\"max-options\"],\"searchConjunction\":[1,\"search-conjunction\"],\"allowEmptyOption\":[4,\"allow-empty-option\"],\"openOnFocus\":[4,\"open-on-focus\"],\"closeAfterSelect\":[4,\"close-after-select\"],\"load\":[16],\"minCharacters\":[2,\"min-characters\"],\"loadThrottle\":[2,\"load-throttle\"],\"preload\":[8],\"labelField\":[1,\"label-field\"],\"valueField\":[1,\"value-field\"],\"optgroupField\":[1,\"optgroup-field\"],\"optgroupLabelField\":[1,\"optgroup-label-field\"],\"optgroupValueField\":[1,\"optgroup-value-field\"],\"lockOptgroupOrder\":[4,\"lock-optgroup-order\"],\"name\":[513],\"open\":[4],\"isOpen\":[516,\"is-open\"],\"variant\":[513],\"size\":[513],\"disabled\":[516],\"popoverPlacement\":[513,\"popover-placement\"],\"label\":[1],\"icon\":[1],\"iconAngle\":[1,\"icon-angle\"],\"noSearch\":[4,\"no-search\"],\"noBackspaceDelete\":[4,\"no-backspace-delete\"],\"invalid\":[516],\"required\":[516],\"showMarker\":[516,\"show-marker\"],\"description\":[1],\"descriptionLong\":[1,\"description-long\"],\"error\":[1],\"localization\":[16],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"getValue\":[64],\"setValue\":[64],\"setFocus\":[64],\"resetLoadedSearches\":[64],\"getLoadedSearches\":[64],\"getItems\":[64],\"loadItems\":[64],\"show\":[64],\"hide\":[64]}]]],[\"stzh-menu_2.cjs\",[[6,\"stzh-menu-item\",{\"badge\":[1],\"badgeType\":[513,\"badge-type\"],\"badgeEmpty\":[516,\"badge-empty\"],\"disabled\":[516],\"active\":[516],\"icon\":[1],\"label\":[1],\"href\":[1],\"target\":[1],\"a11yLabel\":[1,\"a11y-label\"],\"analyticsId\":[1,\"analytics-id\"],\"setFocus\":[64]}],[6,\"stzh-menu\"]]],[\"stzh-link.cjs\",[[6,\"stzh-link\",{\"localization\":[16],\"icon\":[1],\"iconPosition\":[513,\"icon-position\"],\"size\":[513],\"href\":[1],\"rel\":[1],\"target\":[1],\"download\":[1],\"type\":[1],\"variant\":[513],\"fullwidth\":[516],\"textAlign\":[513,\"text-align\"],\"badge\":[1],\"badgeType\":[513,\"badge-type\"],\"badgeEmpty\":[516,\"badge-empty\"],\"badgePosition\":[513,\"badge-position\"],\"disabled\":[516],\"active\":[516],\"iconOnly\":[516,\"icon-only\"],\"label\":[1],\"linkAccesskey\":[1,\"link-accesskey\"],\"a11yLabel\":[1,\"a11y-label\"],\"a11yDescribedby\":[1,\"a11y-describedby\"],\"a11yExpanded\":[516,\"a11y-expanded\"],\"a11yDisabled\":[516,\"a11y-disabled\"],\"a11yControls\":[1,\"a11y-controls\"],\"a11yTabindex\":[1,\"a11y-tabindex\"],\"analyticsId\":[1,\"analytics-id\"],\"setFocus\":[64]}]]],[\"stzh-tooltip.cjs\",[[6,\"stzh-tooltip\",{\"open\":[1028],\"label\":[1],\"content\":[1],\"placement\":[1],\"strategy\":[1],\"skidding\":[2],\"distance\":[2],\"interactive\":[4],\"trigger\":[1],\"localization\":[16],\"computedPlacement\":[32],\"show\":[64],\"hide\":[64],\"toggle\":[64],\"update\":[64]},[[6,\"click\",\"handleDocumentClick\"]]]]],[\"stzh-popover.cjs\",[[6,\"stzh-popover\",{\"open\":[1540],\"placement\":[513],\"variant\":[513],\"skidding\":[2],\"distance\":[2],\"label\":[1],\"strategy\":[1],\"localization\":[16],\"computedPlacement\":[32],\"show\":[64],\"hide\":[64],\"toggle\":[64],\"update\":[64]},[[6,\"click\",\"handleOutsideClick\"]]]]]]"), options);
20
20
  });
21
21
  };
22
22
 
@@ -15,6 +15,11 @@ const StzhAmount = class {
15
15
  this.stzhChange = index.createEvent(this, "stzhChange", 7);
16
16
  this._showDropdown = !Number.isNaN(this.minValueDropdown) && !Number.isNaN(this.maxValueDropdown)
17
17
  && this.minValueDropdown < this.maxValueDropdown;
18
+ this.onRootFocus = () => {
19
+ if (this.input) {
20
+ this.input.setFocus();
21
+ }
22
+ };
18
23
  /** Handling dropdown changes (switch to input stepper if the plus option is selected in the dropdown). */
19
24
  this.onDropdownChange = (event) => {
20
25
  if (event.detail.value === DROPDOWN_ITEM_PLUS_OPTION_VALUE) {
@@ -22,7 +27,7 @@ const StzhAmount = class {
22
27
  this.value = (this.maxValueDropdown + this.step).toString();
23
28
  }
24
29
  else {
25
- this.value = (+event.detail.value).toString();
30
+ this.value = event.detail.value;
26
31
  }
27
32
  this.stzhChange.emit({
28
33
  component: "stzh-amount",
@@ -31,8 +36,11 @@ const StzhAmount = class {
31
36
  };
32
37
  /** Handling the minus button. */
33
38
  this.onInputMinusStepClick = () => {
34
- this.value = (+this.value - this.step).toString();
35
- this.value = this.roundToStep(+this.value).toString();
39
+ if (Number(this.value) <= this.minValue) {
40
+ return;
41
+ }
42
+ this.value = (Number(this.value) - this.step).toString();
43
+ this.value = this.roundToStep(Number(this.value)).toString();
36
44
  this.stzhChange.emit({
37
45
  component: "stzh-amount",
38
46
  value: this.value
@@ -40,8 +48,11 @@ const StzhAmount = class {
40
48
  };
41
49
  /** Handling the plus button. */
42
50
  this.onInputPlusStepClick = () => {
43
- this.value = (+this.value + this.step).toString();
44
- this.value = this.roundToStep(+this.value).toString();
51
+ if (Number(this.value) >= this.maxValue) {
52
+ return;
53
+ }
54
+ this.value = (Number(this.value) + this.step).toString();
55
+ this.value = this.roundToStep(Number(this.value)).toString();
45
56
  this.stzhChange.emit({
46
57
  component: "stzh-amount",
47
58
  value: this.value
@@ -76,79 +87,22 @@ const StzhAmount = class {
76
87
  this.a11yDescribedby = '';
77
88
  this.localization = undefined;
78
89
  }
79
- minValueDropdownWatcher() {
90
+ minMaxValueDropdownWatcher() {
80
91
  this.setDropdownOptions();
81
92
  }
82
- maxValueDropdownWatcher() {
83
- this.setDropdownOptions();
84
- }
85
- errorWatcher(newValue) {
86
- if (typeof newValue === "string") {
87
- try {
88
- this._error = JSON.parse(newValue);
89
- }
90
- catch (e) {
91
- if (newValue) {
92
- this._error = [newValue];
93
- }
94
- else {
95
- this._error = [];
96
- }
97
- }
98
- }
99
- else {
100
- this._error = newValue || [];
101
- }
102
- this.invalid = this._error.length > 0;
103
- }
104
- /** Update stepper button a11y-labels when value has changed */
105
- valueWatcher(newValue) {
106
- if (!this._showDropdown) {
107
- this.handleOutOfRangeValue(newValue);
108
- }
109
- }
110
93
  /** Fill the dropdown with options according to maxValueDropdown & minValueDropdown. */
111
94
  setDropdownOptions() {
112
- if (this._showDropdown) {
113
- const options = [];
114
- for (let i = this.minValueDropdown; i <= this.maxValueDropdown; i++) {
115
- options.push({ text: i.toString(), value: i.toString() });
116
- }
117
- if (this.maxValue != undefined && this.maxValue > this.maxValueDropdown) {
118
- options.push({ text: `${this.maxValueDropdown.toString()}+`, value: DROPDOWN_ITEM_PLUS_OPTION_VALUE });
119
- }
120
- this._dropdownOptions = JSON.stringify(options);
121
- }
122
- }
123
- /** Handling manual value change of the stepper input. */
124
- handleOutOfRangeValue(newValue) {
125
- var _a, _b;
126
- if (!this.localization) {
95
+ if (!this._showDropdown) {
127
96
  return;
128
97
  }
129
- let currentErrors = [];
130
- if (typeof this.error === "string") {
131
- currentErrors.push(this.error);
132
- }
133
- else if (this.error) {
134
- currentErrors = [...this.error];
135
- }
136
- const maxValueError = (_a = this.localization.amountTooGreatError) === null || _a === void 0 ? void 0 : _a.replace(/{maxValue}/gi, this.maxValue.toString());
137
- const minValueError = (_b = this.localization.amountTooSmallError) === null || _b === void 0 ? void 0 : _b.replace(/{minValue}/gi, this.minValue.toString());
138
- if (+newValue > this.maxValue) {
139
- if (!currentErrors.includes(maxValueError)) {
140
- currentErrors.push(maxValueError);
141
- }
98
+ const options = [];
99
+ for (let i = this.minValueDropdown; i <= this.maxValueDropdown; i++) {
100
+ options.push({ text: i.toString(), value: i.toString() });
142
101
  }
143
- else if (+newValue < this.minValue) {
144
- if (!currentErrors.includes(minValueError)) {
145
- currentErrors.push(minValueError);
146
- }
147
- }
148
- else {
149
- currentErrors = currentErrors.filter(e => e !== maxValueError && e !== minValueError);
102
+ if (this.maxValue != undefined && this.maxValue > this.maxValueDropdown) {
103
+ options.push({ text: `${this.maxValueDropdown.toString()}+`, value: DROPDOWN_ITEM_PLUS_OPTION_VALUE });
150
104
  }
151
- this.error = currentErrors.length > 0 ? currentErrors : [];
105
+ this._dropdownOptions = options;
152
106
  }
153
107
  /** Making sure, that the value is rounded correctly according to the step */
154
108
  roundToStep(input) {
@@ -158,8 +112,6 @@ const StzhAmount = class {
158
112
  return Number((rounded * factor / factor).toFixed(decimals));
159
113
  }
160
114
  async componentWillLoad() {
161
- this.errorWatcher(this.error);
162
- this.valueWatcher(this.value);
163
115
  if (!this.localization) {
164
116
  this.localization = await translationUtils.fetchTranslations(this.element, "amount");
165
117
  }
@@ -176,10 +128,10 @@ const StzhAmount = class {
176
128
  "stzh-amount__dropdown": true,
177
129
  [`stzh-amount--popover-placement-${this.popoverPlacement}`]: !!this.popoverPlacement,
178
130
  };
179
- return (index.h("div", { class: classes }, index.h("stzh-dropdown", { options: this._dropdownOptions, items: [this.value], label: this.label, required: this.required, disabled: this.disabled, description: this.description, descriptionLong: this.descriptionLong, error: this.error, popoverPlacement: this.popoverPlacement, a11yDescribedby: this.a11yDescribedby, name: this.name, size: this.size, invalid: this.invalid, showMarker: this.showMarker, onStzhChange: this.onDropdownChange })));
131
+ return (index.h("div", { class: classes }, index.h("stzh-dropdown", { ref: (el) => (this.input = el), options: this._dropdownOptions, items: [this.value], label: this.label, required: this.required, disabled: this.disabled, description: this.description, descriptionLong: this.descriptionLong, error: this.error, invalid: this.invalid, popoverPlacement: this.popoverPlacement, a11yDescribedby: this.a11yDescribedby, name: this.name, size: this.size, showMarker: this.showMarker, onStzhChange: this.onDropdownChange })));
180
132
  }
181
133
  renderInputStepper() {
182
- return (index.h("div", { class: "stzh-amount__stepper" }, index.h("div", { class: "stzh-amount__stepper-wrapper" }, index.h("stzh-button", { class: "stzh-amount__stepper-minus", onClick: this.onInputMinusStepClick, variant: "secondary", icon: "minus", iconOnly: true, a11yControls: this.stepperInputId, a11yDescribedby: this.a11yDescribedby, a11yLabel: `${this.label} ${this.localization.stepperMinusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`, size: this.size, disabled: +this.value <= +this.minValue || this.disabled, tabindex: this.disabled ? null : "-1" }), index.h("stzh-input", { class: "stzh-amount__stepper-input", value: this.value, type: "number", label: this.label, min: this.minValue, max: this.maxValue, invalid: this.invalid, error: this._error, required: this.required, name: this.name, id: this.stepperInputId, size: this.size, step: this.step, showMarker: this.showMarker, description: this.description, descriptionLong: this.descriptionLong, clearable: this.clearable, disabled: this.disabled, a11yDescribedby: this.a11yDescribedby, onStzhChange: this.onStepperInputChange }), index.h("stzh-button", { class: "stzh-amount__stepper-plus", onClick: this.onInputPlusStepClick, variant: "secondary", icon: "plus", iconOnly: true, a11yControls: this.stepperInputId, a11yDescribedby: this.a11yDescribedby, a11yLabel: `${this.label} ${this.localization.stepperPlusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`, size: this.size, disabled: +this.value >= +this.maxValue || this.disabled, tabindex: this.disabled ? null : "-1" }))));
134
+ return (index.h("div", { class: "stzh-amount__stepper" }, index.h("div", { class: "stzh-amount__stepper-wrapper" }, index.h("stzh-input", { ref: (el) => (this.input = el), class: "stzh-amount__stepper-input", value: this.value, type: "number", label: this.label, min: this.minValue, max: this.maxValue, error: this.error, invalid: this.invalid, required: this.required, name: this.name, id: this.stepperInputId, size: this.size, step: this.step, showMarker: this.showMarker, description: this.description, descriptionLong: this.descriptionLong, clearable: this.clearable, disabled: this.disabled, a11yDescribedby: this.a11yDescribedby, onStzhChange: this.onStepperInputChange }), index.h("stzh-buttongroup", null, index.h("stzh-button", { class: "stzh-amount__stepper-minus", onClick: this.onInputMinusStepClick, variant: "secondary", icon: "minus", iconOnly: true, a11yControls: this.stepperInputId, a11yDescribedby: this.a11yDescribedby, a11yLabel: `${this.label} ${this.localization.stepperMinusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`, size: this.size, a11yDisabled: Number(this.value) <= this.minValue || this.disabled, disabled: this.disabled }), index.h("stzh-button", { class: "stzh-amount__stepper-plus", onClick: this.onInputPlusStepClick, variant: "secondary", icon: "plus", iconOnly: true, a11yControls: this.stepperInputId, a11yDescribedby: this.a11yDescribedby, a11yLabel: `${this.label} ${this.localization.stepperPlusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`, size: this.size, a11yDisabled: Number(this.value) >= this.maxValue || this.disabled, disabled: this.disabled })))));
183
135
  }
184
136
  render() {
185
137
  const classes = {
@@ -188,18 +140,17 @@ const StzhAmount = class {
188
140
  "stzh-amount--has-description-long": !!this.descriptionLong,
189
141
  "stzh-amount--has-error": !!this.error,
190
142
  "stzh-amount--is-required": !!this.required,
143
+ "stzh-amount--is-disabled": !!this.disabled
191
144
  };
192
- return (index.h(index.Host, null, index.h("div", { class: classes, id: this.amountId }, this._showDropdown ?
145
+ return (index.h(index.Host, { tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, index.h("div", { class: classes, id: this.amountId }, this._showDropdown ?
193
146
  this.renderDropdown()
194
147
  :
195
148
  this.renderInputStepper())));
196
149
  }
197
150
  get element() { return index.getElement(this); }
198
151
  static get watchers() { return {
199
- "minValueDropdown": ["minValueDropdownWatcher"],
200
- "maxValueDropdown": ["maxValueDropdownWatcher"],
201
- "error": ["errorWatcher"],
202
- "value": ["valueWatcher"]
152
+ "minValueDropdown": ["minMaxValueDropdownWatcher"],
153
+ "maxValueDropdown": ["minMaxValueDropdownWatcher"]
203
154
  }; }
204
155
  };
205
156
  StzhAmount.style = stzhAmountCss;
@@ -1 +1 @@
1
- {"file":"stzh-amount.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,aAAa,GAAG,kmFAAkmF;;ACqBxnF,MAAM,+BAA+B,GAAG,mCAAmC,CAAA;AAE3E,IAAI,aAAa,GAAG,CAAC,CAAC;MAMT,UAAU;;;;IAYb,kBAAa,GAAY,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC;SACxG,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC;;IAmH3C,qBAAgB,GAAG,CAAC,KAAuD;MACjF,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,+BAA+B,EAAE;QAC1D,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC3B,IAAI,CAAC,KAAK,GAAG,CAAC,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC;OAC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C,MAAM,EACX,QAAQ,EAAE,IAAI,EACd,YAAY,EAAE,IAAI,CAAC,cAAc,EACjC,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,SAAS,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,gBAAgB,KAAK,IAAI,CAAC,YAAY,CAAC,qBAAqB,IAAI,IAAI,CAAC,KAAK,EAAE,EAC1H,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,QAAQ,EAAE,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EACxD,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,IAAI,GACxB,CACX,CACF,EACN;GACH;EAED,MAAM;IACJ,MAAM,OAAO,GAAG;MACd,aAAa,EAAE,IAAI;MACnB,8BAA8B,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW;MAClD,mCAAmC,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe;MAC3D,wBAAwB,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK;MACtC,0BAA0B,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ;KAC5C,CAAC;IAEF,QACEA,QAACC,UAAI,QACHD,iBACE,KAAK,EAAE,OAAO,EACd,EAAE,EAAE,IAAI,CAAC,QAAQ,IAGf,IAAI,CAAC,aAAa;MAClB,IAAI,CAAC,cAAc,EAAE;;QAErB,IAAI,CAAC,kBAAkB,EAAE,CAEvB,CACD,EACP;GACH;;;;;;;;;;;;;","names":["fetchTranslations","h","Host"],"sources":["./src/components/stzh-amount/stzh-amount.scss?tag=stzh-amount","./src/components/stzh-amount/stzh-amount.tsx"],"sourcesContent":[".stzh-amount {\n @include input-description;\n\n &__stepper-wrapper {\n display: flex;\n align-items: flex-start;\n gap: space('xxsmall');\n }\n\n stzh-input#{&}__stepper-input {\n --text-align: center;\n width: 100%;\n }\n}\n","import {\n Component,\n Host,\n Prop,\n h,\n Watch,\n Element,\n Event,\n EventEmitter\n} from \"@stencil/core\";\n\nimport {\n StzhAmountChangeEvent,\n StzhDropdownChangeEvent,\n StzhDropdownCustomEvent,\n StzhInputChangeEvent,\n StzhInputCustomEvent,\n} from \"../../index\";\nimport { StzhAmountLocalizedText } from './stzh-amount.localization';\nimport {fetchTranslations} from '../../utils/translation-utils';\n\nconst DROPDOWN_ITEM_PLUS_OPTION_VALUE = \"stzh-amount__dropdown-plus-option\"\n\nlet amountCounter = 0;\n\n@Component({\n tag: \"stzh-amount\",\n styleUrl: \"stzh-amount.scss\"\n})\nexport class StzhAmount {\n /** The lowest allowed amount (can be negative). */\n @Prop() minValue: number = -9007199254740991;\n\n /** The highest allowed amount. */\n @Prop() maxValue: number = 9007199254740991;\n\n /** The lowest amount as option in the dropdown. Needs to be set to initially display a dropdown. */\n @Prop() minValueDropdown: number | null = null;\n\n /** The highest amount as option in the dropdown. Needs to be set to initially display a dropdown. */\n @Prop() maxValueDropdown: number | null = null;\n private _showDropdown: boolean = !Number.isNaN(this.minValueDropdown) && !Number.isNaN(this.maxValueDropdown)\n && this.minValueDropdown < this.maxValueDropdown;\n\n private _dropdownOptions: string;\n\n /** The initial value of the amount element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** The step the amount can be increased or decreased */\n @Prop() step: number = 1;\n\n /** Name of the element (hidden select element in case of dropdown) */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Whether the amount component is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Popover placement for the dropdown (if applicable) */\n @Prop({ reflect: true }) popoverPlacement: \"bottom\" | \"bottom-end\" | \"bottom-center\" | \"top\" | \"top-end\" | \"top-center\" = \"bottom\";\n\n /** Label */\n @Prop() label: 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 /** Whether clearable button is showing for the input field (does not apply to dropdown) */\n @Prop({ reflect: true }) clearable: boolean = false;\n\n /** Show text in label depending on whether field is optional/required */\n @Prop({ reflect: true }) showMarker: boolean = false;\n\n /** Description placed below the amount */\n @Prop() description: string;\n\n /** Long description message appearing in a popover */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message(s) */\n @Prop({ mutable: true }) error: string | string[];\n private _error: string[];\n\n /** Id of the element which describes the input (this will be overwritten if description prop is used) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = '';\n\n /** Translation strings. */\n @Prop() localization: StzhAmountLocalizedText;\n\n @Watch(\"minValueDropdown\")\n minValueDropdownWatcher() {\n this.setDropdownOptions();\n }\n\n @Watch(\"maxValueDropdown\")\n maxValueDropdownWatcher() {\n this.setDropdownOptions();\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 {\n this._error = newValue || [];\n }\n\n this.invalid = this._error.length > 0;\n }\n\n /** Update stepper button a11y-labels when value has changed */\n @Watch(\"value\")\n valueWatcher(newValue: string) {\n if (!this._showDropdown) {\n this.handleOutOfRangeValue(newValue);\n }\n }\n\n /** Amount change event */\n @Event() stzhChange: EventEmitter<StzhAmountChangeEvent>;\n\n @Element() element: HTMLStzhAmountElement;\n\n private amountId: string;\n private stepperInputId: string;\n\n /** Fill the dropdown with options according to maxValueDropdown & minValueDropdown. */\n private setDropdownOptions(): void {\n if (this._showDropdown) {\n const options = [];\n\n for (let i = this.minValueDropdown; i <= this.maxValueDropdown; i++) {\n options.push({text: i.toString(), value: i.toString()});\n }\n if (this.maxValue != undefined && this.maxValue > this.maxValueDropdown) {\n options.push({text: `${this.maxValueDropdown.toString()}+`, value: DROPDOWN_ITEM_PLUS_OPTION_VALUE})\n }\n\n this._dropdownOptions = JSON.stringify(options);\n }\n }\n\n /** Handling dropdown changes (switch to input stepper if the plus option is selected in the dropdown). */\n private onDropdownChange = (event: StzhDropdownCustomEvent<StzhDropdownChangeEvent>) => {\n if (event.detail.value === DROPDOWN_ITEM_PLUS_OPTION_VALUE) {\n this._showDropdown = false;\n this.value = (this.maxValueDropdown + this.step).toString();\n } else {\n this.value = (+event.detail.value).toString();\n }\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n });\n }\n\n /** Handling the minus button. */\n private onInputMinusStepClick = () => {\n this.value = (+this.value - this.step).toString();\n this.value = this.roundToStep(+this.value).toString();\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n });\n }\n\n /** Handling the plus button. */\n private onInputPlusStepClick = () => {\n this.value = (+this.value + this.step).toString();\n this.value = this.roundToStep(+this.value).toString();\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n })\n }\n\n /** Handling manual value change of the stepper input. */\n private handleOutOfRangeValue(newValue: string): void {\n if (!this.localization) {\n return;\n }\n\n let currentErrors: string[] = [];\n\n if (typeof this.error === \"string\") {\n currentErrors.push(this.error);\n } else if (this.error) {\n currentErrors = [...this.error];\n }\n\n const maxValueError = this.localization.amountTooGreatError?.replace(/{maxValue}/gi, this.maxValue.toString());\n const minValueError = this.localization.amountTooSmallError?.replace(/{minValue}/gi, this.minValue.toString());\n\n if (+newValue > this.maxValue) {\n if (!currentErrors.includes(maxValueError)) {\n currentErrors.push(maxValueError);\n }\n } else if (+newValue < this.minValue) {\n if (!currentErrors.includes(minValueError)) {\n currentErrors.push(minValueError);\n }\n } else {\n currentErrors = currentErrors.filter(e => e !== maxValueError && e !== minValueError);\n }\n\n this.error = currentErrors.length > 0 ? currentErrors : [];\n }\n\n /** Handling manual value change of the stepper input. */\n private onStepperInputChange = (event: StzhInputCustomEvent<StzhInputChangeEvent>) => {\n this.value = event.detail.value;\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n });\n }\n\n /** Making sure, that the value is rounded correctly according to the step */\n private roundToStep(input: number): number {\n const decimals = Math.max(0, -Math.floor(Math.log10(this.step)));\n const factor = Math.pow(10, decimals);\n const rounded = Math.round(input / this.step) * this.step;\n return Number((rounded * factor / factor).toFixed(decimals));\n }\n\n async componentWillLoad() {\n this.errorWatcher(this.error);\n this.valueWatcher(this.value);\n\n if (!this.localization) {\n this.localization = await fetchTranslations(this.element, \"amount\");\n }\n\n this.amountId = `stzh-amount-${amountCounter++}`;\n\n if (this._showDropdown) {\n this.setDropdownOptions()\n } else {\n this.stepperInputId = `${this.amountId}-stepper-input`\n }\n }\n\n private renderDropdown(): HTMLDivElement {\n const classes = {\n \"stzh-amount__dropdown\": true,\n [`stzh-amount--popover-placement-${this.popoverPlacement}`]: !!this.popoverPlacement,\n };\n return (\n <div class={classes}>\n <stzh-dropdown\n options={this._dropdownOptions}\n items={[this.value]}\n label={this.label}\n required={this.required}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n popoverPlacement={this.popoverPlacement}\n a11yDescribedby={this.a11yDescribedby}\n name={this.name}\n size={this.size}\n invalid={this.invalid}\n showMarker={this.showMarker}\n onStzhChange={this.onDropdownChange}\n ></stzh-dropdown>\n </div>\n );\n }\n\n private renderInputStepper(): HTMLDivElement {\n return (\n <div class=\"stzh-amount__stepper\">\n <div class=\"stzh-amount__stepper-wrapper\">\n <stzh-button\n class=\"stzh-amount__stepper-minus\"\n onClick={this.onInputMinusStepClick}\n variant=\"secondary\"\n icon=\"minus\"\n iconOnly={true}\n a11yControls={this.stepperInputId}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label} ${this.localization.stepperMinusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`}\n size={this.size}\n disabled={+this.value <= +this.minValue || this.disabled}\n tabindex={this.disabled ? null : \"-1\"}\n ></stzh-button>\n <stzh-input\n class=\"stzh-amount__stepper-input\"\n value={this.value}\n type=\"number\"\n label={this.label}\n min={this.minValue}\n max={this.maxValue}\n invalid={this.invalid}\n error={this._error}\n required={this.required}\n name={this.name}\n id={this.stepperInputId}\n size={this.size}\n step={this.step}\n showMarker={this.showMarker}\n description={this.description}\n descriptionLong={this.descriptionLong}\n clearable={this.clearable}\n disabled={this.disabled}\n a11yDescribedby={this.a11yDescribedby}\n onStzhChange={this.onStepperInputChange}\n ></stzh-input>\n <stzh-button\n class=\"stzh-amount__stepper-plus\"\n onClick={this.onInputPlusStepClick}\n variant=\"secondary\"\n icon=\"plus\"\n iconOnly={true}\n a11yControls={this.stepperInputId}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label} ${this.localization.stepperPlusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`}\n size={this.size}\n disabled={+this.value >= +this.maxValue || this.disabled}\n tabindex={this.disabled ? null : \"-1\"}\n ></stzh-button>\n </div>\n </div>\n );\n }\n\n render() {\n const classes = {\n \"stzh-amount\": true,\n \"stzh-amount--has-description\": !!this.description,\n \"stzh-amount--has-description-long\": !!this.descriptionLong,\n \"stzh-amount--has-error\": !!this.error,\n \"stzh-amount--is-required\": !!this.required,\n };\n\n return (\n <Host>\n <div\n class={classes}\n id={this.amountId}\n >\n {\n this._showDropdown ?\n this.renderDropdown()\n :\n this.renderInputStepper()\n }\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"stzh-amount.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,aAAa,GAAG,kmFAAkmF;;ACqBxnF,MAAM,+BAA+B,GAAG,mCAAmC,CAAA;AAE3E,IAAI,aAAa,GAAG,CAAC,CAAC;MAMT,UAAU;;;;IAYb,kBAAa,GAAY,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC;SACxG,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC;IAmE3C,gBAAW,GAAG;MACpB,IAAI,IAAI,CAAC,KAAK,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AAI,CAAC,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,gBAAgB,KAAK,IAAI,CAAC,YAAY,CAAC,qBAAqB,IAAI,IAAI,CAAC,KAAK,EAAE,EAC1H,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,YAAY,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EAClE,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACV,CACE,CACf,CACF,EACN;GACH;EAED,MAAM;IACJ,MAAM,OAAO,GAAG;MACd,aAAa,EAAE,IAAI;MACnB,8BAA8B,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW;MAClD,mCAAmC,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe;MAC3D,wBAAwB,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK;MACtC,0BAA0B,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ;MAC3C,0BAA0B,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ;KAC5C,CAAC;IAEF,QACEA,QAACC,UAAI,IAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW,IACpED,iBAAK,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,CAAC,QAAQ,IAElC,IAAI,CAAC,aAAa;MAClB,IAAI,CAAC,cAAc,EAAE;;QAErB,IAAI,CAAC,kBAAkB,EAAE,CAEvB,CACD,EACP;GACH;;;;;;;;;;;","names":["fetchTranslations","h","Host"],"sources":["./src/components/stzh-amount/stzh-amount.scss?tag=stzh-amount","./src/components/stzh-amount/stzh-amount.tsx"],"sourcesContent":[".stzh-amount {\n @include input-description;\n\n &__stepper-wrapper {\n display: flex;\n align-items: flex-start;\n gap: space('xxsmall');\n }\n\n stzh-input#{&}__stepper-input {\n --text-align: center;\n width: 100%;\n }\n}\n","import {\n Component,\n Host,\n Prop,\n h,\n Watch,\n Element,\n Event,\n EventEmitter\n} from \"@stencil/core\";\n\nimport {\n StzhDropdownOption,\n StzhAmountChangeEvent,\n StzhDropdownChangeEvent,\n StzhInputChangeEvent,\n} from \"../../index\";\n\nimport { StzhAmountLocalizedText } from './stzh-amount.localization';\nimport { fetchTranslations } from '../../utils/translation-utils';\n\nconst DROPDOWN_ITEM_PLUS_OPTION_VALUE = \"stzh-amount__dropdown-plus-option\"\n\nlet amountCounter = 0;\n\n@Component({\n tag: \"stzh-amount\",\n styleUrl: \"stzh-amount.scss\"\n})\nexport class StzhAmount {\n /** The lowest allowed amount (can be negative). */\n @Prop() minValue: number = -9007199254740991;\n\n /** The highest allowed amount. */\n @Prop() maxValue: number = 9007199254740991;\n\n /** The lowest amount as option in the dropdown. Needs to be set to initially display a dropdown. */\n @Prop() minValueDropdown: number | null = null;\n\n /** The highest amount as option in the dropdown. Needs to be set to initially display a dropdown. */\n @Prop() maxValueDropdown: number | null = null;\n private _showDropdown: boolean = !Number.isNaN(this.minValueDropdown) && !Number.isNaN(this.maxValueDropdown)\n && this.minValueDropdown < this.maxValueDropdown;\n\n private _dropdownOptions: StzhDropdownOption[];\n\n /** The initial value of the amount element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** The step the amount can be increased or decreased */\n @Prop() step: number = 1;\n\n /** Name of the element (hidden select element in case of dropdown) */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Whether the amount component is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Popover placement for the dropdown (if applicable) */\n @Prop({ reflect: true }) popoverPlacement: \"bottom\" | \"bottom-end\" | \"bottom-center\" | \"top\" | \"top-end\" | \"top-center\" = \"bottom\";\n\n /** Label */\n @Prop() label: 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 /** Whether clearable button is showing for the input field (does not apply to dropdown) */\n @Prop({ reflect: true }) clearable: boolean = false;\n\n /** Show text in label depending on whether field is optional/required */\n @Prop({ reflect: true }) showMarker: boolean = false;\n\n /** Description placed below the amount */\n @Prop() description: string;\n\n /** Long description message appearing in a popover */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message(s) */\n @Prop({ mutable: true }) error: string | string[];\n\n /** Id of the element which describes the input */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = '';\n\n /** Translation strings. */\n @Prop() localization: StzhAmountLocalizedText;\n\n @Watch(\"minValueDropdown\")\n @Watch(\"maxValueDropdown\")\n minMaxValueDropdownWatcher() {\n this.setDropdownOptions();\n }\n\n /** Amount change event */\n @Event() stzhChange: EventEmitter<StzhAmountChangeEvent>;\n\n @Element() element: HTMLStzhAmountElement;\n\n private amountId: string;\n private stepperInputId: string;\n private input: HTMLStzhInputElement | HTMLStzhDropdownElement;\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.setFocus();\n }\n }\n\n /** Fill the dropdown with options according to maxValueDropdown & minValueDropdown. */\n private setDropdownOptions() {\n if (!this._showDropdown) {\n return;\n }\n\n const options = [];\n\n for (let i = this.minValueDropdown; i <= this.maxValueDropdown; i++) {\n options.push({text: i.toString(), value: i.toString()});\n }\n if (this.maxValue != undefined && this.maxValue > this.maxValueDropdown) {\n options.push({text: `${this.maxValueDropdown.toString()}+`, value: DROPDOWN_ITEM_PLUS_OPTION_VALUE})\n }\n\n this._dropdownOptions = options;\n }\n\n /** Handling dropdown changes (switch to input stepper if the plus option is selected in the dropdown). */\n private onDropdownChange = (event: CustomEvent<StzhDropdownChangeEvent>) => {\n if (event.detail.value === DROPDOWN_ITEM_PLUS_OPTION_VALUE) {\n this._showDropdown = false;\n this.value = (this.maxValueDropdown + this.step).toString();\n } else {\n this.value = event.detail.value;\n }\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n });\n }\n\n /** Handling the minus button. */\n private onInputMinusStepClick = () => {\n if (Number(this.value) <= this.minValue) {\n return;\n }\n\n this.value = (Number(this.value) - this.step).toString();\n this.value = this.roundToStep(Number(this.value)).toString();\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n });\n }\n\n /** Handling the plus button. */\n private onInputPlusStepClick = () => {\n if (Number(this.value) >= this.maxValue) {\n return;\n }\n\n this.value = (Number(this.value) + this.step).toString();\n this.value = this.roundToStep(Number(this.value)).toString();\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n })\n }\n\n /** Handling manual value change of the stepper input. */\n private onStepperInputChange = (event: CustomEvent<StzhInputChangeEvent>) => {\n this.value = event.detail.value;\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n });\n }\n\n /** Making sure, that the value is rounded correctly according to the step */\n private roundToStep(input: number): number {\n const decimals = Math.max(0, -Math.floor(Math.log10(this.step)));\n const factor = Math.pow(10, decimals);\n const rounded = Math.round(input / this.step) * this.step;\n return Number((rounded * factor / factor).toFixed(decimals));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await fetchTranslations(this.element, \"amount\");\n }\n\n this.amountId = `stzh-amount-${amountCounter++}`;\n\n if (this._showDropdown) {\n this.setDropdownOptions()\n } else {\n this.stepperInputId = `${this.amountId}-stepper-input`\n }\n }\n\n private renderDropdown(): HTMLDivElement {\n const classes = {\n \"stzh-amount__dropdown\": true,\n [`stzh-amount--popover-placement-${this.popoverPlacement}`]: !!this.popoverPlacement,\n };\n return (\n <div class={classes}>\n <stzh-dropdown\n ref={(el) => (this.input = el as HTMLStzhDropdownElement)}\n options={this._dropdownOptions}\n items={[this.value]}\n label={this.label}\n required={this.required}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n invalid={this.invalid}\n popoverPlacement={this.popoverPlacement}\n a11yDescribedby={this.a11yDescribedby}\n name={this.name}\n size={this.size}\n showMarker={this.showMarker}\n onStzhChange={this.onDropdownChange}\n ></stzh-dropdown>\n </div>\n );\n }\n\n private renderInputStepper(): HTMLDivElement {\n return (\n <div class=\"stzh-amount__stepper\">\n <div class=\"stzh-amount__stepper-wrapper\">\n <stzh-input\n ref={(el) => (this.input = el as HTMLStzhInputElement)}\n class=\"stzh-amount__stepper-input\"\n value={this.value}\n type=\"number\"\n label={this.label}\n min={this.minValue}\n max={this.maxValue}\n error={this.error}\n invalid={this.invalid}\n required={this.required}\n name={this.name}\n id={this.stepperInputId}\n size={this.size}\n step={this.step}\n showMarker={this.showMarker}\n description={this.description}\n descriptionLong={this.descriptionLong}\n clearable={this.clearable}\n disabled={this.disabled}\n a11yDescribedby={this.a11yDescribedby}\n onStzhChange={this.onStepperInputChange}\n ></stzh-input>\n <stzh-buttongroup>\n <stzh-button\n class=\"stzh-amount__stepper-minus\"\n onClick={this.onInputMinusStepClick}\n variant=\"secondary\"\n icon=\"minus\"\n iconOnly={true}\n a11yControls={this.stepperInputId}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label} ${this.localization.stepperMinusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`}\n size={this.size}\n a11yDisabled={Number(this.value) <= this.minValue || this.disabled}\n disabled={this.disabled}\n ></stzh-button>\n <stzh-button\n class=\"stzh-amount__stepper-plus\"\n onClick={this.onInputPlusStepClick}\n variant=\"secondary\"\n icon=\"plus\"\n iconOnly={true}\n a11yControls={this.stepperInputId}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label} ${this.localization.stepperPlusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`}\n size={this.size}\n a11yDisabled={Number(this.value) >= this.maxValue || this.disabled}\n disabled={this.disabled}\n ></stzh-button>\n </stzh-buttongroup>\n </div>\n </div>\n );\n }\n\n render() {\n const classes = {\n \"stzh-amount\": true,\n \"stzh-amount--has-description\": !!this.description,\n \"stzh-amount--has-description-long\": !!this.descriptionLong,\n \"stzh-amount--has-error\": !!this.error,\n \"stzh-amount--is-required\": !!this.required,\n \"stzh-amount--is-disabled\": !!this.disabled\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes} id={this.amountId}>\n {\n this._showDropdown ?\n this.renderDropdown()\n :\n this.renderInputStepper()\n }\n </div>\n </Host>\n );\n }\n}\n"],"version":3}