@oiz/stzh-components 0.0.0-pretest

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 (1294) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +56 -0
  3. package/dist/cjs/_commonjsHelpers-bcc1208a.js +25 -0
  4. package/dist/cjs/animation-utils-c816beac.js +45 -0
  5. package/dist/cjs/app-globals-83a6c2d3.js +54 -0
  6. package/dist/cjs/arrow-70a32014.js +1305 -0
  7. package/dist/cjs/date-adapter-2ffd8eaf.js +90 -0
  8. package/dist/cjs/date-utils-898a50be.js +174 -0
  9. package/dist/cjs/dom-874a1e39.js +75 -0
  10. package/dist/cjs/event-utils-4d7d610a.js +18 -0
  11. package/dist/cjs/focus-trap.esm-1cb6bb2e.js +1280 -0
  12. package/dist/cjs/index-8bd1552a.js +2019 -0
  13. package/dist/cjs/index-ac9bdc7f.js +2245 -0
  14. package/dist/cjs/index.cjs.js +2 -0
  15. package/dist/cjs/js.cookie-9c263d23.js +146 -0
  16. package/dist/cjs/loader.cjs.js +23 -0
  17. package/dist/cjs/media-utils-f1720906.js +26 -0
  18. package/dist/cjs/shadow-css-a33dc836.js +389 -0
  19. package/dist/cjs/string-utils-223b03e2.js +18 -0
  20. package/dist/cjs/stzh-accordion-item.cjs.entry.js +181 -0
  21. package/dist/cjs/stzh-accordion.cjs.entry.js +74 -0
  22. package/dist/cjs/stzh-actions.cjs.entry.js +53 -0
  23. package/dist/cjs/stzh-appnav.cjs.entry.js +50 -0
  24. package/dist/cjs/stzh-appointments.cjs.entry.js +271 -0
  25. package/dist/cjs/stzh-badge_3.cjs.entry.js +167 -0
  26. package/dist/cjs/stzh-calendar.cjs.entry.js +306 -0
  27. package/dist/cjs/stzh-cell.cjs.entry.js +35 -0
  28. package/dist/cjs/stzh-checkbox.cjs.entry.js +136 -0
  29. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +168 -0
  30. package/dist/cjs/stzh-chip-select.cjs.entry.js +66 -0
  31. package/dist/cjs/stzh-chip.cjs.entry.js +101 -0
  32. package/dist/cjs/stzh-components.cjs.js +107 -0
  33. package/dist/cjs/stzh-container.cjs.entry.js +19 -0
  34. package/dist/cjs/stzh-cspace.cjs.entry.js +22 -0
  35. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +103 -0
  36. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +23 -0
  37. package/dist/cjs/stzh-datatable.cjs.entry.js +249 -0
  38. package/dist/cjs/stzh-datepicker_4.cjs.entry.js +484 -0
  39. package/dist/cjs/stzh-dialog.cjs.entry.js +191 -0
  40. package/dist/cjs/stzh-dropdown.cjs.entry.js +5086 -0
  41. package/dist/cjs/stzh-fieldset.cjs.entry.js +35 -0
  42. package/dist/cjs/stzh-figure.cjs.entry.js +30 -0
  43. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +178 -0
  44. package/dist/cjs/stzh-footer.cjs.entry.js +67 -0
  45. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +150 -0
  46. package/dist/cjs/stzh-header.cjs.entry.js +162 -0
  47. package/dist/cjs/stzh-heading.cjs.entry.js +32 -0
  48. package/dist/cjs/stzh-hr.cjs.entry.js +23 -0
  49. package/dist/cjs/stzh-hspace.cjs.entry.js +41 -0
  50. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +22 -0
  51. package/dist/cjs/stzh-input-description-9ed61d1d.js +22 -0
  52. package/dist/cjs/stzh-input.cjs.entry.js +192 -0
  53. package/dist/cjs/stzh-link.cjs.entry.js +106 -0
  54. package/dist/cjs/stzh-list-item.cjs.entry.js +28 -0
  55. package/dist/cjs/stzh-list.cjs.entry.js +26 -0
  56. package/dist/cjs/stzh-loader.cjs.entry.js +31 -0
  57. package/dist/cjs/stzh-loadingbar.cjs.entry.js +33 -0
  58. package/dist/cjs/stzh-menu_2.cjs.entry.js +97 -0
  59. package/dist/cjs/stzh-message.cjs.entry.js +85 -0
  60. package/dist/cjs/stzh-metanav.cjs.entry.js +37 -0
  61. package/dist/cjs/stzh-overlay.cjs.entry.js +100 -0
  62. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +37 -0
  63. package/dist/cjs/stzh-pagetitle.cjs.entry.js +72 -0
  64. package/dist/cjs/stzh-popover.cjs.entry.js +361 -0
  65. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +23 -0
  66. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +57 -0
  67. package/dist/cjs/stzh-progressbar.cjs.entry.js +125 -0
  68. package/dist/cjs/stzh-readspeaker.cjs.entry.js +58 -0
  69. package/dist/cjs/stzh-row.cjs.entry.js +40 -0
  70. package/dist/cjs/stzh-saptcha.cjs.entry.js +81 -0
  71. package/dist/cjs/stzh-section.cjs.entry.js +24 -0
  72. package/dist/cjs/stzh-servicecard-list.cjs.entry.js +56 -0
  73. package/dist/cjs/stzh-servicecard.cjs.entry.js +212 -0
  74. package/dist/cjs/stzh-skiplink.cjs.entry.js +27 -0
  75. package/dist/cjs/stzh-sortable.cjs.entry.js +3382 -0
  76. package/dist/cjs/stzh-status.cjs.entry.js +36 -0
  77. package/dist/cjs/stzh-table.cjs.entry.js +143 -0
  78. package/dist/cjs/stzh-toggle.cjs.entry.js +134 -0
  79. package/dist/cjs/stzh-tooltip.cjs.entry.js +322 -0
  80. package/dist/cjs/stzh-upload.cjs.entry.js +10750 -0
  81. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +2058 -0
  82. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +107 -0
  83. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +183 -0
  84. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +21 -0
  85. package/dist/cjs/stzh-vspace.cjs.entry.js +41 -0
  86. package/dist/cjs/translation-utils-2dbbce94.js +60 -0
  87. package/dist/cjs/utils-e84f4a8d.js +36 -0
  88. package/dist/collection/assets/favicons/android-chrome-192x192.png +0 -0
  89. package/dist/collection/assets/favicons/android-chrome-384x384.png +0 -0
  90. package/dist/collection/assets/favicons/apple-touch-icon.png +0 -0
  91. package/dist/collection/assets/favicons/browserconfig.xml +9 -0
  92. package/dist/collection/assets/favicons/favicon-16x16.png +0 -0
  93. package/dist/collection/assets/favicons/favicon-32x32.png +0 -0
  94. package/dist/collection/assets/favicons/favicon.ico +0 -0
  95. package/dist/collection/assets/favicons/mstile-150x150.png +0 -0
  96. package/dist/collection/assets/favicons/safari-pinned-tab.svg +1 -0
  97. package/dist/collection/assets/favicons/site.webmanifest +19 -0
  98. package/dist/collection/assets/fonts/HelveticaNeueLTW01_41488878.woff +0 -0
  99. package/dist/collection/assets/fonts/HelveticaNeueLTW01_41488878.woff2 +0 -0
  100. package/dist/collection/assets/fonts/HelveticaNeueLTW01_55Roman.woff +0 -0
  101. package/dist/collection/assets/fonts/HelveticaNeueLTW01_55Roman.woff2 +0 -0
  102. package/dist/collection/assets/fonts/HelveticaNeueLTW01_71488914.woff +0 -0
  103. package/dist/collection/assets/fonts/HelveticaNeueLTW01_71488914.woff2 +0 -0
  104. package/dist/collection/assets/fonts/HelveticaNeueLTW05_65Medium.woff +0 -0
  105. package/dist/collection/assets/fonts/HelveticaNeueLTW05_65Medium.woff2 +0 -0
  106. package/dist/collection/assets/fonts/HelveticaNeueLTW05_85Heavy.woff +0 -0
  107. package/dist/collection/assets/fonts/HelveticaNeueLTW05_85Heavy.woff2 +0 -0
  108. package/dist/collection/assets/fonts.css +39 -0
  109. package/dist/collection/assets/i18n/de.json +154 -0
  110. package/dist/collection/assets/i18n/en.json +154 -0
  111. package/dist/collection/assets/icons/mono/alarm-bell.svg +3 -0
  112. package/dist/collection/assets/icons/mono/angle-down.svg +3 -0
  113. package/dist/collection/assets/icons/mono/angle-left.svg +3 -0
  114. package/dist/collection/assets/icons/mono/angle-right.svg +3 -0
  115. package/dist/collection/assets/icons/mono/angle-up.svg +3 -0
  116. package/dist/collection/assets/icons/mono/archive-box.svg +3 -0
  117. package/dist/collection/assets/icons/mono/arrow-down.svg +3 -0
  118. package/dist/collection/assets/icons/mono/arrow-left-circle.svg +4 -0
  119. package/dist/collection/assets/icons/mono/arrow-left.svg +3 -0
  120. package/dist/collection/assets/icons/mono/arrow-right-long.svg +3 -0
  121. package/dist/collection/assets/icons/mono/arrow-right.svg +3 -0
  122. package/dist/collection/assets/icons/mono/arrow-up.svg +3 -0
  123. package/dist/collection/assets/icons/mono/bulleted-list.svg +3 -0
  124. package/dist/collection/assets/icons/mono/calendar.svg +3 -0
  125. package/dist/collection/assets/icons/mono/cart.svg +3 -0
  126. package/dist/collection/assets/icons/mono/checkmark-circle.svg +3 -0
  127. package/dist/collection/assets/icons/mono/checkmark.svg +3 -0
  128. package/dist/collection/assets/icons/mono/clock.svg +3 -0
  129. package/dist/collection/assets/icons/mono/close-circle.svg +3 -0
  130. package/dist/collection/assets/icons/mono/close.svg +3 -0
  131. package/dist/collection/assets/icons/mono/compass-direction.svg +3 -0
  132. package/dist/collection/assets/icons/mono/compass-north.svg +4 -0
  133. package/dist/collection/assets/icons/mono/construction.svg +3 -0
  134. package/dist/collection/assets/icons/mono/copy.svg +3 -0
  135. package/dist/collection/assets/icons/mono/delete.svg +3 -0
  136. package/dist/collection/assets/icons/mono/download.svg +3 -0
  137. package/dist/collection/assets/icons/mono/drag.svg +10 -0
  138. package/dist/collection/assets/icons/mono/edit.svg +3 -0
  139. package/dist/collection/assets/icons/mono/email-check.svg +10 -0
  140. package/dist/collection/assets/icons/mono/expand.svg +3 -0
  141. package/dist/collection/assets/icons/mono/external-link.svg +4 -0
  142. package/dist/collection/assets/icons/mono/facebook-comment.svg +3 -0
  143. package/dist/collection/assets/icons/mono/facebook.svg +10 -0
  144. package/dist/collection/assets/icons/mono/file.svg +3 -0
  145. package/dist/collection/assets/icons/mono/filtering.svg +3 -0
  146. package/dist/collection/assets/icons/mono/flag.svg +10 -0
  147. package/dist/collection/assets/icons/mono/focus.svg +3 -0
  148. package/dist/collection/assets/icons/mono/gear.svg +3 -0
  149. package/dist/collection/assets/icons/mono/heart.svg +10 -0
  150. package/dist/collection/assets/icons/mono/home.svg +10 -0
  151. package/dist/collection/assets/icons/mono/important-warning.svg +3 -0
  152. package/dist/collection/assets/icons/mono/info-help.svg +3 -0
  153. package/dist/collection/assets/icons/mono/instagram.svg +3 -0
  154. package/dist/collection/assets/icons/mono/like-hand.svg +10 -0
  155. package/dist/collection/assets/icons/mono/linkedin.svg +5 -0
  156. package/dist/collection/assets/icons/mono/list-expanded.svg +4 -0
  157. package/dist/collection/assets/icons/mono/list-shrinked.svg +3 -0
  158. package/dist/collection/assets/icons/mono/lock.svg +10 -0
  159. package/dist/collection/assets/icons/mono/mail.svg +10 -0
  160. package/dist/collection/assets/icons/mono/map.svg +3 -0
  161. package/dist/collection/assets/icons/mono/menu.svg +3 -0
  162. package/dist/collection/assets/icons/mono/minus.svg +3 -0
  163. package/dist/collection/assets/icons/mono/more-horizontal.svg +5 -0
  164. package/dist/collection/assets/icons/mono/more-vertical.svg +5 -0
  165. package/dist/collection/assets/icons/mono/paper-clip.svg +10 -0
  166. package/dist/collection/assets/icons/mono/phone.svg +10 -0
  167. package/dist/collection/assets/icons/mono/pin-location.svg +10 -0
  168. package/dist/collection/assets/icons/mono/pin.svg +11 -0
  169. package/dist/collection/assets/icons/mono/play-1.svg +4 -0
  170. package/dist/collection/assets/icons/mono/play-button.svg +11 -0
  171. package/dist/collection/assets/icons/mono/play.svg +10 -0
  172. package/dist/collection/assets/icons/mono/plus.svg +3 -0
  173. package/dist/collection/assets/icons/mono/portfolio-grid.svg +11 -0
  174. package/dist/collection/assets/icons/mono/print.svg +10 -0
  175. package/dist/collection/assets/icons/mono/question-help.svg +3 -0
  176. package/dist/collection/assets/icons/mono/read-mail.svg +10 -0
  177. package/dist/collection/assets/icons/mono/reload.svg +10 -0
  178. package/dist/collection/assets/icons/mono/reset-time.svg +10 -0
  179. package/dist/collection/assets/icons/mono/reset.svg +10 -0
  180. package/dist/collection/assets/icons/mono/resize.svg +8 -0
  181. package/dist/collection/assets/icons/mono/rss.svg +12 -0
  182. package/dist/collection/assets/icons/mono/search.svg +3 -0
  183. package/dist/collection/assets/icons/mono/services.svg +6 -0
  184. package/dist/collection/assets/icons/mono/share.svg +3 -0
  185. package/dist/collection/assets/icons/mono/shrink.svg +3 -0
  186. package/dist/collection/assets/icons/mono/silent-mode.svg +3 -0
  187. package/dist/collection/assets/icons/mono/social-media.svg +23 -0
  188. package/dist/collection/assets/icons/mono/star-filled.svg +3 -0
  189. package/dist/collection/assets/icons/mono/star.svg +3 -0
  190. package/dist/collection/assets/icons/mono/subtitle.svg +3 -0
  191. package/dist/collection/assets/icons/mono/team.svg +10 -0
  192. package/dist/collection/assets/icons/mono/text-message.svg +6 -0
  193. package/dist/collection/assets/icons/mono/thermometer.svg +10 -0
  194. package/dist/collection/assets/icons/mono/transcript.svg +3 -0
  195. package/dist/collection/assets/icons/mono/twitter-reply.svg +3 -0
  196. package/dist/collection/assets/icons/mono/twitter-retweet.svg +3 -0
  197. package/dist/collection/assets/icons/mono/twitter.svg +10 -0
  198. package/dist/collection/assets/icons/mono/unlock.svg +10 -0
  199. package/dist/collection/assets/icons/mono/user.svg +3 -0
  200. package/dist/collection/assets/icons/mono/view-hidden.svg +3 -0
  201. package/dist/collection/assets/icons/mono/view.svg +4 -0
  202. package/dist/collection/assets/icons/mono/volume-medium.svg +3 -0
  203. package/dist/collection/assets/icons/mono/warning-big.svg +4 -0
  204. package/dist/collection/assets/icons/mono/warning.svg +3 -0
  205. package/dist/collection/assets/icons/mono/web-Link.svg +3 -0
  206. package/dist/collection/assets/icons/mono/wifi-signal.svg +3 -0
  207. package/dist/collection/assets/icons/mono/world-globe.svg +10 -0
  208. package/dist/collection/assets/icons/mono/xing.svg +11 -0
  209. package/dist/collection/assets/polyfills/ie11CustomProperties.min.js +8 -0
  210. package/dist/collection/assets/polyfills/intersection-observer.min.js +7 -0
  211. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -0
  212. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -0
  213. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -0
  214. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -0
  215. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Styles-Basic.css +881 -0
  216. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Styles-Button.css +75 -0
  217. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Styles.css +977 -0
  218. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.js +257 -0
  219. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -0
  220. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -0
  221. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -0
  222. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -0
  223. package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -0
  224. package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -0
  225. package/dist/collection/assets/vendors/readspeaker/img/ReadSpeakerClassic.png +0 -0
  226. package/dist/collection/assets/vendors/readspeaker/img/cursor-ew.png +0 -0
  227. package/dist/collection/assets/vendors/readspeaker/img/help.png +0 -0
  228. package/dist/collection/assets/vendors/readspeaker/img/icon_16px.gif +0 -0
  229. package/dist/collection/assets/vendors/readspeaker/img/pin_black.png +0 -0
  230. package/dist/collection/assets/vendors/readspeaker/img/pin_red.png +0 -0
  231. package/dist/collection/assets/vendors/readspeaker/img/play-anim.gif +0 -0
  232. package/dist/collection/assets/vendors/readspeaker/img/rs_button.gif +0 -0
  233. package/dist/collection/assets/vendors/readspeaker/img/rs_button.png +0 -0
  234. package/dist/collection/assets/vendors/readspeaker/img/rs_loader_anim.gif +0 -0
  235. package/dist/collection/assets/vendors/readspeaker/img/timeline-anim.gif +0 -0
  236. package/dist/collection/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.css +1 -0
  237. package/dist/collection/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -0
  238. package/dist/collection/assets/vendors/readspeaker/mods/enlargeHL/img/rs_icon_64x64.png +0 -0
  239. package/dist/collection/collection-manifest.json +82 -0
  240. package/dist/collection/components/stzh-accordion/stzh-accordion.css +99 -0
  241. package/dist/collection/components/stzh-accordion/stzh-accordion.js +156 -0
  242. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +52 -0
  243. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +233 -0
  244. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +429 -0
  245. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +45 -0
  246. package/dist/collection/components/stzh-actions/stzh-actions.css +125 -0
  247. package/dist/collection/components/stzh-actions/stzh-actions.js +98 -0
  248. package/dist/collection/components/stzh-actions/stzh-actions.stories.js +66 -0
  249. package/dist/collection/components/stzh-appnav/stzh-appnav.css +220 -0
  250. package/dist/collection/components/stzh-appnav/stzh-appnav.js +112 -0
  251. package/dist/collection/components/stzh-appnav/stzh-appnav.stories.js +53 -0
  252. package/dist/collection/components/stzh-appointments/stzh-appointments.css +180 -0
  253. package/dist/collection/components/stzh-appointments/stzh-appointments.js +515 -0
  254. package/dist/collection/components/stzh-appointments/stzh-appointments.localization.js +1 -0
  255. package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +186 -0
  256. package/dist/collection/components/stzh-badge/stzh-badge.css +118 -0
  257. package/dist/collection/components/stzh-badge/stzh-badge.js +47 -0
  258. package/dist/collection/components/stzh-badge/stzh-badge.stories.js +36 -0
  259. package/dist/collection/components/stzh-button/stzh-button.css +312 -0
  260. package/dist/collection/components/stzh-button/stzh-button.js +516 -0
  261. package/dist/collection/components/stzh-button/stzh-button.stories.js +66 -0
  262. package/dist/collection/components/stzh-calendar/stzh-calendar-day.js +22 -0
  263. package/dist/collection/components/stzh-calendar/stzh-calendar-month.js +21 -0
  264. package/dist/collection/components/stzh-calendar/stzh-calendar.css +332 -0
  265. package/dist/collection/components/stzh-calendar/stzh-calendar.js +463 -0
  266. package/dist/collection/components/stzh-calendar/stzh-calendar.localization.js +1 -0
  267. package/dist/collection/components/stzh-calendar/stzh-calendar.stories.js +37 -0
  268. package/dist/collection/components/stzh-cell/stzh-cell.css +575 -0
  269. package/dist/collection/components/stzh-cell/stzh-cell.js +179 -0
  270. package/dist/collection/components/stzh-cell/stzh-cell.stories.js +39 -0
  271. package/dist/collection/components/stzh-checkbox/assets/check.svg +3 -0
  272. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +272 -0
  273. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +459 -0
  274. package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +38 -0
  275. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +209 -0
  276. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +450 -0
  277. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.stories.js +39 -0
  278. package/dist/collection/components/stzh-chip/stzh-chip.css +302 -0
  279. package/dist/collection/components/stzh-chip/stzh-chip.js +407 -0
  280. package/dist/collection/components/stzh-chip/stzh-chip.stories.js +64 -0
  281. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +115 -0
  282. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +158 -0
  283. package/dist/collection/components/stzh-chip-select/stzh-chip-select.stories.js +69 -0
  284. package/dist/collection/components/stzh-container/stzh-container.css +190 -0
  285. package/dist/collection/components/stzh-container/stzh-container.js +21 -0
  286. package/dist/collection/components/stzh-container/stzh-container.stories.js +35 -0
  287. package/dist/collection/components/stzh-cspace/stzh-cspace.css +515 -0
  288. package/dist/collection/components/stzh-cspace/stzh-cspace.js +24 -0
  289. package/dist/collection/components/stzh-cspace/stzh-cspace.stories.js +34 -0
  290. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +103 -0
  291. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +24 -0
  292. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.stories.js +149 -0
  293. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +317 -0
  294. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +358 -0
  295. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.js +1 -0
  296. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +63 -0
  297. package/dist/collection/components/stzh-datatable/stzh-datatable.css +338 -0
  298. package/dist/collection/components/stzh-datatable/stzh-datatable.js +413 -0
  299. package/dist/collection/components/stzh-datatable/stzh-datatable.localization.js +1 -0
  300. package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +63 -0
  301. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +111 -0
  302. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +586 -0
  303. package/dist/collection/components/stzh-datepicker/stzh-datepicker.localization.js +1 -0
  304. package/dist/collection/components/stzh-datepicker/stzh-datepicker.stories.js +40 -0
  305. package/dist/collection/components/stzh-dialog/stzh-dialog.css +266 -0
  306. package/dist/collection/components/stzh-dialog/stzh-dialog.js +480 -0
  307. package/dist/collection/components/stzh-dialog/stzh-dialog.localization.js +1 -0
  308. package/dist/collection/components/stzh-dialog/stzh-dialog.stories.js +75 -0
  309. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +730 -0
  310. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +1436 -0
  311. package/dist/collection/components/stzh-dropdown/stzh-dropdown.localization.js +1 -0
  312. package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +109 -0
  313. package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +148 -0
  314. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +120 -0
  315. package/dist/collection/components/stzh-fieldset/stzh-fieldset.stories.js +55 -0
  316. package/dist/collection/components/stzh-figure/stzh-figure.css +137 -0
  317. package/dist/collection/components/stzh-figure/stzh-figure.js +76 -0
  318. package/dist/collection/components/stzh-figure/stzh-figure.stories.js +36 -0
  319. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +140 -0
  320. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +253 -0
  321. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.stories.js +27 -0
  322. package/dist/collection/components/stzh-footer/stzh-footer.css +208 -0
  323. package/dist/collection/components/stzh-footer/stzh-footer.js +147 -0
  324. package/dist/collection/components/stzh-footer/stzh-footer.localization.js +1 -0
  325. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +49 -0
  326. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +306 -0
  327. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +319 -0
  328. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.localization.js +1 -0
  329. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.stories.js +49 -0
  330. package/dist/collection/components/stzh-header/stzh-header.css +436 -0
  331. package/dist/collection/components/stzh-header/stzh-header.js +267 -0
  332. package/dist/collection/components/stzh-header/stzh-header.stories.js +178 -0
  333. package/dist/collection/components/stzh-heading/stzh-heading.css +397 -0
  334. package/dist/collection/components/stzh-heading/stzh-heading.js +99 -0
  335. package/dist/collection/components/stzh-heading/stzh-heading.stories.js +37 -0
  336. package/dist/collection/components/stzh-hr/stzh-hr.css +105 -0
  337. package/dist/collection/components/stzh-hr/stzh-hr.js +25 -0
  338. package/dist/collection/components/stzh-hr/stzh-hr.stories.js +23 -0
  339. package/dist/collection/components/stzh-hspace/stzh-hspace.css +810 -0
  340. package/dist/collection/components/stzh-hspace/stzh-hspace.js +246 -0
  341. package/dist/collection/components/stzh-hspace/stzh-hspace.stories.js +73 -0
  342. package/dist/collection/components/stzh-icon/stzh-icon.css +109 -0
  343. package/dist/collection/components/stzh-icon/stzh-icon.js +76 -0
  344. package/dist/collection/components/stzh-icon/stzh-icon.stories.js +37 -0
  345. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +1354 -0
  346. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -0
  347. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +99 -0
  348. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.js +19 -0
  349. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.stories.js +46 -0
  350. package/dist/collection/components/stzh-input/stzh-input-description.js +8 -0
  351. package/dist/collection/components/stzh-input/stzh-input.css +425 -0
  352. package/dist/collection/components/stzh-input/stzh-input.js +724 -0
  353. package/dist/collection/components/stzh-input/stzh-input.stories.js +116 -0
  354. package/dist/collection/components/stzh-link/stzh-link.css +231 -0
  355. package/dist/collection/components/stzh-link/stzh-link.js +427 -0
  356. package/dist/collection/components/stzh-link/stzh-link.stories.js +67 -0
  357. package/dist/collection/components/stzh-list/stzh-list.css +136 -0
  358. package/dist/collection/components/stzh-list/stzh-list.js +52 -0
  359. package/dist/collection/components/stzh-list/stzh-list.stories.js +42 -0
  360. package/dist/collection/components/stzh-list-item/assets/checkmark.svg +3 -0
  361. package/dist/collection/components/stzh-list-item/stzh-list-item.css +120 -0
  362. package/dist/collection/components/stzh-list-item/stzh-list-item.js +26 -0
  363. package/dist/collection/components/stzh-loader/stzh-loader.css +261 -0
  364. package/dist/collection/components/stzh-loader/stzh-loader.js +93 -0
  365. package/dist/collection/components/stzh-loader/stzh-loader.stories.js +36 -0
  366. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +135 -0
  367. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +94 -0
  368. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.stories.js +34 -0
  369. package/dist/collection/components/stzh-menu/stzh-menu.css +105 -0
  370. package/dist/collection/components/stzh-menu/stzh-menu.js +21 -0
  371. package/dist/collection/components/stzh-menu/stzh-menu.stories.js +70 -0
  372. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +173 -0
  373. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +296 -0
  374. package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +52 -0
  375. package/dist/collection/components/stzh-message/stzh-message.css +259 -0
  376. package/dist/collection/components/stzh-message/stzh-message.js +287 -0
  377. package/dist/collection/components/stzh-message/stzh-message.localization.js +1 -0
  378. package/dist/collection/components/stzh-message/stzh-message.stories.js +40 -0
  379. package/dist/collection/components/stzh-metanav/stzh-metanav.css +115 -0
  380. package/dist/collection/components/stzh-metanav/stzh-metanav.js +41 -0
  381. package/dist/collection/components/stzh-metanav/stzh-metanav.stories.js +39 -0
  382. package/dist/collection/components/stzh-overlay/stzh-overlay.css +135 -0
  383. package/dist/collection/components/stzh-overlay/stzh-overlay.js +239 -0
  384. package/dist/collection/components/stzh-overlay/stzh-overlay.stories.js +50 -0
  385. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +113 -0
  386. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.js +41 -0
  387. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.stories.js +43 -0
  388. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +136 -0
  389. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +76 -0
  390. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +107 -0
  391. package/dist/collection/components/stzh-popover/stzh-popover.css +360 -0
  392. package/dist/collection/components/stzh-popover/stzh-popover.js +673 -0
  393. package/dist/collection/components/stzh-popover/stzh-popover.localization.js +1 -0
  394. package/dist/collection/components/stzh-popover/stzh-popover.stories.js +67 -0
  395. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +4079 -0
  396. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.js +25 -0
  397. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.stories.js +28 -0
  398. package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +119 -0
  399. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +272 -0
  400. package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +164 -0
  401. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +364 -0
  402. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +250 -0
  403. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.stories.js +36 -0
  404. package/dist/collection/components/stzh-radio/stzh-radio.css +278 -0
  405. package/dist/collection/components/stzh-radio/stzh-radio.js +458 -0
  406. package/dist/collection/components/stzh-radio/stzh-radio.stories.js +38 -0
  407. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +209 -0
  408. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +477 -0
  409. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +39 -0
  410. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +210 -0
  411. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +114 -0
  412. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.stories.js +50 -0
  413. package/dist/collection/components/stzh-richtext/stzh-richtext.css +735 -0
  414. package/dist/collection/components/stzh-richtext/stzh-richtext.js +90 -0
  415. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +79 -0
  416. package/dist/collection/components/stzh-row/stzh-row.css +572 -0
  417. package/dist/collection/components/stzh-row/stzh-row.js +207 -0
  418. package/dist/collection/components/stzh-row/stzh-row.stories.js +90 -0
  419. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +170 -0
  420. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +221 -0
  421. package/dist/collection/components/stzh-saptcha/stzh-saptcha.localization.js +1 -0
  422. package/dist/collection/components/stzh-saptcha/stzh-saptcha.stories.js +34 -0
  423. package/dist/collection/components/stzh-section/stzh-section.css +126 -0
  424. package/dist/collection/components/stzh-section/stzh-section.js +50 -0
  425. package/dist/collection/components/stzh-section/stzh-section.stories.js +100 -0
  426. package/dist/collection/components/stzh-servicecard/stzh-servicecard.css +558 -0
  427. package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +592 -0
  428. package/dist/collection/components/stzh-servicecard/stzh-servicecard.localization.js +1 -0
  429. package/dist/collection/components/stzh-servicecard/stzh-servicecard.stories.js +73 -0
  430. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.css +163 -0
  431. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.js +153 -0
  432. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.localization.js +1 -0
  433. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.stories.js +115 -0
  434. package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +128 -0
  435. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +106 -0
  436. package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +53 -0
  437. package/dist/collection/components/stzh-sortable/stzh-sortable.css +151 -0
  438. package/dist/collection/components/stzh-sortable/stzh-sortable.js +501 -0
  439. package/dist/collection/components/stzh-sortable/stzh-sortable.localization.js +1 -0
  440. package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +34 -0
  441. package/dist/collection/components/stzh-status/stzh-status.css +143 -0
  442. package/dist/collection/components/stzh-status/stzh-status.js +115 -0
  443. package/dist/collection/components/stzh-status/stzh-status.stories.js +34 -0
  444. package/dist/collection/components/stzh-table/stzh-table.css +365 -0
  445. package/dist/collection/components/stzh-table/stzh-table.js +215 -0
  446. package/dist/collection/components/stzh-table/stzh-table.stories.js +89 -0
  447. package/dist/collection/components/stzh-text/stzh-text.css +859 -0
  448. package/dist/collection/components/stzh-text/stzh-text.js +232 -0
  449. package/dist/collection/components/stzh-text/stzh-text.stories.js +43 -0
  450. package/dist/collection/components/stzh-toggle/stzh-toggle.css +296 -0
  451. package/dist/collection/components/stzh-toggle/stzh-toggle.js +479 -0
  452. package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +38 -0
  453. package/dist/collection/components/stzh-tooltip/assets/arrow.svg +3 -0
  454. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +182 -0
  455. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +667 -0
  456. package/dist/collection/components/stzh-tooltip/stzh-tooltip.localization.js +1 -0
  457. package/dist/collection/components/stzh-tooltip/stzh-tooltip.stories.js +63 -0
  458. package/dist/collection/components/stzh-upload/stzh-upload.css +409 -0
  459. package/dist/collection/components/stzh-upload/stzh-upload.js +1358 -0
  460. package/dist/collection/components/stzh-upload/stzh-upload.localization.js +1 -0
  461. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +69 -0
  462. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +163 -0
  463. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +229 -0
  464. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.stories.js +36 -0
  465. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +100 -0
  466. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +236 -0
  467. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.js +1 -0
  468. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.stories.js +52 -0
  469. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +225 -0
  470. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +292 -0
  471. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.js +1 -0
  472. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.stories.js +53 -0
  473. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +107 -0
  474. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +23 -0
  475. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.stories.js +45 -0
  476. package/dist/collection/components/stzh-vspace/stzh-vspace.css +811 -0
  477. package/dist/collection/components/stzh-vspace/stzh-vspace.js +246 -0
  478. package/dist/collection/components/stzh-vspace/stzh-vspace.stories.js +73 -0
  479. package/dist/collection/global/js/helpers/autofocus.js +20 -0
  480. package/dist/collection/global/js/helpers/scrollbar-width.js +20 -0
  481. package/dist/collection/global/js/script.js +17 -0
  482. package/dist/collection/index.js +7 -0
  483. package/dist/collection/pages/egov.stories.js +262 -0
  484. package/dist/collection/pages/example.stories.js +170 -0
  485. package/dist/collection/pages/meinkonto.stories.js +661 -0
  486. package/dist/collection/patterns/appointments.stories.js +43 -0
  487. package/dist/collection/patterns/processingscreen.stories.js +43 -0
  488. package/dist/collection/utils/animation-utils.js +51 -0
  489. package/dist/collection/utils/date-adapter.js +86 -0
  490. package/dist/collection/utils/date-utils.js +196 -0
  491. package/dist/collection/utils/decorators.js +15 -0
  492. package/dist/collection/utils/event-utils.js +14 -0
  493. package/dist/collection/utils/h.js +109 -0
  494. package/dist/collection/utils/media-utils.js +20 -0
  495. package/dist/collection/utils/string-utils.js +13 -0
  496. package/dist/collection/utils/test-utils.js +27 -0
  497. package/dist/collection/utils/translation-utils.js +55 -0
  498. package/dist/collection/utils/utils.js +41 -0
  499. package/dist/components/_commonjsHelpers.js +21 -0
  500. package/dist/components/animation-utils.js +40 -0
  501. package/dist/components/arrow.js +1297 -0
  502. package/dist/components/date-adapter.js +88 -0
  503. package/dist/components/event-utils.js +16 -0
  504. package/dist/components/focus-trap.esm.js +1278 -0
  505. package/dist/components/index.d.ts +92 -0
  506. package/dist/components/index.js +125 -0
  507. package/dist/components/index2.js +2017 -0
  508. package/dist/components/js.cookie.js +144 -0
  509. package/dist/components/media-utils.js +22 -0
  510. package/dist/components/string-utils.js +15 -0
  511. package/dist/components/stzh-accordion-item.d.ts +11 -0
  512. package/dist/components/stzh-accordion-item.js +204 -0
  513. package/dist/components/stzh-accordion.d.ts +11 -0
  514. package/dist/components/stzh-accordion.js +91 -0
  515. package/dist/components/stzh-actions.d.ts +11 -0
  516. package/dist/components/stzh-actions.js +69 -0
  517. package/dist/components/stzh-appnav.d.ts +11 -0
  518. package/dist/components/stzh-appnav.js +67 -0
  519. package/dist/components/stzh-appointments.d.ts +11 -0
  520. package/dist/components/stzh-appointments.js +367 -0
  521. package/dist/components/stzh-badge.d.ts +11 -0
  522. package/dist/components/stzh-badge.js +6 -0
  523. package/dist/components/stzh-badge2.js +33 -0
  524. package/dist/components/stzh-button.d.ts +11 -0
  525. package/dist/components/stzh-button.js +6 -0
  526. package/dist/components/stzh-button2.js +165 -0
  527. package/dist/components/stzh-calendar.d.ts +11 -0
  528. package/dist/components/stzh-calendar.js +6 -0
  529. package/dist/components/stzh-calendar2.js +490 -0
  530. package/dist/components/stzh-cell.d.ts +11 -0
  531. package/dist/components/stzh-cell.js +57 -0
  532. package/dist/components/stzh-checkbox.d.ts +11 -0
  533. package/dist/components/stzh-checkbox.js +176 -0
  534. package/dist/components/stzh-checkboxgroup.d.ts +11 -0
  535. package/dist/components/stzh-checkboxgroup.js +208 -0
  536. package/dist/components/stzh-chip-select.d.ts +11 -0
  537. package/dist/components/stzh-chip-select.js +107 -0
  538. package/dist/components/stzh-chip.d.ts +11 -0
  539. package/dist/components/stzh-chip.js +6 -0
  540. package/dist/components/stzh-chip2.js +130 -0
  541. package/dist/components/stzh-container.d.ts +11 -0
  542. package/dist/components/stzh-container.js +32 -0
  543. package/dist/components/stzh-cspace.d.ts +11 -0
  544. package/dist/components/stzh-cspace.js +35 -0
  545. package/dist/components/stzh-datamessagelist-item.d.ts +11 -0
  546. package/dist/components/stzh-datamessagelist-item.js +175 -0
  547. package/dist/components/stzh-datamessagelist.d.ts +11 -0
  548. package/dist/components/stzh-datamessagelist.js +36 -0
  549. package/dist/components/stzh-datatable.d.ts +11 -0
  550. package/dist/components/stzh-datatable.js +308 -0
  551. package/dist/components/stzh-datepicker.d.ts +11 -0
  552. package/dist/components/stzh-datepicker.js +6 -0
  553. package/dist/components/stzh-datepicker2.js +221 -0
  554. package/dist/components/stzh-dialog.d.ts +11 -0
  555. package/dist/components/stzh-dialog.js +229 -0
  556. package/dist/components/stzh-dropdown.d.ts +11 -0
  557. package/dist/components/stzh-dropdown.js +6 -0
  558. package/dist/components/stzh-dropdown2.js +5151 -0
  559. package/dist/components/stzh-fieldset.d.ts +11 -0
  560. package/dist/components/stzh-fieldset.js +59 -0
  561. package/dist/components/stzh-figure.d.ts +11 -0
  562. package/dist/components/stzh-figure.js +46 -0
  563. package/dist/components/stzh-flyingfocus.d.ts +11 -0
  564. package/dist/components/stzh-flyingfocus.js +199 -0
  565. package/dist/components/stzh-footer.d.ts +11 -0
  566. package/dist/components/stzh-footer.js +103 -0
  567. package/dist/components/stzh-ghettobox.d.ts +11 -0
  568. package/dist/components/stzh-ghettobox.js +6 -0
  569. package/dist/components/stzh-ghettobox2.js +135 -0
  570. package/dist/components/stzh-header.d.ts +11 -0
  571. package/dist/components/stzh-header.js +186 -0
  572. package/dist/components/stzh-heading.d.ts +11 -0
  573. package/dist/components/stzh-heading.js +6 -0
  574. package/dist/components/stzh-heading2.js +46 -0
  575. package/dist/components/stzh-hr.d.ts +11 -0
  576. package/dist/components/stzh-hr.js +36 -0
  577. package/dist/components/stzh-hspace.d.ts +11 -0
  578. package/dist/components/stzh-hspace.js +64 -0
  579. package/dist/components/stzh-icon-sprite.d.ts +11 -0
  580. package/dist/components/stzh-icon-sprite.js +35 -0
  581. package/dist/components/stzh-icon.d.ts +11 -0
  582. package/dist/components/stzh-icon.js +6 -0
  583. package/dist/components/stzh-icon2.js +48 -0
  584. package/dist/components/stzh-input-description.js +20 -0
  585. package/dist/components/stzh-input.d.ts +11 -0
  586. package/dist/components/stzh-input.js +6 -0
  587. package/dist/components/stzh-input2.js +253 -0
  588. package/dist/components/stzh-link.d.ts +11 -0
  589. package/dist/components/stzh-link.js +6 -0
  590. package/dist/components/stzh-link2.js +144 -0
  591. package/dist/components/stzh-list-item.d.ts +11 -0
  592. package/dist/components/stzh-list-item.js +42 -0
  593. package/dist/components/stzh-list.d.ts +11 -0
  594. package/dist/components/stzh-list.js +42 -0
  595. package/dist/components/stzh-loader.d.ts +11 -0
  596. package/dist/components/stzh-loader.js +48 -0
  597. package/dist/components/stzh-loadingbar.d.ts +11 -0
  598. package/dist/components/stzh-loadingbar.js +50 -0
  599. package/dist/components/stzh-menu-item.d.ts +11 -0
  600. package/dist/components/stzh-menu-item.js +6 -0
  601. package/dist/components/stzh-menu-item2.js +116 -0
  602. package/dist/components/stzh-menu.d.ts +11 -0
  603. package/dist/components/stzh-menu.js +6 -0
  604. package/dist/components/stzh-menu2.js +29 -0
  605. package/dist/components/stzh-message.d.ts +11 -0
  606. package/dist/components/stzh-message.js +113 -0
  607. package/dist/components/stzh-metanav.d.ts +11 -0
  608. package/dist/components/stzh-metanav.js +50 -0
  609. package/dist/components/stzh-overlay.d.ts +11 -0
  610. package/dist/components/stzh-overlay.js +119 -0
  611. package/dist/components/stzh-page-skiplinks.d.ts +11 -0
  612. package/dist/components/stzh-page-skiplinks.js +50 -0
  613. package/dist/components/stzh-pagetitle.d.ts +11 -0
  614. package/dist/components/stzh-pagetitle.js +85 -0
  615. package/dist/components/stzh-popover.d.ts +11 -0
  616. package/dist/components/stzh-popover.js +6 -0
  617. package/dist/components/stzh-popover2.js +390 -0
  618. package/dist/components/stzh-portal-mitwirken.d.ts +11 -0
  619. package/dist/components/stzh-portal-mitwirken.js +36 -0
  620. package/dist/components/stzh-progressbar-item.d.ts +11 -0
  621. package/dist/components/stzh-progressbar-item.js +6 -0
  622. package/dist/components/stzh-progressbar-item2.js +82 -0
  623. package/dist/components/stzh-progressbar.d.ts +11 -0
  624. package/dist/components/stzh-progressbar.js +159 -0
  625. package/dist/components/stzh-radio.d.ts +11 -0
  626. package/dist/components/stzh-radio.js +6 -0
  627. package/dist/components/stzh-radio2.js +168 -0
  628. package/dist/components/stzh-radiogroup.d.ts +11 -0
  629. package/dist/components/stzh-radiogroup.js +6 -0
  630. package/dist/components/stzh-radiogroup2.js +215 -0
  631. package/dist/components/stzh-readspeaker.d.ts +11 -0
  632. package/dist/components/stzh-readspeaker.js +74 -0
  633. package/dist/components/stzh-richtext.d.ts +11 -0
  634. package/dist/components/stzh-richtext.js +6 -0
  635. package/dist/components/stzh-richtext2.js +65 -0
  636. package/dist/components/stzh-row.d.ts +11 -0
  637. package/dist/components/stzh-row.js +63 -0
  638. package/dist/components/stzh-saptcha.d.ts +11 -0
  639. package/dist/components/stzh-saptcha.js +132 -0
  640. package/dist/components/stzh-section.d.ts +11 -0
  641. package/dist/components/stzh-section.js +39 -0
  642. package/dist/components/stzh-servicecard-list.d.ts +11 -0
  643. package/dist/components/stzh-servicecard-list.js +99 -0
  644. package/dist/components/stzh-servicecard.d.ts +11 -0
  645. package/dist/components/stzh-servicecard.js +283 -0
  646. package/dist/components/stzh-skiplink.d.ts +11 -0
  647. package/dist/components/stzh-skiplink.js +45 -0
  648. package/dist/components/stzh-sortable.d.ts +11 -0
  649. package/dist/components/stzh-sortable.js +6 -0
  650. package/dist/components/stzh-sortable2.js +3401 -0
  651. package/dist/components/stzh-status.d.ts +11 -0
  652. package/dist/components/stzh-status.js +6 -0
  653. package/dist/components/stzh-status2.js +51 -0
  654. package/dist/components/stzh-table.d.ts +11 -0
  655. package/dist/components/stzh-table.js +164 -0
  656. package/dist/components/stzh-text.d.ts +11 -0
  657. package/dist/components/stzh-text.js +6 -0
  658. package/dist/components/stzh-text2.js +64 -0
  659. package/dist/components/stzh-toggle.d.ts +11 -0
  660. package/dist/components/stzh-toggle.js +175 -0
  661. package/dist/components/stzh-tooltip.d.ts +11 -0
  662. package/dist/components/stzh-tooltip.js +6 -0
  663. package/dist/components/stzh-tooltip2.js +353 -0
  664. package/dist/components/stzh-upload.d.ts +11 -0
  665. package/dist/components/stzh-upload.js +10818 -0
  666. package/dist/components/stzh-vbz-linechip.d.ts +11 -0
  667. package/dist/components/stzh-vbz-linechip.js +6 -0
  668. package/dist/components/stzh-vbz-linechip2.js +2080 -0
  669. package/dist/components/stzh-vbz-majorticker.d.ts +11 -0
  670. package/dist/components/stzh-vbz-majorticker.js +158 -0
  671. package/dist/components/stzh-vbz-ticker.d.ts +11 -0
  672. package/dist/components/stzh-vbz-ticker.js +232 -0
  673. package/dist/components/stzh-visuallyhidden.d.ts +11 -0
  674. package/dist/components/stzh-visuallyhidden.js +34 -0
  675. package/dist/components/stzh-vspace.d.ts +11 -0
  676. package/dist/components/stzh-vspace.js +64 -0
  677. package/dist/components/translation-utils.js +57 -0
  678. package/dist/components/utils.js +33 -0
  679. package/dist/esm/_commonjsHelpers-ba3f0406.js +21 -0
  680. package/dist/esm/animation-utils-27dcfc1e.js +40 -0
  681. package/dist/esm/app-globals-137e106c.js +52 -0
  682. package/dist/esm/arrow-18769ca6.js +1297 -0
  683. package/dist/esm/date-adapter-c0ee5963.js +88 -0
  684. package/dist/esm/date-utils-282e96fe.js +159 -0
  685. package/dist/esm/dom-104fb833.js +73 -0
  686. package/dist/esm/event-utils-68b64805.js +16 -0
  687. package/dist/esm/focus-trap.esm-074705a3.js +1278 -0
  688. package/dist/esm/index-0e6d34c6.js +2209 -0
  689. package/dist/esm/index-545902f4.js +2017 -0
  690. package/dist/esm/index.js +1 -0
  691. package/dist/esm/js.cookie-28a40640.js +144 -0
  692. package/dist/esm/loader.js +19 -0
  693. package/dist/esm/media-utils-db7c9057.js +22 -0
  694. package/dist/esm/polyfills/core-js.js +11 -0
  695. package/dist/esm/polyfills/css-shim.js +1 -0
  696. package/dist/esm/polyfills/dom.js +79 -0
  697. package/dist/esm/polyfills/es5-html-element.js +1 -0
  698. package/dist/esm/polyfills/index.js +34 -0
  699. package/dist/esm/polyfills/system.js +6 -0
  700. package/dist/esm/shadow-css-4261c637.js +387 -0
  701. package/dist/esm/string-utils-33181845.js +15 -0
  702. package/dist/esm/stzh-accordion-item.entry.js +177 -0
  703. package/dist/esm/stzh-accordion.entry.js +70 -0
  704. package/dist/esm/stzh-actions.entry.js +49 -0
  705. package/dist/esm/stzh-appnav.entry.js +46 -0
  706. package/dist/esm/stzh-appointments.entry.js +267 -0
  707. package/dist/esm/stzh-badge_3.entry.js +161 -0
  708. package/dist/esm/stzh-calendar.entry.js +302 -0
  709. package/dist/esm/stzh-cell.entry.js +31 -0
  710. package/dist/esm/stzh-checkbox.entry.js +132 -0
  711. package/dist/esm/stzh-checkboxgroup.entry.js +164 -0
  712. package/dist/esm/stzh-chip-select.entry.js +62 -0
  713. package/dist/esm/stzh-chip.entry.js +97 -0
  714. package/dist/esm/stzh-components.js +105 -0
  715. package/dist/esm/stzh-container.entry.js +15 -0
  716. package/dist/esm/stzh-cspace.entry.js +18 -0
  717. package/dist/esm/stzh-datamessagelist-item.entry.js +99 -0
  718. package/dist/esm/stzh-datamessagelist.entry.js +19 -0
  719. package/dist/esm/stzh-datatable.entry.js +245 -0
  720. package/dist/esm/stzh-datepicker_4.entry.js +477 -0
  721. package/dist/esm/stzh-dialog.entry.js +187 -0
  722. package/dist/esm/stzh-dropdown.entry.js +5082 -0
  723. package/dist/esm/stzh-fieldset.entry.js +31 -0
  724. package/dist/esm/stzh-figure.entry.js +26 -0
  725. package/dist/esm/stzh-flyingfocus.entry.js +174 -0
  726. package/dist/esm/stzh-footer.entry.js +63 -0
  727. package/dist/esm/stzh-ghettobox_2.entry.js +145 -0
  728. package/dist/esm/stzh-header.entry.js +158 -0
  729. package/dist/esm/stzh-heading.entry.js +28 -0
  730. package/dist/esm/stzh-hr.entry.js +19 -0
  731. package/dist/esm/stzh-hspace.entry.js +37 -0
  732. package/dist/esm/stzh-icon-sprite.entry.js +18 -0
  733. package/dist/esm/stzh-input-description-fa0a4b5b.js +20 -0
  734. package/dist/esm/stzh-input.entry.js +188 -0
  735. package/dist/esm/stzh-link.entry.js +102 -0
  736. package/dist/esm/stzh-list-item.entry.js +24 -0
  737. package/dist/esm/stzh-list.entry.js +22 -0
  738. package/dist/esm/stzh-loader.entry.js +27 -0
  739. package/dist/esm/stzh-loadingbar.entry.js +29 -0
  740. package/dist/esm/stzh-menu_2.entry.js +92 -0
  741. package/dist/esm/stzh-message.entry.js +81 -0
  742. package/dist/esm/stzh-metanav.entry.js +33 -0
  743. package/dist/esm/stzh-overlay.entry.js +96 -0
  744. package/dist/esm/stzh-page-skiplinks.entry.js +33 -0
  745. package/dist/esm/stzh-pagetitle.entry.js +68 -0
  746. package/dist/esm/stzh-popover.entry.js +357 -0
  747. package/dist/esm/stzh-portal-mitwirken.entry.js +19 -0
  748. package/dist/esm/stzh-progressbar-item.entry.js +53 -0
  749. package/dist/esm/stzh-progressbar.entry.js +121 -0
  750. package/dist/esm/stzh-readspeaker.entry.js +54 -0
  751. package/dist/esm/stzh-row.entry.js +36 -0
  752. package/dist/esm/stzh-saptcha.entry.js +77 -0
  753. package/dist/esm/stzh-section.entry.js +20 -0
  754. package/dist/esm/stzh-servicecard-list.entry.js +52 -0
  755. package/dist/esm/stzh-servicecard.entry.js +208 -0
  756. package/dist/esm/stzh-skiplink.entry.js +23 -0
  757. package/dist/esm/stzh-sortable.entry.js +3378 -0
  758. package/dist/esm/stzh-status.entry.js +32 -0
  759. package/dist/esm/stzh-table.entry.js +139 -0
  760. package/dist/esm/stzh-toggle.entry.js +130 -0
  761. package/dist/esm/stzh-tooltip.entry.js +318 -0
  762. package/dist/esm/stzh-upload.entry.js +10746 -0
  763. package/dist/esm/stzh-vbz-linechip.entry.js +2054 -0
  764. package/dist/esm/stzh-vbz-majorticker.entry.js +103 -0
  765. package/dist/esm/stzh-vbz-ticker.entry.js +179 -0
  766. package/dist/esm/stzh-visuallyhidden.entry.js +17 -0
  767. package/dist/esm/stzh-vspace.entry.js +37 -0
  768. package/dist/esm/translation-utils-f5b09945.js +57 -0
  769. package/dist/esm/utils-c5d68020.js +33 -0
  770. package/dist/esm-es5/_commonjsHelpers-ba3f0406.js +1 -0
  771. package/dist/esm-es5/animation-utils-27dcfc1e.js +1 -0
  772. package/dist/esm-es5/app-globals-137e106c.js +1 -0
  773. package/dist/esm-es5/arrow-18769ca6.js +1 -0
  774. package/dist/esm-es5/date-adapter-c0ee5963.js +1 -0
  775. package/dist/esm-es5/date-utils-282e96fe.js +1 -0
  776. package/dist/esm-es5/dom-104fb833.js +21 -0
  777. package/dist/esm-es5/event-utils-68b64805.js +1 -0
  778. package/dist/esm-es5/focus-trap.esm-074705a3.js +9 -0
  779. package/dist/esm-es5/index-0e6d34c6.js +2 -0
  780. package/dist/esm-es5/index-545902f4.js +1 -0
  781. package/dist/esm-es5/index.js +0 -0
  782. package/dist/esm-es5/js.cookie-28a40640.js +1 -0
  783. package/dist/esm-es5/loader.js +1 -0
  784. package/dist/esm-es5/media-utils-db7c9057.js +1 -0
  785. package/dist/esm-es5/shadow-css-4261c637.js +12 -0
  786. package/dist/esm-es5/string-utils-33181845.js +1 -0
  787. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -0
  788. package/dist/esm-es5/stzh-accordion.entry.js +1 -0
  789. package/dist/esm-es5/stzh-actions.entry.js +1 -0
  790. package/dist/esm-es5/stzh-appnav.entry.js +1 -0
  791. package/dist/esm-es5/stzh-appointments.entry.js +1 -0
  792. package/dist/esm-es5/stzh-badge_3.entry.js +1 -0
  793. package/dist/esm-es5/stzh-calendar.entry.js +1 -0
  794. package/dist/esm-es5/stzh-cell.entry.js +1 -0
  795. package/dist/esm-es5/stzh-checkbox.entry.js +1 -0
  796. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -0
  797. package/dist/esm-es5/stzh-chip-select.entry.js +1 -0
  798. package/dist/esm-es5/stzh-chip.entry.js +1 -0
  799. package/dist/esm-es5/stzh-components.js +1 -0
  800. package/dist/esm-es5/stzh-container.entry.js +1 -0
  801. package/dist/esm-es5/stzh-cspace.entry.js +1 -0
  802. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -0
  803. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -0
  804. package/dist/esm-es5/stzh-datatable.entry.js +9 -0
  805. package/dist/esm-es5/stzh-datepicker_4.entry.js +1 -0
  806. package/dist/esm-es5/stzh-dialog.entry.js +1 -0
  807. package/dist/esm-es5/stzh-dropdown.entry.js +1 -0
  808. package/dist/esm-es5/stzh-fieldset.entry.js +1 -0
  809. package/dist/esm-es5/stzh-figure.entry.js +1 -0
  810. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -0
  811. package/dist/esm-es5/stzh-footer.entry.js +1 -0
  812. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -0
  813. package/dist/esm-es5/stzh-header.entry.js +1 -0
  814. package/dist/esm-es5/stzh-heading.entry.js +1 -0
  815. package/dist/esm-es5/stzh-hr.entry.js +1 -0
  816. package/dist/esm-es5/stzh-hspace.entry.js +1 -0
  817. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -0
  818. package/dist/esm-es5/stzh-input-description-fa0a4b5b.js +1 -0
  819. package/dist/esm-es5/stzh-input.entry.js +1 -0
  820. package/dist/esm-es5/stzh-link.entry.js +1 -0
  821. package/dist/esm-es5/stzh-list-item.entry.js +1 -0
  822. package/dist/esm-es5/stzh-list.entry.js +1 -0
  823. package/dist/esm-es5/stzh-loader.entry.js +1 -0
  824. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -0
  825. package/dist/esm-es5/stzh-menu_2.entry.js +1 -0
  826. package/dist/esm-es5/stzh-message.entry.js +1 -0
  827. package/dist/esm-es5/stzh-metanav.entry.js +1 -0
  828. package/dist/esm-es5/stzh-overlay.entry.js +1 -0
  829. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -0
  830. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -0
  831. package/dist/esm-es5/stzh-popover.entry.js +1 -0
  832. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -0
  833. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -0
  834. package/dist/esm-es5/stzh-progressbar.entry.js +1 -0
  835. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -0
  836. package/dist/esm-es5/stzh-row.entry.js +1 -0
  837. package/dist/esm-es5/stzh-saptcha.entry.js +1 -0
  838. package/dist/esm-es5/stzh-section.entry.js +1 -0
  839. package/dist/esm-es5/stzh-servicecard-list.entry.js +1 -0
  840. package/dist/esm-es5/stzh-servicecard.entry.js +1 -0
  841. package/dist/esm-es5/stzh-skiplink.entry.js +1 -0
  842. package/dist/esm-es5/stzh-sortable.entry.js +7 -0
  843. package/dist/esm-es5/stzh-status.entry.js +1 -0
  844. package/dist/esm-es5/stzh-table.entry.js +1 -0
  845. package/dist/esm-es5/stzh-toggle.entry.js +1 -0
  846. package/dist/esm-es5/stzh-tooltip.entry.js +1 -0
  847. package/dist/esm-es5/stzh-upload.entry.js +1 -0
  848. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -0
  849. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -0
  850. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -0
  851. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -0
  852. package/dist/esm-es5/stzh-vspace.entry.js +1 -0
  853. package/dist/esm-es5/translation-utils-f5b09945.js +1 -0
  854. package/dist/esm-es5/utils-c5d68020.js +1 -0
  855. package/dist/index.cjs.js +1 -0
  856. package/dist/index.js +1 -0
  857. package/dist/stzh-components/assets/favicons/android-chrome-192x192.png +0 -0
  858. package/dist/stzh-components/assets/favicons/android-chrome-384x384.png +0 -0
  859. package/dist/stzh-components/assets/favicons/apple-touch-icon.png +0 -0
  860. package/dist/stzh-components/assets/favicons/browserconfig.xml +9 -0
  861. package/dist/stzh-components/assets/favicons/favicon-16x16.png +0 -0
  862. package/dist/stzh-components/assets/favicons/favicon-32x32.png +0 -0
  863. package/dist/stzh-components/assets/favicons/favicon.ico +0 -0
  864. package/dist/stzh-components/assets/favicons/mstile-150x150.png +0 -0
  865. package/dist/stzh-components/assets/favicons/safari-pinned-tab.svg +1 -0
  866. package/dist/stzh-components/assets/favicons/site.webmanifest +19 -0
  867. package/dist/stzh-components/assets/fonts/HelveticaNeueLTW01_41488878.woff +0 -0
  868. package/dist/stzh-components/assets/fonts/HelveticaNeueLTW01_41488878.woff2 +0 -0
  869. package/dist/stzh-components/assets/fonts/HelveticaNeueLTW01_55Roman.woff +0 -0
  870. package/dist/stzh-components/assets/fonts/HelveticaNeueLTW01_55Roman.woff2 +0 -0
  871. package/dist/stzh-components/assets/fonts/HelveticaNeueLTW01_71488914.woff +0 -0
  872. package/dist/stzh-components/assets/fonts/HelveticaNeueLTW01_71488914.woff2 +0 -0
  873. package/dist/stzh-components/assets/fonts/HelveticaNeueLTW05_65Medium.woff +0 -0
  874. package/dist/stzh-components/assets/fonts/HelveticaNeueLTW05_65Medium.woff2 +0 -0
  875. package/dist/stzh-components/assets/fonts/HelveticaNeueLTW05_85Heavy.woff +0 -0
  876. package/dist/stzh-components/assets/fonts/HelveticaNeueLTW05_85Heavy.woff2 +0 -0
  877. package/dist/stzh-components/assets/fonts.css +39 -0
  878. package/dist/stzh-components/assets/i18n/de.json +154 -0
  879. package/dist/stzh-components/assets/i18n/en.json +154 -0
  880. package/dist/stzh-components/assets/icons/mono/alarm-bell.svg +3 -0
  881. package/dist/stzh-components/assets/icons/mono/angle-down.svg +3 -0
  882. package/dist/stzh-components/assets/icons/mono/angle-left.svg +3 -0
  883. package/dist/stzh-components/assets/icons/mono/angle-right.svg +3 -0
  884. package/dist/stzh-components/assets/icons/mono/angle-up.svg +3 -0
  885. package/dist/stzh-components/assets/icons/mono/archive-box.svg +3 -0
  886. package/dist/stzh-components/assets/icons/mono/arrow-down.svg +3 -0
  887. package/dist/stzh-components/assets/icons/mono/arrow-left-circle.svg +4 -0
  888. package/dist/stzh-components/assets/icons/mono/arrow-left.svg +3 -0
  889. package/dist/stzh-components/assets/icons/mono/arrow-right-long.svg +3 -0
  890. package/dist/stzh-components/assets/icons/mono/arrow-right.svg +3 -0
  891. package/dist/stzh-components/assets/icons/mono/arrow-up.svg +3 -0
  892. package/dist/stzh-components/assets/icons/mono/bulleted-list.svg +3 -0
  893. package/dist/stzh-components/assets/icons/mono/calendar.svg +3 -0
  894. package/dist/stzh-components/assets/icons/mono/cart.svg +3 -0
  895. package/dist/stzh-components/assets/icons/mono/checkmark-circle.svg +3 -0
  896. package/dist/stzh-components/assets/icons/mono/checkmark.svg +3 -0
  897. package/dist/stzh-components/assets/icons/mono/clock.svg +3 -0
  898. package/dist/stzh-components/assets/icons/mono/close-circle.svg +3 -0
  899. package/dist/stzh-components/assets/icons/mono/close.svg +3 -0
  900. package/dist/stzh-components/assets/icons/mono/compass-direction.svg +3 -0
  901. package/dist/stzh-components/assets/icons/mono/compass-north.svg +4 -0
  902. package/dist/stzh-components/assets/icons/mono/construction.svg +3 -0
  903. package/dist/stzh-components/assets/icons/mono/copy.svg +3 -0
  904. package/dist/stzh-components/assets/icons/mono/delete.svg +3 -0
  905. package/dist/stzh-components/assets/icons/mono/download.svg +3 -0
  906. package/dist/stzh-components/assets/icons/mono/drag.svg +10 -0
  907. package/dist/stzh-components/assets/icons/mono/edit.svg +3 -0
  908. package/dist/stzh-components/assets/icons/mono/email-check.svg +10 -0
  909. package/dist/stzh-components/assets/icons/mono/expand.svg +3 -0
  910. package/dist/stzh-components/assets/icons/mono/external-link.svg +4 -0
  911. package/dist/stzh-components/assets/icons/mono/facebook-comment.svg +3 -0
  912. package/dist/stzh-components/assets/icons/mono/facebook.svg +10 -0
  913. package/dist/stzh-components/assets/icons/mono/file.svg +3 -0
  914. package/dist/stzh-components/assets/icons/mono/filtering.svg +3 -0
  915. package/dist/stzh-components/assets/icons/mono/flag.svg +10 -0
  916. package/dist/stzh-components/assets/icons/mono/focus.svg +3 -0
  917. package/dist/stzh-components/assets/icons/mono/gear.svg +3 -0
  918. package/dist/stzh-components/assets/icons/mono/heart.svg +10 -0
  919. package/dist/stzh-components/assets/icons/mono/home.svg +10 -0
  920. package/dist/stzh-components/assets/icons/mono/important-warning.svg +3 -0
  921. package/dist/stzh-components/assets/icons/mono/info-help.svg +3 -0
  922. package/dist/stzh-components/assets/icons/mono/instagram.svg +3 -0
  923. package/dist/stzh-components/assets/icons/mono/like-hand.svg +10 -0
  924. package/dist/stzh-components/assets/icons/mono/linkedin.svg +5 -0
  925. package/dist/stzh-components/assets/icons/mono/list-expanded.svg +4 -0
  926. package/dist/stzh-components/assets/icons/mono/list-shrinked.svg +3 -0
  927. package/dist/stzh-components/assets/icons/mono/lock.svg +10 -0
  928. package/dist/stzh-components/assets/icons/mono/mail.svg +10 -0
  929. package/dist/stzh-components/assets/icons/mono/map.svg +3 -0
  930. package/dist/stzh-components/assets/icons/mono/menu.svg +3 -0
  931. package/dist/stzh-components/assets/icons/mono/minus.svg +3 -0
  932. package/dist/stzh-components/assets/icons/mono/more-horizontal.svg +5 -0
  933. package/dist/stzh-components/assets/icons/mono/more-vertical.svg +5 -0
  934. package/dist/stzh-components/assets/icons/mono/paper-clip.svg +10 -0
  935. package/dist/stzh-components/assets/icons/mono/phone.svg +10 -0
  936. package/dist/stzh-components/assets/icons/mono/pin-location.svg +10 -0
  937. package/dist/stzh-components/assets/icons/mono/pin.svg +11 -0
  938. package/dist/stzh-components/assets/icons/mono/play-1.svg +4 -0
  939. package/dist/stzh-components/assets/icons/mono/play-button.svg +11 -0
  940. package/dist/stzh-components/assets/icons/mono/play.svg +10 -0
  941. package/dist/stzh-components/assets/icons/mono/plus.svg +3 -0
  942. package/dist/stzh-components/assets/icons/mono/portfolio-grid.svg +11 -0
  943. package/dist/stzh-components/assets/icons/mono/print.svg +10 -0
  944. package/dist/stzh-components/assets/icons/mono/question-help.svg +3 -0
  945. package/dist/stzh-components/assets/icons/mono/read-mail.svg +10 -0
  946. package/dist/stzh-components/assets/icons/mono/reload.svg +10 -0
  947. package/dist/stzh-components/assets/icons/mono/reset-time.svg +10 -0
  948. package/dist/stzh-components/assets/icons/mono/reset.svg +10 -0
  949. package/dist/stzh-components/assets/icons/mono/resize.svg +8 -0
  950. package/dist/stzh-components/assets/icons/mono/rss.svg +12 -0
  951. package/dist/stzh-components/assets/icons/mono/search.svg +3 -0
  952. package/dist/stzh-components/assets/icons/mono/services.svg +6 -0
  953. package/dist/stzh-components/assets/icons/mono/share.svg +3 -0
  954. package/dist/stzh-components/assets/icons/mono/shrink.svg +3 -0
  955. package/dist/stzh-components/assets/icons/mono/silent-mode.svg +3 -0
  956. package/dist/stzh-components/assets/icons/mono/social-media.svg +23 -0
  957. package/dist/stzh-components/assets/icons/mono/star-filled.svg +3 -0
  958. package/dist/stzh-components/assets/icons/mono/star.svg +3 -0
  959. package/dist/stzh-components/assets/icons/mono/subtitle.svg +3 -0
  960. package/dist/stzh-components/assets/icons/mono/team.svg +10 -0
  961. package/dist/stzh-components/assets/icons/mono/text-message.svg +6 -0
  962. package/dist/stzh-components/assets/icons/mono/thermometer.svg +10 -0
  963. package/dist/stzh-components/assets/icons/mono/transcript.svg +3 -0
  964. package/dist/stzh-components/assets/icons/mono/twitter-reply.svg +3 -0
  965. package/dist/stzh-components/assets/icons/mono/twitter-retweet.svg +3 -0
  966. package/dist/stzh-components/assets/icons/mono/twitter.svg +10 -0
  967. package/dist/stzh-components/assets/icons/mono/unlock.svg +10 -0
  968. package/dist/stzh-components/assets/icons/mono/user.svg +3 -0
  969. package/dist/stzh-components/assets/icons/mono/view-hidden.svg +3 -0
  970. package/dist/stzh-components/assets/icons/mono/view.svg +4 -0
  971. package/dist/stzh-components/assets/icons/mono/volume-medium.svg +3 -0
  972. package/dist/stzh-components/assets/icons/mono/warning-big.svg +4 -0
  973. package/dist/stzh-components/assets/icons/mono/warning.svg +3 -0
  974. package/dist/stzh-components/assets/icons/mono/web-Link.svg +3 -0
  975. package/dist/stzh-components/assets/icons/mono/wifi-signal.svg +3 -0
  976. package/dist/stzh-components/assets/icons/mono/world-globe.svg +10 -0
  977. package/dist/stzh-components/assets/icons/mono/xing.svg +11 -0
  978. package/dist/stzh-components/assets/polyfills/ie11CustomProperties.min.js +8 -0
  979. package/dist/stzh-components/assets/polyfills/intersection-observer.min.js +7 -0
  980. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +1354 -0
  981. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -0
  982. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -0
  983. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -0
  984. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -0
  985. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -0
  986. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Styles-Basic.css +881 -0
  987. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Styles-Button.css +75 -0
  988. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Styles.css +977 -0
  989. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.js +257 -0
  990. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -0
  991. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -0
  992. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -0
  993. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -0
  994. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -0
  995. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -0
  996. package/dist/stzh-components/assets/vendors/readspeaker/img/ReadSpeakerClassic.png +0 -0
  997. package/dist/stzh-components/assets/vendors/readspeaker/img/cursor-ew.png +0 -0
  998. package/dist/stzh-components/assets/vendors/readspeaker/img/help.png +0 -0
  999. package/dist/stzh-components/assets/vendors/readspeaker/img/icon_16px.gif +0 -0
  1000. package/dist/stzh-components/assets/vendors/readspeaker/img/pin_black.png +0 -0
  1001. package/dist/stzh-components/assets/vendors/readspeaker/img/pin_red.png +0 -0
  1002. package/dist/stzh-components/assets/vendors/readspeaker/img/play-anim.gif +0 -0
  1003. package/dist/stzh-components/assets/vendors/readspeaker/img/rs_button.gif +0 -0
  1004. package/dist/stzh-components/assets/vendors/readspeaker/img/rs_button.png +0 -0
  1005. package/dist/stzh-components/assets/vendors/readspeaker/img/rs_loader_anim.gif +0 -0
  1006. package/dist/stzh-components/assets/vendors/readspeaker/img/timeline-anim.gif +0 -0
  1007. package/dist/stzh-components/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.css +1 -0
  1008. package/dist/stzh-components/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -0
  1009. package/dist/stzh-components/assets/vendors/readspeaker/mods/enlargeHL/img/rs_icon_64x64.png +0 -0
  1010. package/dist/stzh-components/index.esm.js +0 -0
  1011. package/dist/stzh-components/p-0338cec3.system.entry.js +1 -0
  1012. package/dist/stzh-components/p-03b16275.entry.js +1 -0
  1013. package/dist/stzh-components/p-0433fff9.system.entry.js +1 -0
  1014. package/dist/stzh-components/p-0837657c.entry.js +1 -0
  1015. package/dist/stzh-components/p-08cc711a.system.entry.js +1 -0
  1016. package/dist/stzh-components/p-0a71fbac.entry.js +1 -0
  1017. package/dist/stzh-components/p-0ae3e066.system.entry.js +1 -0
  1018. package/dist/stzh-components/p-0c2b5907.js +1 -0
  1019. package/dist/stzh-components/p-0e9e4c68.entry.js +1 -0
  1020. package/dist/stzh-components/p-0ec28130.system.entry.js +1 -0
  1021. package/dist/stzh-components/p-148de4e6.entry.js +1 -0
  1022. package/dist/stzh-components/p-160c6e5f.system.entry.js +1 -0
  1023. package/dist/stzh-components/p-17258518.entry.js +1 -0
  1024. package/dist/stzh-components/p-1a40a6e4.js +1 -0
  1025. package/dist/stzh-components/p-1aaa5112.system.entry.js +1 -0
  1026. package/dist/stzh-components/p-1ace5d80.entry.js +1 -0
  1027. package/dist/stzh-components/p-1cde29ea.entry.js +1 -0
  1028. package/dist/stzh-components/p-1cebd703.entry.js +1 -0
  1029. package/dist/stzh-components/p-1e2ee622.system.entry.js +1 -0
  1030. package/dist/stzh-components/p-1f3e6fad.system.entry.js +1 -0
  1031. package/dist/stzh-components/p-22f948e2.entry.js +1 -0
  1032. package/dist/stzh-components/p-22fba26d.entry.js +1 -0
  1033. package/dist/stzh-components/p-25afa99e.entry.js +1 -0
  1034. package/dist/stzh-components/p-301841e3.entry.js +1 -0
  1035. package/dist/stzh-components/p-30b347ee.system.js +2 -0
  1036. package/dist/stzh-components/p-320aedf7.js +1 -0
  1037. package/dist/stzh-components/p-323fdc2f.entry.js +1 -0
  1038. package/dist/stzh-components/p-33d033a3.system.entry.js +1 -0
  1039. package/dist/stzh-components/p-3410ef5a.system.entry.js +1 -0
  1040. package/dist/stzh-components/p-378be0be.system.entry.js +1 -0
  1041. package/dist/stzh-components/p-3a73b8b5.system.js +1 -0
  1042. package/dist/stzh-components/p-3afe13ac.system.entry.js +1 -0
  1043. package/dist/stzh-components/p-3ca5c2e6.system.entry.js +1 -0
  1044. package/dist/stzh-components/p-3da37219.entry.js +8 -0
  1045. package/dist/stzh-components/p-3e3e4bfd.system.js +1 -0
  1046. package/dist/stzh-components/p-3e8ff66b.js +1 -0
  1047. package/dist/stzh-components/p-3eb7b6b4.entry.js +1 -0
  1048. package/dist/stzh-components/p-3f03fd94.system.entry.js +1 -0
  1049. package/dist/stzh-components/p-40a19ce6.js +10 -0
  1050. package/dist/stzh-components/p-42430cdf.js +1 -0
  1051. package/dist/stzh-components/p-4476344d.js +1 -0
  1052. package/dist/stzh-components/p-45d4e9b4.system.entry.js +1 -0
  1053. package/dist/stzh-components/p-46f301c0.entry.js +1 -0
  1054. package/dist/stzh-components/p-49968bbf.entry.js +1 -0
  1055. package/dist/stzh-components/p-4b69a3e8.system.entry.js +1 -0
  1056. package/dist/stzh-components/p-4b8893d1.entry.js +1 -0
  1057. package/dist/stzh-components/p-4c61dcad.js +19 -0
  1058. package/dist/stzh-components/p-4c68fa45.system.js +1 -0
  1059. package/dist/stzh-components/p-4e9e606f.entry.js +1 -0
  1060. package/dist/stzh-components/p-50ea2036.system.js +1 -0
  1061. package/dist/stzh-components/p-53934cfd.js +1 -0
  1062. package/dist/stzh-components/p-562394a9.system.entry.js +1 -0
  1063. package/dist/stzh-components/p-56fccfa3.system.entry.js +1 -0
  1064. package/dist/stzh-components/p-582cf0f1.system.js +1 -0
  1065. package/dist/stzh-components/p-58917ce2.entry.js +1 -0
  1066. package/dist/stzh-components/p-58b8d309.system.entry.js +1 -0
  1067. package/dist/stzh-components/p-5977373f.system.js +1 -0
  1068. package/dist/stzh-components/p-59bdb14a.system.entry.js +1 -0
  1069. package/dist/stzh-components/p-5db542ae.system.js +1 -0
  1070. package/dist/stzh-components/p-5f20178b.system.js +1 -0
  1071. package/dist/stzh-components/p-6113bb25.entry.js +1 -0
  1072. package/dist/stzh-components/p-632d9076.system.entry.js +1 -0
  1073. package/dist/stzh-components/p-63b5068a.system.entry.js +1 -0
  1074. package/dist/stzh-components/p-63bf05f1.system.entry.js +1 -0
  1075. package/dist/stzh-components/p-648695c2.js +1 -0
  1076. package/dist/stzh-components/p-649164c7.entry.js +9 -0
  1077. package/dist/stzh-components/p-649621fc.js +1 -0
  1078. package/dist/stzh-components/p-6523a23b.system.js +21 -0
  1079. package/dist/stzh-components/p-65282c9d.js +2 -0
  1080. package/dist/stzh-components/p-65444117.system.entry.js +1 -0
  1081. package/dist/stzh-components/p-66556f67.entry.js +1 -0
  1082. package/dist/stzh-components/p-670d4834.entry.js +1 -0
  1083. package/dist/stzh-components/p-67eac0a0.entry.js +1 -0
  1084. package/dist/stzh-components/p-690d14cd.entry.js +1 -0
  1085. package/dist/stzh-components/p-6d23fb4d.system.entry.js +1 -0
  1086. package/dist/stzh-components/p-73d51acc.system.entry.js +1 -0
  1087. package/dist/stzh-components/p-740dd50f.entry.js +1 -0
  1088. package/dist/stzh-components/p-75f1b800.entry.js +1 -0
  1089. package/dist/stzh-components/p-79770abe.system.entry.js +9 -0
  1090. package/dist/stzh-components/p-7c6f9cb3.entry.js +1 -0
  1091. package/dist/stzh-components/p-7e3924a0.system.entry.js +1 -0
  1092. package/dist/stzh-components/p-80db7aa6.system.entry.js +1 -0
  1093. package/dist/stzh-components/p-818634d2.entry.js +1 -0
  1094. package/dist/stzh-components/p-81d9f3e0.js +1 -0
  1095. package/dist/stzh-components/p-82e6148a.system.entry.js +1 -0
  1096. package/dist/stzh-components/p-85d78e08.entry.js +1 -0
  1097. package/dist/stzh-components/p-87140179.system.entry.js +1 -0
  1098. package/dist/stzh-components/p-8ba6ca80.js +1 -0
  1099. package/dist/stzh-components/p-8cf287d8.system.entry.js +1 -0
  1100. package/dist/stzh-components/p-915e8ad6.entry.js +1 -0
  1101. package/dist/stzh-components/p-91e9ccfa.entry.js +1 -0
  1102. package/dist/stzh-components/p-927901f5.system.entry.js +1 -0
  1103. package/dist/stzh-components/p-936cc626.system.entry.js +1 -0
  1104. package/dist/stzh-components/p-95a3c962.system.entry.js +1 -0
  1105. package/dist/stzh-components/p-96fd158c.entry.js +1 -0
  1106. package/dist/stzh-components/p-98afd4b0.system.entry.js +1 -0
  1107. package/dist/stzh-components/p-99195f5a.system.js +1 -0
  1108. package/dist/stzh-components/p-99533090.system.entry.js +1 -0
  1109. package/dist/stzh-components/p-9be4e960.entry.js +1 -0
  1110. package/dist/stzh-components/p-9fe34fe8.system.js +1 -0
  1111. package/dist/stzh-components/p-a42a7524.entry.js +1 -0
  1112. package/dist/stzh-components/p-a499fa98.system.entry.js +1 -0
  1113. package/dist/stzh-components/p-a5b616bb.system.entry.js +1 -0
  1114. package/dist/stzh-components/p-a7454367.js +1 -0
  1115. package/dist/stzh-components/p-a7785d9b.system.js +1 -0
  1116. package/dist/stzh-components/p-a8c3af68.system.entry.js +1 -0
  1117. package/dist/stzh-components/p-a8de6293.system.js +13 -0
  1118. package/dist/stzh-components/p-ab2727e6.entry.js +1 -0
  1119. package/dist/stzh-components/p-ab864a8a.system.entry.js +1 -0
  1120. package/dist/stzh-components/p-ac9e6d17.system.entry.js +1 -0
  1121. package/dist/stzh-components/p-adaf8b15.entry.js +1 -0
  1122. package/dist/stzh-components/p-ade1ebcf.system.entry.js +1 -0
  1123. package/dist/stzh-components/p-aec2d2d1.system.entry.js +1 -0
  1124. package/dist/stzh-components/p-af47430b.system.entry.js +1 -0
  1125. package/dist/stzh-components/p-af819e4e.system.js +1 -0
  1126. package/dist/stzh-components/p-afa7061e.entry.js +1 -0
  1127. package/dist/stzh-components/p-b06cc533.entry.js +1 -0
  1128. package/dist/stzh-components/p-b10682ee.js +1 -0
  1129. package/dist/stzh-components/p-b1976630.entry.js +1 -0
  1130. package/dist/stzh-components/p-b24040ff.system.entry.js +1 -0
  1131. package/dist/stzh-components/p-b2c8c31e.system.entry.js +1 -0
  1132. package/dist/stzh-components/p-b34774e7.entry.js +1 -0
  1133. package/dist/stzh-components/p-b3b05b6c.entry.js +1 -0
  1134. package/dist/stzh-components/p-b56c83a4.entry.js +1 -0
  1135. package/dist/stzh-components/p-b651f251.entry.js +1 -0
  1136. package/dist/stzh-components/p-b9e4095d.entry.js +1 -0
  1137. package/dist/stzh-components/p-bb900d9f.entry.js +1 -0
  1138. package/dist/stzh-components/p-bb91feeb.entry.js +1 -0
  1139. package/dist/stzh-components/p-bf5b6523.entry.js +1 -0
  1140. package/dist/stzh-components/p-c2218965.system.entry.js +1 -0
  1141. package/dist/stzh-components/p-c3ac1bdc.system.entry.js +1 -0
  1142. package/dist/stzh-components/p-c51a61cb.system.entry.js +1 -0
  1143. package/dist/stzh-components/p-c6cad5ed.system.entry.js +1 -0
  1144. package/dist/stzh-components/p-c8bc2812.entry.js +1 -0
  1145. package/dist/stzh-components/p-cd29b7ca.entry.js +1 -0
  1146. package/dist/stzh-components/p-d1821750.system.entry.js +1 -0
  1147. package/dist/stzh-components/p-d2f660e1.system.js +1 -0
  1148. package/dist/stzh-components/p-d790a367.entry.js +1 -0
  1149. package/dist/stzh-components/p-d7b5770c.entry.js +1 -0
  1150. package/dist/stzh-components/p-d8819b74.system.entry.js +1 -0
  1151. package/dist/stzh-components/p-da8218fa.system.entry.js +1 -0
  1152. package/dist/stzh-components/p-ded16c0e.system.js +1 -0
  1153. package/dist/stzh-components/p-df422d36.entry.js +1 -0
  1154. package/dist/stzh-components/p-e00139a1.entry.js +1 -0
  1155. package/dist/stzh-components/p-e029f6c5.system.entry.js +1 -0
  1156. package/dist/stzh-components/p-e1b64b8a.system.entry.js +1 -0
  1157. package/dist/stzh-components/p-e20369c8.system.js +10 -0
  1158. package/dist/stzh-components/p-e3769e97.system.js +1 -0
  1159. package/dist/stzh-components/p-e4347cfe.entry.js +1 -0
  1160. package/dist/stzh-components/p-e69a66bb.js +1 -0
  1161. package/dist/stzh-components/p-e9bc3a43.entry.js +1 -0
  1162. package/dist/stzh-components/p-e9ca8ddc.entry.js +1 -0
  1163. package/dist/stzh-components/p-ebf73698.entry.js +1 -0
  1164. package/dist/stzh-components/p-ece7ad4d.system.entry.js +1 -0
  1165. package/dist/stzh-components/p-ef5d4167.js +12 -0
  1166. package/dist/stzh-components/p-efb9fa47.system.entry.js +1 -0
  1167. package/dist/stzh-components/p-efd78d08.system.entry.js +1 -0
  1168. package/dist/stzh-components/p-f0422b6c.entry.js +1 -0
  1169. package/dist/stzh-components/p-f21440b3.entry.js +1 -0
  1170. package/dist/stzh-components/p-f44f4d26.system.entry.js +1 -0
  1171. package/dist/stzh-components/p-f481f21d.system.js +1 -0
  1172. package/dist/stzh-components/p-f48a2b00.system.entry.js +1 -0
  1173. package/dist/stzh-components/p-f8bb1bed.system.entry.js +7 -0
  1174. package/dist/stzh-components/p-fa8651dd.entry.js +1 -0
  1175. package/dist/stzh-components/p-fe9f8a09.system.entry.js +1 -0
  1176. package/dist/stzh-components/p-ffa293cf.entry.js +1 -0
  1177. package/dist/stzh-components/stzh-components.css +1 -0
  1178. package/dist/stzh-components/stzh-components.esm.js +1 -0
  1179. package/dist/stzh-components/stzh-components.js +131 -0
  1180. package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +15 -0
  1181. package/dist/types/components/stzh-accordion-item/stzh-accordion-item.d.ts +44 -0
  1182. package/dist/types/components/stzh-actions/stzh-actions.d.ts +16 -0
  1183. package/dist/types/components/stzh-appnav/stzh-appnav.d.ts +17 -0
  1184. package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +73 -0
  1185. package/dist/types/components/stzh-appointments/stzh-appointments.localization.d.ts +11 -0
  1186. package/dist/types/components/stzh-badge/stzh-badge.d.ts +8 -0
  1187. package/dist/types/components/stzh-button/stzh-button.d.ts +59 -0
  1188. package/dist/types/components/stzh-calendar/stzh-calendar-day.d.ts +14 -0
  1189. package/dist/types/components/stzh-calendar/stzh-calendar-month.d.ts +21 -0
  1190. package/dist/types/components/stzh-calendar/stzh-calendar.d.ts +76 -0
  1191. package/dist/types/components/stzh-calendar/stzh-calendar.localization.d.ts +7 -0
  1192. package/dist/types/components/stzh-cell/stzh-cell.d.ts +21 -0
  1193. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +55 -0
  1194. package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +62 -0
  1195. package/dist/types/components/stzh-chip/stzh-chip.d.ts +47 -0
  1196. package/dist/types/components/stzh-chip-select/stzh-chip-select.d.ts +23 -0
  1197. package/dist/types/components/stzh-container/stzh-container.d.ts +6 -0
  1198. package/dist/types/components/stzh-cspace/stzh-cspace.d.ts +6 -0
  1199. package/dist/types/components/stzh-datamessagelist/stzh-datamessagelist.d.ts +6 -0
  1200. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.d.ts +44 -0
  1201. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +4 -0
  1202. package/dist/types/components/stzh-datatable/stzh-datatable.d.ts +49 -0
  1203. package/dist/types/components/stzh-datatable/stzh-datatable.localization.d.ts +4 -0
  1204. package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +93 -0
  1205. package/dist/types/components/stzh-datepicker/stzh-datepicker.localization.d.ts +5 -0
  1206. package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +59 -0
  1207. package/dist/types/components/stzh-dialog/stzh-dialog.localization.d.ts +4 -0
  1208. package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +150 -0
  1209. package/dist/types/components/stzh-dropdown/stzh-dropdown.localization.d.ts +7 -0
  1210. package/dist/types/components/stzh-fieldset/stzh-fieldset.d.ts +15 -0
  1211. package/dist/types/components/stzh-figure/stzh-figure.d.ts +13 -0
  1212. package/dist/types/components/stzh-flyingfocus/stzh-flyingfocus.d.ts +39 -0
  1213. package/dist/types/components/stzh-footer/stzh-footer.d.ts +21 -0
  1214. package/dist/types/components/stzh-footer/stzh-footer.localization.d.ts +9 -0
  1215. package/dist/types/components/stzh-ghettobox/stzh-ghettobox.d.ts +49 -0
  1216. package/dist/types/components/stzh-ghettobox/stzh-ghettobox.localization.d.ts +5 -0
  1217. package/dist/types/components/stzh-header/stzh-header.d.ts +57 -0
  1218. package/dist/types/components/stzh-heading/stzh-heading.d.ts +13 -0
  1219. package/dist/types/components/stzh-hr/stzh-hr.d.ts +7 -0
  1220. package/dist/types/components/stzh-hspace/stzh-hspace.d.ts +25 -0
  1221. package/dist/types/components/stzh-icon/stzh-icon.d.ts +15 -0
  1222. package/dist/types/components/stzh-icon-sprite/stzh-icon-sprite.d.ts +3 -0
  1223. package/dist/types/components/stzh-input/stzh-input-description.d.ts +11 -0
  1224. package/dist/types/components/stzh-input/stzh-input.d.ts +95 -0
  1225. package/dist/types/components/stzh-link/stzh-link.d.ts +50 -0
  1226. package/dist/types/components/stzh-list/stzh-list.d.ts +9 -0
  1227. package/dist/types/components/stzh-list-item/stzh-list-item.d.ts +7 -0
  1228. package/dist/types/components/stzh-loader/stzh-loader.d.ts +13 -0
  1229. package/dist/types/components/stzh-loadingbar/stzh-loadingbar.d.ts +12 -0
  1230. package/dist/types/components/stzh-menu/stzh-menu.d.ts +6 -0
  1231. package/dist/types/components/stzh-menu-item/stzh-menu-item.d.ts +35 -0
  1232. package/dist/types/components/stzh-message/stzh-message.d.ts +36 -0
  1233. package/dist/types/components/stzh-message/stzh-message.localization.d.ts +4 -0
  1234. package/dist/types/components/stzh-metanav/stzh-metanav.d.ts +11 -0
  1235. package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +34 -0
  1236. package/dist/types/components/stzh-page-skiplinks/stzh-page-skiplinks.d.ts +11 -0
  1237. package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +11 -0
  1238. package/dist/types/components/stzh-popover/stzh-popover.d.ts +73 -0
  1239. package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +4 -0
  1240. package/dist/types/components/stzh-portal-mitwirken/stzh-portal-mitwirken.d.ts +8 -0
  1241. package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +42 -0
  1242. package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +22 -0
  1243. package/dist/types/components/stzh-radio/stzh-radio.d.ts +55 -0
  1244. package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +64 -0
  1245. package/dist/types/components/stzh-readspeaker/stzh-readspeaker.d.ts +18 -0
  1246. package/dist/types/components/stzh-richtext/stzh-richtext.d.ts +14 -0
  1247. package/dist/types/components/stzh-row/stzh-row.d.ts +23 -0
  1248. package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +28 -0
  1249. package/dist/types/components/stzh-saptcha/stzh-saptcha.localization.d.ts +7 -0
  1250. package/dist/types/components/stzh-section/stzh-section.d.ts +8 -0
  1251. package/dist/types/components/stzh-servicecard/stzh-servicecard.d.ts +72 -0
  1252. package/dist/types/components/stzh-servicecard/stzh-servicecard.localization.d.ts +8 -0
  1253. package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.d.ts +23 -0
  1254. package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.localization.d.ts +5 -0
  1255. package/dist/types/components/stzh-skiplink/stzh-skiplink.d.ts +16 -0
  1256. package/dist/types/components/stzh-sortable/stzh-sortable.d.ts +52 -0
  1257. package/dist/types/components/stzh-sortable/stzh-sortable.localization.d.ts +8 -0
  1258. package/dist/types/components/stzh-status/stzh-status.d.ts +14 -0
  1259. package/dist/types/components/stzh-table/stzh-table.d.ts +33 -0
  1260. package/dist/types/components/stzh-text/stzh-text.d.ts +23 -0
  1261. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +57 -0
  1262. package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +78 -0
  1263. package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +4 -0
  1264. package/dist/types/components/stzh-upload/stzh-upload.d.ts +207 -0
  1265. package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +16 -0
  1266. package/dist/types/components/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +27 -0
  1267. package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.d.ts +34 -0
  1268. package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.d.ts +4 -0
  1269. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +54 -0
  1270. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +15 -0
  1271. package/dist/types/components/stzh-visuallyhidden/stzh-visuallyhidden.d.ts +6 -0
  1272. package/dist/types/components/stzh-vspace/stzh-vspace.d.ts +25 -0
  1273. package/dist/types/components.d.ts +5192 -0
  1274. package/dist/types/index.d.ts +427 -0
  1275. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  1276. package/dist/types/types/svg.d.ts +4 -0
  1277. package/dist/types/utils/animation-utils.d.ts +10 -0
  1278. package/dist/types/utils/date-adapter.d.ts +8 -0
  1279. package/dist/types/utils/date-utils.d.ts +61 -0
  1280. package/dist/types/utils/event-utils.d.ts +1 -0
  1281. package/dist/types/utils/h.d.ts +18 -0
  1282. package/dist/types/utils/media-utils.d.ts +3 -0
  1283. package/dist/types/utils/string-utils.d.ts +2 -0
  1284. package/dist/types/utils/test-utils.d.ts +9 -0
  1285. package/dist/types/utils/translation-utils.d.ts +40 -0
  1286. package/dist/types/utils/utils.d.ts +3 -0
  1287. package/dist/vscode-data.json +4453 -0
  1288. package/loader/cdn.js +3 -0
  1289. package/loader/index.cjs.js +3 -0
  1290. package/loader/index.d.ts +12 -0
  1291. package/loader/index.es2017.js +3 -0
  1292. package/loader/index.js +4 -0
  1293. package/loader/package.json +11 -0
  1294. package/package.json +94 -0
