@ebrains/components 0.9.2-beta → 1.0.0

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 (1035) hide show
  1. package/README.md +4 -2
  2. package/dist/cjs/analytics-28713bf7.js +60 -0
  3. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  4. package/dist/cjs/arrow-diagonal-black-0eb8640e.js +5 -0
  5. package/dist/cjs/arrow-right-3e38e8a9.js +7 -0
  6. package/dist/cjs/bluesky-eb0d6051.js +16 -0
  7. package/dist/cjs/bookmark-c61853d9.js +18 -0
  8. package/dist/cjs/chevron-down-27344777.js +14 -0
  9. package/dist/cjs/chevron-left-6fc9c6ef.js +13 -0
  10. package/dist/cjs/chevron-right-6d95a117.js +7 -0
  11. package/dist/cjs/chevron-up-e37d7713.js +14 -0
  12. package/dist/cjs/close-51284af5.js +7 -0
  13. package/dist/cjs/color-primary-palette_6.cjs.entry.js +340 -0
  14. package/dist/cjs/components-section.cjs.entry.js +145 -0
  15. package/dist/cjs/components.cjs.js +25 -0
  16. package/dist/cjs/copy-53102d0c.js +7 -0
  17. package/dist/cjs/correct-use-of-colors.cjs.entry.js +68 -0
  18. package/dist/cjs/docs-palettes.cjs.entry.js +27 -0
  19. package/dist/cjs/docs-tokens.cjs.entry.js +35 -0
  20. package/dist/cjs/eds-accordion.cjs.entry.js +86 -0
  21. package/dist/cjs/eds-alert.cjs.entry.js +104 -0
  22. package/dist/cjs/eds-app-root.cjs.entry.js +37 -0
  23. package/dist/cjs/eds-avatar_34.cjs.entry.js +2731 -0
  24. package/dist/cjs/eds-card-project.cjs.entry.js +196 -0
  25. package/dist/cjs/eds-card-section.cjs.entry.js +39 -0
  26. package/dist/cjs/eds-card-tags.cjs.entry.js +22 -0
  27. package/dist/cjs/eds-card-tool.cjs.entry.js +79 -0
  28. package/dist/cjs/eds-code-block.cjs.entry.js +2489 -0
  29. package/dist/cjs/eds-cookies-preference.cjs.entry.js +39 -0
  30. package/dist/cjs/eds-feedback.cjs.entry.js +71 -0
  31. package/dist/cjs/eds-frame.cjs.entry.js +85 -0
  32. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +18 -0
  33. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +18 -0
  34. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +18 -0
  35. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +18 -0
  36. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +18 -0
  37. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +18 -0
  38. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +18 -0
  39. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +18 -0
  40. package/dist/cjs/eds-icon-close.cjs.entry.js +18 -0
  41. package/dist/cjs/eds-icon-copy.cjs.entry.js +18 -0
  42. package/dist/cjs/eds-icon-eu.cjs.entry.js +18 -0
  43. package/dist/cjs/eds-icon-external.cjs.entry.js +18 -0
  44. package/dist/cjs/eds-icon-facebook.cjs.entry.js +18 -0
  45. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +18 -0
  46. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +18 -0
  47. package/dist/cjs/eds-icon-loader.cjs.entry.js +18 -0
  48. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +18 -0
  49. package/dist/cjs/eds-icon-menu.cjs.entry.js +18 -0
  50. package/dist/cjs/eds-icon-minus.cjs.entry.js +18 -0
  51. package/dist/cjs/eds-icon-more.cjs.entry.js +18 -0
  52. package/dist/cjs/eds-icon-paper.cjs.entry.js +18 -0
  53. package/dist/cjs/eds-icon-plus.cjs.entry.js +18 -0
  54. package/dist/cjs/eds-icon-portal.cjs.entry.js +18 -0
  55. package/dist/cjs/eds-icon-private.cjs.entry.js +18 -0
  56. package/dist/cjs/eds-icon-public.cjs.entry.js +18 -0
  57. package/dist/cjs/eds-icon-search.cjs.entry.js +18 -0
  58. package/dist/cjs/eds-icon-star.cjs.entry.js +18 -0
  59. package/dist/cjs/eds-icon-success.cjs.entry.js +18 -0
  60. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +18 -0
  61. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +18 -0
  62. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +18 -0
  63. package/dist/cjs/eds-icon-twitter.cjs.entry.js +18 -0
  64. package/dist/cjs/eds-icon-unknown.cjs.entry.js +18 -0
  65. package/dist/cjs/eds-icon-updown.cjs.entry.js +18 -0
  66. package/dist/cjs/eds-icon-user.cjs.entry.js +18 -0
  67. package/dist/cjs/eds-icon-youtube.cjs.entry.js +18 -0
  68. package/dist/cjs/eds-matomo-notice.cjs.entry.js +125 -0
  69. package/dist/cjs/eds-pagination_2.cjs.entry.js +403 -0
  70. package/dist/cjs/eds-progress-bar.cjs.entry.js +56 -0
  71. package/dist/cjs/eds-rating.cjs.entry.js +64 -0
  72. package/dist/cjs/eds-section-core_2.cjs.entry.js +59 -0
  73. package/dist/cjs/eds-spinner.cjs.entry.js +54 -0
  74. package/dist/cjs/eds-splash-screen.cjs.entry.js +60 -0
  75. package/dist/cjs/eds-switch.cjs.entry.js +46 -0
  76. package/dist/cjs/eds-timeline.cjs.entry.js +63 -0
  77. package/dist/cjs/eds-toast-manager.cjs.entry.js +75 -0
  78. package/dist/cjs/eds-toast.cjs.entry.js +77 -0
  79. package/dist/cjs/eds-trl.cjs.entry.js +51 -0
  80. package/dist/cjs/eu-b9665157.js +32 -0
  81. package/dist/cjs/facebook-7aa65e57.js +16 -0
  82. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +50 -0
  83. package/dist/cjs/index-88c8039f.js +1941 -0
  84. package/dist/cjs/index-ab9fbefe.js +48 -0
  85. package/dist/cjs/index.cjs.js +2 -0
  86. package/dist/cjs/linkedin-46b0dd56.js +30 -0
  87. package/dist/cjs/loader-72f9d178.js +32 -0
  88. package/dist/cjs/loader.cjs.js +15 -0
  89. package/dist/cjs/logo-color-6c787ac1.js +117 -0
  90. package/dist/cjs/logo-color-margins-b49c0f46.js +120 -0
  91. package/dist/cjs/logo-space.cjs.entry.js +21 -0
  92. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +36 -0
  93. package/dist/cjs/logo-variations-tabs.cjs.entry.js +27 -0
  94. package/dist/{components/index-7281d120.js → cjs/logo-white-no-bg-4a0e0f4b.js} +10 -941
  95. package/dist/cjs/logo-wrong-usage.cjs.entry.js +21 -0
  96. package/dist/cjs/mastodon-20c5bb7d.js +16 -0
  97. package/dist/cjs/menu-7050a6d1.js +13 -0
  98. package/dist/cjs/minus-1da6a98a.js +13 -0
  99. package/dist/cjs/mono-2f3cd653.js +13 -0
  100. package/dist/cjs/more-1d3dd8bc.js +15 -0
  101. package/dist/cjs/paper-0d6302f6.js +17 -0
  102. package/dist/cjs/plus-d0e00ad0.js +14 -0
  103. package/dist/cjs/portal-46212559.js +20 -0
  104. package/dist/cjs/private-38835fe7.js +27 -0
  105. package/dist/cjs/public-b519b1f6.js +18 -0
  106. package/dist/cjs/search-5533d877.js +14 -0
  107. package/dist/cjs/sharedUtils-8e287250.js +21 -0
  108. package/dist/cjs/star-942eee9f.js +7 -0
  109. package/dist/cjs/success-ef661a11.js +20 -0
  110. package/dist/cjs/svg-repository.cjs.entry.js +337 -0
  111. package/dist/cjs/thumbs-down-714036b1.js +7 -0
  112. package/dist/cjs/thumbs-up-411babb8.js +8 -0
  113. package/dist/cjs/token-list_3.cjs.entry.js +300 -0
  114. package/dist/cjs/token-ratios.cjs.entry.js +29 -0
  115. package/dist/cjs/token-typography.cjs.entry.js +230 -0
  116. package/dist/cjs/tutotial-7855df3c.js +29 -0
  117. package/dist/cjs/twitter-73956e9a.js +16 -0
  118. package/dist/cjs/unknown-6814e551.js +24 -0
  119. package/dist/cjs/up-and-down-d71df67d.js +14 -0
  120. package/dist/cjs/user-a3c2230f.js +18 -0
  121. package/dist/cjs/youtube-c238a461.js +16 -0
  122. package/dist/collection/collection-manifest.json +128 -0
  123. package/dist/collection/components/eds-accordion/eds-accordion.css +256 -0
  124. package/dist/collection/components/eds-accordion/eds-accordion.js +222 -0
  125. package/dist/collection/components/eds-accordion/eds-accordion.stories.js +87 -0
  126. package/dist/collection/components/eds-alert/eds-alert.css +165 -0
  127. package/dist/collection/components/eds-alert/eds-alert.js +230 -0
  128. package/dist/collection/components/eds-alert/eds-alert.stories.js +62 -0
  129. package/dist/collection/components/eds-avatar/eds-avatar.css +202 -0
  130. package/dist/collection/components/eds-avatar/eds-avatar.js +173 -0
  131. package/dist/collection/components/eds-avatar/eds-avatar.stories.js +43 -0
  132. package/dist/collection/components/eds-block-break/eds-block-break.css +24 -0
  133. package/dist/collection/components/eds-block-break/eds-block-break.js +46 -0
  134. package/dist/collection/components/eds-breadcrump/eds-breadcrumb.css +112 -0
  135. package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +40 -0
  136. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +212 -0
  137. package/dist/collection/components/eds-button/eds-button.css +910 -0
  138. package/dist/collection/components/eds-button/eds-button.js +433 -0
  139. package/dist/collection/components/eds-button/eds-button.stories.js +50 -0
  140. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +39 -0
  141. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +94 -0
  142. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.css +9 -0
  143. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +63 -0
  144. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.css +92 -0
  145. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +169 -0
  146. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +148 -0
  147. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +338 -0
  148. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +133 -0
  149. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +228 -0
  150. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.css +103 -0
  151. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +314 -0
  152. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.css +58 -0
  153. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +172 -0
  154. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.stories.js +57 -0
  155. package/dist/collection/components/eds-charts/eds-pie/eds-pie.css +135 -0
  156. package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +229 -0
  157. package/dist/collection/components/eds-charts/eds-pie/eds-pie.stories.js +76 -0
  158. package/dist/collection/components/eds-code-block/eds-code-block.css +204 -0
  159. package/dist/collection/components/eds-code-block/eds-code-block.js +141 -0
  160. package/dist/collection/components/eds-code-block/eds-code-block.stories.js +78 -0
  161. package/dist/collection/components/eds-dropdown/eds-dropdown.css +117 -0
  162. package/dist/collection/components/eds-dropdown/eds-dropdown.js +369 -0
  163. package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.js +92 -0
  164. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +36 -0
  165. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +36 -0
  166. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +36 -0
  167. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +36 -0
  168. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +36 -0
  169. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +36 -0
  170. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +36 -0
  171. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +36 -0
  172. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +36 -0
  173. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +36 -0
  174. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +36 -0
  175. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +36 -0
  176. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +36 -0
  177. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +36 -0
  178. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +36 -0
  179. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +36 -0
  180. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +36 -0
  181. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +36 -0
  182. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +36 -0
  183. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +36 -0
  184. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +36 -0
  185. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +36 -0
  186. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +36 -0
  187. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +36 -0
  188. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +36 -0
  189. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +36 -0
  190. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +36 -0
  191. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +36 -0
  192. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +36 -0
  193. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +36 -0
  194. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +36 -0
  195. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +36 -0
  196. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +36 -0
  197. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +36 -0
  198. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +36 -0
  199. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +36 -0
  200. package/dist/collection/components/eds-img/eds-img.css +83 -0
  201. package/dist/collection/components/eds-img/eds-img.js +252 -0
  202. package/dist/collection/components/eds-img/eds-img.stories.js +101 -0
  203. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +317 -0
  204. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +105 -0
  205. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +90 -0
  206. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +252 -0
  207. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +263 -0
  208. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +220 -0
  209. package/dist/collection/components/eds-input-field/eds-input-field.css +7760 -0
  210. package/dist/collection/components/eds-input-field/eds-input-field.js +478 -0
  211. package/dist/collection/components/eds-input-field/eds-input-field.stories.js +206 -0
  212. package/dist/collection/components/eds-link/eds-link.css +1238 -0
  213. package/dist/collection/components/eds-link/eds-link.js +493 -0
  214. package/dist/collection/components/eds-link/eds-link.stories.js +86 -0
  215. package/dist/collection/components/eds-logo/eds-logo.css +47 -0
  216. package/dist/collection/components/eds-logo/eds-logo.js +169 -0
  217. package/dist/collection/components/eds-logo/eds-logo.stories.js +38 -0
  218. package/dist/collection/components/eds-modal/eds-modal.css +304 -0
  219. package/dist/collection/components/eds-modal/eds-modal.js +298 -0
  220. package/dist/collection/components/eds-modal/eds-modal.stories.js +89 -0
  221. package/dist/collection/components/eds-pagination/eds-pagination.css +148 -0
  222. package/dist/collection/components/eds-pagination/eds-pagination.js +418 -0
  223. package/dist/collection/components/eds-pagination/eds-pagination.stories.js +135 -0
  224. package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +97 -0
  225. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +124 -0
  226. package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +24 -0
  227. package/dist/collection/components/eds-rating/eds-rating.css +79 -0
  228. package/dist/collection/components/eds-rating/eds-rating.js +126 -0
  229. package/dist/collection/components/eds-rating/eds-rating.stories.js +43 -0
  230. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.css +0 -0
  231. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.donotstories.js +75 -0
  232. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +95 -0
  233. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +140 -0
  234. package/dist/collection/components/eds-spinner/eds-spinner.css +17 -0
  235. package/dist/collection/components/eds-spinner/eds-spinner.js +166 -0
  236. package/dist/collection/components/eds-spinner/eds-spinner.stories.js +52 -0
  237. package/dist/collection/components/eds-switch/eds-switch.css +69 -0
  238. package/dist/collection/components/eds-switch/eds-switch.js +139 -0
  239. package/dist/collection/components/eds-switch/eds-switch.stories.js +38 -0
  240. package/dist/collection/components/eds-table/eds-table.css +142 -0
  241. package/dist/collection/components/eds-table/eds-table.js +370 -0
  242. package/dist/collection/components/eds-table/eds-table.stories.js +89 -0
  243. package/dist/collection/components/eds-tag/eds-tag.css +111 -0
  244. package/dist/collection/components/eds-tag/eds-tag.js +110 -0
  245. package/dist/collection/components/eds-tag/eds-tag.stories.js +34 -0
  246. package/dist/collection/components/eds-timeline/eds-timeline.css +84 -0
  247. package/dist/collection/components/eds-timeline/eds-timeline.donot-stories.js +35 -0
  248. package/dist/collection/components/eds-timeline/eds-timeline.js +96 -0
  249. package/dist/collection/components/eds-toast/eds-toast.css +91 -0
  250. package/dist/collection/components/eds-toast/eds-toast.js +138 -0
  251. package/dist/collection/components/eds-toast/eds-toast.stories.js +38 -0
  252. package/dist/collection/components/eds-tooltip/eds-tooltip.css +90 -0
  253. package/dist/collection/components/eds-tooltip/eds-tooltip.js +65 -0
  254. package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +23 -0
  255. package/dist/collection/components/eds-trl/eds-trl.js +68 -0
  256. package/dist/{components/color-primary-palette.entry.js → collection/eds-docs-ui/colors/color-palette/primary.js} +9 -9
  257. package/dist/{components/color-secondary-palette.entry.js → collection/eds-docs-ui/colors/color-palette/secondary.js} +30 -9
  258. package/dist/{components/color-support-palette.entry.js → collection/eds-docs-ui/colors/color-palette/support.js} +9 -9
  259. package/dist/{components/gradient-primary-palette.entry.js → collection/eds-docs-ui/colors/gradient-palette/primary.js} +9 -9
  260. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +75 -0
  261. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +59 -0
  262. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +66 -0
  263. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +44 -0
  264. package/dist/collection/eds-docs-ui/components-section/components-section.js +55 -0
  265. package/dist/collection/eds-docs-ui/components-section/functional/angular.js +2 -0
  266. package/dist/collection/eds-docs-ui/components-section/functional/installation.js +2 -0
  267. package/dist/collection/eds-docs-ui/components-section/functional/overview.js +19 -0
  268. package/dist/collection/eds-docs-ui/components-section/functional/react.js +2 -0
  269. package/dist/collection/eds-docs-ui/components-section/functional/usage.js +2 -0
  270. package/dist/collection/eds-docs-ui/components-section/functional/vue.js +2 -0
  271. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +52 -0
  272. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +98 -0
  273. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.stories.js +44 -0
  274. package/dist/{components/token-radii.entry.js → collection/eds-docs-ui/design-tokens/token-radii/token-radii.js} +9 -19
  275. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +15 -0
  276. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +11 -0
  277. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +10 -0
  278. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +27 -0
  279. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +44 -0
  280. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.css +154 -0
  281. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +22 -0
  282. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +161 -0
  283. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +21 -0
  284. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.css +169 -0
  285. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +64 -0
  286. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +44 -0
  287. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +240 -0
  288. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +22 -0
  289. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.css +5 -0
  290. package/dist/{components/svg-repository.entry.js → collection/eds-docs-ui/svg-repository/svg-repository.js} +21 -15
  291. package/dist/collection/index.js +1 -0
  292. package/dist/collection/shared-ui/eds-card-section/eds-card-section.css +249 -0
  293. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +95 -0
  294. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +71 -0
  295. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.css +0 -0
  296. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +86 -0
  297. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.st.js +31 -0
  298. package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +163 -0
  299. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +214 -0
  300. package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +129 -0
  301. package/dist/collection/shared-ui/eds-footer/eds-footer.css +230 -0
  302. package/dist/collection/shared-ui/eds-footer/eds-footer.js +233 -0
  303. package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +65 -0
  304. package/dist/collection/shared-ui/eds-form/eds-form.css +3 -0
  305. package/dist/collection/shared-ui/eds-form/eds-form.js +473 -0
  306. package/dist/collection/shared-ui/eds-form/eds-form.stories.js +82 -0
  307. package/dist/collection/shared-ui/eds-frame/eds-frame.css +148 -0
  308. package/dist/collection/shared-ui/eds-frame/eds-frame.js +234 -0
  309. package/dist/collection/shared-ui/eds-frame/eds-frame.stories.js +52 -0
  310. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +152 -0
  311. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +192 -0
  312. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +77 -0
  313. package/dist/collection/shared-ui/eds-header/eds-header.css +184 -0
  314. package/dist/collection/shared-ui/eds-header/eds-header.js +183 -0
  315. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +42 -0
  316. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +109 -0
  317. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +232 -0
  318. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +31 -0
  319. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.css +124 -0
  320. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +92 -0
  321. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +21 -0
  322. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.css +29 -0
  323. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +136 -0
  324. package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.stories.js +23 -0
  325. package/dist/collection/shared-ui/eds-steps/eds-steps.css +93 -0
  326. package/dist/collection/shared-ui/eds-steps/eds-steps.js +170 -0
  327. package/dist/collection/shared-ui/eds-steps/eds-steps.stories.js +35 -0
  328. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +261 -0
  329. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +219 -0
  330. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +79 -0
  331. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +375 -0
  332. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +221 -0
  333. package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +64 -0
  334. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +51 -0
  335. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +54 -0
  336. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.stories.js +25 -0
  337. package/dist/collection/shared-ui/eds-user/eds-user.css +71 -0
  338. package/dist/collection/shared-ui/eds-user/eds-user.js +77 -0
  339. package/dist/collection/shared-ui/eds-user/eds-user.stories.js +45 -0
  340. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +39 -0
  341. package/dist/{components/analytics-e29fcd53.js → collection/utils/analytics.js} +8 -10
  342. package/dist/collection/utils/api.js +27 -0
  343. package/dist/{components/color-47266964.js → collection/utils/color.js} +11 -14
  344. package/dist/collection/utils/eds-form/formUtils.js +65 -0
  345. package/dist/collection/utils/eds-form/formValidators.js +64 -0
  346. package/dist/collection/utils/eds-form/individualValidator.js +46 -0
  347. package/dist/collection/utils/eds-form/validateInput.js +23 -0
  348. package/dist/collection/utils/global.js +8 -0
  349. package/dist/collection/utils/keycloak.js +85 -0
  350. package/dist/collection/utils/sharedUtils.js +17 -0
  351. package/dist/{components/toastManager-b716afd8.js → collection/utils/toastManager.js} +1 -3
  352. package/dist/components/analytics.js +56 -0
  353. package/dist/components/arrow-diagonal-black.js +3 -0
  354. package/dist/components/arrow-right.js +5 -0
  355. package/dist/components/bluesky.js +14 -0
  356. package/dist/components/bookmark.js +16 -0
  357. package/dist/components/chevron-down.js +12 -0
  358. package/dist/components/chevron-left.js +11 -0
  359. package/dist/components/chevron-right.js +5 -0
  360. package/dist/components/chevron-up.js +12 -0
  361. package/dist/components/close.js +5 -0
  362. package/dist/components/color-primary-palette.d.ts +11 -0
  363. package/dist/components/color-primary-palette.js +6 -0
  364. package/dist/components/color-secondary-palette.d.ts +11 -0
  365. package/dist/components/color-secondary-palette.js +6 -0
  366. package/dist/components/color-support-palette.d.ts +11 -0
  367. package/dist/components/color-support-palette.js +6 -0
  368. package/dist/components/components-section.d.ts +11 -0
  369. package/dist/components/components-section.js +208 -0
  370. package/dist/components/components.css +7311 -0
  371. package/dist/components/components.esm.js +1 -47
  372. package/dist/components/copy.js +5 -0
  373. package/dist/components/correct-use-of-colors.d.ts +11 -0
  374. package/dist/components/correct-use-of-colors.js +93 -0
  375. package/dist/components/docs-palettes.d.ts +11 -0
  376. package/dist/components/docs-palettes.js +96 -0
  377. package/dist/components/docs-tokens.d.ts +11 -0
  378. package/dist/components/docs-tokens.js +80 -0
  379. package/dist/components/eds-accordion.d.ts +11 -0
  380. package/dist/components/eds-accordion.js +6 -0
  381. package/dist/components/eds-accordion2.js +119 -0
  382. package/dist/components/eds-alert.d.ts +11 -0
  383. package/dist/components/eds-alert.js +6 -0
  384. package/dist/components/eds-alert2.js +135 -0
  385. package/dist/components/eds-app-root.d.ts +11 -0
  386. package/dist/components/eds-app-root.js +71 -0
  387. package/dist/components/eds-avatar.d.ts +11 -0
  388. package/dist/components/eds-avatar.js +6 -0
  389. package/dist/components/eds-avatar2.js +92 -0
  390. package/dist/components/eds-block-break.d.ts +11 -0
  391. package/dist/components/eds-block-break.js +6 -0
  392. package/dist/components/eds-block-break2.js +34 -0
  393. package/dist/components/eds-breadcrumb.d.ts +11 -0
  394. package/dist/components/{eds-breadcrumb.entry.js → eds-breadcrumb.js} +49 -10
  395. package/dist/components/eds-button.d.ts +11 -0
  396. package/dist/components/eds-button.js +6 -0
  397. package/dist/components/eds-button2.js +210 -0
  398. package/dist/components/eds-card-desc.d.ts +11 -0
  399. package/dist/components/eds-card-desc.js +6 -0
  400. package/dist/components/eds-card-desc2.js +41 -0
  401. package/dist/components/eds-card-generic.d.ts +11 -0
  402. package/dist/components/eds-card-generic.js +6 -0
  403. package/dist/components/{eds-card-generic.entry.js → eds-card-generic2.js} +72 -12
  404. package/dist/components/eds-card-project.d.ts +11 -0
  405. package/dist/components/eds-card-project.js +238 -0
  406. package/dist/components/eds-card-section.d.ts +11 -0
  407. package/dist/components/eds-card-section.js +92 -0
  408. package/dist/components/eds-card-tags.d.ts +11 -0
  409. package/dist/components/eds-card-tags.js +45 -0
  410. package/dist/components/eds-card-title.d.ts +11 -0
  411. package/dist/components/eds-card-title.js +6 -0
  412. package/dist/components/{eds-card-title.entry.js → eds-card-title2.js} +31 -8
  413. package/dist/components/eds-card-tool.d.ts +11 -0
  414. package/dist/components/eds-card-tool.js +137 -0
  415. package/dist/components/eds-code-block.d.ts +11 -0
  416. package/dist/components/eds-code-block.js +6 -0
  417. package/dist/components/eds-code-block2.js +2510 -0
  418. package/dist/components/eds-cookies-preference.d.ts +11 -0
  419. package/dist/components/eds-cookies-preference.js +87 -0
  420. package/dist/components/eds-dropdown.d.ts +11 -0
  421. package/dist/components/eds-dropdown.js +6 -0
  422. package/dist/components/{eds-dropdown.entry.js → eds-dropdown2.js} +50 -11
  423. package/dist/components/eds-feedback.d.ts +11 -0
  424. package/dist/components/eds-feedback.js +111 -0
  425. package/dist/components/eds-footer.d.ts +11 -0
  426. package/dist/components/eds-footer.js +6 -0
  427. package/dist/components/eds-footer2.js +99 -0
  428. package/dist/components/eds-form.d.ts +11 -0
  429. package/dist/components/{eds-form.entry.js → eds-form.js} +114 -72
  430. package/dist/components/eds-frame.d.ts +11 -0
  431. package/dist/components/eds-frame.js +120 -0
  432. package/dist/components/eds-fullscreen-menu.d.ts +11 -0
  433. package/dist/components/{eds-fullscreen-menu.entry.js → eds-fullscreen-menu.js} +82 -9
  434. package/dist/components/eds-gauge.d.ts +11 -0
  435. package/dist/components/eds-gauge.js +81 -0
  436. package/dist/components/eds-header.d.ts +11 -0
  437. package/dist/components/eds-header.js +108 -0
  438. package/dist/components/eds-icon-arrow-diagonal.d.ts +11 -0
  439. package/dist/components/eds-icon-arrow-diagonal.js +33 -0
  440. package/dist/components/eds-icon-arrow-right.d.ts +11 -0
  441. package/dist/components/eds-icon-arrow-right.js +33 -0
  442. package/dist/components/eds-icon-bluesky.d.ts +11 -0
  443. package/dist/components/eds-icon-bluesky.js +33 -0
  444. package/dist/components/eds-icon-bookmark.d.ts +11 -0
  445. package/dist/components/eds-icon-bookmark.js +33 -0
  446. package/dist/components/eds-icon-chevron-down.d.ts +11 -0
  447. package/dist/components/eds-icon-chevron-down.js +33 -0
  448. package/dist/components/eds-icon-chevron-left.d.ts +11 -0
  449. package/dist/components/eds-icon-chevron-left.js +33 -0
  450. package/dist/components/eds-icon-chevron-right.d.ts +11 -0
  451. package/dist/components/eds-icon-chevron-right.js +33 -0
  452. package/dist/components/eds-icon-chevron-up.d.ts +11 -0
  453. package/dist/components/eds-icon-chevron-up.js +33 -0
  454. package/dist/components/eds-icon-close.d.ts +11 -0
  455. package/dist/components/eds-icon-close.js +33 -0
  456. package/dist/components/eds-icon-copy.d.ts +11 -0
  457. package/dist/components/eds-icon-copy.js +33 -0
  458. package/dist/components/eds-icon-eu.d.ts +11 -0
  459. package/dist/components/eds-icon-eu.js +33 -0
  460. package/dist/components/eds-icon-external.d.ts +11 -0
  461. package/dist/components/eds-icon-external.js +33 -0
  462. package/dist/components/eds-icon-facebook.d.ts +11 -0
  463. package/dist/components/eds-icon-facebook.js +33 -0
  464. package/dist/components/eds-icon-gitlab.d.ts +11 -0
  465. package/dist/components/eds-icon-gitlab.js +33 -0
  466. package/dist/components/eds-icon-linkedin.d.ts +11 -0
  467. package/dist/components/eds-icon-linkedin.js +33 -0
  468. package/dist/components/eds-icon-loader.d.ts +11 -0
  469. package/dist/components/eds-icon-loader.js +33 -0
  470. package/dist/components/eds-icon-mastodon.d.ts +11 -0
  471. package/dist/components/eds-icon-mastodon.js +33 -0
  472. package/dist/components/eds-icon-menu.d.ts +11 -0
  473. package/dist/components/eds-icon-menu.js +33 -0
  474. package/dist/components/eds-icon-minus.d.ts +11 -0
  475. package/dist/components/eds-icon-minus.js +33 -0
  476. package/dist/components/eds-icon-more.d.ts +11 -0
  477. package/dist/components/eds-icon-more.js +33 -0
  478. package/dist/components/eds-icon-paper.d.ts +11 -0
  479. package/dist/components/eds-icon-paper.js +33 -0
  480. package/dist/components/eds-icon-plus.d.ts +11 -0
  481. package/dist/components/eds-icon-plus.js +33 -0
  482. package/dist/components/eds-icon-portal.d.ts +11 -0
  483. package/dist/components/eds-icon-portal.js +33 -0
  484. package/dist/components/eds-icon-private.d.ts +11 -0
  485. package/dist/components/eds-icon-private.js +33 -0
  486. package/dist/components/eds-icon-public.d.ts +11 -0
  487. package/dist/components/eds-icon-public.js +33 -0
  488. package/dist/components/eds-icon-search.d.ts +11 -0
  489. package/dist/components/eds-icon-search.js +33 -0
  490. package/dist/components/eds-icon-star.d.ts +11 -0
  491. package/dist/components/eds-icon-star.js +33 -0
  492. package/dist/components/eds-icon-success.d.ts +11 -0
  493. package/dist/components/eds-icon-success.js +33 -0
  494. package/dist/components/eds-icon-thumbs-down.d.ts +11 -0
  495. package/dist/components/eds-icon-thumbs-down.js +33 -0
  496. package/dist/components/eds-icon-thumbs-up.d.ts +11 -0
  497. package/dist/components/eds-icon-thumbs-up.js +33 -0
  498. package/dist/components/eds-icon-tutorial.d.ts +11 -0
  499. package/dist/components/eds-icon-tutorial.js +33 -0
  500. package/dist/components/eds-icon-twitter.d.ts +11 -0
  501. package/dist/components/eds-icon-twitter.js +33 -0
  502. package/dist/components/eds-icon-unknown.d.ts +11 -0
  503. package/dist/components/eds-icon-unknown.js +33 -0
  504. package/dist/components/eds-icon-updown.d.ts +11 -0
  505. package/dist/components/eds-icon-updown.js +33 -0
  506. package/dist/components/eds-icon-user.d.ts +11 -0
  507. package/dist/components/eds-icon-user.js +33 -0
  508. package/dist/components/eds-icon-wrapper.d.ts +11 -0
  509. package/dist/components/eds-icon-wrapper.js +6 -0
  510. package/dist/components/{eds-icon-wrapper.entry.js → eds-icon-wrapper2.js} +26 -6
  511. package/dist/components/eds-icon-youtube.d.ts +11 -0
  512. package/dist/components/eds-icon-youtube.js +33 -0
  513. package/dist/components/eds-img.d.ts +11 -0
  514. package/dist/components/eds-img.js +6 -0
  515. package/dist/components/{eds-img.entry.js → eds-img2.js} +38 -10
  516. package/dist/components/eds-input-field.d.ts +11 -0
  517. package/dist/components/eds-input-field.js +6 -0
  518. package/dist/components/{eds-input-field.entry.js → eds-input-field2.js} +111 -23
  519. package/dist/components/eds-input-footer.d.ts +11 -0
  520. package/dist/components/eds-input-footer.js +6 -0
  521. package/dist/components/eds-input-footer2.js +43 -0
  522. package/dist/components/eds-input-label.d.ts +11 -0
  523. package/dist/components/eds-input-label.js +6 -0
  524. package/dist/components/eds-input-label2.js +35 -0
  525. package/dist/components/eds-input-range.d.ts +11 -0
  526. package/dist/components/eds-input-range.js +6 -0
  527. package/dist/components/{eds-input-range.entry.js → eds-input-range2.js} +35 -8
  528. package/dist/components/eds-input-search.d.ts +11 -0
  529. package/dist/components/eds-input-search.js +6 -0
  530. package/dist/components/{eds-input-search.entry.js → eds-input-search2.js} +39 -9
  531. package/dist/components/eds-input-select.d.ts +11 -0
  532. package/dist/components/eds-input-select.js +6 -0
  533. package/dist/components/eds-input-select2.js +64 -0
  534. package/dist/components/eds-input.d.ts +11 -0
  535. package/dist/components/eds-input.js +6 -0
  536. package/dist/components/{eds-input.entry.js → eds-input2.js} +48 -9
  537. package/dist/components/eds-link.d.ts +11 -0
  538. package/dist/components/eds-link.js +6 -0
  539. package/dist/components/eds-link2.js +255 -0
  540. package/dist/components/eds-logo.d.ts +11 -0
  541. package/dist/components/eds-logo.js +6 -0
  542. package/dist/components/{eds-logo.entry.js → eds-logo2.js} +33 -11
  543. package/dist/components/eds-matomo-notice.d.ts +11 -0
  544. package/dist/components/eds-matomo-notice.js +6 -0
  545. package/dist/components/eds-matomo-notice2.js +160 -0
  546. package/dist/components/eds-modal.d.ts +11 -0
  547. package/dist/components/eds-modal.js +166 -0
  548. package/dist/components/eds-pagination.d.ts +11 -0
  549. package/dist/components/eds-pagination.js +6 -0
  550. package/dist/components/{eds-pagination.entry.js → eds-pagination2.js} +52 -9
  551. package/dist/components/eds-pie.d.ts +11 -0
  552. package/dist/components/eds-pie.js +127 -0
  553. package/dist/components/eds-progress-bar.d.ts +11 -0
  554. package/dist/components/eds-progress-bar.js +6 -0
  555. package/dist/components/eds-progress-bar2.js +71 -0
  556. package/dist/components/eds-rating.d.ts +11 -0
  557. package/dist/components/eds-rating.js +6 -0
  558. package/dist/components/eds-rating2.js +91 -0
  559. package/dist/components/eds-section-core.d.ts +11 -0
  560. package/dist/components/eds-section-core.js +6 -0
  561. package/dist/components/eds-section-core2.js +45 -0
  562. package/dist/components/eds-section-heading.d.ts +11 -0
  563. package/dist/components/eds-section-heading.js +6 -0
  564. package/dist/components/eds-section-heading2.js +57 -0
  565. package/dist/components/eds-social-networks.d.ts +11 -0
  566. package/dist/components/eds-social-networks.js +6 -0
  567. package/dist/components/{eds-social-networks.entry.js → eds-social-networks2.js} +38 -8
  568. package/dist/components/eds-spinner.d.ts +11 -0
  569. package/dist/components/eds-spinner.js +6 -0
  570. package/dist/components/eds-spinner2.js +72 -0
  571. package/dist/components/eds-splash-screen.d.ts +11 -0
  572. package/dist/components/eds-splash-screen.js +6 -0
  573. package/dist/components/eds-splash-screen2.js +89 -0
  574. package/dist/components/eds-steps-v2.d.ts +11 -0
  575. package/dist/components/eds-steps-v2.js +137 -0
  576. package/dist/components/eds-steps.d.ts +11 -0
  577. package/dist/components/eds-steps.js +6 -0
  578. package/dist/components/{eds-steps.entry.js → eds-steps2.js} +44 -10
  579. package/dist/components/eds-switch.d.ts +11 -0
  580. package/dist/components/eds-switch.js +65 -0
  581. package/dist/components/eds-table.d.ts +11 -0
  582. package/dist/components/eds-table.js +6 -0
  583. package/dist/components/{eds-table.entry.js → eds-table2.js} +109 -14
  584. package/dist/components/eds-tabs.d.ts +11 -0
  585. package/dist/components/eds-tabs.js +152 -0
  586. package/dist/components/eds-tag.d.ts +11 -0
  587. package/dist/components/eds-tag.js +6 -0
  588. package/dist/components/eds-tag2.js +64 -0
  589. package/dist/components/eds-timeline.d.ts +11 -0
  590. package/dist/components/eds-timeline.js +119 -0
  591. package/dist/components/eds-toast-manager.d.ts +11 -0
  592. package/dist/components/eds-toast-manager.js +109 -0
  593. package/dist/components/eds-toast.d.ts +11 -0
  594. package/dist/components/eds-toast.js +6 -0
  595. package/dist/components/eds-toast2.js +105 -0
  596. package/dist/components/eds-tooltip.d.ts +11 -0
  597. package/dist/components/eds-tooltip.js +48 -0
  598. package/dist/components/eds-trl.d.ts +11 -0
  599. package/dist/components/eds-trl.js +138 -0
  600. package/dist/components/eds-user.d.ts +11 -0
  601. package/dist/components/eds-user.js +97 -0
  602. package/dist/components/eu.js +30 -0
  603. package/dist/components/facebook.js +14 -0
  604. package/dist/components/gradient-primary-palette.d.ts +11 -0
  605. package/dist/components/gradient-primary-palette.js +6 -0
  606. package/dist/components/gradient-secondary-palette.d.ts +11 -0
  607. package/dist/components/gradient-secondary-palette.js +6 -0
  608. package/dist/components/gradient-support-palette.d.ts +11 -0
  609. package/dist/components/gradient-support-palette.js +6 -0
  610. package/dist/components/incorrect-use-of-colors.d.ts +11 -0
  611. package/dist/components/incorrect-use-of-colors.js +81 -0
  612. package/dist/components/index.d.ts +33 -0
  613. package/dist/components/index.esm.js +0 -1
  614. package/dist/components/index.js +1 -0
  615. package/dist/components/linkedin.js +28 -0
  616. package/dist/components/loader.js +30 -0
  617. package/dist/components/logo-color-margins.js +118 -0
  618. package/dist/components/logo-color.js +115 -0
  619. package/dist/components/logo-space.d.ts +11 -0
  620. package/dist/components/logo-space.js +101 -0
  621. package/dist/components/logo-variations-horizontal.d.ts +11 -0
  622. package/dist/components/logo-variations-horizontal.js +6 -0
  623. package/dist/components/{logo-variations-horizontal.entry.js → logo-variations-horizontal2.js} +30 -8
  624. package/dist/components/logo-variations-tabs.d.ts +11 -0
  625. package/dist/components/logo-variations-tabs.js +60 -0
  626. package/dist/components/logo-variations-vertical.d.ts +11 -0
  627. package/dist/components/logo-variations-vertical.js +6 -0
  628. package/dist/components/{logo-variations-vertical.entry.js → logo-variations-vertical2.js} +33 -8
  629. package/dist/components/logo-white-no-bg.js +1029 -0
  630. package/dist/components/logo-wrong-usage.d.ts +11 -0
  631. package/dist/components/logo-wrong-usage.js +35 -0
  632. package/dist/components/mastodon.js +14 -0
  633. package/dist/components/menu.js +11 -0
  634. package/dist/components/minus.js +11 -0
  635. package/dist/components/mono.js +11 -0
  636. package/dist/components/more.js +13 -0
  637. package/dist/components/p-019555e2.entry.js +1 -0
  638. package/dist/components/p-024c7937.js +1 -0
  639. package/dist/components/p-04b4e9d0.entry.js +1 -0
  640. package/dist/components/p-05754401.js +1 -0
  641. package/dist/components/p-0863352c.entry.js +1 -0
  642. package/dist/components/p-0be28996.js +1 -0
  643. package/dist/components/p-0d6434e1.entry.js +1 -0
  644. package/dist/components/p-0e6d43c5.js +1 -0
  645. package/dist/components/p-0e94a89f.entry.js +1 -0
  646. package/dist/components/p-0ed92872.entry.js +1 -0
  647. package/dist/components/p-0eeddc13.entry.js +1 -0
  648. package/dist/components/p-100909ce.entry.js +1 -0
  649. package/dist/components/p-10db551c.entry.js +1 -0
  650. package/dist/components/p-112122d6.js +1 -0
  651. package/dist/components/p-124b8747.entry.js +1 -0
  652. package/dist/components/p-14a223fe.entry.js +1 -0
  653. package/dist/components/p-1661f33c.entry.js +1 -0
  654. package/dist/components/p-18ceadd2.entry.js +1 -0
  655. package/dist/components/p-1b2913c8.js +1 -0
  656. package/dist/components/p-1ded61bd.js +1 -0
  657. package/dist/components/p-2066b033.js +1 -0
  658. package/dist/components/p-2117611b.js +1 -0
  659. package/dist/components/p-223ba66e.entry.js +1 -0
  660. package/dist/components/p-24dab785.entry.js +1 -0
  661. package/dist/components/p-2692f93d.js +1 -0
  662. package/dist/components/p-26d6679b.entry.js +1 -0
  663. package/dist/components/p-2810d568.entry.js +1 -0
  664. package/dist/components/p-28ae3f3a.js +2 -0
  665. package/dist/components/p-29041952.js +1 -0
  666. package/dist/components/p-2b1b2026.entry.js +1 -0
  667. package/dist/components/p-2c571550.entry.js +1 -0
  668. package/dist/components/p-326d9e55.entry.js +1 -0
  669. package/dist/components/p-32e6c4df.js +1 -0
  670. package/dist/components/p-36d6134f.entry.js +1 -0
  671. package/dist/components/p-373119b3.js +1 -0
  672. package/dist/components/p-3c642a30.entry.js +1 -0
  673. package/dist/components/p-4587d0ef.js +1 -0
  674. package/dist/components/p-46619042.entry.js +1 -0
  675. package/dist/components/p-4687b64c.js +1 -0
  676. package/dist/components/p-46a6ab04.entry.js +1 -0
  677. package/dist/components/p-46d0716d.js +1 -0
  678. package/dist/components/p-50e27321.js +1 -0
  679. package/dist/components/p-50ea5b07.entry.js +1 -0
  680. package/dist/components/p-511b23ec.entry.js +1 -0
  681. package/dist/components/p-5462923d.entry.js +1 -0
  682. package/dist/components/p-54b8f143.js +1 -0
  683. package/dist/components/p-5ab1d64a.js +1 -0
  684. package/dist/components/p-5d046674.js +1 -0
  685. package/dist/components/p-6199b8c0.entry.js +1 -0
  686. package/dist/components/p-624e653e.entry.js +1 -0
  687. package/dist/components/p-682f7376.entry.js +1 -0
  688. package/dist/components/p-6907a47c.entry.js +1 -0
  689. package/dist/components/p-694fc085.js +1 -0
  690. package/dist/components/p-69c5074b.js +1 -0
  691. package/dist/components/p-6ba42d02.entry.js +1 -0
  692. package/dist/components/p-6e929acb.entry.js +1 -0
  693. package/dist/components/p-6ede7101.entry.js +1 -0
  694. package/dist/components/p-70bac015.entry.js +1 -0
  695. package/dist/components/p-7198c024.js +1 -0
  696. package/dist/components/p-7af6b832.entry.js +1 -0
  697. package/dist/components/p-7f31622d.entry.js +1 -0
  698. package/dist/components/p-81899237.js +1 -0
  699. package/dist/components/p-822ac246.entry.js +1 -0
  700. package/dist/components/p-83ff4a95.js +1 -0
  701. package/dist/components/p-848506b8.entry.js +1 -0
  702. package/dist/components/p-84fd3e40.entry.js +1 -0
  703. package/dist/components/p-85634ad2.entry.js +1 -0
  704. package/dist/components/p-86bb73dc.js +1 -0
  705. package/dist/components/p-8983de37.js +1 -0
  706. package/dist/components/p-8ad05566.entry.js +1 -0
  707. package/dist/components/p-8b016d76.entry.js +1 -0
  708. package/dist/components/p-8bdf5841.entry.js +1 -0
  709. package/dist/components/p-8ff39cef.entry.js +1 -0
  710. package/dist/components/p-9c5a453b.js +1 -0
  711. package/dist/components/p-a4f552b2.entry.js +1 -0
  712. package/dist/components/p-a81cba86.entry.js +1 -0
  713. package/dist/components/p-abb2ad00.entry.js +1 -0
  714. package/dist/components/p-adbd0d7b.entry.js +1 -0
  715. package/dist/components/p-aefcb641.js +1 -0
  716. package/dist/components/p-affe2b55.entry.js +1 -0
  717. package/dist/components/p-b31591db.entry.js +1 -0
  718. package/dist/components/p-b4abff90.entry.js +1 -0
  719. package/dist/components/p-b50fc0d7.entry.js +1 -0
  720. package/dist/components/p-b73410de.js +1 -0
  721. package/dist/components/p-b7efd666.entry.js +1 -0
  722. package/dist/components/p-b822abb7.js +1 -0
  723. package/dist/components/p-ba720bf3.js +1 -0
  724. package/dist/components/p-ba784274.entry.js +1 -0
  725. package/dist/components/p-bb9af709.entry.js +1 -0
  726. package/dist/components/p-bfc62d3e.entry.js +1 -0
  727. package/dist/components/p-c0b22803.entry.js +1 -0
  728. package/dist/components/p-c1e4ef92.js +1 -0
  729. package/dist/components/p-c776b6f8.js +1 -0
  730. package/dist/components/p-c8e7c854.js +1 -0
  731. package/dist/components/p-cdd491f5.entry.js +1 -0
  732. package/dist/components/p-cde3d7a4.entry.js +1 -0
  733. package/dist/components/p-cdf19579.js +1 -0
  734. package/dist/components/p-cfccddc3.entry.js +1 -0
  735. package/dist/components/p-d15065c3.js +1 -0
  736. package/dist/components/p-d268c96b.entry.js +1 -0
  737. package/dist/components/p-d437bae2.entry.js +1 -0
  738. package/dist/components/p-d456e649.entry.js +1 -0
  739. package/dist/components/p-d962849c.js +1 -0
  740. package/dist/components/p-dae8f66a.entry.js +1 -0
  741. package/dist/components/p-e1255160.js +1 -0
  742. package/dist/components/p-e1791844.entry.js +1 -0
  743. package/dist/components/p-e2d5a487.js +1 -0
  744. package/dist/components/p-e82edd4a.entry.js +1 -0
  745. package/dist/components/p-e9f608a8.entry.js +1 -0
  746. package/dist/components/p-ea97a94e.entry.js +9 -0
  747. package/dist/components/p-eac593ee.entry.js +1 -0
  748. package/dist/components/p-ecbb679f.js +1 -0
  749. package/dist/components/p-ece618b3.js +1 -0
  750. package/dist/components/p-f26fd186.entry.js +1 -0
  751. package/dist/components/p-f2c23162.entry.js +1 -0
  752. package/dist/components/p-fc4edb18.entry.js +1 -0
  753. package/dist/components/p-fe1cba17.entry.js +1 -0
  754. package/dist/components/paper.js +15 -0
  755. package/dist/components/plus.js +12 -0
  756. package/dist/components/portal.js +18 -0
  757. package/dist/components/primary.js +65 -0
  758. package/dist/components/primary2.js +67 -0
  759. package/dist/components/private.js +25 -0
  760. package/dist/components/public.js +16 -0
  761. package/dist/components/search.js +12 -0
  762. package/dist/components/secondary.js +92 -0
  763. package/dist/components/secondary2.js +107 -0
  764. package/dist/components/star.js +5 -0
  765. package/dist/components/success.js +18 -0
  766. package/dist/components/support.js +94 -0
  767. package/dist/components/support2.js +85 -0
  768. package/dist/components/svg-repository.d.ts +11 -0
  769. package/dist/components/svg-repository.js +417 -0
  770. package/dist/components/thumbs-down.js +5 -0
  771. package/dist/components/thumbs-up.js +6 -0
  772. package/dist/components/token-list.d.ts +11 -0
  773. package/dist/components/token-list.js +6 -0
  774. package/dist/components/{token-list.entry.js → token-list2.js} +35 -7
  775. package/dist/components/token-radii.d.ts +11 -0
  776. package/dist/components/token-radii.js +6 -0
  777. package/dist/components/token-radii2.js +47 -0
  778. package/dist/components/token-ratios.d.ts +11 -0
  779. package/dist/components/token-ratios.js +54 -0
  780. package/dist/components/token-shadows.d.ts +11 -0
  781. package/dist/components/token-shadows.js +6 -0
  782. package/dist/components/token-shadows2.js +56 -0
  783. package/dist/components/token-spacing.d.ts +11 -0
  784. package/dist/components/token-spacing.js +29 -0
  785. package/dist/components/token-typography.d.ts +11 -0
  786. package/dist/components/token-typography.js +255 -0
  787. package/dist/components/tutotial.js +27 -0
  788. package/dist/components/twitter.js +14 -0
  789. package/dist/components/unknown.js +22 -0
  790. package/dist/components/up-and-down.js +12 -0
  791. package/dist/components/user.js +16 -0
  792. package/dist/components/youtube.js +14 -0
  793. package/dist/esm/analytics-d99780e3.js +56 -0
  794. package/dist/esm/arrow-diagonal-black-8f0494c3.js +3 -0
  795. package/dist/esm/arrow-right-9322ba8a.js +5 -0
  796. package/dist/esm/bluesky-cc5edd2d.js +14 -0
  797. package/dist/esm/bookmark-c200037c.js +16 -0
  798. package/dist/esm/chevron-down-6144c823.js +12 -0
  799. package/dist/esm/chevron-left-ca6c66e1.js +11 -0
  800. package/dist/esm/chevron-right-b88ed2d4.js +5 -0
  801. package/dist/esm/chevron-up-c66bd477.js +12 -0
  802. package/dist/esm/close-87fc0d63.js +5 -0
  803. package/dist/esm/color-primary-palette_6.entry.js +331 -0
  804. package/dist/{components → esm}/components-section.entry.js +23 -17
  805. package/dist/esm/components.js +20 -0
  806. package/dist/esm/copy-03b72cb6.js +5 -0
  807. package/dist/{components → esm}/correct-use-of-colors.entry.js +2 -2
  808. package/dist/{components → esm}/docs-palettes.entry.js +2 -2
  809. package/dist/{components → esm}/docs-tokens.entry.js +2 -2
  810. package/dist/{components → esm}/eds-accordion.entry.js +7 -6
  811. package/dist/esm/eds-alert.entry.js +100 -0
  812. package/dist/{components → esm}/eds-app-root.entry.js +2 -2
  813. package/dist/esm/eds-avatar_34.entry.js +2694 -0
  814. package/dist/esm/eds-card-project.entry.js +192 -0
  815. package/dist/{components → esm}/eds-card-section.entry.js +4 -3
  816. package/dist/{components → esm}/eds-card-tags.entry.js +4 -3
  817. package/dist/{components → esm}/eds-card-tool.entry.js +5 -4
  818. package/dist/{components → esm}/eds-code-block.entry.js +5 -35
  819. package/dist/{components → esm}/eds-cookies-preference.entry.js +4 -3
  820. package/dist/{components → esm}/eds-feedback.entry.js +10 -4
  821. package/dist/{components → esm}/eds-frame.entry.js +5 -4
  822. package/dist/esm/eds-icon-arrow-diagonal.entry.js +14 -0
  823. package/dist/esm/eds-icon-arrow-right.entry.js +14 -0
  824. package/dist/esm/eds-icon-bluesky.entry.js +14 -0
  825. package/dist/esm/eds-icon-bookmark.entry.js +14 -0
  826. package/dist/esm/eds-icon-chevron-down.entry.js +14 -0
  827. package/dist/esm/eds-icon-chevron-left.entry.js +14 -0
  828. package/dist/esm/eds-icon-chevron-right.entry.js +14 -0
  829. package/dist/esm/eds-icon-chevron-up.entry.js +14 -0
  830. package/dist/esm/eds-icon-close.entry.js +14 -0
  831. package/dist/esm/eds-icon-copy.entry.js +14 -0
  832. package/dist/esm/eds-icon-eu.entry.js +14 -0
  833. package/dist/esm/eds-icon-external.entry.js +14 -0
  834. package/dist/esm/eds-icon-facebook.entry.js +14 -0
  835. package/dist/esm/eds-icon-gitlab.entry.js +14 -0
  836. package/dist/esm/eds-icon-linkedin.entry.js +14 -0
  837. package/dist/esm/eds-icon-loader.entry.js +14 -0
  838. package/dist/esm/eds-icon-mastodon.entry.js +14 -0
  839. package/dist/esm/eds-icon-menu.entry.js +14 -0
  840. package/dist/esm/eds-icon-minus.entry.js +14 -0
  841. package/dist/esm/eds-icon-more.entry.js +14 -0
  842. package/dist/esm/eds-icon-paper.entry.js +14 -0
  843. package/dist/esm/eds-icon-plus.entry.js +14 -0
  844. package/dist/esm/eds-icon-portal.entry.js +14 -0
  845. package/dist/esm/eds-icon-private.entry.js +14 -0
  846. package/dist/esm/eds-icon-public.entry.js +14 -0
  847. package/dist/esm/eds-icon-search.entry.js +14 -0
  848. package/dist/esm/eds-icon-star.entry.js +14 -0
  849. package/dist/esm/eds-icon-success.entry.js +14 -0
  850. package/dist/esm/eds-icon-thumbs-down.entry.js +14 -0
  851. package/dist/esm/eds-icon-thumbs-up.entry.js +14 -0
  852. package/dist/esm/eds-icon-tutorial.entry.js +14 -0
  853. package/dist/esm/eds-icon-twitter.entry.js +14 -0
  854. package/dist/esm/eds-icon-unknown.entry.js +14 -0
  855. package/dist/esm/eds-icon-updown.entry.js +14 -0
  856. package/dist/esm/eds-icon-user.entry.js +14 -0
  857. package/dist/esm/eds-icon-youtube.entry.js +14 -0
  858. package/dist/{components → esm}/eds-matomo-notice.entry.js +12 -9
  859. package/dist/esm/eds-pagination_2.entry.js +398 -0
  860. package/dist/esm/eds-progress-bar.entry.js +52 -0
  861. package/dist/{components → esm}/eds-rating.entry.js +4 -3
  862. package/dist/{components/eds-section-heading.entry.js → esm/eds-section-core_2.entry.js} +21 -4
  863. package/dist/{components → esm}/eds-spinner.entry.js +4 -3
  864. package/dist/{components → esm}/eds-splash-screen.entry.js +3 -2
  865. package/dist/esm/eds-switch.entry.js +42 -0
  866. package/dist/esm/eds-timeline.entry.js +59 -0
  867. package/dist/{components → esm}/eds-toast-manager.entry.js +34 -4
  868. package/dist/{components → esm}/eds-toast.entry.js +8 -6
  869. package/dist/{components → esm}/eds-trl.entry.js +2 -2
  870. package/dist/esm/eu-9ddde93a.js +30 -0
  871. package/dist/esm/facebook-9cb5c17f.js +14 -0
  872. package/dist/esm/incorrect-use-of-colors.entry.js +46 -0
  873. package/dist/esm/index-39c58238.js +46 -0
  874. package/dist/esm/index-fdb33359.js +1912 -0
  875. package/dist/esm/index.js +1 -0
  876. package/dist/esm/linkedin-e8650abb.js +28 -0
  877. package/dist/esm/loader-c9628637.js +30 -0
  878. package/dist/esm/loader.js +11 -0
  879. package/dist/esm/logo-color-7f1fd803.js +115 -0
  880. package/dist/esm/logo-color-margins-ff8ce71b.js +118 -0
  881. package/dist/{components → esm}/logo-space.entry.js +5 -4
  882. package/dist/esm/logo-variations-horizontal_2.entry.js +31 -0
  883. package/dist/{components → esm}/logo-variations-tabs.entry.js +2 -2
  884. package/dist/esm/logo-white-no-bg-f382f86f.js +1029 -0
  885. package/dist/{components → esm}/logo-wrong-usage.entry.js +5 -4
  886. package/dist/esm/mastodon-3703ec61.js +14 -0
  887. package/dist/esm/menu-340ea948.js +11 -0
  888. package/dist/esm/minus-b30a7c71.js +11 -0
  889. package/dist/esm/mono-53f70232.js +11 -0
  890. package/dist/esm/more-4449d549.js +13 -0
  891. package/dist/esm/paper-8e74ea31.js +15 -0
  892. package/dist/esm/plus-89c07be2.js +12 -0
  893. package/dist/esm/portal-d6c8ce56.js +18 -0
  894. package/dist/esm/private-1c25ff8e.js +25 -0
  895. package/dist/esm/public-d4d8c585.js +16 -0
  896. package/dist/esm/search-fbcd79c2.js +12 -0
  897. package/dist/esm/sharedUtils-a550989c.js +19 -0
  898. package/dist/esm/star-0da9b5e9.js +5 -0
  899. package/dist/esm/success-443809da.js +18 -0
  900. package/dist/esm/svg-repository.entry.js +333 -0
  901. package/dist/esm/thumbs-down-a18fd049.js +5 -0
  902. package/dist/esm/thumbs-up-c19a71bc.js +6 -0
  903. package/dist/esm/token-list_3.entry.js +294 -0
  904. package/dist/{components → esm}/token-ratios.entry.js +2 -2
  905. package/dist/{components → esm}/token-typography.entry.js +2 -2
  906. package/dist/esm/tutotial-150ee1fd.js +27 -0
  907. package/dist/esm/twitter-ac21b505.js +14 -0
  908. package/dist/esm/unknown-ed01a24c.js +22 -0
  909. package/dist/esm/up-and-down-d747abee.js +12 -0
  910. package/dist/esm/user-71ebdc15.js +16 -0
  911. package/dist/esm/youtube-efbfbdc4.js +14 -0
  912. package/dist/hydrate/index.d.ts +242 -0
  913. package/dist/hydrate/index.js +30683 -0
  914. package/dist/hydrate/index.mjs +30675 -0
  915. package/dist/hydrate/package.json +12 -0
  916. package/dist/index.cjs.js +1 -0
  917. package/dist/index.js +1 -0
  918. package/dist/stencil.config.js +75 -0
  919. package/dist/types/components/eds-avatar/eds-avatar.d.ts +3 -4
  920. package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +2 -1
  921. package/dist/types/components/eds-block-break/eds-block-break.d.ts +2 -7
  922. package/dist/types/components/eds-button/eds-button.d.ts +0 -1
  923. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +0 -5
  924. package/dist/types/components/eds-charts/eds-gauge/eds-gauge.d.ts +14 -0
  925. package/dist/types/components/eds-charts/eds-gauge/eds-gauge.stories.d.ts +52 -0
  926. package/dist/types/components/eds-charts/eds-pie/eds-pie.d.ts +28 -0
  927. package/dist/types/components/eds-charts/eds-pie/eds-pie.stories.d.ts +60 -0
  928. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +18 -116
  929. package/dist/types/components/eds-input-field/eds-input-field.d.ts +6 -0
  930. package/dist/types/components/eds-modal/eds-modal.d.ts +12 -12
  931. package/dist/types/components/eds-modal/eds-modal.stories.d.ts +17 -0
  932. package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +3 -3
  933. package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +3 -0
  934. package/dist/types/components/eds-section/eds-section-core/eds-section-core.d.ts +3 -0
  935. package/dist/types/components/eds-switch/eds-switch.d.ts +2 -1
  936. package/dist/types/components/eds-table/eds-table.stories.d.ts +0 -8
  937. package/dist/types/components/eds-timeline/eds-timeline.d.ts +3 -0
  938. package/dist/types/components/eds-toast/eds-toast.d.ts +3 -2
  939. package/dist/types/components/eds-tooltip/eds-tooltip.d.ts +2 -36
  940. package/dist/types/components.d.ts +226 -256
  941. package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +4 -0
  942. package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +8 -4
  943. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +10 -0
  944. package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +10 -0
  945. package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -1
  946. package/dist/types/shared-ui/eds-header/eds-header.d.ts +6 -25
  947. package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +6 -3
  948. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +0 -1
  949. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +0 -5
  950. package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +48 -0
  951. package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +0 -1
  952. package/loader/cdn.js +1 -0
  953. package/loader/index.cjs.js +1 -0
  954. package/loader/index.d.ts +24 -0
  955. package/loader/index.es2017.js +1 -0
  956. package/loader/index.js +2 -0
  957. package/loader/package.json +11 -0
  958. package/package.json +14 -4
  959. package/dist/components/eds-alert.entry.js +0 -99
  960. package/dist/components/eds-avatar.entry.js +0 -76
  961. package/dist/components/eds-block-break.entry.js +0 -16
  962. package/dist/components/eds-button.entry.js +0 -228
  963. package/dist/components/eds-card-desc.entry.js +0 -22
  964. package/dist/components/eds-card-project.entry.js +0 -64
  965. package/dist/components/eds-card-wrapper.entry.js +0 -28
  966. package/dist/components/eds-footer.entry.js +0 -42
  967. package/dist/components/eds-header.entry.js +0 -76
  968. package/dist/components/eds-icon-arrow-diagonal.entry.js +0 -14
  969. package/dist/components/eds-icon-arrow-right.entry.js +0 -14
  970. package/dist/components/eds-icon-bluesky.entry.js +0 -14
  971. package/dist/components/eds-icon-bookmark.entry.js +0 -14
  972. package/dist/components/eds-icon-chevron-down.entry.js +0 -14
  973. package/dist/components/eds-icon-chevron-left.entry.js +0 -14
  974. package/dist/components/eds-icon-chevron-right.entry.js +0 -14
  975. package/dist/components/eds-icon-chevron-up.entry.js +0 -14
  976. package/dist/components/eds-icon-close.entry.js +0 -14
  977. package/dist/components/eds-icon-copy.entry.js +0 -14
  978. package/dist/components/eds-icon-eu.entry.js +0 -14
  979. package/dist/components/eds-icon-external.entry.js +0 -14
  980. package/dist/components/eds-icon-facebook.entry.js +0 -14
  981. package/dist/components/eds-icon-gitlab.entry.js +0 -14
  982. package/dist/components/eds-icon-linkedin.entry.js +0 -14
  983. package/dist/components/eds-icon-loader.entry.js +0 -14
  984. package/dist/components/eds-icon-mastodon.entry.js +0 -14
  985. package/dist/components/eds-icon-menu.entry.js +0 -14
  986. package/dist/components/eds-icon-minus.entry.js +0 -14
  987. package/dist/components/eds-icon-more.entry.js +0 -14
  988. package/dist/components/eds-icon-paper.entry.js +0 -14
  989. package/dist/components/eds-icon-plus.entry.js +0 -14
  990. package/dist/components/eds-icon-portal.entry.js +0 -14
  991. package/dist/components/eds-icon-private.entry.js +0 -14
  992. package/dist/components/eds-icon-public.entry.js +0 -14
  993. package/dist/components/eds-icon-search.entry.js +0 -14
  994. package/dist/components/eds-icon-star.entry.js +0 -14
  995. package/dist/components/eds-icon-success.entry.js +0 -14
  996. package/dist/components/eds-icon-thumbs-down.entry.js +0 -14
  997. package/dist/components/eds-icon-thumbs-up.entry.js +0 -14
  998. package/dist/components/eds-icon-tutorial.entry.js +0 -14
  999. package/dist/components/eds-icon-twitter.entry.js +0 -14
  1000. package/dist/components/eds-icon-unknown.entry.js +0 -14
  1001. package/dist/components/eds-icon-updown.entry.js +0 -14
  1002. package/dist/components/eds-icon-user.entry.js +0 -14
  1003. package/dist/components/eds-icon-youtube.entry.js +0 -14
  1004. package/dist/components/eds-input-footer.entry.js +0 -17
  1005. package/dist/components/eds-input-label.entry.js +0 -16
  1006. package/dist/components/eds-input-select.entry.js +0 -97
  1007. package/dist/components/eds-link.entry.js +0 -217
  1008. package/dist/components/eds-login.entry.js +0 -2052
  1009. package/dist/components/eds-modal.entry.js +0 -104
  1010. package/dist/components/eds-progress-bar.entry.js +0 -24
  1011. package/dist/components/eds-section-core.entry.js +0 -19
  1012. package/dist/components/eds-steps-v2.entry.js +0 -91
  1013. package/dist/components/eds-switch.entry.js +0 -33
  1014. package/dist/components/eds-tabs.entry.js +0 -125
  1015. package/dist/components/eds-tag.entry.js +0 -44
  1016. package/dist/components/eds-timeline.entry.js +0 -58
  1017. package/dist/components/eds-tooltip.entry.js +0 -104
  1018. package/dist/components/eds-user.entry.js +0 -40
  1019. package/dist/components/gradient-secondary-palette.entry.js +0 -75
  1020. package/dist/components/gradient-support-palette.entry.js +0 -59
  1021. package/dist/components/incorrect-use-of-colors.entry.js +0 -46
  1022. package/dist/components/index-9d277061.js +0 -3023
  1023. package/dist/components/shadow-css-423dab2c.js +0 -332
  1024. package/dist/components/token-shadows.entry.js +0 -30
  1025. package/dist/components/token-spacing.entry.js +0 -12
  1026. package/dist/types/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.d.ts +0 -23
  1027. package/dist/types/shared-ui/eds-login/eds-login.d.ts +0 -67
  1028. package/dist/types/shared-ui/eds-login/eds-login.stories.d.ts +0 -33
  1029. /package/dist/components/{index-144c9ae8.js → index2.js} +0 -0
  1030. /package/dist/components/{sharedUtils-6a231dd4.js → sharedUtils.js} +0 -0
  1031. /package/dist/{components → esm}/app-globals-0f993ce5.js +0 -0
  1032. /package/dist/types/components/eds-section/eds-section-core/{eds-section-core.stories.d.ts → eds-section-core.donotstories.d.ts} +0 -0
  1033. /package/dist/types/components/eds-timeline/{eds-timeline.stories.d.ts → eds-timeline.donot-stories.d.ts} +0 -0
  1034. /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.d.ts +0 -0
  1035. /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.stories.d.ts +0 -0
