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