@@ -0,0 +1,2209 @@
1
+ const NAMESPACE = 'stzh-components';
2
+
3
+ let scopeId;
4
+ let contentRef;
5
+ let hostTagName;
6
+ let useNativeShadowDom = false;
7
+ let checkSlotFallbackVisibility = false;
8
+ let checkSlotRelocate = false;
9
+ let isSvgMode = false;
10
+ let queuePending = false;
11
+ const win = typeof window !== 'undefined' ? window : {};
12
+ const doc = win.document || { head: {} };
13
+ const H = (win.HTMLElement || class {
14
+ });
15
+ const plt = {
16
+ $flags$: 0,
17
+ $resourcesUrl$: '',
18
+ jmp: (h) => h(),
19
+ raf: (h) => requestAnimationFrame(h),
20
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
21
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
22
+ ce: (eventName, opts) => new CustomEvent(eventName, opts),
23
+ };
24
+ const supportsShadow = /*@__PURE__*/ (() => (doc.head.attachShadow + '').indexOf('[native') > -1)()
25
+ ;
26
+ const promiseResolve = (v) => Promise.resolve(v);
27
+ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
28
+ try {
29
+ new CSSStyleSheet();
30
+ return typeof new CSSStyleSheet().replaceSync === 'function';
31
+ }
32
+ catch (e) { }
33
+ return false;
34
+ })()
35
+ ;
36
+ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
37
+ if (listeners) {
38
+ listeners.map(([flags, name, method]) => {
39
+ const target = getHostListenerTarget(elm, flags) ;
40
+ const handler = hostListenerProxy(hostRef, method);
41
+ const opts = hostListenerOpts(flags);
42
+ plt.ael(target, name, handler, opts);
43
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
44
+ });
45
+ }
46
+ };
47
+ const hostListenerProxy = (hostRef, methodName) => (ev) => {
48
+ try {
49
+ {
50
+ if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
51
+ // instance is ready, let's call it's member method for this event
52
+ hostRef.$lazyInstance$[methodName](ev);
53
+ }
54
+ else {
55
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
56
+ }
57
+ }
58
+ }
59
+ catch (e) {
60
+ consoleError(e);
61
+ }
62
+ };
63
+ const getHostListenerTarget = (elm, flags) => {
64
+ if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
65
+ return doc;
66
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
67
+ return win;
68
+ return elm;
69
+ };
70
+ // prettier-ignore
71
+ const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
72
+ const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
73
+ const XLINK_NS = 'http://www.w3.org/1999/xlink';
74
+ const createTime = (fnName, tagName = '') => {
75
+ {
76
+ return () => {
77
+ return;
78
+ };
79
+ }
80
+ };
81
+ const uniqueTime = (key, measureText) => {
82
+ {
83
+ return () => {
84
+ return;
85
+ };
86
+ }
87
+ };
88
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
89
+ const registerStyle = (scopeId, cssText, allowCS) => {
90
+ let style = styles.get(scopeId);
91
+ if (supportsConstructableStylesheets && allowCS) {
92
+ style = (style || new CSSStyleSheet());
93
+ if (typeof style === 'string') {
94
+ style = cssText;
95
+ }
96
+ else {
97
+ style.replaceSync(cssText);
98
+ }
99
+ }
100
+ else {
101
+ style = cssText;
102
+ }
103
+ styles.set(scopeId, style);
104
+ };
105
+ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
106
+ let scopeId = getScopeId(cmpMeta);
107
+ const style = styles.get(scopeId);
108
+ // if an element is NOT connected then getRootNode() will return the wrong root node
109
+ // so the fallback is to always use the document for the root node in those cases
110
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
111
+ if (style) {
112
+ if (typeof style === 'string') {
113
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
114
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
115
+ let styleElm;
116
+ if (!appliedStyles) {
117
+ rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
118
+ }
119
+ if (!appliedStyles.has(scopeId)) {
120
+ {
121
+ {
122
+ styleElm = doc.createElement('style');
123
+ styleElm.innerHTML = style;
124
+ }
125
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
126
+ }
127
+ if (appliedStyles) {
128
+ appliedStyles.add(scopeId);
129
+ }
130
+ }
131
+ }
132
+ else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
133
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
134
+ }
135
+ }
136
+ return scopeId;
137
+ };
138
+ const attachStyles = (hostRef) => {
139
+ const cmpMeta = hostRef.$cmpMeta$;
140
+ const elm = hostRef.$hostElement$;
141
+ const flags = cmpMeta.$flags$;
142
+ const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
143
+ const scopeId = addStyle(supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
144
+ if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
145
+ // only required when we're NOT using native shadow dom (slot)
146
+ // or this browser doesn't support native shadow dom
147
+ // and this host element was NOT created with SSR
148
+ // let's pick out the inner content for slot projection
149
+ // create a node to represent where the original
150
+ // content was first placed, which is useful later on
151
+ // DOM WRITE!!
152
+ elm['s-sc'] = scopeId;
153
+ elm.classList.add(scopeId + '-h');
154
+ if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
155
+ elm.classList.add(scopeId + '-s');
156
+ }
157
+ }
158
+ endAttachStyles();
159
+ };
160
+ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
161
+ /**
162
+ * Default style mode id
163
+ */
164
+ /**
165
+ * Reusable empty obj/array
166
+ * Don't add values to these!!
167
+ */
168
+ const EMPTY_OBJ = {};
169
+ /**
170
+ * Namespaces
171
+ */
172
+ const SVG_NS = 'http://www.w3.org/2000/svg';
173
+ const HTML_NS = 'http://www.w3.org/1999/xhtml';
174
+ const isDef = (v) => v != null;
175
+ const isComplexType = (o) => {
176
+ // https://jsperf.com/typeof-fn-object/5
177
+ o = typeof o;
178
+ return o === 'object' || o === 'function';
179
+ };
180
+ /**
181
+ * Production h() function based on Preact by
182
+ * Jason Miller (@developit)
183
+ * Licensed under the MIT License
184
+ * https://github.com/developit/preact/blob/master/LICENSE
185
+ *
186
+ * Modified for Stencil's compiler and vdom
187
+ */
188
+ // const stack: any[] = [];
189
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
190
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
191
+ const h = (nodeName, vnodeData, ...children) => {
192
+ let child = null;
193
+ let key = null;
194
+ let slotName = null;
195
+ let simple = false;
196
+ let lastSimple = false;
197
+ const vNodeChildren = [];
198
+ const walk = (c) => {
199
+ for (let i = 0; i < c.length; i++) {
200
+ child = c[i];
201
+ if (Array.isArray(child)) {
202
+ walk(child);
203
+ }
204
+ else if (child != null && typeof child !== 'boolean') {
205
+ if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
206
+ child = String(child);
207
+ }
208
+ if (simple && lastSimple) {
209
+ // If the previous child was simple (string), we merge both
210
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
211
+ }
212
+ else {
213
+ // Append a new vNode, if it's text, we create a text vNode
214
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
215
+ }
216
+ lastSimple = simple;
217
+ }
218
+ }
219
+ };
220
+ walk(children);
221
+ if (vnodeData) {
222
+ // normalize class / classname attributes
223
+ if (vnodeData.key) {
224
+ key = vnodeData.key;
225
+ }
226
+ if (vnodeData.name) {
227
+ slotName = vnodeData.name;
228
+ }
229
+ {
230
+ const classData = vnodeData.className || vnodeData.class;
231
+ if (classData) {
232
+ vnodeData.class =
233
+ typeof classData !== 'object'
234
+ ? classData
235
+ : Object.keys(classData)
236
+ .filter((k) => classData[k])
237
+ .join(' ');
238
+ }
239
+ }
240
+ }
241
+ if (typeof nodeName === 'function') {
242
+ // nodeName is a functional component
243
+ return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
244
+ }
245
+ const vnode = newVNode(nodeName, null);
246
+ vnode.$attrs$ = vnodeData;
247
+ if (vNodeChildren.length > 0) {
248
+ vnode.$children$ = vNodeChildren;
249
+ }
250
+ {
251
+ vnode.$key$ = key;
252
+ }
253
+ {
254
+ vnode.$name$ = slotName;
255
+ }
256
+ return vnode;
257
+ };
258
+ const newVNode = (tag, text) => {
259
+ const vnode = {
260
+ $flags$: 0,
261
+ $tag$: tag,
262
+ $text$: text,
263
+ $elm$: null,
264
+ $children$: null,
265
+ };
266
+ {
267
+ vnode.$attrs$ = null;
268
+ }
269
+ {
270
+ vnode.$key$ = null;
271
+ }
272
+ {
273
+ vnode.$name$ = null;
274
+ }
275
+ return vnode;
276
+ };
277
+ const Host = {};
278
+ const isHost = (node) => node && node.$tag$ === Host;
279
+ const vdomFnUtils = {
280
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
281
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
282
+ };
283
+ const convertToPublic = (node) => ({
284
+ vattrs: node.$attrs$,
285
+ vchildren: node.$children$,
286
+ vkey: node.$key$,
287
+ vname: node.$name$,
288
+ vtag: node.$tag$,
289
+ vtext: node.$text$,
290
+ });
291
+ const convertToPrivate = (node) => {
292
+ if (typeof node.vtag === 'function') {
293
+ const vnodeData = Object.assign({}, node.vattrs);
294
+ if (node.vkey) {
295
+ vnodeData.key = node.vkey;
296
+ }
297
+ if (node.vname) {
298
+ vnodeData.name = node.vname;
299
+ }
300
+ return h(node.vtag, vnodeData, ...(node.vchildren || []));
301
+ }
302
+ const vnode = newVNode(node.vtag, node.vtext);
303
+ vnode.$attrs$ = node.vattrs;
304
+ vnode.$children$ = node.vchildren;
305
+ vnode.$key$ = node.vkey;
306
+ vnode.$name$ = node.vname;
307
+ return vnode;
308
+ };
309
+ /**
310
+ * Production setAccessor() function based on Preact by
311
+ * Jason Miller (@developit)
312
+ * Licensed under the MIT License
313
+ * https://github.com/developit/preact/blob/master/LICENSE
314
+ *
315
+ * Modified for Stencil's compiler and vdom
316
+ */
317
+ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
318
+ if (oldValue !== newValue) {
319
+ let isProp = isMemberInElement(elm, memberName);
320
+ let ln = memberName.toLowerCase();
321
+ if (memberName === 'class') {
322
+ const classList = elm.classList;
323
+ const oldClasses = parseClassList(oldValue);
324
+ const newClasses = parseClassList(newValue);
325
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
326
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
327
+ }
328
+ else if (memberName === 'style') {
329
+ // update style attribute, css properties and values
330
+ {
331
+ for (const prop in oldValue) {
332
+ if (!newValue || newValue[prop] == null) {
333
+ if (prop.includes('-')) {
334
+ elm.style.removeProperty(prop);
335
+ }
336
+ else {
337
+ elm.style[prop] = '';
338
+ }
339
+ }
340
+ }
341
+ }
342
+ for (const prop in newValue) {
343
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
344
+ if (prop.includes('-')) {
345
+ elm.style.setProperty(prop, newValue[prop]);
346
+ }
347
+ else {
348
+ elm.style[prop] = newValue[prop];
349
+ }
350
+ }
351
+ }
352
+ }
353
+ else if (memberName === 'key')
354
+ ;
355
+ else if (memberName === 'ref') {
356
+ // minifier will clean this up
357
+ if (newValue) {
358
+ newValue(elm);
359
+ }
360
+ }
361
+ else if ((!isProp ) &&
362
+ memberName[0] === 'o' &&
363
+ memberName[1] === 'n') {
364
+ // Event Handlers
365
+ // so if the member name starts with "on" and the 3rd characters is
366
+ // a capital letter, and it's not already a member on the element,
367
+ // then we're assuming it's an event listener
368
+ if (memberName[2] === '-') {
369
+ // on- prefixed events
370
+ // allows to be explicit about the dom event to listen without any magic
371
+ // under the hood:
372
+ // <my-cmp on-click> // listens for "click"
373
+ // <my-cmp on-Click> // listens for "Click"
374
+ // <my-cmp on-ionChange> // listens for "ionChange"
375
+ // <my-cmp on-EVENTS> // listens for "EVENTS"
376
+ memberName = memberName.slice(3);
377
+ }
378
+ else if (isMemberInElement(win, ln)) {
379
+ // standard event
380
+ // the JSX attribute could have been "onMouseOver" and the
381
+ // member name "onmouseover" is on the window's prototype
382
+ // so let's add the listener "mouseover", which is all lowercased
383
+ memberName = ln.slice(2);
384
+ }
385
+ else {
386
+ // custom event
387
+ // the JSX attribute could have been "onMyCustomEvent"
388
+ // so let's trim off the "on" prefix and lowercase the first character
389
+ // and add the listener "myCustomEvent"
390
+ // except for the first character, we keep the event name case
391
+ memberName = ln[2] + memberName.slice(3);
392
+ }
393
+ if (oldValue) {
394
+ plt.rel(elm, memberName, oldValue, false);
395
+ }
396
+ if (newValue) {
397
+ plt.ael(elm, memberName, newValue, false);
398
+ }
399
+ }
400
+ else {
401
+ // Set property if it exists and it's not a SVG
402
+ const isComplex = isComplexType(newValue);
403
+ if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
404
+ try {
405
+ if (!elm.tagName.includes('-')) {
406
+ const n = newValue == null ? '' : newValue;
407
+ // Workaround for Safari, moving the <input> caret when re-assigning the same valued
408
+ if (memberName === 'list') {
409
+ isProp = false;
410
+ }
411
+ else if (oldValue == null || elm[memberName] != n) {
412
+ elm[memberName] = n;
413
+ }
414
+ }
415
+ else {
416
+ elm[memberName] = newValue;
417
+ }
418
+ }
419
+ catch (e) { }
420
+ }
421
+ /**
422
+ * Need to manually update attribute if:
423
+ * - memberName is not an attribute
424
+ * - if we are rendering the host element in order to reflect attribute
425
+ * - if it's a SVG, since properties might not work in <svg>
426
+ * - if the newValue is null/undefined or 'false'.
427
+ */
428
+ let xlink = false;
429
+ {
430
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ''))) {
431
+ memberName = ln;
432
+ xlink = true;
433
+ }
434
+ }
435
+ if (newValue == null || newValue === false) {
436
+ if (newValue !== false || elm.getAttribute(memberName) === '') {
437
+ if (xlink) {
438
+ elm.removeAttributeNS(XLINK_NS, memberName);
439
+ }
440
+ else {
441
+ elm.removeAttribute(memberName);
442
+ }
443
+ }
444
+ }
445
+ else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
446
+ newValue = newValue === true ? '' : newValue;
447
+ if (xlink) {
448
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
449
+ }
450
+ else {
451
+ elm.setAttribute(memberName, newValue);
452
+ }
453
+ }
454
+ }
455
+ }
456
+ };
457
+ const parseClassListRegex = /\s/;
458
+ const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
459
+ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
460
+ // if the element passed in is a shadow root, which is a document fragment
461
+ // then we want to be adding attrs/props to the shadow root's "host" element
462
+ // if it's not a shadow root, then we add attrs/props to the same element
463
+ const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
464
+ ? newVnode.$elm$.host
465
+ : newVnode.$elm$;
466
+ const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
467
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
468
+ {
469
+ // remove attributes no longer present on the vnode by setting them to undefined
470
+ for (memberName in oldVnodeAttrs) {
471
+ if (!(memberName in newVnodeAttrs)) {
472
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
473
+ }
474
+ }
475
+ }
476
+ // add new & update changed attributes
477
+ for (memberName in newVnodeAttrs) {
478
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
479
+ }
480
+ };
481
+ /**
482
+ * Create a DOM Node corresponding to one of the children of a given VNode.
483
+ *
484
+ * @param oldParentVNode the parent VNode from the previous render
485
+ * @param newParentVNode the parent VNode from the current render
486
+ * @param childIndex the index of the VNode, in the _new_ parent node's
487
+ * children, for which we will create a new DOM node
488
+ * @param parentElm the parent DOM node which our new node will be a child of
489
+ * @returns the newly created node
490
+ */
491
+ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
492
+ // tslint:disable-next-line: prefer-const
493
+ const newVNode = newParentVNode.$children$[childIndex];
494
+ let i = 0;
495
+ let elm;
496
+ let childNode;
497
+ let oldVNode;
498
+ if (!useNativeShadowDom) {
499
+ // remember for later we need to check to relocate nodes
500
+ checkSlotRelocate = true;
501
+ if (newVNode.$tag$ === 'slot') {
502
+ if (scopeId) {
503
+ // scoped css needs to add its scoped id to the parent element
504
+ parentElm.classList.add(scopeId + '-s');
505
+ }
506
+ newVNode.$flags$ |= newVNode.$children$
507
+ ? // slot element has fallback content
508
+ 2 /* VNODE_FLAGS.isSlotFallback */
509
+ : // slot element does not have fallback content
510
+ 1 /* VNODE_FLAGS.isSlotReference */;
511
+ }
512
+ }
513
+ if (newVNode.$text$ !== null) {
514
+ // create text node
515
+ elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
516
+ }
517
+ else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
518
+ // create a slot reference node
519
+ elm = newVNode.$elm$ =
520
+ doc.createTextNode('');
521
+ }
522
+ else {
523
+ if (!isSvgMode) {
524
+ isSvgMode = newVNode.$tag$ === 'svg';
525
+ }
526
+ // create element
527
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
528
+ ? 'slot-fb'
529
+ : newVNode.$tag$)
530
+ );
531
+ if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
532
+ isSvgMode = false;
533
+ }
534
+ // add css classes, attrs, props, listeners, etc.
535
+ {
536
+ updateElement(null, newVNode, isSvgMode);
537
+ }
538
+ if (isDef(scopeId) && elm['s-si'] !== scopeId) {
539
+ // if there is a scopeId and this is the initial render
540
+ // then let's add the scopeId as a css class
541
+ elm.classList.add((elm['s-si'] = scopeId));
542
+ }
543
+ if (newVNode.$children$) {
544
+ for (i = 0; i < newVNode.$children$.length; ++i) {
545
+ // create the node
546
+ childNode = createElm(oldParentVNode, newVNode, i, elm);
547
+ // return node could have been null
548
+ if (childNode) {
549
+ // append our new node
550
+ elm.appendChild(childNode);
551
+ }
552
+ }
553
+ }
554
+ {
555
+ if (newVNode.$tag$ === 'svg') {
556
+ // Only reset the SVG context when we're exiting <svg> element
557
+ isSvgMode = false;
558
+ }
559
+ else if (elm.tagName === 'foreignObject') {
560
+ // Reenter SVG context when we're exiting <foreignObject> element
561
+ isSvgMode = true;
562
+ }
563
+ }
564
+ }
565
+ {
566
+ elm['s-hn'] = hostTagName;
567
+ if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
568
+ // remember the content reference comment
569
+ elm['s-sr'] = true;
570
+ // remember the content reference comment
571
+ elm['s-cr'] = contentRef;
572
+ // remember the slot name, or empty string for default slot
573
+ elm['s-sn'] = newVNode.$name$ || '';
574
+ // check if we've got an old vnode for this slot
575
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
576
+ if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
577
+ // we've got an old slot vnode and the wrapper is being replaced
578
+ // so let's move the old slot content back to it's original location
579
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
580
+ }
581
+ }
582
+ }
583
+ return elm;
584
+ };
585
+ const putBackInOriginalLocation = (parentElm, recursive) => {
586
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
587
+ const oldSlotChildNodes = parentElm.childNodes;
588
+ for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
589
+ const childNode = oldSlotChildNodes[i];
590
+ if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
591
+ // // this child node in the old element is from another component
592
+ // // remove this node from the old slot's parent
593
+ // childNode.remove();
594
+ // and relocate it back to it's original location
595
+ parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
596
+ // remove the old original location comment entirely
597
+ // later on the patch function will know what to do
598
+ // and move this to the correct spot in need be
599
+ childNode['s-ol'].remove();
600
+ childNode['s-ol'] = undefined;
601
+ checkSlotRelocate = true;
602
+ }
603
+ if (recursive) {
604
+ putBackInOriginalLocation(childNode, recursive);
605
+ }
606
+ }
607
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
608
+ };
609
+ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
610
+ let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
611
+ let childNode;
612
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
613
+ containerElm = containerElm.shadowRoot;
614
+ }
615
+ for (; startIdx <= endIdx; ++startIdx) {
616
+ if (vnodes[startIdx]) {
617
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
618
+ if (childNode) {
619
+ vnodes[startIdx].$elm$ = childNode;
620
+ containerElm.insertBefore(childNode, referenceNode(before) );
621
+ }
622
+ }
623
+ }
624
+ };
625
+ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
626
+ for (; startIdx <= endIdx; ++startIdx) {
627
+ if ((vnode = vnodes[startIdx])) {
628
+ elm = vnode.$elm$;
629
+ callNodeRefs(vnode);
630
+ {
631
+ // we're removing this element
632
+ // so it's possible we need to show slot fallback content now
633
+ checkSlotFallbackVisibility = true;
634
+ if (elm['s-ol']) {
635
+ // remove the original location comment
636
+ elm['s-ol'].remove();
637
+ }
638
+ else {
639
+ // it's possible that child nodes of the node
640
+ // that's being removed are slot nodes
641
+ putBackInOriginalLocation(elm, true);
642
+ }
643
+ }
644
+ // remove the vnode's element from the dom
645
+ elm.remove();
646
+ }
647
+ }
648
+ };
649
+ /**
650
+ * Reconcile the children of a new VNode with the children of an old VNode by
651
+ * traversing the two collections of children, identifying nodes that are
652
+ * conserved or changed, calling out to `patch` to make any necessary
653
+ * updates to the DOM, and rearranging DOM nodes as needed.
654
+ *
655
+ * The algorithm for reconciling children works by analyzing two 'windows' onto
656
+ * the two arrays of children (`oldCh` and `newCh`). We keep track of the
657
+ * 'windows' by storing start and end indices and references to the
658
+ * corresponding array entries. Initially the two 'windows' are basically equal
659
+ * to the entire array, but we progressively narrow the windows until there are
660
+ * no children left to update by doing the following:
661
+ *
662
+ * 1. Skip any `null` entries at the beginning or end of the two arrays, so
663
+ * that if we have an initial array like the following we'll end up dealing
664
+ * only with a window bounded by the highlighted elements:
665
+ *
666
+ * [null, null, VNode1 , ... , VNode2, null, null]
667
+ * ^^^^^^ ^^^^^^
668
+ *
669
+ * 2. Check to see if the elements at the head and tail positions are equal
670
+ * across the windows. This will basically detect elements which haven't
671
+ * been added, removed, or changed position, i.e. if you had the following
672
+ * VNode elements (represented as HTML):
673
+ *
674
+ * oldVNode: `<div><p><span>HEY</span></p></div>`
675
+ * newVNode: `<div><p><span>THERE</span></p></div>`
676
+ *
677
+ * Then when comparing the children of the `<div>` tag we check the equality
678
+ * of the VNodes corresponding to the `<p>` tags and, since they are the
679
+ * same tag in the same position, we'd be able to avoid completely
680
+ * re-rendering the subtree under them with a new DOM element and would just
681
+ * call out to `patch` to handle reconciling their children and so on.
682
+ *
683
+ * 3. Check, for both windows, to see if the element at the beginning of the
684
+ * window corresponds to the element at the end of the other window. This is
685
+ * a heuristic which will let us identify _some_ situations in which
686
+ * elements have changed position, for instance it _should_ detect that the
687
+ * children nodes themselves have not changed but merely moved in the
688
+ * following example:
689
+ *
690
+ * oldVNode: `<div><element-one /><element-two /></div>`
691
+ * newVNode: `<div><element-two /><element-one /></div>`
692
+ *
693
+ * If we find cases like this then we also need to move the concrete DOM
694
+ * elements corresponding to the moved children to write the re-order to the
695
+ * DOM.
696
+ *
697
+ * 4. Finally, if VNodes have the `key` attribute set on them we check for any
698
+ * nodes in the old children which have the same key as the first element in
699
+ * our window on the new children. If we find such a node we handle calling
700
+ * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
701
+ * what we find.
702
+ *
703
+ * Finally, once we've narrowed our 'windows' to the point that either of them
704
+ * collapse (i.e. they have length 0) we then handle any remaining VNode
705
+ * insertion or deletion that needs to happen to get a DOM state that correctly
706
+ * reflects the new child VNodes. If, for instance, after our window on the old
707
+ * children has collapsed we still have more nodes on the new children that
708
+ * we haven't dealt with yet then we need to add them, or if the new children
709
+ * collapse but we still have unhandled _old_ children then we need to make
710
+ * sure the corresponding DOM nodes are removed.
711
+ *
712
+ * @param parentElm the node into which the parent VNode is rendered
713
+ * @param oldCh the old children of the parent node
714
+ * @param newVNode the new VNode which will replace the parent
715
+ * @param newCh the new children of the parent node
716
+ */
717
+ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
718
+ let oldStartIdx = 0;
719
+ let newStartIdx = 0;
720
+ let idxInOld = 0;
721
+ let i = 0;
722
+ let oldEndIdx = oldCh.length - 1;
723
+ let oldStartVnode = oldCh[0];
724
+ let oldEndVnode = oldCh[oldEndIdx];
725
+ let newEndIdx = newCh.length - 1;
726
+ let newStartVnode = newCh[0];
727
+ let newEndVnode = newCh[newEndIdx];
728
+ let node;
729
+ let elmToMove;
730
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
731
+ if (oldStartVnode == null) {
732
+ // VNode might have been moved left
733
+ oldStartVnode = oldCh[++oldStartIdx];
734
+ }
735
+ else if (oldEndVnode == null) {
736
+ oldEndVnode = oldCh[--oldEndIdx];
737
+ }
738
+ else if (newStartVnode == null) {
739
+ newStartVnode = newCh[++newStartIdx];
740
+ }
741
+ else if (newEndVnode == null) {
742
+ newEndVnode = newCh[--newEndIdx];
743
+ }
744
+ else if (isSameVnode(oldStartVnode, newStartVnode)) {
745
+ // if the start nodes are the same then we should patch the new VNode
746
+ // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
747
+ // indices to reflect that. We don't need to move any DOM Nodes around
748
+ // since things are matched up in order.
749
+ patch(oldStartVnode, newStartVnode);
750
+ oldStartVnode = oldCh[++oldStartIdx];
751
+ newStartVnode = newCh[++newStartIdx];
752
+ }
753
+ else if (isSameVnode(oldEndVnode, newEndVnode)) {
754
+ // likewise, if the end nodes are the same we patch new onto old and
755
+ // decrement our end indices, and also likewise in this case we don't
756
+ // need to move any DOM Nodes.
757
+ patch(oldEndVnode, newEndVnode);
758
+ oldEndVnode = oldCh[--oldEndIdx];
759
+ newEndVnode = newCh[--newEndIdx];
760
+ }
761
+ else if (isSameVnode(oldStartVnode, newEndVnode)) {
762
+ // case: "Vnode moved right"
763
+ //
764
+ // We've found that the last node in our window on the new children is
765
+ // the same VNode as the _first_ node in our window on the old children
766
+ // we're dealing with now. Visually, this is the layout of these two
767
+ // nodes:
768
+ //
769
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
770
+ // ^^^^^^^^^^^
771
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
772
+ // ^^^^^^^^^^^^^
773
+ //
774
+ // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
775
+ // and move the DOM element for `oldStartVnode`.
776
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
777
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
778
+ }
779
+ patch(oldStartVnode, newEndVnode);
780
+ // We need to move the element for `oldStartVnode` into a position which
781
+ // will be appropriate for `newEndVnode`. For this we can use
782
+ // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
783
+ // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
784
+ // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
785
+ //
786
+ // <old-start-node />
787
+ // <some-intervening-node />
788
+ // <old-end-node />
789
+ // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
790
+ // <next-sibling />
791
+ //
792
+ // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
793
+ // the node for `oldStartVnode` at the end of the children of
794
+ // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
795
+ // aren't any siblings, and passing `null` to `Node.insertBefore` will
796
+ // append it to the children of the parent element.
797
+ parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
798
+ oldStartVnode = oldCh[++oldStartIdx];
799
+ newEndVnode = newCh[--newEndIdx];
800
+ }
801
+ else if (isSameVnode(oldEndVnode, newStartVnode)) {
802
+ // case: "Vnode moved left"
803
+ //
804
+ // We've found that the first node in our window on the new children is
805
+ // the same VNode as the _last_ node in our window on the old children.
806
+ // Visually, this is the layout of these two nodes:
807
+ //
808
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
809
+ // ^^^^^^^^^^^^^
810
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
811
+ // ^^^^^^^^^^^
812
+ //
813
+ // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
814
+ // (which will handle updating any changed attributes, reconciling their
815
+ // children etc) but we also need to move the DOM node to which
816
+ // `oldEndVnode` corresponds.
817
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
818
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
819
+ }
820
+ patch(oldEndVnode, newStartVnode);
821
+ // We've already checked above if `oldStartVnode` and `newStartVnode` are
822
+ // the same node, so since we're here we know that they are not. Thus we
823
+ // can move the element for `oldEndVnode` _before_ the element for
824
+ // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
825
+ // future.
826
+ parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
827
+ oldEndVnode = oldCh[--oldEndIdx];
828
+ newStartVnode = newCh[++newStartIdx];
829
+ }
830
+ else {
831
+ // Here we do some checks to match up old and new nodes based on the
832
+ // `$key$` attribute, which is set by putting a `key="my-key"` attribute
833
+ // in the JSX for a DOM element in the implementation of a Stencil
834
+ // component.
835
+ //
836
+ // First we check to see if there are any nodes in the array of old
837
+ // children which have the same key as the first node in the new
838
+ // children.
839
+ idxInOld = -1;
840
+ {
841
+ for (i = oldStartIdx; i <= oldEndIdx; ++i) {
842
+ if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
843
+ idxInOld = i;
844
+ break;
845
+ }
846
+ }
847
+ }
848
+ if (idxInOld >= 0) {
849
+ // We found a node in the old children which matches up with the first
850
+ // node in the new children! So let's deal with that
851
+ elmToMove = oldCh[idxInOld];
852
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
853
+ // the tag doesn't match so we'll need a new DOM element
854
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
855
+ }
856
+ else {
857
+ patch(elmToMove, newStartVnode);
858
+ // invalidate the matching old node so that we won't try to update it
859
+ // again later on
860
+ oldCh[idxInOld] = undefined;
861
+ node = elmToMove.$elm$;
862
+ }
863
+ newStartVnode = newCh[++newStartIdx];
864
+ }
865
+ else {
866
+ // We either didn't find an element in the old children that matches
867
+ // the key of the first new child OR the build is not using `key`
868
+ // attributes at all. In either case we need to create a new element
869
+ // for the new node.
870
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
871
+ newStartVnode = newCh[++newStartIdx];
872
+ }
873
+ if (node) {
874
+ // if we created a new node then handle inserting it to the DOM
875
+ {
876
+ parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
877
+ }
878
+ }
879
+ }
880
+ }
881
+ if (oldStartIdx > oldEndIdx) {
882
+ // we have some more new nodes to add which don't match up with old nodes
883
+ addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
884
+ }
885
+ else if (newStartIdx > newEndIdx) {
886
+ // there are nodes in the `oldCh` array which no longer correspond to nodes
887
+ // in the new array, so lets remove them (which entails cleaning up the
888
+ // relevant DOM nodes)
889
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
890
+ }
891
+ };
892
+ /**
893
+ * Compare two VNodes to determine if they are the same
894
+ *
895
+ * **NB**: This function is an equality _heuristic_ based on the available
896
+ * information set on the two VNodes and can be misleading under certain
897
+ * circumstances. In particular, if the two nodes do not have `key` attrs
898
+ * (available under `$key$` on VNodes) then the function falls back on merely
899
+ * checking that they have the same tag.
900
+ *
901
+ * So, in other words, if `key` attrs are not set on VNodes which may be
902
+ * changing order within a `children` array or something along those lines then
903
+ * we could obtain a false positive and then have to do needless re-rendering.
904
+ *
905
+ * @param leftVNode the first VNode to check
906
+ * @param rightVNode the second VNode to check
907
+ * @returns whether they're equal or not
908
+ */
909
+ const isSameVnode = (leftVNode, rightVNode) => {
910
+ // compare if two vnode to see if they're "technically" the same
911
+ // need to have the same element tag, and same key to be the same
912
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
913
+ if (leftVNode.$tag$ === 'slot') {
914
+ return leftVNode.$name$ === rightVNode.$name$;
915
+ }
916
+ // this will be set if components in the build have `key` attrs set on them
917
+ {
918
+ return leftVNode.$key$ === rightVNode.$key$;
919
+ }
920
+ }
921
+ return false;
922
+ };
923
+ const referenceNode = (node) => {
924
+ // this node was relocated to a new location in the dom
925
+ // because of some other component's slot
926
+ // but we still have an html comment in place of where
927
+ // it's original location was according to it's original vdom
928
+ return (node && node['s-ol']) || node;
929
+ };
930
+ const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
931
+ /**
932
+ * Handle reconciling an outdated VNode with a new one which corresponds to
933
+ * it. This function handles flushing updates to the DOM and reconciling the
934
+ * children of the two nodes (if any).
935
+ *
936
+ * @param oldVNode an old VNode whose DOM element and children we want to update
937
+ * @param newVNode a new VNode representing an updated version of the old one
938
+ */
939
+ const patch = (oldVNode, newVNode) => {
940
+ const elm = (newVNode.$elm$ = oldVNode.$elm$);
941
+ const oldChildren = oldVNode.$children$;
942
+ const newChildren = newVNode.$children$;
943
+ const tag = newVNode.$tag$;
944
+ const text = newVNode.$text$;
945
+ let defaultHolder;
946
+ if (text === null) {
947
+ {
948
+ // test if we're rendering an svg element, or still rendering nodes inside of one
949
+ // only add this to the when the compiler sees we're using an svg somewhere
950
+ isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
951
+ }
952
+ {
953
+ if (tag === 'slot')
954
+ ;
955
+ else {
956
+ // either this is the first render of an element OR it's an update
957
+ // AND we already know it's possible it could have changed
958
+ // this updates the element's css classes, attrs, props, listeners, etc.
959
+ updateElement(oldVNode, newVNode, isSvgMode);
960
+ }
961
+ }
962
+ if (oldChildren !== null && newChildren !== null) {
963
+ // looks like there's child vnodes for both the old and new vnodes
964
+ // so we need to call `updateChildren` to reconcile them
965
+ updateChildren(elm, oldChildren, newVNode, newChildren);
966
+ }
967
+ else if (newChildren !== null) {
968
+ // no old child vnodes, but there are new child vnodes to add
969
+ if (oldVNode.$text$ !== null) {
970
+ // the old vnode was text, so be sure to clear it out
971
+ elm.textContent = '';
972
+ }
973
+ // add the new vnode children
974
+ addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
975
+ }
976
+ else if (oldChildren !== null) {
977
+ // no new child vnodes, but there are old child vnodes to remove
978
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
979
+ }
980
+ if (isSvgMode && tag === 'svg') {
981
+ isSvgMode = false;
982
+ }
983
+ }
984
+ else if ((defaultHolder = elm['s-cr'])) {
985
+ // this element has slotted content
986
+ defaultHolder.parentNode.textContent = text;
987
+ }
988
+ else if (oldVNode.$text$ !== text) {
989
+ // update the text content for the text only vnode
990
+ // and also only if the text is different than before
991
+ elm.data = text;
992
+ }
993
+ };
994
+ const updateFallbackSlotVisibility = (elm) => {
995
+ // tslint:disable-next-line: prefer-const
996
+ const childNodes = elm.childNodes;
997
+ let childNode;
998
+ let i;
999
+ let ilen;
1000
+ let j;
1001
+ let slotNameAttr;
1002
+ let nodeType;
1003
+ for (i = 0, ilen = childNodes.length; i < ilen; i++) {
1004
+ childNode = childNodes[i];
1005
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1006
+ if (childNode['s-sr']) {
1007
+ // this is a slot fallback node
1008
+ // get the slot name for this slot reference node
1009
+ slotNameAttr = childNode['s-sn'];
1010
+ // by default always show a fallback slot node
1011
+ // then hide it if there are other slots in the light dom
1012
+ childNode.hidden = false;
1013
+ for (j = 0; j < ilen; j++) {
1014
+ nodeType = childNodes[j].nodeType;
1015
+ if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
1016
+ // this sibling node is from a different component OR is a named fallback slot node
1017
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
1018
+ childNode.hidden = true;
1019
+ break;
1020
+ }
1021
+ }
1022
+ else {
1023
+ // this is a default fallback slot node
1024
+ // any element or text node (with content)
1025
+ // should hide the default fallback slot node
1026
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
1027
+ (nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
1028
+ childNode.hidden = true;
1029
+ break;
1030
+ }
1031
+ }
1032
+ }
1033
+ }
1034
+ // keep drilling down
1035
+ updateFallbackSlotVisibility(childNode);
1036
+ }
1037
+ }
1038
+ };
1039
+ const relocateNodes = [];
1040
+ const relocateSlotContent = (elm) => {
1041
+ // tslint:disable-next-line: prefer-const
1042
+ let childNode;
1043
+ let node;
1044
+ let hostContentNodes;
1045
+ let slotNameAttr;
1046
+ let relocateNodeData;
1047
+ let j;
1048
+ let i = 0;
1049
+ const childNodes = elm.childNodes;
1050
+ const ilen = childNodes.length;
1051
+ for (; i < ilen; i++) {
1052
+ childNode = childNodes[i];
1053
+ if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
1054
+ // first got the content reference comment node
1055
+ // then we got it's parent, which is where all the host content is in now
1056
+ hostContentNodes = node.parentNode.childNodes;
1057
+ slotNameAttr = childNode['s-sn'];
1058
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
1059
+ node = hostContentNodes[j];
1060
+ if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {
1061
+ // let's do some relocating to its new home
1062
+ // but never relocate a content reference node
1063
+ // that is suppose to always represent the original content location
1064
+ if (isNodeLocatedInSlot(node, slotNameAttr)) {
1065
+ // it's possible we've already decided to relocate this node
1066
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1067
+ // made some changes to slots
1068
+ // let's make sure we also double check
1069
+ // fallbacks are correctly hidden or shown
1070
+ checkSlotFallbackVisibility = true;
1071
+ node['s-sn'] = node['s-sn'] || slotNameAttr;
1072
+ if (relocateNodeData) {
1073
+ // previously we never found a slot home for this node
1074
+ // but turns out we did, so let's remember it now
1075
+ relocateNodeData.$slotRefNode$ = childNode;
1076
+ }
1077
+ else {
1078
+ // add to our list of nodes to relocate
1079
+ relocateNodes.push({
1080
+ $slotRefNode$: childNode,
1081
+ $nodeToRelocate$: node,
1082
+ });
1083
+ }
1084
+ if (node['s-sr']) {
1085
+ relocateNodes.map((relocateNode) => {
1086
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
1087
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1088
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1089
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1090
+ }
1091
+ }
1092
+ });
1093
+ }
1094
+ }
1095
+ else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1096
+ // so far this element does not have a slot home, not setting slotRefNode on purpose
1097
+ // if we never find a home for this element then we'll need to hide it
1098
+ relocateNodes.push({
1099
+ $nodeToRelocate$: node,
1100
+ });
1101
+ }
1102
+ }
1103
+ }
1104
+ }
1105
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1106
+ relocateSlotContent(childNode);
1107
+ }
1108
+ }
1109
+ };
1110
+ const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
1111
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1112
+ if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
1113
+ return true;
1114
+ }
1115
+ if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {
1116
+ return true;
1117
+ }
1118
+ return false;
1119
+ }
1120
+ if (nodeToRelocate['s-sn'] === slotNameAttr) {
1121
+ return true;
1122
+ }
1123
+ return slotNameAttr === '';
1124
+ };
1125
+ const callNodeRefs = (vNode) => {
1126
+ {
1127
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1128
+ vNode.$children$ && vNode.$children$.map(callNodeRefs);
1129
+ }
1130
+ };
1131
+ const renderVdom = (hostRef, renderFnResults) => {
1132
+ const hostElm = hostRef.$hostElement$;
1133
+ const cmpMeta = hostRef.$cmpMeta$;
1134
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1135
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1136
+ hostTagName = hostElm.tagName;
1137
+ if (cmpMeta.$attrsToReflect$) {
1138
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1139
+ cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
1140
+ }
1141
+ rootVnode.$tag$ = null;
1142
+ rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
1143
+ hostRef.$vnode$ = rootVnode;
1144
+ rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
1145
+ {
1146
+ scopeId = hostElm['s-sc'];
1147
+ }
1148
+ {
1149
+ contentRef = hostElm['s-cr'];
1150
+ useNativeShadowDom = supportsShadow && (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
1151
+ // always reset
1152
+ checkSlotFallbackVisibility = false;
1153
+ }
1154
+ // synchronous patch
1155
+ patch(oldVNode, rootVnode);
1156
+ {
1157
+ // while we're moving nodes around existing nodes, temporarily disable
1158
+ // the disconnectCallback from working
1159
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1160
+ if (checkSlotRelocate) {
1161
+ relocateSlotContent(rootVnode.$elm$);
1162
+ let relocateData;
1163
+ let nodeToRelocate;
1164
+ let orgLocationNode;
1165
+ let parentNodeRef;
1166
+ let insertBeforeNode;
1167
+ let refNode;
1168
+ let i = 0;
1169
+ for (; i < relocateNodes.length; i++) {
1170
+ relocateData = relocateNodes[i];
1171
+ nodeToRelocate = relocateData.$nodeToRelocate$;
1172
+ if (!nodeToRelocate['s-ol']) {
1173
+ // add a reference node marking this node's original location
1174
+ // keep a reference to this node for later lookups
1175
+ orgLocationNode =
1176
+ doc.createTextNode('');
1177
+ orgLocationNode['s-nr'] = nodeToRelocate;
1178
+ nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
1179
+ }
1180
+ }
1181
+ for (i = 0; i < relocateNodes.length; i++) {
1182
+ relocateData = relocateNodes[i];
1183
+ nodeToRelocate = relocateData.$nodeToRelocate$;
1184
+ if (relocateData.$slotRefNode$) {
1185
+ // by default we're just going to insert it directly
1186
+ // after the slot reference node
1187
+ parentNodeRef = relocateData.$slotRefNode$.parentNode;
1188
+ insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
1189
+ orgLocationNode = nodeToRelocate['s-ol'];
1190
+ while ((orgLocationNode = orgLocationNode.previousSibling)) {
1191
+ refNode = orgLocationNode['s-nr'];
1192
+ if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
1193
+ refNode = refNode.nextSibling;
1194
+ if (!refNode || !refNode['s-nr']) {
1195
+ insertBeforeNode = refNode;
1196
+ break;
1197
+ }
1198
+ }
1199
+ }
1200
+ if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
1201
+ nodeToRelocate.nextSibling !== insertBeforeNode) {
1202
+ // we've checked that it's worth while to relocate
1203
+ // since that the node to relocate
1204
+ // has a different next sibling or parent relocated
1205
+ if (nodeToRelocate !== insertBeforeNode) {
1206
+ if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
1207
+ // probably a component in the index.html that doesn't have it's hostname set
1208
+ nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
1209
+ }
1210
+ // add it back to the dom but in its new home
1211
+ parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
1212
+ }
1213
+ }
1214
+ }
1215
+ else {
1216
+ // this node doesn't have a slot home to go to, so let's hide it
1217
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1218
+ nodeToRelocate.hidden = true;
1219
+ }
1220
+ }
1221
+ }
1222
+ }
1223
+ if (checkSlotFallbackVisibility) {
1224
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1225
+ }
1226
+ // done moving nodes around
1227
+ // allow the disconnect callback to work again
1228
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1229
+ // always reset
1230
+ relocateNodes.length = 0;
1231
+ }
1232
+ };
1233
+ const getElement = (ref) => (getHostRef(ref).$hostElement$ );
1234
+ const createEvent = (ref, name, flags) => {
1235
+ const elm = getElement(ref);
1236
+ return {
1237
+ emit: (detail) => {
1238
+ return emitEvent(elm, name, {
1239
+ bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
1240
+ composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
1241
+ cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
1242
+ detail,
1243
+ });
1244
+ },
1245
+ };
1246
+ };
1247
+ /**
1248
+ * Helper function to create & dispatch a custom Event on a provided target
1249
+ * @param elm the target of the Event
1250
+ * @param name the name to give the custom Event
1251
+ * @param opts options for configuring a custom Event
1252
+ * @returns the custom Event
1253
+ */
1254
+ const emitEvent = (elm, name, opts) => {
1255
+ const ev = plt.ce(name, opts);
1256
+ elm.dispatchEvent(ev);
1257
+ return ev;
1258
+ };
1259
+ const attachToAncestor = (hostRef, ancestorComponent) => {
1260
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1261
+ ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
1262
+ }
1263
+ };
1264
+ const scheduleUpdate = (hostRef, isInitialLoad) => {
1265
+ {
1266
+ hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
1267
+ }
1268
+ if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
1269
+ hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
1270
+ return;
1271
+ }
1272
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1273
+ // there is no ancestor component or the ancestor component
1274
+ // has already fired off its lifecycle update then
1275
+ // fire off the initial update
1276
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1277
+ return writeTask(dispatch) ;
1278
+ };
1279
+ const dispatchHooks = (hostRef, isInitialLoad) => {
1280
+ const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
1281
+ const instance = hostRef.$lazyInstance$ ;
1282
+ let promise;
1283
+ if (isInitialLoad) {
1284
+ {
1285
+ hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
1286
+ if (hostRef.$queuedListeners$) {
1287
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1288
+ hostRef.$queuedListeners$ = null;
1289
+ }
1290
+ }
1291
+ {
1292
+ promise = safeCall(instance, 'componentWillLoad');
1293
+ }
1294
+ }
1295
+ else {
1296
+ {
1297
+ promise = safeCall(instance, 'componentWillUpdate');
1298
+ }
1299
+ }
1300
+ {
1301
+ promise = then(promise, () => safeCall(instance, 'componentWillRender'));
1302
+ }
1303
+ endSchedule();
1304
+ return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
1305
+ };
1306
+ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1307
+ // updateComponent
1308
+ const elm = hostRef.$hostElement$;
1309
+ const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
1310
+ const rc = elm['s-rc'];
1311
+ if (isInitialLoad) {
1312
+ // DOM WRITE!
1313
+ attachStyles(hostRef);
1314
+ }
1315
+ const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
1316
+ {
1317
+ callRender(hostRef, instance);
1318
+ }
1319
+ if (rc) {
1320
+ // ok, so turns out there are some child host elements
1321
+ // waiting on this parent element to load
1322
+ // let's fire off all update callbacks waiting
1323
+ rc.map((cb) => cb());
1324
+ elm['s-rc'] = undefined;
1325
+ }
1326
+ endRender();
1327
+ endUpdate();
1328
+ {
1329
+ const childrenPromises = elm['s-p'];
1330
+ const postUpdate = () => postUpdateComponent(hostRef);
1331
+ if (childrenPromises.length === 0) {
1332
+ postUpdate();
1333
+ }
1334
+ else {
1335
+ Promise.all(childrenPromises).then(postUpdate);
1336
+ hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
1337
+ childrenPromises.length = 0;
1338
+ }
1339
+ }
1340
+ };
1341
+ const callRender = (hostRef, instance, elm) => {
1342
+ try {
1343
+ instance = instance.render() ;
1344
+ {
1345
+ hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
1346
+ }
1347
+ {
1348
+ hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
1349
+ }
1350
+ {
1351
+ {
1352
+ // looks like we've got child nodes to render into this host element
1353
+ // or we need to update the css class/attrs on the host element
1354
+ // DOM WRITE!
1355
+ {
1356
+ renderVdom(hostRef, instance);
1357
+ }
1358
+ }
1359
+ }
1360
+ }
1361
+ catch (e) {
1362
+ consoleError(e, hostRef.$hostElement$);
1363
+ }
1364
+ return null;
1365
+ };
1366
+ const postUpdateComponent = (hostRef) => {
1367
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1368
+ const elm = hostRef.$hostElement$;
1369
+ const endPostUpdate = createTime('postUpdate', tagName);
1370
+ const instance = hostRef.$lazyInstance$ ;
1371
+ const ancestorComponent = hostRef.$ancestorComponent$;
1372
+ {
1373
+ safeCall(instance, 'componentDidRender');
1374
+ }
1375
+ if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
1376
+ hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
1377
+ {
1378
+ // DOM WRITE!
1379
+ addHydratedFlag(elm);
1380
+ }
1381
+ {
1382
+ safeCall(instance, 'componentDidLoad');
1383
+ }
1384
+ endPostUpdate();
1385
+ {
1386
+ hostRef.$onReadyResolve$(elm);
1387
+ if (!ancestorComponent) {
1388
+ appDidLoad();
1389
+ }
1390
+ }
1391
+ }
1392
+ else {
1393
+ {
1394
+ safeCall(instance, 'componentDidUpdate');
1395
+ }
1396
+ endPostUpdate();
1397
+ }
1398
+ {
1399
+ hostRef.$onInstanceResolve$(elm);
1400
+ }
1401
+ // load events fire from bottom to top
1402
+ // the deepest elements load first then bubbles up
1403
+ {
1404
+ if (hostRef.$onRenderResolve$) {
1405
+ hostRef.$onRenderResolve$();
1406
+ hostRef.$onRenderResolve$ = undefined;
1407
+ }
1408
+ if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
1409
+ nextTick(() => scheduleUpdate(hostRef, false));
1410
+ }
1411
+ hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
1412
+ }
1413
+ // ( •_•)
1414
+ // ( •_•)>⌐■-■
1415
+ // (⌐■_■)
1416
+ };
1417
+ const forceUpdate = (ref) => {
1418
+ {
1419
+ const hostRef = getHostRef(ref);
1420
+ const isConnected = hostRef.$hostElement$.isConnected;
1421
+ if (isConnected &&
1422
+ (hostRef.$flags$ & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1423
+ scheduleUpdate(hostRef, false);
1424
+ }
1425
+ // Returns "true" when the forced update was successfully scheduled
1426
+ return isConnected;
1427
+ }
1428
+ };
1429
+ const appDidLoad = (who) => {
1430
+ // on appload
1431
+ // we have finish the first big initial render
1432
+ {
1433
+ addHydratedFlag(doc.documentElement);
1434
+ }
1435
+ nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
1436
+ };
1437
+ const safeCall = (instance, method, arg) => {
1438
+ if (instance && instance[method]) {
1439
+ try {
1440
+ return instance[method](arg);
1441
+ }
1442
+ catch (e) {
1443
+ consoleError(e);
1444
+ }
1445
+ }
1446
+ return undefined;
1447
+ };
1448
+ const then = (promise, thenFn) => {
1449
+ return promise && promise.then ? promise.then(thenFn) : thenFn();
1450
+ };
1451
+ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1452
+ ;
1453
+ /**
1454
+ * Parse a new property value for a given property type.
1455
+ *
1456
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
1457
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
1458
+ * 1. `any`, the type given to `propValue` in the function signature
1459
+ * 2. the type stored from `propType`.
1460
+ *
1461
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
1462
+ *
1463
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
1464
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
1465
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
1466
+ * ```tsx
1467
+ * <my-cmp prop-val={0}></my-cmp>
1468
+ * ```
1469
+ *
1470
+ * HTML prop values on the other hand, will always a string
1471
+ *
1472
+ * @param propValue the new value to coerce to some type
1473
+ * @param propType the type of the prop, expressed as a binary number
1474
+ * @returns the parsed/coerced value
1475
+ */
1476
+ const parsePropertyValue = (propValue, propType) => {
1477
+ // ensure this value is of the correct prop type
1478
+ if (propValue != null && !isComplexType(propValue)) {
1479
+ if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
1480
+ // per the HTML spec, any string value means it is a boolean true value
1481
+ // but we'll cheat here and say that the string "false" is the boolean false
1482
+ return propValue === 'false' ? false : propValue === '' || !!propValue;
1483
+ }
1484
+ if (propType & 2 /* MEMBER_FLAGS.Number */) {
1485
+ // force it to be a number
1486
+ return parseFloat(propValue);
1487
+ }
1488
+ if (propType & 1 /* MEMBER_FLAGS.String */) {
1489
+ // could have been passed as a number or boolean
1490
+ // but we still want it as a string
1491
+ return String(propValue);
1492
+ }
1493
+ // redundant return here for better minification
1494
+ return propValue;
1495
+ }
1496
+ // not sure exactly what type we want
1497
+ // so no need to change to a different type
1498
+ return propValue;
1499
+ };
1500
+ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1501
+ const setValue = (ref, propName, newVal, cmpMeta) => {
1502
+ // check our new property value against our internal value
1503
+ const hostRef = getHostRef(ref);
1504
+ const elm = hostRef.$hostElement$ ;
1505
+ const oldVal = hostRef.$instanceValues$.get(propName);
1506
+ const flags = hostRef.$flags$;
1507
+ const instance = hostRef.$lazyInstance$ ;
1508
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1509
+ // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1510
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1511
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1512
+ if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1513
+ // gadzooks! the property's value has changed!!
1514
+ // set our new value!
1515
+ hostRef.$instanceValues$.set(propName, newVal);
1516
+ if (instance) {
1517
+ // get an array of method names of watch functions to call
1518
+ if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
1519
+ const watchMethods = cmpMeta.$watchers$[propName];
1520
+ if (watchMethods) {
1521
+ // this instance is watching for when this property changed
1522
+ watchMethods.map((watchMethodName) => {
1523
+ try {
1524
+ // fire off each of the watch methods that are watching this property
1525
+ instance[watchMethodName](newVal, oldVal, propName);
1526
+ }
1527
+ catch (e) {
1528
+ consoleError(e, elm);
1529
+ }
1530
+ });
1531
+ }
1532
+ }
1533
+ if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1534
+ if (instance.componentShouldUpdate) {
1535
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1536
+ return;
1537
+ }
1538
+ }
1539
+ // looks like this value actually changed, so we've got work to do!
1540
+ // but only if we've already rendered, otherwise just chill out
1541
+ // queue that we need to do an update, but don't worry about queuing
1542
+ // up millions cuz this function ensures it only runs once
1543
+ scheduleUpdate(hostRef, false);
1544
+ }
1545
+ }
1546
+ }
1547
+ };
1548
+ const proxyComponent = (Cstr, cmpMeta, flags) => {
1549
+ if (cmpMeta.$members$) {
1550
+ if (Cstr.watchers) {
1551
+ cmpMeta.$watchers$ = Cstr.watchers;
1552
+ }
1553
+ // It's better to have a const than two Object.entries()
1554
+ const members = Object.entries(cmpMeta.$members$);
1555
+ const prototype = Cstr.prototype;
1556
+ members.map(([memberName, [memberFlags]]) => {
1557
+ if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1558
+ ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1559
+ // proxyComponent - prop
1560
+ Object.defineProperty(prototype, memberName, {
1561
+ get() {
1562
+ // proxyComponent, get value
1563
+ return getValue(this, memberName);
1564
+ },
1565
+ set(newValue) {
1566
+ // proxyComponent, set value
1567
+ setValue(this, memberName, newValue, cmpMeta);
1568
+ },
1569
+ configurable: true,
1570
+ enumerable: true,
1571
+ });
1572
+ }
1573
+ else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
1574
+ memberFlags & 64 /* MEMBER_FLAGS.Method */) {
1575
+ // proxyComponent - method
1576
+ Object.defineProperty(prototype, memberName, {
1577
+ value(...args) {
1578
+ const ref = getHostRef(this);
1579
+ return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
1580
+ },
1581
+ });
1582
+ }
1583
+ });
1584
+ if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1585
+ const attrNameToPropName = new Map();
1586
+ prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1587
+ plt.jmp(() => {
1588
+ const propName = attrNameToPropName.get(attrName);
1589
+ // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1590
+ // in the case where an attribute was set inline.
1591
+ // ```html
1592
+ // <my-component some-attribute="some-value"></my-component>
1593
+ // ```
1594
+ //
1595
+ // There is an edge case where a developer sets the attribute inline on a custom element and then
1596
+ // programmatically changes it before it has been upgraded as shown below:
1597
+ //
1598
+ // ```html
1599
+ // <!-- this component has _not_ been upgraded yet -->
1600
+ // <my-component id="test" some-attribute="some-value"></my-component>
1601
+ // <script>
1602
+ // // grab non-upgraded component
1603
+ // el = document.querySelector("#test");
1604
+ // el.someAttribute = "another-value";
1605
+ // // upgrade component
1606
+ // customElements.define('my-component', MyComponent);
1607
+ // </script>
1608
+ // ```
1609
+ // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1610
+ // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1611
+ // to the value that was set inline i.e. "some-value" from above example. When
1612
+ // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1613
+ //
1614
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1615
+ // by connectedCallback as this attributeChangedCallback will not fire.
1616
+ //
1617
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1618
+ //
1619
+ // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1620
+ // properties here given that this goes against best practices outlined here
1621
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1622
+ if (this.hasOwnProperty(propName)) {
1623
+ newValue = this[propName];
1624
+ delete this[propName];
1625
+ }
1626
+ else if (prototype.hasOwnProperty(propName) &&
1627
+ typeof this[propName] === 'number' &&
1628
+ this[propName] == newValue) {
1629
+ // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1630
+ // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1631
+ // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1632
+ return;
1633
+ }
1634
+ this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1635
+ });
1636
+ };
1637
+ // create an array of attributes to observe
1638
+ // and also create a map of html attribute name to js property name
1639
+ Cstr.observedAttributes = members
1640
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1641
+ .map(([propName, m]) => {
1642
+ const attrName = m[1] || propName;
1643
+ attrNameToPropName.set(attrName, propName);
1644
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1645
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1646
+ }
1647
+ return attrName;
1648
+ });
1649
+ }
1650
+ }
1651
+ return Cstr;
1652
+ };
1653
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1654
+ // initializeComponent
1655
+ if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1656
+ {
1657
+ // we haven't initialized this element yet
1658
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1659
+ // lazy loaded components
1660
+ // request the component's implementation to be
1661
+ // wired up with the host element
1662
+ Cstr = loadModule(cmpMeta);
1663
+ if (Cstr.then) {
1664
+ // Await creates a micro-task avoid if possible
1665
+ const endLoad = uniqueTime();
1666
+ Cstr = await Cstr;
1667
+ endLoad();
1668
+ }
1669
+ if (!Cstr.isProxied) {
1670
+ // we've never proxied this Constructor before
1671
+ // let's add the getters/setters to its prototype before
1672
+ // the first time we create an instance of the implementation
1673
+ {
1674
+ cmpMeta.$watchers$ = Cstr.watchers;
1675
+ }
1676
+ proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1677
+ Cstr.isProxied = true;
1678
+ }
1679
+ const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
1680
+ // ok, time to construct the instance
1681
+ // but let's keep track of when we start and stop
1682
+ // so that the getters/setters don't incorrectly step on data
1683
+ {
1684
+ hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
1685
+ }
1686
+ // construct the lazy-loaded component implementation
1687
+ // passing the hostRef is very important during
1688
+ // construction in order to directly wire together the
1689
+ // host element and the lazy-loaded instance
1690
+ try {
1691
+ new Cstr(hostRef);
1692
+ }
1693
+ catch (e) {
1694
+ consoleError(e);
1695
+ }
1696
+ {
1697
+ hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1698
+ }
1699
+ {
1700
+ hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
1701
+ }
1702
+ endNewInstance();
1703
+ fireConnectedCallback(hostRef.$lazyInstance$);
1704
+ }
1705
+ if (Cstr.style) {
1706
+ // this component has styles but we haven't registered them yet
1707
+ let style = Cstr.style;
1708
+ const scopeId = getScopeId(cmpMeta);
1709
+ if (!styles.has(scopeId)) {
1710
+ const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1711
+ if (cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {
1712
+ style = await import('./shadow-css-4261c637.js').then((m) => m.scopeCss(style, scopeId, false));
1713
+ }
1714
+ registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
1715
+ endRegisterStyles();
1716
+ }
1717
+ }
1718
+ }
1719
+ // we've successfully created a lazy instance
1720
+ const ancestorComponent = hostRef.$ancestorComponent$;
1721
+ const schedule = () => scheduleUpdate(hostRef, true);
1722
+ if (ancestorComponent && ancestorComponent['s-rc']) {
1723
+ // this is the initial load and this component it has an ancestor component
1724
+ // but the ancestor component has NOT fired its will update lifecycle yet
1725
+ // so let's just cool our jets and wait for the ancestor to continue first
1726
+ // this will get fired off when the ancestor component
1727
+ // finally gets around to rendering its lazy self
1728
+ // fire off the initial update
1729
+ ancestorComponent['s-rc'].push(schedule);
1730
+ }
1731
+ else {
1732
+ schedule();
1733
+ }
1734
+ };
1735
+ const fireConnectedCallback = (instance) => {
1736
+ {
1737
+ safeCall(instance, 'connectedCallback');
1738
+ }
1739
+ };
1740
+ const connectedCallback = (elm) => {
1741
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1742
+ const hostRef = getHostRef(elm);
1743
+ const cmpMeta = hostRef.$cmpMeta$;
1744
+ const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1745
+ if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1746
+ // first time this component has connected
1747
+ hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1748
+ {
1749
+ // initUpdate
1750
+ // if the slot polyfill is required we'll need to put some nodes
1751
+ // in here to act as original content anchors as we move nodes around
1752
+ // host element has been connected to the DOM
1753
+ if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
1754
+ setContentReference(elm);
1755
+ }
1756
+ }
1757
+ {
1758
+ // find the first ancestor component (if there is one) and register
1759
+ // this component as one of the actively loading child components for its ancestor
1760
+ let ancestorComponent = elm;
1761
+ while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
1762
+ // climb up the ancestors looking for the first
1763
+ // component that hasn't finished its lifecycle update yet
1764
+ if (ancestorComponent['s-p']) {
1765
+ // we found this components first ancestor component
1766
+ // keep a reference to this component's ancestor component
1767
+ attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
1768
+ break;
1769
+ }
1770
+ }
1771
+ }
1772
+ // Lazy properties
1773
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1774
+ if (cmpMeta.$members$) {
1775
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1776
+ if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
1777
+ const value = elm[memberName];
1778
+ delete elm[memberName];
1779
+ elm[memberName] = value;
1780
+ }
1781
+ });
1782
+ }
1783
+ {
1784
+ initializeComponent(elm, hostRef, cmpMeta);
1785
+ }
1786
+ }
1787
+ else {
1788
+ // not the first time this has connected
1789
+ // reattach any event listeners to the host
1790
+ // since they would have been removed when disconnected
1791
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1792
+ // fire off connectedCallback() on component instance
1793
+ fireConnectedCallback(hostRef.$lazyInstance$);
1794
+ }
1795
+ endConnected();
1796
+ }
1797
+ };
1798
+ const setContentReference = (elm) => {
1799
+ // only required when we're NOT using native shadow dom (slot)
1800
+ // or this browser doesn't support native shadow dom
1801
+ // and this host element was NOT created with SSR
1802
+ // let's pick out the inner content for slot projection
1803
+ // create a node to represent where the original
1804
+ // content was first placed, which is useful later on
1805
+ const contentRefElm = (elm['s-cr'] = doc.createComment(''));
1806
+ contentRefElm['s-cn'] = true;
1807
+ elm.insertBefore(contentRefElm, elm.firstChild);
1808
+ };
1809
+ const disconnectedCallback = (elm) => {
1810
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1811
+ const hostRef = getHostRef(elm);
1812
+ const instance = hostRef.$lazyInstance$ ;
1813
+ {
1814
+ if (hostRef.$rmListeners$) {
1815
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1816
+ hostRef.$rmListeners$ = undefined;
1817
+ }
1818
+ }
1819
+ {
1820
+ safeCall(instance, 'disconnectedCallback');
1821
+ }
1822
+ }
1823
+ };
1824
+ const patchCloneNode = (HostElementPrototype) => {
1825
+ const orgCloneNode = HostElementPrototype.cloneNode;
1826
+ HostElementPrototype.cloneNode = function (deep) {
1827
+ const srcNode = this;
1828
+ const isShadowDom = srcNode.shadowRoot && supportsShadow ;
1829
+ const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);
1830
+ if (!isShadowDom && deep) {
1831
+ let i = 0;
1832
+ let slotted, nonStencilNode;
1833
+ const stencilPrivates = [
1834
+ 's-id',
1835
+ 's-cr',
1836
+ 's-lr',
1837
+ 's-rc',
1838
+ 's-sc',
1839
+ 's-p',
1840
+ 's-cn',
1841
+ 's-sr',
1842
+ 's-sn',
1843
+ 's-hn',
1844
+ 's-ol',
1845
+ 's-nr',
1846
+ 's-si',
1847
+ ];
1848
+ for (; i < srcNode.childNodes.length; i++) {
1849
+ slotted = srcNode.childNodes[i]['s-nr'];
1850
+ nonStencilNode = stencilPrivates.every((privateField) => !srcNode.childNodes[i][privateField]);
1851
+ if (slotted) {
1852
+ if (clonedNode.__appendChild) {
1853
+ clonedNode.__appendChild(slotted.cloneNode(true));
1854
+ }
1855
+ else {
1856
+ clonedNode.appendChild(slotted.cloneNode(true));
1857
+ }
1858
+ }
1859
+ if (nonStencilNode) {
1860
+ clonedNode.appendChild(srcNode.childNodes[i].cloneNode(true));
1861
+ }
1862
+ }
1863
+ }
1864
+ return clonedNode;
1865
+ };
1866
+ };
1867
+ const patchSlotAppendChild = (HostElementPrototype) => {
1868
+ HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
1869
+ HostElementPrototype.appendChild = function (newChild) {
1870
+ const slotName = (newChild['s-sn'] = getSlotName(newChild));
1871
+ const slotNode = getHostSlotNode(this.childNodes, slotName);
1872
+ if (slotNode) {
1873
+ const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
1874
+ const appendAfter = slotChildNodes[slotChildNodes.length - 1];
1875
+ return appendAfter.parentNode.insertBefore(newChild, appendAfter.nextSibling);
1876
+ }
1877
+ return this.__appendChild(newChild);
1878
+ };
1879
+ };
1880
+ /**
1881
+ * Patches the text content of an unnamed slotted node inside a scoped component
1882
+ * @param hostElementPrototype the `Element` to be patched
1883
+ * @param cmpMeta component runtime metadata used to determine if the component should be patched or not
1884
+ */
1885
+ const patchTextContent = (hostElementPrototype, cmpMeta) => {
1886
+ if (cmpMeta.$flags$ & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
1887
+ const descriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'textContent');
1888
+ Object.defineProperty(hostElementPrototype, '__textContent', descriptor);
1889
+ Object.defineProperty(hostElementPrototype, 'textContent', {
1890
+ get() {
1891
+ var _a;
1892
+ // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is
1893
+ // the empty string
1894
+ const slotNode = getHostSlotNode(this.childNodes, '');
1895
+ // when a slot node is found, the textContent _may_ be found in the next sibling (text) node, depending on how
1896
+ // nodes were reordered during the vdom render. first try to get the text content from the sibling.
1897
+ if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* NODE_TYPES.TEXT_NODE */) {
1898
+ return slotNode.nextSibling.textContent;
1899
+ }
1900
+ else if (slotNode) {
1901
+ return slotNode.textContent;
1902
+ }
1903
+ else {
1904
+ // fallback to the original implementation
1905
+ return this.__textContent;
1906
+ }
1907
+ },
1908
+ set(value) {
1909
+ var _a;
1910
+ // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is
1911
+ // the empty string
1912
+ const slotNode = getHostSlotNode(this.childNodes, '');
1913
+ // when a slot node is found, the textContent _may_ need to be placed in the next sibling (text) node,
1914
+ // depending on how nodes were reordered during the vdom render. first try to set the text content on the
1915
+ // sibling.
1916
+ if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* NODE_TYPES.TEXT_NODE */) {
1917
+ slotNode.nextSibling.textContent = value;
1918
+ }
1919
+ else if (slotNode) {
1920
+ slotNode.textContent = value;
1921
+ }
1922
+ else {
1923
+ // we couldn't find a slot, but that doesn't mean that there isn't one. if this check ran before the DOM
1924
+ // loaded, we could have missed it. check for a content reference element on the scoped component and insert
1925
+ // it there
1926
+ this.__textContent = value;
1927
+ const contentRefElm = this['s-cr'];
1928
+ if (contentRefElm) {
1929
+ this.insertBefore(contentRefElm, this.firstChild);
1930
+ }
1931
+ }
1932
+ },
1933
+ });
1934
+ }
1935
+ };
1936
+ const patchChildSlotNodes = (elm, cmpMeta) => {
1937
+ class FakeNodeList extends Array {
1938
+ item(n) {
1939
+ return this[n];
1940
+ }
1941
+ }
1942
+ if (cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {
1943
+ const childNodesFn = elm.__lookupGetter__('childNodes');
1944
+ Object.defineProperty(elm, 'children', {
1945
+ get() {
1946
+ return this.childNodes.map((n) => n.nodeType === 1);
1947
+ },
1948
+ });
1949
+ Object.defineProperty(elm, 'childElementCount', {
1950
+ get() {
1951
+ return elm.children.length;
1952
+ },
1953
+ });
1954
+ Object.defineProperty(elm, 'childNodes', {
1955
+ get() {
1956
+ const childNodes = childNodesFn.call(this);
1957
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0 &&
1958
+ getHostRef(this).$flags$ & 2 /* HOST_FLAGS.hasRendered */) {
1959
+ const result = new FakeNodeList();
1960
+ for (let i = 0; i < childNodes.length; i++) {
1961
+ const slot = childNodes[i]['s-nr'];
1962
+ if (slot) {
1963
+ result.push(slot);
1964
+ }
1965
+ }
1966
+ return result;
1967
+ }
1968
+ return FakeNodeList.from(childNodes);
1969
+ },
1970
+ });
1971
+ }
1972
+ };
1973
+ const getSlotName = (node) => node['s-sn'] || (node.nodeType === 1 && node.getAttribute('slot')) || '';
1974
+ /**
1975
+ * Recursively searches a series of child nodes for a slot with the provided name.
1976
+ * @param childNodes the nodes to search for a slot with a specific name.
1977
+ * @param slotName the name of the slot to match on.
1978
+ * @returns a reference to the slot node that matches the provided name, `null` otherwise
1979
+ */
1980
+ const getHostSlotNode = (childNodes, slotName) => {
1981
+ let i = 0;
1982
+ let childNode;
1983
+ for (; i < childNodes.length; i++) {
1984
+ childNode = childNodes[i];
1985
+ if (childNode['s-sr'] && childNode['s-sn'] === slotName) {
1986
+ return childNode;
1987
+ }
1988
+ childNode = getHostSlotNode(childNode.childNodes, slotName);
1989
+ if (childNode) {
1990
+ return childNode;
1991
+ }
1992
+ }
1993
+ return null;
1994
+ };
1995
+ const getHostSlotChildNodes = (n, slotName) => {
1996
+ const childNodes = [n];
1997
+ while ((n = n.nextSibling) && n['s-sn'] === slotName) {
1998
+ childNodes.push(n);
1999
+ }
2000
+ return childNodes;
2001
+ };
2002
+ const bootstrapLazy = (lazyBundles, options = {}) => {
2003
+ const endBootstrap = createTime();
2004
+ const cmpTags = [];
2005
+ const exclude = options.exclude || [];
2006
+ const customElements = win.customElements;
2007
+ const head = doc.head;
2008
+ const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
2009
+ const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
2010
+ const deferredConnectedCallbacks = [];
2011
+ let appLoadFallback;
2012
+ let isBootstrapping = true;
2013
+ Object.assign(plt, options);
2014
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
2015
+ lazyBundles.map((lazyBundle) => {
2016
+ lazyBundle[1].map((compactMeta) => {
2017
+ const cmpMeta = {
2018
+ $flags$: compactMeta[0],
2019
+ $tagName$: compactMeta[1],
2020
+ $members$: compactMeta[2],
2021
+ $listeners$: compactMeta[3],
2022
+ };
2023
+ {
2024
+ cmpMeta.$members$ = compactMeta[2];
2025
+ }
2026
+ {
2027
+ cmpMeta.$listeners$ = compactMeta[3];
2028
+ }
2029
+ {
2030
+ cmpMeta.$attrsToReflect$ = [];
2031
+ }
2032
+ {
2033
+ cmpMeta.$watchers$ = {};
2034
+ }
2035
+ if (!supportsShadow && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
2036
+ cmpMeta.$flags$ |= 8 /* CMP_FLAGS.needsShadowDomShim */;
2037
+ }
2038
+ const tagName = cmpMeta.$tagName$;
2039
+ const HostElement = class extends HTMLElement {
2040
+ // StencilLazyHost
2041
+ constructor(self) {
2042
+ // @ts-ignore
2043
+ super(self);
2044
+ self = this;
2045
+ registerHost(self, cmpMeta);
2046
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
2047
+ // this component is using shadow dom
2048
+ // and this browser supports shadow dom
2049
+ // add the read-only property "shadowRoot" to the host element
2050
+ // adding the shadow root build conditionals to minimize runtime
2051
+ if (supportsShadow) {
2052
+ {
2053
+ self.attachShadow({ mode: 'open' });
2054
+ }
2055
+ }
2056
+ else if (!('shadowRoot' in self)) {
2057
+ self.shadowRoot = self;
2058
+ }
2059
+ }
2060
+ {
2061
+ patchChildSlotNodes(self, cmpMeta);
2062
+ }
2063
+ }
2064
+ connectedCallback() {
2065
+ if (appLoadFallback) {
2066
+ clearTimeout(appLoadFallback);
2067
+ appLoadFallback = null;
2068
+ }
2069
+ if (isBootstrapping) {
2070
+ // connectedCallback will be processed once all components have been registered
2071
+ deferredConnectedCallbacks.push(this);
2072
+ }
2073
+ else {
2074
+ plt.jmp(() => connectedCallback(this));
2075
+ }
2076
+ }
2077
+ disconnectedCallback() {
2078
+ plt.jmp(() => disconnectedCallback(this));
2079
+ }
2080
+ componentOnReady() {
2081
+ return getHostRef(this).$onReadyPromise$;
2082
+ }
2083
+ };
2084
+ {
2085
+ patchCloneNode(HostElement.prototype);
2086
+ }
2087
+ {
2088
+ patchSlotAppendChild(HostElement.prototype);
2089
+ }
2090
+ {
2091
+ patchTextContent(HostElement.prototype, cmpMeta);
2092
+ }
2093
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
2094
+ if (!exclude.includes(tagName) && !customElements.get(tagName)) {
2095
+ cmpTags.push(tagName);
2096
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
2097
+ }
2098
+ });
2099
+ });
2100
+ {
2101
+ visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
2102
+ visibilityStyle.setAttribute('data-styles', '');
2103
+ head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
2104
+ }
2105
+ // Process deferred connectedCallbacks now all components have been registered
2106
+ isBootstrapping = false;
2107
+ if (deferredConnectedCallbacks.length) {
2108
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
2109
+ }
2110
+ else {
2111
+ {
2112
+ plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));
2113
+ }
2114
+ }
2115
+ // Fallback appLoad event
2116
+ endBootstrap();
2117
+ };
2118
+ const Fragment = (_, children) => children;
2119
+ const hostRefs = /*@__PURE__*/ new WeakMap();
2120
+ const getHostRef = (ref) => hostRefs.get(ref);
2121
+ const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
2122
+ const registerHost = (elm, cmpMeta) => {
2123
+ const hostRef = {
2124
+ $flags$: 0,
2125
+ $hostElement$: elm,
2126
+ $cmpMeta$: cmpMeta,
2127
+ $instanceValues$: new Map(),
2128
+ };
2129
+ {
2130
+ hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
2131
+ }
2132
+ {
2133
+ hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
2134
+ elm['s-p'] = [];
2135
+ elm['s-rc'] = [];
2136
+ }
2137
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2138
+ return hostRefs.set(elm, hostRef);
2139
+ };
2140
+ const isMemberInElement = (elm, memberName) => memberName in elm;
2141
+ const consoleError = (e, el) => (0, console.error)(e, el);
2142
+ const cmpModules = /*@__PURE__*/ new Map();
2143
+ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2144
+ // loadModuleImport
2145
+ const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
2146
+ const bundleId = cmpMeta.$lazyBundleId$;
2147
+ const module = cmpModules.get(bundleId) ;
2148
+ if (module) {
2149
+ return module[exportName];
2150
+ }
2151
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
2152
+ return import(
2153
+ /* @vite-ignore */
2154
+ /* webpackInclude: /\.entry\.js$/ */
2155
+ /* webpackExclude: /\.system\.entry\.js$/ */
2156
+ /* webpackMode: "lazy" */
2157
+ `./${bundleId}.entry.js${''}`).then((importedModule) => {
2158
+ {
2159
+ cmpModules.set(bundleId, importedModule);
2160
+ }
2161
+ return importedModule[exportName];
2162
+ }, consoleError);
2163
+ };
2164
+ const styles = /*@__PURE__*/ new Map();
2165
+ const queueDomReads = [];
2166
+ const queueDomWrites = [];
2167
+ const queueTask = (queue, write) => (cb) => {
2168
+ queue.push(cb);
2169
+ if (!queuePending) {
2170
+ queuePending = true;
2171
+ if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
2172
+ nextTick(flush);
2173
+ }
2174
+ else {
2175
+ plt.raf(flush);
2176
+ }
2177
+ }
2178
+ };
2179
+ const consume = (queue) => {
2180
+ for (let i = 0; i < queue.length; i++) {
2181
+ try {
2182
+ queue[i](performance.now());
2183
+ }
2184
+ catch (e) {
2185
+ consoleError(e);
2186
+ }
2187
+ }
2188
+ queue.length = 0;
2189
+ };
2190
+ const flush = () => {
2191
+ // always force a bunch of medium callbacks to run, but still have
2192
+ // a throttle on how many can run in a certain time
2193
+ // DOM READS!!!
2194
+ consume(queueDomReads);
2195
+ // DOM WRITES!!!
2196
+ {
2197
+ consume(queueDomWrites);
2198
+ if ((queuePending = queueDomReads.length > 0)) {
2199
+ // still more to do yet, but we've run out of time
2200
+ // let's let this thing cool off and try again in the next tick
2201
+ plt.raf(flush);
2202
+ }
2203
+ }
2204
+ };
2205
+ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
2206
+ const readTask = /*@__PURE__*/ queueTask(queueDomReads, false);
2207
+ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
2208
+
2209
+ export { Fragment as F, H, NAMESPACE as N, Host as a, bootstrapLazy as b, createEvent as c, doc as d, readTask as e, writeTask as f, getElement as g, h, forceUpdate as i, promiseResolve as p, registerInstance as r, win as w };