@@ -0,0 +1,1912 @@
1
+ const NAMESPACE = 'components';
2
+ const BUILD = /* components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
3
+
4
+ /*
5
+ Stencil Client Platform v4.22.0 | MIT Licensed | https://stenciljs.com
6
+ */
7
+ var __defProp = Object.defineProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var hostRefs = /* @__PURE__ */ new WeakMap();
13
+ var getHostRef = (ref) => hostRefs.get(ref);
14
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
15
+ var registerHost = (hostElement, cmpMeta) => {
16
+ const hostRef = {
17
+ $flags$: 0,
18
+ $hostElement$: hostElement,
19
+ $cmpMeta$: cmpMeta,
20
+ $instanceValues$: /* @__PURE__ */ new Map()
21
+ };
22
+ {
23
+ hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
24
+ }
25
+ {
26
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
27
+ hostElement["s-p"] = [];
28
+ hostElement["s-rc"] = [];
29
+ }
30
+ return hostRefs.set(hostElement, hostRef);
31
+ };
32
+ var isMemberInElement = (elm, memberName) => memberName in elm;
33
+ var consoleError = (e, el) => (0, console.error)(e, el);
34
+
35
+ // src/client/client-load-module.ts
36
+ var cmpModules = /* @__PURE__ */ new Map();
37
+ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
38
+ const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
39
+ const bundleId = cmpMeta.$lazyBundleId$;
40
+ if (!bundleId) {
41
+ return void 0;
42
+ }
43
+ const module = cmpModules.get(bundleId) ;
44
+ if (module) {
45
+ return module[exportName];
46
+ }
47
+
48
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
49
+ const processMod = importedModule => {
50
+ cmpModules.set(bundleId, importedModule);
51
+ return importedModule[exportName];
52
+ }
53
+ switch(bundleId) {
54
+
55
+ case 'eds-avatar_34':
56
+ return import(
57
+ /* webpackMode: "lazy" */
58
+ './eds-avatar_34.entry.js').then(processMod, consoleError);
59
+ case 'components-section':
60
+ return import(
61
+ /* webpackMode: "lazy" */
62
+ './components-section.entry.js').then(processMod, consoleError);
63
+ case 'correct-use-of-colors':
64
+ return import(
65
+ /* webpackMode: "lazy" */
66
+ './correct-use-of-colors.entry.js').then(processMod, consoleError);
67
+ case 'docs-palettes':
68
+ return import(
69
+ /* webpackMode: "lazy" */
70
+ './docs-palettes.entry.js').then(processMod, consoleError);
71
+ case 'docs-tokens':
72
+ return import(
73
+ /* webpackMode: "lazy" */
74
+ './docs-tokens.entry.js').then(processMod, consoleError);
75
+ case 'eds-app-root':
76
+ return import(
77
+ /* webpackMode: "lazy" */
78
+ './eds-app-root.entry.js').then(processMod, consoleError);
79
+ case 'eds-card-project':
80
+ return import(
81
+ /* webpackMode: "lazy" */
82
+ './eds-card-project.entry.js').then(processMod, consoleError);
83
+ case 'eds-card-section':
84
+ return import(
85
+ /* webpackMode: "lazy" */
86
+ './eds-card-section.entry.js').then(processMod, consoleError);
87
+ case 'eds-card-tags':
88
+ return import(
89
+ /* webpackMode: "lazy" */
90
+ './eds-card-tags.entry.js').then(processMod, consoleError);
91
+ case 'eds-card-tool':
92
+ return import(
93
+ /* webpackMode: "lazy" */
94
+ './eds-card-tool.entry.js').then(processMod, consoleError);
95
+ case 'eds-cookies-preference':
96
+ return import(
97
+ /* webpackMode: "lazy" */
98
+ './eds-cookies-preference.entry.js').then(processMod, consoleError);
99
+ case 'eds-feedback':
100
+ return import(
101
+ /* webpackMode: "lazy" */
102
+ './eds-feedback.entry.js').then(processMod, consoleError);
103
+ case 'eds-frame':
104
+ return import(
105
+ /* webpackMode: "lazy" */
106
+ './eds-frame.entry.js').then(processMod, consoleError);
107
+ case 'eds-icon-arrow-diagonal':
108
+ return import(
109
+ /* webpackMode: "lazy" */
110
+ './eds-icon-arrow-diagonal.entry.js').then(processMod, consoleError);
111
+ case 'eds-icon-arrow-right':
112
+ return import(
113
+ /* webpackMode: "lazy" */
114
+ './eds-icon-arrow-right.entry.js').then(processMod, consoleError);
115
+ case 'eds-icon-bluesky':
116
+ return import(
117
+ /* webpackMode: "lazy" */
118
+ './eds-icon-bluesky.entry.js').then(processMod, consoleError);
119
+ case 'eds-icon-bookmark':
120
+ return import(
121
+ /* webpackMode: "lazy" */
122
+ './eds-icon-bookmark.entry.js').then(processMod, consoleError);
123
+ case 'eds-icon-chevron-down':
124
+ return import(
125
+ /* webpackMode: "lazy" */
126
+ './eds-icon-chevron-down.entry.js').then(processMod, consoleError);
127
+ case 'eds-icon-chevron-left':
128
+ return import(
129
+ /* webpackMode: "lazy" */
130
+ './eds-icon-chevron-left.entry.js').then(processMod, consoleError);
131
+ case 'eds-icon-chevron-right':
132
+ return import(
133
+ /* webpackMode: "lazy" */
134
+ './eds-icon-chevron-right.entry.js').then(processMod, consoleError);
135
+ case 'eds-icon-chevron-up':
136
+ return import(
137
+ /* webpackMode: "lazy" */
138
+ './eds-icon-chevron-up.entry.js').then(processMod, consoleError);
139
+ case 'eds-icon-close':
140
+ return import(
141
+ /* webpackMode: "lazy" */
142
+ './eds-icon-close.entry.js').then(processMod, consoleError);
143
+ case 'eds-icon-copy':
144
+ return import(
145
+ /* webpackMode: "lazy" */
146
+ './eds-icon-copy.entry.js').then(processMod, consoleError);
147
+ case 'eds-icon-eu':
148
+ return import(
149
+ /* webpackMode: "lazy" */
150
+ './eds-icon-eu.entry.js').then(processMod, consoleError);
151
+ case 'eds-icon-external':
152
+ return import(
153
+ /* webpackMode: "lazy" */
154
+ './eds-icon-external.entry.js').then(processMod, consoleError);
155
+ case 'eds-icon-facebook':
156
+ return import(
157
+ /* webpackMode: "lazy" */
158
+ './eds-icon-facebook.entry.js').then(processMod, consoleError);
159
+ case 'eds-icon-gitlab':
160
+ return import(
161
+ /* webpackMode: "lazy" */
162
+ './eds-icon-gitlab.entry.js').then(processMod, consoleError);
163
+ case 'eds-icon-linkedin':
164
+ return import(
165
+ /* webpackMode: "lazy" */
166
+ './eds-icon-linkedin.entry.js').then(processMod, consoleError);
167
+ case 'eds-icon-loader':
168
+ return import(
169
+ /* webpackMode: "lazy" */
170
+ './eds-icon-loader.entry.js').then(processMod, consoleError);
171
+ case 'eds-icon-mastodon':
172
+ return import(
173
+ /* webpackMode: "lazy" */
174
+ './eds-icon-mastodon.entry.js').then(processMod, consoleError);
175
+ case 'eds-icon-menu':
176
+ return import(
177
+ /* webpackMode: "lazy" */
178
+ './eds-icon-menu.entry.js').then(processMod, consoleError);
179
+ case 'eds-icon-minus':
180
+ return import(
181
+ /* webpackMode: "lazy" */
182
+ './eds-icon-minus.entry.js').then(processMod, consoleError);
183
+ case 'eds-icon-more':
184
+ return import(
185
+ /* webpackMode: "lazy" */
186
+ './eds-icon-more.entry.js').then(processMod, consoleError);
187
+ case 'eds-icon-paper':
188
+ return import(
189
+ /* webpackMode: "lazy" */
190
+ './eds-icon-paper.entry.js').then(processMod, consoleError);
191
+ case 'eds-icon-plus':
192
+ return import(
193
+ /* webpackMode: "lazy" */
194
+ './eds-icon-plus.entry.js').then(processMod, consoleError);
195
+ case 'eds-icon-portal':
196
+ return import(
197
+ /* webpackMode: "lazy" */
198
+ './eds-icon-portal.entry.js').then(processMod, consoleError);
199
+ case 'eds-icon-private':
200
+ return import(
201
+ /* webpackMode: "lazy" */
202
+ './eds-icon-private.entry.js').then(processMod, consoleError);
203
+ case 'eds-icon-public':
204
+ return import(
205
+ /* webpackMode: "lazy" */
206
+ './eds-icon-public.entry.js').then(processMod, consoleError);
207
+ case 'eds-icon-search':
208
+ return import(
209
+ /* webpackMode: "lazy" */
210
+ './eds-icon-search.entry.js').then(processMod, consoleError);
211
+ case 'eds-icon-star':
212
+ return import(
213
+ /* webpackMode: "lazy" */
214
+ './eds-icon-star.entry.js').then(processMod, consoleError);
215
+ case 'eds-icon-success':
216
+ return import(
217
+ /* webpackMode: "lazy" */
218
+ './eds-icon-success.entry.js').then(processMod, consoleError);
219
+ case 'eds-icon-thumbs-down':
220
+ return import(
221
+ /* webpackMode: "lazy" */
222
+ './eds-icon-thumbs-down.entry.js').then(processMod, consoleError);
223
+ case 'eds-icon-thumbs-up':
224
+ return import(
225
+ /* webpackMode: "lazy" */
226
+ './eds-icon-thumbs-up.entry.js').then(processMod, consoleError);
227
+ case 'eds-icon-tutorial':
228
+ return import(
229
+ /* webpackMode: "lazy" */
230
+ './eds-icon-tutorial.entry.js').then(processMod, consoleError);
231
+ case 'eds-icon-twitter':
232
+ return import(
233
+ /* webpackMode: "lazy" */
234
+ './eds-icon-twitter.entry.js').then(processMod, consoleError);
235
+ case 'eds-icon-unknown':
236
+ return import(
237
+ /* webpackMode: "lazy" */
238
+ './eds-icon-unknown.entry.js').then(processMod, consoleError);
239
+ case 'eds-icon-updown':
240
+ return import(
241
+ /* webpackMode: "lazy" */
242
+ './eds-icon-updown.entry.js').then(processMod, consoleError);
243
+ case 'eds-icon-user':
244
+ return import(
245
+ /* webpackMode: "lazy" */
246
+ './eds-icon-user.entry.js').then(processMod, consoleError);
247
+ case 'eds-icon-youtube':
248
+ return import(
249
+ /* webpackMode: "lazy" */
250
+ './eds-icon-youtube.entry.js').then(processMod, consoleError);
251
+ case 'eds-switch':
252
+ return import(
253
+ /* webpackMode: "lazy" */
254
+ './eds-switch.entry.js').then(processMod, consoleError);
255
+ case 'eds-timeline':
256
+ return import(
257
+ /* webpackMode: "lazy" */
258
+ './eds-timeline.entry.js').then(processMod, consoleError);
259
+ case 'eds-toast-manager':
260
+ return import(
261
+ /* webpackMode: "lazy" */
262
+ './eds-toast-manager.entry.js').then(processMod, consoleError);
263
+ case 'eds-trl':
264
+ return import(
265
+ /* webpackMode: "lazy" */
266
+ './eds-trl.entry.js').then(processMod, consoleError);
267
+ case 'incorrect-use-of-colors':
268
+ return import(
269
+ /* webpackMode: "lazy" */
270
+ './incorrect-use-of-colors.entry.js').then(processMod, consoleError);
271
+ case 'logo-space':
272
+ return import(
273
+ /* webpackMode: "lazy" */
274
+ './logo-space.entry.js').then(processMod, consoleError);
275
+ case 'logo-variations-tabs':
276
+ return import(
277
+ /* webpackMode: "lazy" */
278
+ './logo-variations-tabs.entry.js').then(processMod, consoleError);
279
+ case 'logo-wrong-usage':
280
+ return import(
281
+ /* webpackMode: "lazy" */
282
+ './logo-wrong-usage.entry.js').then(processMod, consoleError);
283
+ case 'svg-repository':
284
+ return import(
285
+ /* webpackMode: "lazy" */
286
+ './svg-repository.entry.js').then(processMod, consoleError);
287
+ case 'token-ratios':
288
+ return import(
289
+ /* webpackMode: "lazy" */
290
+ './token-ratios.entry.js').then(processMod, consoleError);
291
+ case 'token-typography':
292
+ return import(
293
+ /* webpackMode: "lazy" */
294
+ './token-typography.entry.js').then(processMod, consoleError);
295
+ case 'color-primary-palette_6':
296
+ return import(
297
+ /* webpackMode: "lazy" */
298
+ './color-primary-palette_6.entry.js').then(processMod, consoleError);
299
+ case 'eds-matomo-notice':
300
+ return import(
301
+ /* webpackMode: "lazy" */
302
+ './eds-matomo-notice.entry.js').then(processMod, consoleError);
303
+ case 'eds-progress-bar':
304
+ return import(
305
+ /* webpackMode: "lazy" */
306
+ './eds-progress-bar.entry.js').then(processMod, consoleError);
307
+ case 'eds-rating':
308
+ return import(
309
+ /* webpackMode: "lazy" */
310
+ './eds-rating.entry.js').then(processMod, consoleError);
311
+ case 'eds-splash-screen':
312
+ return import(
313
+ /* webpackMode: "lazy" */
314
+ './eds-splash-screen.entry.js').then(processMod, consoleError);
315
+ case 'eds-toast':
316
+ return import(
317
+ /* webpackMode: "lazy" */
318
+ './eds-toast.entry.js').then(processMod, consoleError);
319
+ case 'logo-variations-horizontal_2':
320
+ return import(
321
+ /* webpackMode: "lazy" */
322
+ './logo-variations-horizontal_2.entry.js').then(processMod, consoleError);
323
+ case 'token-list_3':
324
+ return import(
325
+ /* webpackMode: "lazy" */
326
+ './token-list_3.entry.js').then(processMod, consoleError);
327
+ case 'eds-accordion':
328
+ return import(
329
+ /* webpackMode: "lazy" */
330
+ './eds-accordion.entry.js').then(processMod, consoleError);
331
+ case 'eds-alert':
332
+ return import(
333
+ /* webpackMode: "lazy" */
334
+ './eds-alert.entry.js').then(processMod, consoleError);
335
+ case 'eds-section-core_2':
336
+ return import(
337
+ /* webpackMode: "lazy" */
338
+ './eds-section-core_2.entry.js').then(processMod, consoleError);
339
+ case 'eds-spinner':
340
+ return import(
341
+ /* webpackMode: "lazy" */
342
+ './eds-spinner.entry.js').then(processMod, consoleError);
343
+ case 'eds-pagination_2':
344
+ return import(
345
+ /* webpackMode: "lazy" */
346
+ './eds-pagination_2.entry.js').then(processMod, consoleError);
347
+ case 'eds-code-block':
348
+ return import(
349
+ /* webpackMode: "lazy" */
350
+ './eds-code-block.entry.js').then(processMod, consoleError);
351
+ }
352
+ }
353
+ return import(
354
+ /* @vite-ignore */
355
+ /* webpackInclude: /\.entry\.js$/ */
356
+ /* webpackExclude: /\.system\.entry\.js$/ */
357
+ /* webpackMode: "lazy" */
358
+ `./${bundleId}.entry.js${""}`
359
+ ).then((importedModule) => {
360
+ {
361
+ cmpModules.set(bundleId, importedModule);
362
+ }
363
+ return importedModule[exportName];
364
+ }, consoleError);
365
+ };
366
+
367
+ // src/client/client-style.ts
368
+ var styles = /* @__PURE__ */ new Map();
369
+
370
+ // src/runtime/runtime-constants.ts
371
+ var CONTENT_REF_ID = "r";
372
+ var ORG_LOCATION_ID = "o";
373
+ var SLOT_NODE_ID = "s";
374
+ var TEXT_NODE_ID = "t";
375
+ var HYDRATE_ID = "s-id";
376
+ var HYDRATED_STYLE_ID = "sty-id";
377
+ var HYDRATE_CHILD_ID = "c-id";
378
+ var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
379
+ var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
380
+ var XLINK_NS = "http://www.w3.org/1999/xlink";
381
+ var win = typeof window !== "undefined" ? window : {};
382
+ var doc = win.document || { head: {} };
383
+ var plt = {
384
+ $flags$: 0,
385
+ $resourcesUrl$: "",
386
+ jmp: (h2) => h2(),
387
+ raf: (h2) => requestAnimationFrame(h2),
388
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
389
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
390
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
391
+ };
392
+ var supportsShadow = BUILD.shadowDom;
393
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
394
+ let supportsListenerOptions2 = false;
395
+ try {
396
+ doc.addEventListener(
397
+ "e",
398
+ null,
399
+ Object.defineProperty({}, "passive", {
400
+ get() {
401
+ supportsListenerOptions2 = true;
402
+ }
403
+ })
404
+ );
405
+ } catch (e) {
406
+ }
407
+ return supportsListenerOptions2;
408
+ })();
409
+ var promiseResolve = (v) => Promise.resolve(v);
410
+ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
411
+ try {
412
+ new CSSStyleSheet();
413
+ return typeof new CSSStyleSheet().replaceSync === "function";
414
+ } catch (e) {
415
+ }
416
+ return false;
417
+ })() ;
418
+ var queuePending = false;
419
+ var queueDomReads = [];
420
+ var queueDomWrites = [];
421
+ var queueTask = (queue, write) => (cb) => {
422
+ queue.push(cb);
423
+ if (!queuePending) {
424
+ queuePending = true;
425
+ if (write && plt.$flags$ & 4 /* queueSync */) {
426
+ nextTick(flush);
427
+ } else {
428
+ plt.raf(flush);
429
+ }
430
+ }
431
+ };
432
+ var consume = (queue) => {
433
+ for (let i2 = 0; i2 < queue.length; i2++) {
434
+ try {
435
+ queue[i2](performance.now());
436
+ } catch (e) {
437
+ consoleError(e);
438
+ }
439
+ }
440
+ queue.length = 0;
441
+ };
442
+ var flush = () => {
443
+ consume(queueDomReads);
444
+ {
445
+ consume(queueDomWrites);
446
+ if (queuePending = queueDomReads.length > 0) {
447
+ plt.raf(flush);
448
+ }
449
+ }
450
+ };
451
+ var nextTick = (cb) => promiseResolve().then(cb);
452
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
453
+
454
+ // src/utils/constants.ts
455
+ var EMPTY_OBJ = {};
456
+ var SVG_NS = "http://www.w3.org/2000/svg";
457
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
458
+
459
+ // src/utils/helpers.ts
460
+ var isDef = (v) => v != null;
461
+ var isComplexType = (o) => {
462
+ o = typeof o;
463
+ return o === "object" || o === "function";
464
+ };
465
+
466
+ // src/utils/query-nonce-meta-tag-content.ts
467
+ function queryNonceMetaTagContent(doc2) {
468
+ var _a, _b, _c;
469
+ return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
470
+ }
471
+
472
+ // src/utils/result.ts
473
+ var result_exports = {};
474
+ __export(result_exports, {
475
+ err: () => err,
476
+ map: () => map,
477
+ ok: () => ok,
478
+ unwrap: () => unwrap,
479
+ unwrapErr: () => unwrapErr
480
+ });
481
+ var ok = (value) => ({
482
+ isOk: true,
483
+ isErr: false,
484
+ value
485
+ });
486
+ var err = (value) => ({
487
+ isOk: false,
488
+ isErr: true,
489
+ value
490
+ });
491
+ function map(result, fn) {
492
+ if (result.isOk) {
493
+ const val = fn(result.value);
494
+ if (val instanceof Promise) {
495
+ return val.then((newVal) => ok(newVal));
496
+ } else {
497
+ return ok(val);
498
+ }
499
+ }
500
+ if (result.isErr) {
501
+ const value = result.value;
502
+ return err(value);
503
+ }
504
+ throw "should never get here";
505
+ }
506
+ var unwrap = (result) => {
507
+ if (result.isOk) {
508
+ return result.value;
509
+ } else {
510
+ throw result.value;
511
+ }
512
+ };
513
+ var unwrapErr = (result) => {
514
+ if (result.isErr) {
515
+ return result.value;
516
+ } else {
517
+ throw result.value;
518
+ }
519
+ };
520
+ var createTime = (fnName, tagName = "") => {
521
+ {
522
+ return () => {
523
+ return;
524
+ };
525
+ }
526
+ };
527
+ var uniqueTime = (key, measureText) => {
528
+ {
529
+ return () => {
530
+ return;
531
+ };
532
+ }
533
+ };
534
+ var h = (nodeName, vnodeData, ...children) => {
535
+ let child = null;
536
+ let key = null;
537
+ let simple = false;
538
+ let lastSimple = false;
539
+ const vNodeChildren = [];
540
+ const walk = (c) => {
541
+ for (let i2 = 0; i2 < c.length; i2++) {
542
+ child = c[i2];
543
+ if (Array.isArray(child)) {
544
+ walk(child);
545
+ } else if (child != null && typeof child !== "boolean") {
546
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
547
+ child = String(child);
548
+ }
549
+ if (simple && lastSimple) {
550
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
551
+ } else {
552
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
553
+ }
554
+ lastSimple = simple;
555
+ }
556
+ }
557
+ };
558
+ walk(children);
559
+ if (vnodeData) {
560
+ if (vnodeData.key) {
561
+ key = vnodeData.key;
562
+ }
563
+ {
564
+ const classData = vnodeData.className || vnodeData.class;
565
+ if (classData) {
566
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
567
+ }
568
+ }
569
+ }
570
+ if (typeof nodeName === "function") {
571
+ return nodeName(
572
+ vnodeData === null ? {} : vnodeData,
573
+ vNodeChildren,
574
+ vdomFnUtils
575
+ );
576
+ }
577
+ const vnode = newVNode(nodeName, null);
578
+ vnode.$attrs$ = vnodeData;
579
+ if (vNodeChildren.length > 0) {
580
+ vnode.$children$ = vNodeChildren;
581
+ }
582
+ {
583
+ vnode.$key$ = key;
584
+ }
585
+ return vnode;
586
+ };
587
+ var newVNode = (tag, text) => {
588
+ const vnode = {
589
+ $flags$: 0,
590
+ $tag$: tag,
591
+ $text$: text,
592
+ $elm$: null,
593
+ $children$: null
594
+ };
595
+ {
596
+ vnode.$attrs$ = null;
597
+ }
598
+ {
599
+ vnode.$key$ = null;
600
+ }
601
+ return vnode;
602
+ };
603
+ var Host = {};
604
+ var isHost = (node) => node && node.$tag$ === Host;
605
+ var vdomFnUtils = {
606
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
607
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
608
+ };
609
+ var convertToPublic = (node) => ({
610
+ vattrs: node.$attrs$,
611
+ vchildren: node.$children$,
612
+ vkey: node.$key$,
613
+ vname: node.$name$,
614
+ vtag: node.$tag$,
615
+ vtext: node.$text$
616
+ });
617
+ var convertToPrivate = (node) => {
618
+ if (typeof node.vtag === "function") {
619
+ const vnodeData = { ...node.vattrs };
620
+ if (node.vkey) {
621
+ vnodeData.key = node.vkey;
622
+ }
623
+ if (node.vname) {
624
+ vnodeData.name = node.vname;
625
+ }
626
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
627
+ }
628
+ const vnode = newVNode(node.vtag, node.vtext);
629
+ vnode.$attrs$ = node.vattrs;
630
+ vnode.$children$ = node.vchildren;
631
+ vnode.$key$ = node.vkey;
632
+ vnode.$name$ = node.vname;
633
+ return vnode;
634
+ };
635
+
636
+ // src/runtime/client-hydrate.ts
637
+ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
638
+ const endHydrate = createTime("hydrateClient", tagName);
639
+ const shadowRoot = hostElm.shadowRoot;
640
+ const childRenderNodes = [];
641
+ const slotNodes = [];
642
+ const shadowRootNodes = shadowRoot ? [] : null;
643
+ const vnode = hostRef.$vnode$ = newVNode(tagName, null);
644
+ if (!plt.$orgLocNodes$) {
645
+ initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
646
+ }
647
+ hostElm[HYDRATE_ID] = hostId;
648
+ hostElm.removeAttribute(HYDRATE_ID);
649
+ clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
650
+ childRenderNodes.map((c) => {
651
+ const orgLocationId = c.$hostId$ + "." + c.$nodeId$;
652
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
653
+ const node = c.$elm$;
654
+ if (orgLocationNode && supportsShadow && orgLocationNode["s-en"] === "") {
655
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
656
+ }
657
+ if (!shadowRoot) {
658
+ node["s-hn"] = tagName;
659
+ if (orgLocationNode) {
660
+ node["s-ol"] = orgLocationNode;
661
+ node["s-ol"]["s-nr"] = node;
662
+ }
663
+ }
664
+ plt.$orgLocNodes$.delete(orgLocationId);
665
+ });
666
+ if (shadowRoot) {
667
+ shadowRootNodes.map((shadowRootNode) => {
668
+ if (shadowRootNode) {
669
+ shadowRoot.appendChild(shadowRootNode);
670
+ }
671
+ });
672
+ }
673
+ endHydrate();
674
+ };
675
+ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
676
+ let childNodeType;
677
+ let childIdSplt;
678
+ let childVNode;
679
+ let i2;
680
+ if (node.nodeType === 1 /* ElementNode */) {
681
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
682
+ if (childNodeType) {
683
+ childIdSplt = childNodeType.split(".");
684
+ if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
685
+ childVNode = {
686
+ $flags$: 0,
687
+ $hostId$: childIdSplt[0],
688
+ $nodeId$: childIdSplt[1],
689
+ $depth$: childIdSplt[2],
690
+ $index$: childIdSplt[3],
691
+ $tag$: node.tagName.toLowerCase(),
692
+ $elm$: node,
693
+ $attrs$: null,
694
+ $children$: null,
695
+ $key$: null,
696
+ $name$: null,
697
+ $text$: null
698
+ };
699
+ childRenderNodes.push(childVNode);
700
+ node.removeAttribute(HYDRATE_CHILD_ID);
701
+ if (!parentVNode.$children$) {
702
+ parentVNode.$children$ = [];
703
+ }
704
+ parentVNode.$children$[childVNode.$index$] = childVNode;
705
+ parentVNode = childVNode;
706
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
707
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
708
+ }
709
+ }
710
+ }
711
+ if (node.shadowRoot) {
712
+ for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
713
+ clientHydrate(
714
+ parentVNode,
715
+ childRenderNodes,
716
+ slotNodes,
717
+ shadowRootNodes,
718
+ hostElm,
719
+ node.shadowRoot.childNodes[i2],
720
+ hostId
721
+ );
722
+ }
723
+ }
724
+ for (i2 = node.childNodes.length - 1; i2 >= 0; i2--) {
725
+ clientHydrate(
726
+ parentVNode,
727
+ childRenderNodes,
728
+ slotNodes,
729
+ shadowRootNodes,
730
+ hostElm,
731
+ node.childNodes[i2],
732
+ hostId
733
+ );
734
+ }
735
+ } else if (node.nodeType === 8 /* CommentNode */) {
736
+ childIdSplt = node.nodeValue.split(".");
737
+ if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
738
+ childNodeType = childIdSplt[0];
739
+ childVNode = {
740
+ $flags$: 0,
741
+ $hostId$: childIdSplt[1],
742
+ $nodeId$: childIdSplt[2],
743
+ $depth$: childIdSplt[3],
744
+ $index$: childIdSplt[4],
745
+ $elm$: node,
746
+ $attrs$: null,
747
+ $children$: null,
748
+ $key$: null,
749
+ $name$: null,
750
+ $tag$: null,
751
+ $text$: null
752
+ };
753
+ if (childNodeType === TEXT_NODE_ID) {
754
+ childVNode.$elm$ = node.nextSibling;
755
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
756
+ childVNode.$text$ = childVNode.$elm$.textContent;
757
+ childRenderNodes.push(childVNode);
758
+ node.remove();
759
+ if (!parentVNode.$children$) {
760
+ parentVNode.$children$ = [];
761
+ }
762
+ parentVNode.$children$[childVNode.$index$] = childVNode;
763
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
764
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
765
+ }
766
+ }
767
+ } else if (childVNode.$hostId$ === hostId) {
768
+ if (childNodeType === SLOT_NODE_ID) {
769
+ childVNode.$tag$ = "slot";
770
+ if (childIdSplt[5]) {
771
+ node["s-sn"] = childVNode.$name$ = childIdSplt[5];
772
+ } else {
773
+ node["s-sn"] = "";
774
+ }
775
+ node["s-sr"] = true;
776
+ if (shadowRootNodes) {
777
+ childVNode.$elm$ = doc.createElement(childVNode.$tag$);
778
+ if (childVNode.$name$) {
779
+ childVNode.$elm$.setAttribute("name", childVNode.$name$);
780
+ }
781
+ node.parentNode.insertBefore(childVNode.$elm$, node);
782
+ node.remove();
783
+ if (childVNode.$depth$ === "0") {
784
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
785
+ }
786
+ }
787
+ slotNodes.push(childVNode);
788
+ if (!parentVNode.$children$) {
789
+ parentVNode.$children$ = [];
790
+ }
791
+ parentVNode.$children$[childVNode.$index$] = childVNode;
792
+ } else if (childNodeType === CONTENT_REF_ID) {
793
+ if (shadowRootNodes) {
794
+ node.remove();
795
+ }
796
+ }
797
+ }
798
+ }
799
+ } else if (parentVNode && parentVNode.$tag$ === "style") {
800
+ const vnode = newVNode(null, node.textContent);
801
+ vnode.$elm$ = node;
802
+ vnode.$index$ = "0";
803
+ parentVNode.$children$ = [vnode];
804
+ }
805
+ };
806
+ var initializeDocumentHydrate = (node, orgLocNodes) => {
807
+ if (node.nodeType === 1 /* ElementNode */) {
808
+ let i2 = 0;
809
+ if (node.shadowRoot) {
810
+ for (; i2 < node.shadowRoot.childNodes.length; i2++) {
811
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
812
+ }
813
+ }
814
+ for (i2 = 0; i2 < node.childNodes.length; i2++) {
815
+ initializeDocumentHydrate(node.childNodes[i2], orgLocNodes);
816
+ }
817
+ } else if (node.nodeType === 8 /* CommentNode */) {
818
+ const childIdSplt = node.nodeValue.split(".");
819
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
820
+ orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
821
+ node.nodeValue = "";
822
+ node["s-en"] = childIdSplt[3];
823
+ }
824
+ }
825
+ };
826
+ var parsePropertyValue = (propValue, propType) => {
827
+ if (propValue != null && !isComplexType(propValue)) {
828
+ if (propType & 4 /* Boolean */) {
829
+ return propValue === "false" ? false : propValue === "" || !!propValue;
830
+ }
831
+ if (propType & 2 /* Number */) {
832
+ return parseFloat(propValue);
833
+ }
834
+ if (propType & 1 /* String */) {
835
+ return String(propValue);
836
+ }
837
+ return propValue;
838
+ }
839
+ return propValue;
840
+ };
841
+ var getElement = (ref) => getHostRef(ref).$hostElement$ ;
842
+
843
+ // src/runtime/event-emitter.ts
844
+ var createEvent = (ref, name, flags) => {
845
+ const elm = getElement(ref);
846
+ return {
847
+ emit: (detail) => {
848
+ return emitEvent(elm, name, {
849
+ bubbles: !!(flags & 4 /* Bubbles */),
850
+ composed: !!(flags & 2 /* Composed */),
851
+ cancelable: !!(flags & 1 /* Cancellable */),
852
+ detail
853
+ });
854
+ }
855
+ };
856
+ };
857
+ var emitEvent = (elm, name, opts) => {
858
+ const ev = plt.ce(name, opts);
859
+ elm.dispatchEvent(ev);
860
+ return ev;
861
+ };
862
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
863
+ var registerStyle = (scopeId2, cssText, allowCS) => {
864
+ let style = styles.get(scopeId2);
865
+ if (supportsConstructableStylesheets && allowCS) {
866
+ style = style || new CSSStyleSheet();
867
+ if (typeof style === "string") {
868
+ style = cssText;
869
+ } else {
870
+ style.replaceSync(cssText);
871
+ }
872
+ } else {
873
+ style = cssText;
874
+ }
875
+ styles.set(scopeId2, style);
876
+ };
877
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
878
+ var _a;
879
+ const scopeId2 = getScopeId(cmpMeta);
880
+ const style = styles.get(scopeId2);
881
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
882
+ if (style) {
883
+ if (typeof style === "string") {
884
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
885
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
886
+ let styleElm;
887
+ if (!appliedStyles) {
888
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
889
+ }
890
+ if (!appliedStyles.has(scopeId2)) {
891
+ if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
892
+ styleElm.innerHTML = style;
893
+ } else {
894
+ styleElm = doc.createElement("style");
895
+ styleElm.innerHTML = style;
896
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
897
+ if (nonce != null) {
898
+ styleElm.setAttribute("nonce", nonce);
899
+ }
900
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
901
+ if (styleContainerNode.nodeName === "HEAD") {
902
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
903
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
904
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
905
+ } else if ("host" in styleContainerNode) {
906
+ styleContainerNode.prepend(styleElm);
907
+ } else {
908
+ styleContainerNode.append(styleElm);
909
+ }
910
+ }
911
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
912
+ styleContainerNode.insertBefore(styleElm, null);
913
+ }
914
+ }
915
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
916
+ styleElm.innerHTML += SLOT_FB_CSS;
917
+ }
918
+ if (appliedStyles) {
919
+ appliedStyles.add(scopeId2);
920
+ }
921
+ }
922
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
923
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
924
+ }
925
+ }
926
+ return scopeId2;
927
+ };
928
+ var attachStyles = (hostRef) => {
929
+ const cmpMeta = hostRef.$cmpMeta$;
930
+ const elm = hostRef.$hostElement$;
931
+ const flags = cmpMeta.$flags$;
932
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
933
+ const scopeId2 = addStyle(
934
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
935
+ cmpMeta);
936
+ if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
937
+ elm["s-sc"] = scopeId2;
938
+ elm.classList.add(scopeId2 + "-h");
939
+ }
940
+ endAttachStyles();
941
+ };
942
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
943
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
944
+ if (oldValue !== newValue) {
945
+ let isProp = isMemberInElement(elm, memberName);
946
+ let ln = memberName.toLowerCase();
947
+ if (memberName === "class") {
948
+ const classList = elm.classList;
949
+ const oldClasses = parseClassList(oldValue);
950
+ const newClasses = parseClassList(newValue);
951
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
952
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
953
+ } else if (memberName === "style") {
954
+ {
955
+ for (const prop in oldValue) {
956
+ if (!newValue || newValue[prop] == null) {
957
+ if (prop.includes("-")) {
958
+ elm.style.removeProperty(prop);
959
+ } else {
960
+ elm.style[prop] = "";
961
+ }
962
+ }
963
+ }
964
+ }
965
+ for (const prop in newValue) {
966
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
967
+ if (prop.includes("-")) {
968
+ elm.style.setProperty(prop, newValue[prop]);
969
+ } else {
970
+ elm.style[prop] = newValue[prop];
971
+ }
972
+ }
973
+ }
974
+ } else if (memberName === "key") ; else if (memberName === "ref") {
975
+ if (newValue) {
976
+ newValue(elm);
977
+ }
978
+ } else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
979
+ if (memberName[2] === "-") {
980
+ memberName = memberName.slice(3);
981
+ } else if (isMemberInElement(win, ln)) {
982
+ memberName = ln.slice(2);
983
+ } else {
984
+ memberName = ln[2] + memberName.slice(3);
985
+ }
986
+ if (oldValue || newValue) {
987
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
988
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
989
+ if (oldValue) {
990
+ plt.rel(elm, memberName, oldValue, capture);
991
+ }
992
+ if (newValue) {
993
+ plt.ael(elm, memberName, newValue, capture);
994
+ }
995
+ }
996
+ } else {
997
+ const isComplex = isComplexType(newValue);
998
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
999
+ try {
1000
+ if (!elm.tagName.includes("-")) {
1001
+ const n = newValue == null ? "" : newValue;
1002
+ if (memberName === "list") {
1003
+ isProp = false;
1004
+ } else if (oldValue == null || elm[memberName] != n) {
1005
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
1006
+ elm[memberName] = n;
1007
+ } else {
1008
+ elm.setAttribute(memberName, n);
1009
+ }
1010
+ }
1011
+ } else {
1012
+ elm[memberName] = newValue;
1013
+ }
1014
+ } catch (e) {
1015
+ }
1016
+ }
1017
+ let xlink = false;
1018
+ {
1019
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
1020
+ memberName = ln;
1021
+ xlink = true;
1022
+ }
1023
+ }
1024
+ if (newValue == null || newValue === false) {
1025
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
1026
+ if (xlink) {
1027
+ elm.removeAttributeNS(XLINK_NS, memberName);
1028
+ } else {
1029
+ elm.removeAttribute(memberName);
1030
+ }
1031
+ }
1032
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
1033
+ newValue = newValue === true ? "" : newValue;
1034
+ if (xlink) {
1035
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
1036
+ } else {
1037
+ elm.setAttribute(memberName, newValue);
1038
+ }
1039
+ }
1040
+ }
1041
+ }
1042
+ };
1043
+ var parseClassListRegex = /\s/;
1044
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
1045
+ var CAPTURE_EVENT_SUFFIX = "Capture";
1046
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
1047
+
1048
+ // src/runtime/vdom/update-element.ts
1049
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
1050
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
1051
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
1052
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
1053
+ {
1054
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
1055
+ if (!(memberName in newVnodeAttrs)) {
1056
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
1057
+ }
1058
+ }
1059
+ }
1060
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
1061
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
1062
+ }
1063
+ };
1064
+ function sortedAttrNames(attrNames) {
1065
+ return attrNames.includes("ref") ? (
1066
+ // we need to sort these to ensure that `'ref'` is the last attr
1067
+ [...attrNames.filter((attr) => attr !== "ref"), "ref"]
1068
+ ) : (
1069
+ // no need to sort, return the original array
1070
+ attrNames
1071
+ );
1072
+ }
1073
+
1074
+ // src/runtime/vdom/vdom-render.ts
1075
+ var scopeId;
1076
+ var hostTagName;
1077
+ var useNativeShadowDom = false;
1078
+ var isSvgMode = false;
1079
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
1080
+ const newVNode2 = newParentVNode.$children$[childIndex];
1081
+ let i2 = 0;
1082
+ let elm;
1083
+ let childNode;
1084
+ if (newVNode2.$text$ !== null) {
1085
+ elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
1086
+ } else {
1087
+ if (!isSvgMode) {
1088
+ isSvgMode = newVNode2.$tag$ === "svg";
1089
+ }
1090
+ elm = newVNode2.$elm$ = doc.createElementNS(
1091
+ isSvgMode ? SVG_NS : HTML_NS,
1092
+ !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
1093
+ ) ;
1094
+ if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
1095
+ isSvgMode = false;
1096
+ }
1097
+ {
1098
+ updateElement(null, newVNode2, isSvgMode);
1099
+ }
1100
+ const rootNode = elm.getRootNode();
1101
+ const isElementWithinShadowRoot = !rootNode.querySelector("body");
1102
+ if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
1103
+ elm.classList.add(elm["s-si"] = scopeId);
1104
+ }
1105
+ if (newVNode2.$children$) {
1106
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
1107
+ childNode = createElm(oldParentVNode, newVNode2, i2);
1108
+ if (childNode) {
1109
+ elm.appendChild(childNode);
1110
+ }
1111
+ }
1112
+ }
1113
+ {
1114
+ if (newVNode2.$tag$ === "svg") {
1115
+ isSvgMode = false;
1116
+ } else if (elm.tagName === "foreignObject") {
1117
+ isSvgMode = true;
1118
+ }
1119
+ }
1120
+ }
1121
+ elm["s-hn"] = hostTagName;
1122
+ return elm;
1123
+ };
1124
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
1125
+ let containerElm = parentElm;
1126
+ let childNode;
1127
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
1128
+ containerElm = containerElm.shadowRoot;
1129
+ }
1130
+ for (; startIdx <= endIdx; ++startIdx) {
1131
+ if (vnodes[startIdx]) {
1132
+ childNode = createElm(null, parentVNode, startIdx);
1133
+ if (childNode) {
1134
+ vnodes[startIdx].$elm$ = childNode;
1135
+ insertBefore(containerElm, childNode, before);
1136
+ }
1137
+ }
1138
+ }
1139
+ };
1140
+ var removeVnodes = (vnodes, startIdx, endIdx) => {
1141
+ for (let index = startIdx; index <= endIdx; ++index) {
1142
+ const vnode = vnodes[index];
1143
+ if (vnode) {
1144
+ const elm = vnode.$elm$;
1145
+ nullifyVNodeRefs(vnode);
1146
+ if (elm) {
1147
+ elm.remove();
1148
+ }
1149
+ }
1150
+ }
1151
+ };
1152
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
1153
+ let oldStartIdx = 0;
1154
+ let newStartIdx = 0;
1155
+ let idxInOld = 0;
1156
+ let i2 = 0;
1157
+ let oldEndIdx = oldCh.length - 1;
1158
+ let oldStartVnode = oldCh[0];
1159
+ let oldEndVnode = oldCh[oldEndIdx];
1160
+ let newEndIdx = newCh.length - 1;
1161
+ let newStartVnode = newCh[0];
1162
+ let newEndVnode = newCh[newEndIdx];
1163
+ let node;
1164
+ let elmToMove;
1165
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
1166
+ if (oldStartVnode == null) {
1167
+ oldStartVnode = oldCh[++oldStartIdx];
1168
+ } else if (oldEndVnode == null) {
1169
+ oldEndVnode = oldCh[--oldEndIdx];
1170
+ } else if (newStartVnode == null) {
1171
+ newStartVnode = newCh[++newStartIdx];
1172
+ } else if (newEndVnode == null) {
1173
+ newEndVnode = newCh[--newEndIdx];
1174
+ } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
1175
+ patch(oldStartVnode, newStartVnode, isInitialRender);
1176
+ oldStartVnode = oldCh[++oldStartIdx];
1177
+ newStartVnode = newCh[++newStartIdx];
1178
+ } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
1179
+ patch(oldEndVnode, newEndVnode, isInitialRender);
1180
+ oldEndVnode = oldCh[--oldEndIdx];
1181
+ newEndVnode = newCh[--newEndIdx];
1182
+ } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
1183
+ patch(oldStartVnode, newEndVnode, isInitialRender);
1184
+ insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
1185
+ oldStartVnode = oldCh[++oldStartIdx];
1186
+ newEndVnode = newCh[--newEndIdx];
1187
+ } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
1188
+ patch(oldEndVnode, newStartVnode, isInitialRender);
1189
+ insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
1190
+ oldEndVnode = oldCh[--oldEndIdx];
1191
+ newStartVnode = newCh[++newStartIdx];
1192
+ } else {
1193
+ idxInOld = -1;
1194
+ {
1195
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
1196
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
1197
+ idxInOld = i2;
1198
+ break;
1199
+ }
1200
+ }
1201
+ }
1202
+ if (idxInOld >= 0) {
1203
+ elmToMove = oldCh[idxInOld];
1204
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
1205
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
1206
+ } else {
1207
+ patch(elmToMove, newStartVnode, isInitialRender);
1208
+ oldCh[idxInOld] = void 0;
1209
+ node = elmToMove.$elm$;
1210
+ }
1211
+ newStartVnode = newCh[++newStartIdx];
1212
+ } else {
1213
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
1214
+ newStartVnode = newCh[++newStartIdx];
1215
+ }
1216
+ if (node) {
1217
+ {
1218
+ insertBefore(oldStartVnode.$elm$.parentNode, node, oldStartVnode.$elm$);
1219
+ }
1220
+ }
1221
+ }
1222
+ }
1223
+ if (oldStartIdx > oldEndIdx) {
1224
+ addVnodes(
1225
+ parentElm,
1226
+ newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
1227
+ newVNode2,
1228
+ newCh,
1229
+ newStartIdx,
1230
+ newEndIdx
1231
+ );
1232
+ } else if (newStartIdx > newEndIdx) {
1233
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
1234
+ }
1235
+ };
1236
+ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
1237
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
1238
+ if (!isInitialRender) {
1239
+ return leftVNode.$key$ === rightVNode.$key$;
1240
+ }
1241
+ return true;
1242
+ }
1243
+ return false;
1244
+ };
1245
+ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1246
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
1247
+ const oldChildren = oldVNode.$children$;
1248
+ const newChildren = newVNode2.$children$;
1249
+ const tag = newVNode2.$tag$;
1250
+ const text = newVNode2.$text$;
1251
+ if (text === null) {
1252
+ {
1253
+ isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
1254
+ }
1255
+ {
1256
+ if (tag === "slot" && !useNativeShadowDom) ; else {
1257
+ updateElement(oldVNode, newVNode2, isSvgMode);
1258
+ }
1259
+ }
1260
+ if (oldChildren !== null && newChildren !== null) {
1261
+ updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
1262
+ } else if (newChildren !== null) {
1263
+ if (oldVNode.$text$ !== null) {
1264
+ elm.textContent = "";
1265
+ }
1266
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
1267
+ } else if (
1268
+ // don't do this on initial render as it can cause non-hydrated content to be removed
1269
+ !isInitialRender && BUILD.updatable && oldChildren !== null
1270
+ ) {
1271
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
1272
+ }
1273
+ if (isSvgMode && tag === "svg") {
1274
+ isSvgMode = false;
1275
+ }
1276
+ } else if (oldVNode.$text$ !== text) {
1277
+ elm.data = text;
1278
+ }
1279
+ };
1280
+ var nullifyVNodeRefs = (vNode) => {
1281
+ {
1282
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1283
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1284
+ }
1285
+ };
1286
+ var insertBefore = (parent, newNode, reference) => {
1287
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
1288
+ return inserted;
1289
+ };
1290
+ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1291
+ const hostElm = hostRef.$hostElement$;
1292
+ const cmpMeta = hostRef.$cmpMeta$;
1293
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1294
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1295
+ hostTagName = hostElm.tagName;
1296
+ if (cmpMeta.$attrsToReflect$) {
1297
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1298
+ cmpMeta.$attrsToReflect$.map(
1299
+ ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
1300
+ );
1301
+ }
1302
+ if (isInitialLoad && rootVnode.$attrs$) {
1303
+ for (const key of Object.keys(rootVnode.$attrs$)) {
1304
+ if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
1305
+ rootVnode.$attrs$[key] = hostElm[key];
1306
+ }
1307
+ }
1308
+ }
1309
+ rootVnode.$tag$ = null;
1310
+ rootVnode.$flags$ |= 4 /* isHost */;
1311
+ hostRef.$vnode$ = rootVnode;
1312
+ rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
1313
+ {
1314
+ scopeId = hostElm["s-sc"];
1315
+ }
1316
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
1317
+ patch(oldVNode, rootVnode, isInitialLoad);
1318
+ };
1319
+
1320
+ // src/runtime/update-component.ts
1321
+ var attachToAncestor = (hostRef, ancestorComponent) => {
1322
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
1323
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
1324
+ }
1325
+ };
1326
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
1327
+ {
1328
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1329
+ }
1330
+ if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1331
+ hostRef.$flags$ |= 512 /* needsRerender */;
1332
+ return;
1333
+ }
1334
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1335
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1336
+ return writeTask(dispatch) ;
1337
+ };
1338
+ var dispatchHooks = (hostRef, isInitialLoad) => {
1339
+ const elm = hostRef.$hostElement$;
1340
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
1341
+ const instance = hostRef.$lazyInstance$ ;
1342
+ if (!instance) {
1343
+ throw new Error(
1344
+ `Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
1345
+ );
1346
+ }
1347
+ let maybePromise;
1348
+ if (isInitialLoad) {
1349
+ {
1350
+ hostRef.$flags$ |= 256 /* isListenReady */;
1351
+ if (hostRef.$queuedListeners$) {
1352
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1353
+ hostRef.$queuedListeners$ = void 0;
1354
+ }
1355
+ }
1356
+ {
1357
+ maybePromise = safeCall(instance, "componentWillLoad");
1358
+ }
1359
+ }
1360
+ endSchedule();
1361
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1362
+ };
1363
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
1364
+ console.error(err2);
1365
+ fn();
1366
+ }) : fn();
1367
+ var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
1368
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
1369
+ var _a;
1370
+ const elm = hostRef.$hostElement$;
1371
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
1372
+ const rc = elm["s-rc"];
1373
+ if (isInitialLoad) {
1374
+ attachStyles(hostRef);
1375
+ }
1376
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
1377
+ {
1378
+ callRender(hostRef, instance, elm, isInitialLoad);
1379
+ }
1380
+ if (rc) {
1381
+ rc.map((cb) => cb());
1382
+ elm["s-rc"] = void 0;
1383
+ }
1384
+ endRender();
1385
+ endUpdate();
1386
+ {
1387
+ const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
1388
+ const postUpdate = () => postUpdateComponent(hostRef);
1389
+ if (childrenPromises.length === 0) {
1390
+ postUpdate();
1391
+ } else {
1392
+ Promise.all(childrenPromises).then(postUpdate);
1393
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1394
+ childrenPromises.length = 0;
1395
+ }
1396
+ }
1397
+ };
1398
+ var callRender = (hostRef, instance, elm, isInitialLoad) => {
1399
+ try {
1400
+ instance = instance.render() ;
1401
+ {
1402
+ hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
1403
+ }
1404
+ {
1405
+ hostRef.$flags$ |= 2 /* hasRendered */;
1406
+ }
1407
+ {
1408
+ {
1409
+ {
1410
+ renderVdom(hostRef, instance, isInitialLoad);
1411
+ }
1412
+ }
1413
+ }
1414
+ } catch (e) {
1415
+ consoleError(e, hostRef.$hostElement$);
1416
+ }
1417
+ return null;
1418
+ };
1419
+ var postUpdateComponent = (hostRef) => {
1420
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1421
+ const elm = hostRef.$hostElement$;
1422
+ const endPostUpdate = createTime("postUpdate", tagName);
1423
+ const instance = hostRef.$lazyInstance$ ;
1424
+ const ancestorComponent = hostRef.$ancestorComponent$;
1425
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1426
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1427
+ {
1428
+ addHydratedFlag(elm);
1429
+ }
1430
+ {
1431
+ safeCall(instance, "componentDidLoad");
1432
+ }
1433
+ endPostUpdate();
1434
+ {
1435
+ hostRef.$onReadyResolve$(elm);
1436
+ if (!ancestorComponent) {
1437
+ appDidLoad();
1438
+ }
1439
+ }
1440
+ } else {
1441
+ {
1442
+ safeCall(instance, "componentDidUpdate");
1443
+ }
1444
+ endPostUpdate();
1445
+ }
1446
+ {
1447
+ hostRef.$onInstanceResolve$(elm);
1448
+ }
1449
+ {
1450
+ if (hostRef.$onRenderResolve$) {
1451
+ hostRef.$onRenderResolve$();
1452
+ hostRef.$onRenderResolve$ = void 0;
1453
+ }
1454
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
1455
+ nextTick(() => scheduleUpdate(hostRef, false));
1456
+ }
1457
+ hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
1458
+ }
1459
+ };
1460
+ var appDidLoad = (who) => {
1461
+ {
1462
+ addHydratedFlag(doc.documentElement);
1463
+ }
1464
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1465
+ };
1466
+ var safeCall = (instance, method, arg) => {
1467
+ if (instance && instance[method]) {
1468
+ try {
1469
+ return instance[method](arg);
1470
+ } catch (e) {
1471
+ consoleError(e);
1472
+ }
1473
+ }
1474
+ return void 0;
1475
+ };
1476
+ var addHydratedFlag = (elm) => {
1477
+ var _a;
1478
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
1479
+ };
1480
+
1481
+ // src/runtime/set-value.ts
1482
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1483
+ var setValue = (ref, propName, newVal, cmpMeta) => {
1484
+ const hostRef = getHostRef(ref);
1485
+ if (!hostRef) {
1486
+ throw new Error(
1487
+ `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
1488
+ );
1489
+ }
1490
+ const elm = hostRef.$hostElement$ ;
1491
+ const oldVal = hostRef.$instanceValues$.get(propName);
1492
+ const flags = hostRef.$flags$;
1493
+ const instance = hostRef.$lazyInstance$ ;
1494
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1495
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1496
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1497
+ if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
1498
+ hostRef.$instanceValues$.set(propName, newVal);
1499
+ if (instance) {
1500
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1501
+ const watchMethods = cmpMeta.$watchers$[propName];
1502
+ if (watchMethods) {
1503
+ watchMethods.map((watchMethodName) => {
1504
+ try {
1505
+ instance[watchMethodName](newVal, oldVal, propName);
1506
+ } catch (e) {
1507
+ consoleError(e, elm);
1508
+ }
1509
+ });
1510
+ }
1511
+ }
1512
+ if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1513
+ scheduleUpdate(hostRef, false);
1514
+ }
1515
+ }
1516
+ }
1517
+ };
1518
+
1519
+ // src/runtime/proxy-component.ts
1520
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
1521
+ var _a, _b;
1522
+ const prototype = Cstr.prototype;
1523
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
1524
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1525
+ cmpMeta.$watchers$ = Cstr.watchers;
1526
+ }
1527
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1528
+ members.map(([memberName, [memberFlags]]) => {
1529
+ if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1530
+ Object.defineProperty(prototype, memberName, {
1531
+ get() {
1532
+ return getValue(this, memberName);
1533
+ },
1534
+ set(newValue) {
1535
+ setValue(this, memberName, newValue, cmpMeta);
1536
+ },
1537
+ configurable: true,
1538
+ enumerable: true
1539
+ });
1540
+ } else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1541
+ Object.defineProperty(prototype, memberName, {
1542
+ value(...args) {
1543
+ var _a2;
1544
+ const ref = getHostRef(this);
1545
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
1546
+ var _a3;
1547
+ return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
1548
+ });
1549
+ }
1550
+ });
1551
+ }
1552
+ });
1553
+ if ((flags & 1 /* isElementConstructor */)) {
1554
+ const attrNameToPropName = /* @__PURE__ */ new Map();
1555
+ prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
1556
+ plt.jmp(() => {
1557
+ var _a2;
1558
+ const propName = attrNameToPropName.get(attrName);
1559
+ if (this.hasOwnProperty(propName)) {
1560
+ newValue = this[propName];
1561
+ delete this[propName];
1562
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1563
+ this[propName] == newValue) {
1564
+ return;
1565
+ } else if (propName == null) {
1566
+ const hostRef = getHostRef(this);
1567
+ const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1568
+ if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1569
+ const instance = hostRef.$lazyInstance$ ;
1570
+ const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1571
+ entry == null ? void 0 : entry.forEach((callbackName) => {
1572
+ if (instance[callbackName] != null) {
1573
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1574
+ }
1575
+ });
1576
+ }
1577
+ return;
1578
+ }
1579
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1580
+ });
1581
+ };
1582
+ Cstr.observedAttributes = Array.from(
1583
+ /* @__PURE__ */ new Set([
1584
+ ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
1585
+ ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1586
+ var _a2;
1587
+ const attrName = m[1] || propName;
1588
+ attrNameToPropName.set(attrName, propName);
1589
+ if (m[0] & 512 /* ReflectAttr */) {
1590
+ (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
1591
+ }
1592
+ return attrName;
1593
+ })
1594
+ ])
1595
+ );
1596
+ }
1597
+ }
1598
+ return Cstr;
1599
+ };
1600
+
1601
+ // src/runtime/initialize-component.ts
1602
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1603
+ let Cstr;
1604
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1605
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1606
+ const bundleId = cmpMeta.$lazyBundleId$;
1607
+ if (bundleId) {
1608
+ const CstrImport = loadModule(cmpMeta);
1609
+ if (CstrImport && "then" in CstrImport) {
1610
+ const endLoad = uniqueTime();
1611
+ Cstr = await CstrImport;
1612
+ endLoad();
1613
+ } else {
1614
+ Cstr = CstrImport;
1615
+ }
1616
+ if (!Cstr) {
1617
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1618
+ }
1619
+ if (!Cstr.isProxied) {
1620
+ {
1621
+ cmpMeta.$watchers$ = Cstr.watchers;
1622
+ }
1623
+ proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1624
+ Cstr.isProxied = true;
1625
+ }
1626
+ const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
1627
+ {
1628
+ hostRef.$flags$ |= 8 /* isConstructingInstance */;
1629
+ }
1630
+ try {
1631
+ new Cstr(hostRef);
1632
+ } catch (e) {
1633
+ consoleError(e);
1634
+ }
1635
+ {
1636
+ hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1637
+ }
1638
+ {
1639
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1640
+ }
1641
+ endNewInstance();
1642
+ fireConnectedCallback(hostRef.$lazyInstance$);
1643
+ } else {
1644
+ Cstr = elm.constructor;
1645
+ const cmpTag = elm.localName;
1646
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1647
+ }
1648
+ if (Cstr && Cstr.style) {
1649
+ let style;
1650
+ if (typeof Cstr.style === "string") {
1651
+ style = Cstr.style;
1652
+ }
1653
+ const scopeId2 = getScopeId(cmpMeta);
1654
+ if (!styles.has(scopeId2)) {
1655
+ const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
1656
+ registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1657
+ endRegisterStyles();
1658
+ }
1659
+ }
1660
+ }
1661
+ const ancestorComponent = hostRef.$ancestorComponent$;
1662
+ const schedule = () => scheduleUpdate(hostRef, true);
1663
+ if (ancestorComponent && ancestorComponent["s-rc"]) {
1664
+ ancestorComponent["s-rc"].push(schedule);
1665
+ } else {
1666
+ schedule();
1667
+ }
1668
+ };
1669
+ var fireConnectedCallback = (instance) => {
1670
+ {
1671
+ safeCall(instance, "connectedCallback");
1672
+ }
1673
+ };
1674
+
1675
+ // src/runtime/connected-callback.ts
1676
+ var connectedCallback = (elm) => {
1677
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1678
+ const hostRef = getHostRef(elm);
1679
+ const cmpMeta = hostRef.$cmpMeta$;
1680
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1681
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1682
+ hostRef.$flags$ |= 1 /* hasConnected */;
1683
+ let hostId;
1684
+ {
1685
+ hostId = elm.getAttribute(HYDRATE_ID);
1686
+ if (hostId) {
1687
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1688
+ const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
1689
+ elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
1690
+ }
1691
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
1692
+ }
1693
+ }
1694
+ {
1695
+ let ancestorComponent = elm;
1696
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1697
+ if (ancestorComponent.nodeType === 1 /* ElementNode */ && ancestorComponent.hasAttribute("s-id") && ancestorComponent["s-p"] || ancestorComponent["s-p"]) {
1698
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1699
+ break;
1700
+ }
1701
+ }
1702
+ }
1703
+ if (cmpMeta.$members$) {
1704
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1705
+ if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1706
+ const value = elm[memberName];
1707
+ delete elm[memberName];
1708
+ elm[memberName] = value;
1709
+ }
1710
+ });
1711
+ }
1712
+ {
1713
+ initializeComponent(elm, hostRef, cmpMeta);
1714
+ }
1715
+ } else {
1716
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1717
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1718
+ fireConnectedCallback(hostRef.$lazyInstance$);
1719
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1720
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1721
+ }
1722
+ }
1723
+ endConnected();
1724
+ }
1725
+ };
1726
+ var disconnectInstance = (instance) => {
1727
+ {
1728
+ safeCall(instance, "disconnectedCallback");
1729
+ }
1730
+ };
1731
+ var disconnectedCallback = async (elm) => {
1732
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1733
+ const hostRef = getHostRef(elm);
1734
+ {
1735
+ if (hostRef.$rmListeners$) {
1736
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1737
+ hostRef.$rmListeners$ = void 0;
1738
+ }
1739
+ }
1740
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1741
+ disconnectInstance(hostRef.$lazyInstance$);
1742
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1743
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1744
+ }
1745
+ }
1746
+ };
1747
+
1748
+ // src/runtime/bootstrap-lazy.ts
1749
+ var bootstrapLazy = (lazyBundles, options = {}) => {
1750
+ var _a;
1751
+ const endBootstrap = createTime();
1752
+ const cmpTags = [];
1753
+ const exclude = options.exclude || [];
1754
+ const customElements2 = win.customElements;
1755
+ const head = doc.head;
1756
+ const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
1757
+ const dataStyles = /* @__PURE__ */ doc.createElement("style");
1758
+ const deferredConnectedCallbacks = [];
1759
+ let appLoadFallback;
1760
+ let isBootstrapping = true;
1761
+ Object.assign(plt, options);
1762
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", doc.baseURI).href;
1763
+ {
1764
+ plt.$flags$ |= 2 /* appLoaded */;
1765
+ }
1766
+ let hasSlotRelocation = false;
1767
+ lazyBundles.map((lazyBundle) => {
1768
+ lazyBundle[1].map((compactMeta) => {
1769
+ var _a2;
1770
+ const cmpMeta = {
1771
+ $flags$: compactMeta[0],
1772
+ $tagName$: compactMeta[1],
1773
+ $members$: compactMeta[2],
1774
+ $listeners$: compactMeta[3]
1775
+ };
1776
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1777
+ hasSlotRelocation = true;
1778
+ }
1779
+ {
1780
+ cmpMeta.$members$ = compactMeta[2];
1781
+ }
1782
+ {
1783
+ cmpMeta.$listeners$ = compactMeta[3];
1784
+ }
1785
+ {
1786
+ cmpMeta.$attrsToReflect$ = [];
1787
+ }
1788
+ {
1789
+ cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
1790
+ }
1791
+ const tagName = cmpMeta.$tagName$;
1792
+ const HostElement = class extends HTMLElement {
1793
+ // StencilLazyHost
1794
+ constructor(self) {
1795
+ super(self);
1796
+ this.hasRegisteredEventListeners = false;
1797
+ self = this;
1798
+ registerHost(self, cmpMeta);
1799
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1800
+ {
1801
+ if (!self.shadowRoot) {
1802
+ {
1803
+ self.attachShadow({ mode: "open" });
1804
+ }
1805
+ } else {
1806
+ if (self.shadowRoot.mode !== "open") {
1807
+ throw new Error(
1808
+ `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
1809
+ );
1810
+ }
1811
+ }
1812
+ }
1813
+ }
1814
+ }
1815
+ connectedCallback() {
1816
+ const hostRef = getHostRef(this);
1817
+ if (!this.hasRegisteredEventListeners) {
1818
+ this.hasRegisteredEventListeners = true;
1819
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
1820
+ }
1821
+ if (appLoadFallback) {
1822
+ clearTimeout(appLoadFallback);
1823
+ appLoadFallback = null;
1824
+ }
1825
+ if (isBootstrapping) {
1826
+ deferredConnectedCallbacks.push(this);
1827
+ } else {
1828
+ plt.jmp(() => connectedCallback(this));
1829
+ }
1830
+ }
1831
+ disconnectedCallback() {
1832
+ plt.jmp(() => disconnectedCallback(this));
1833
+ }
1834
+ componentOnReady() {
1835
+ return getHostRef(this).$onReadyPromise$;
1836
+ }
1837
+ };
1838
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
1839
+ if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
1840
+ cmpTags.push(tagName);
1841
+ customElements2.define(
1842
+ tagName,
1843
+ proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
1844
+ );
1845
+ }
1846
+ });
1847
+ });
1848
+ if (cmpTags.length > 0) {
1849
+ if (hasSlotRelocation) {
1850
+ dataStyles.textContent += SLOT_FB_CSS;
1851
+ }
1852
+ {
1853
+ dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
1854
+ }
1855
+ if (dataStyles.innerHTML.length) {
1856
+ dataStyles.setAttribute("data-styles", "");
1857
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
1858
+ if (nonce != null) {
1859
+ dataStyles.setAttribute("nonce", nonce);
1860
+ }
1861
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1862
+ }
1863
+ }
1864
+ isBootstrapping = false;
1865
+ if (deferredConnectedCallbacks.length) {
1866
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
1867
+ } else {
1868
+ {
1869
+ plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
1870
+ }
1871
+ }
1872
+ endBootstrap();
1873
+ };
1874
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1875
+ if (listeners) {
1876
+ listeners.map(([flags, name, method]) => {
1877
+ const target = getHostListenerTarget(elm, flags) ;
1878
+ const handler = hostListenerProxy(hostRef, method);
1879
+ const opts = hostListenerOpts(flags);
1880
+ plt.ael(target, name, handler, opts);
1881
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
1882
+ });
1883
+ }
1884
+ };
1885
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1886
+ var _a;
1887
+ try {
1888
+ {
1889
+ if (hostRef.$flags$ & 256 /* isListenReady */) {
1890
+ (_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
1891
+ } else {
1892
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
1893
+ }
1894
+ }
1895
+ } catch (e) {
1896
+ consoleError(e);
1897
+ }
1898
+ };
1899
+ var getHostListenerTarget = (elm, flags) => {
1900
+ if (flags & 8 /* TargetWindow */) return win;
1901
+ if (flags & 16 /* TargetBody */) return doc.body;
1902
+ return elm;
1903
+ };
1904
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
1905
+ passive: (flags & 1 /* Passive */) !== 0,
1906
+ capture: (flags & 2 /* Capture */) !== 0
1907
+ } : (flags & 2 /* Capture */) !== 0;
1908
+
1909
+ // src/runtime/nonce.ts
1910
+ var setNonce = (nonce) => plt.$nonce$ = nonce;
1911
+
1912
+ export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };