@itcenteratunihelsinki/huds-lib 0.8.57 → 0.8.59

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