@ebrains/vue 0.6.0-alpha.0 → 0.7.0-alpha.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 (241) hide show
  1. package/{color-primary-palette_6.entry-BJGrNiKE.mjs → color-primary-palette_6.entry-BDyyrFB5.mjs} +17 -17
  2. package/color-primary-palette_6.entry-BhxgE7ff.js +1 -0
  3. package/correct-use-of-colors.entry-DXASqwFp.js +1 -0
  4. package/correct-use-of-colors.entry-z7k3YWpg.mjs +59 -0
  5. package/eds-accordion_22.entry-LksMmZ4o.js +28813 -0
  6. package/eds-accordion_22.entry-Lqf1NKBk.mjs +30175 -0
  7. package/{eds-alert.entry-B9K7jZdM.mjs → eds-alert.entry-BqjTTCgj.mjs} +1 -1
  8. package/{eds-alert.entry-HNjGFpMQ.js → eds-alert.entry-DZcz_4Dj.js} +1 -1
  9. package/eds-app-root.entry-Cz-9z7Za.js +1 -0
  10. package/eds-app-root.entry-DobAtes_.mjs +25 -0
  11. package/eds-avatar_4.entry-BYrgwmj2.mjs +278 -0
  12. package/eds-avatar_4.entry-Bqr0d5Cj.js +149 -0
  13. package/{eds-breadcrumb.entry-nSQcSQxS.mjs → eds-breadcrumb.entry-N3NSBwJL.mjs} +13 -19
  14. package/eds-breadcrumb.entry-elqbS74P.js +1 -0
  15. package/eds-card-generic.entry-D5pTUUco.js +1 -0
  16. package/eds-card-generic.entry-zKJ2hHOe.mjs +56 -0
  17. package/{eds-card-project.entry-BMRVlg7J.mjs → eds-card-project.entry-DDo4ZJs8.mjs} +1 -1
  18. package/{eds-card-project.entry-BQKGTSJB.js → eds-card-project.entry-e4n5lQbW.js} +1 -1
  19. package/eds-card-section.entry-C8nt6j3h.mjs +30 -0
  20. package/eds-card-section.entry-CeznIbCo.js +1 -0
  21. package/{eds-card-tags.entry-DAkoUUin.js → eds-card-tags.entry-Bl3YXNtv.js} +1 -1
  22. package/{eds-card-tags.entry-BjvxuQg1.mjs → eds-card-tags.entry-Do9kx7rP.mjs} +1 -1
  23. package/{eds-card-tool.entry-BPrlMiqY.mjs → eds-card-tool.entry-BewNCjRU.mjs} +1 -1
  24. package/{eds-card-tool.entry-B0rDGNdA.js → eds-card-tool.entry-DnVIn9BX.js} +1 -1
  25. package/{eds-card-wrapper.entry-DyPmlYoI.js → eds-card-wrapper.entry-BzKcrwEf.js} +1 -1
  26. package/{eds-card-wrapper.entry-Ba4ljzon.mjs → eds-card-wrapper.entry-DMj1bZ4i.mjs} +1 -1
  27. package/{eds-code-block.entry-B3RL-q6l.js → eds-code-block.entry-DUeN87Fw.js} +1 -1
  28. package/{eds-code-block.entry-zX5MUsAS.mjs → eds-code-block.entry-fqrA-Frf.mjs} +1 -1
  29. package/{eds-components-section.entry-xnXY70G_.mjs → eds-components-section.entry-BgfCSxk1.mjs} +2 -2
  30. package/{eds-components-section.entry-BsmIIcun.js → eds-components-section.entry-CLJMns6h.js} +2 -2
  31. package/{eds-cookies-preference.entry-DAQEpE8v.mjs → eds-cookies-preference.entry-B1a8qild.mjs} +5 -5
  32. package/{eds-cookies-preference.entry-MAmSehJX.js → eds-cookies-preference.entry-BGx0tglE.js} +1 -1
  33. package/{eds-docs-palettes.entry-BiC_mzap.js → eds-docs-palettes.entry-C1EcBwSy.js} +1 -1
  34. package/{eds-docs-palettes.entry-CFIZWB7Y.mjs → eds-docs-palettes.entry-TXbXKJJN.mjs} +2 -2
  35. package/{eds-docs-tokens.entry-ClVBrRzm.mjs → eds-docs-tokens.entry-B1xc8BFa.mjs} +2 -2
  36. package/{eds-docs-tokens.entry-CCwf01ke.js → eds-docs-tokens.entry-BJVBVsOy.js} +1 -1
  37. package/eds-dropdown.entry-CMK8E_J2.mjs +83 -0
  38. package/eds-dropdown.entry-FqX7fOIb.js +1 -0
  39. package/eds-feedback.entry-B-Lue8P0.js +1 -0
  40. package/eds-feedback.entry-fz73-syB.mjs +53 -0
  41. package/{eds-form.entry-gO7sMMVG.js → eds-form.entry-0saB-Hm9.js} +2 -2
  42. package/{eds-form.entry-znKH1sqi.mjs → eds-form.entry-BB1gfXVy.mjs} +174 -159
  43. package/eds-frame.entry-BvJCKWMT.mjs +73 -0
  44. package/eds-frame.entry-dX3nZxD0.js +1 -0
  45. package/{eds-icon-arrow-diagonal.entry-C7CZIqBn.mjs → eds-icon-arrow-diagonal.entry-BD3xdvR4.mjs} +2 -2
  46. package/{eds-icon-arrow-diagonal.entry-BTLKc1cS.js → eds-icon-arrow-diagonal.entry-DkQFuVkT.js} +1 -1
  47. package/eds-icon-arrow-right.entry-BH0zDB1H.js +1 -0
  48. package/eds-icon-arrow-right.entry-Diax6KZB.mjs +13 -0
  49. package/{eds-icon-bluesky.entry-BfYrb4Uv.js → eds-icon-bluesky.entry-CDZCjWCh.js} +1 -1
  50. package/eds-icon-bluesky.entry-DwvxMR1q.mjs +13 -0
  51. package/{eds-icon-chevron-down.entry-OPmfChgp.js → eds-icon-chevron-down.entry-CGsA1rJ0.js} +1 -1
  52. package/eds-icon-chevron-down.entry-CiJcqZuh.mjs +13 -0
  53. package/{eds-icon-chevron-left.entry-CRr4AWkS.mjs → eds-icon-chevron-left.entry-Dt2WsKob.mjs} +2 -2
  54. package/{eds-icon-chevron-left.entry-_zMMz-c9.js → eds-icon-chevron-left.entry-nBBudzCb.js} +1 -1
  55. package/{eds-icon-chevron-right.entry-YLnmNxjo.mjs → eds-icon-chevron-right.entry-BG7_qznz.mjs} +2 -2
  56. package/{eds-icon-chevron-right.entry-0FshDV46.js → eds-icon-chevron-right.entry-CjhJFKog.js} +1 -1
  57. package/eds-icon-chevron-up.entry-DfsbHKk1.mjs +13 -0
  58. package/eds-icon-chevron-up.entry-Dy81hGw-.js +1 -0
  59. package/eds-icon-close.entry-CpGzc34L.mjs +13 -0
  60. package/{eds-icon-close.entry-BSSS65tZ.js → eds-icon-close.entry-DNhXNl8O.js} +1 -1
  61. package/eds-icon-copy.entry-CsD2FpUS.mjs +13 -0
  62. package/eds-icon-copy.entry-DD2HXgFK.js +1 -0
  63. package/eds-icon-eu.entry-BRuCbl7O.mjs +13 -0
  64. package/eds-icon-eu.entry-ChKv8iZB.js +1 -0
  65. package/{eds-icon-facebook.entry-CKmUhO4W.mjs → eds-icon-facebook.entry--ctHhWkj.mjs} +2 -2
  66. package/{eds-icon-facebook.entry-DsPVhA3Z.js → eds-icon-facebook.entry-Bjkse_bn.js} +1 -1
  67. package/{eds-icon-gitlab.entry-D6VEWpO6.mjs → eds-icon-gitlab.entry-BDqNL5zl.mjs} +2 -2
  68. package/{eds-icon-gitlab.entry-Dzq7ViR-.js → eds-icon-gitlab.entry-DUQcgTMM.js} +1 -1
  69. package/eds-icon-linkedin.entry-Cq13-Zdb.mjs +13 -0
  70. package/{eds-icon-linkedin.entry-7PCeoMEi.js → eds-icon-linkedin.entry-D-D3hmxE.js} +1 -1
  71. package/eds-icon-loader.entry-DgpUjCng.mjs +13 -0
  72. package/eds-icon-loader.entry-rKBBXz_C.js +1 -0
  73. package/{eds-icon-mastodon.entry-DsU7dMbW.js → eds-icon-mastodon.entry-CCn_r682.js} +1 -1
  74. package/eds-icon-mastodon.entry-OpdPcGQ7.mjs +13 -0
  75. package/eds-icon-menu.entry-B3mQ8ma1.mjs +13 -0
  76. package/{eds-icon-menu.entry-DRd13IcH.js → eds-icon-menu.entry-DUxzhro5.js} +1 -1
  77. package/{eds-icon-more.entry-BOWM2H9H.js → eds-icon-more.entry-CBDi0LJC.js} +1 -1
  78. package/{eds-icon-more.entry-CqvnBXDu.mjs → eds-icon-more.entry-CDDxBiBM.mjs} +2 -2
  79. package/eds-icon-search.entry-Bok3Oo0Q.js +1 -0
  80. package/eds-icon-search.entry-CvnFqzlk.mjs +13 -0
  81. package/eds-icon-star.entry-BRQ07hMQ.mjs +13 -0
  82. package/eds-icon-star.entry-CkeEbwgJ.js +1 -0
  83. package/{eds-icon-success.entry-CDwqLyts.js → eds-icon-success.entry-DA4C5Hwg.js} +1 -1
  84. package/eds-icon-success.entry-nWUVTFzX.mjs +13 -0
  85. package/eds-icon-thumbs-down.entry-BqEOrmiW.js +1 -0
  86. package/eds-icon-thumbs-down.entry-Dme-Ippn.mjs +13 -0
  87. package/eds-icon-thumbs-up.entry-Dkqv6r_x.js +1 -0
  88. package/eds-icon-thumbs-up.entry-Dp-eslmx.mjs +13 -0
  89. package/eds-icon-twitter.entry-BcZ2atce.js +1 -0
  90. package/eds-icon-twitter.entry-CqalD8Wf.mjs +13 -0
  91. package/eds-icon-user.entry-DU8EF-lQ.mjs +13 -0
  92. package/{eds-icon-user.entry-GYJBVLsU.js → eds-icon-user.entry-DpvoOnVA.js} +1 -1
  93. package/{eds-icon-youtube.entry-BluzizaX.js → eds-icon-youtube.entry-DbPAn4pN.js} +1 -1
  94. package/{eds-icon-youtube.entry-BqP_g-Pb.mjs → eds-icon-youtube.entry-vFg7QtYg.mjs} +2 -2
  95. package/eds-login_2.entry-6Hxmqih9.js +9 -0
  96. package/{keycloak-d502ec16-Ce0iGqyk.mjs → eds-login_2.entry-DD8g9nqu.mjs} +288 -210
  97. package/eds-logo-variations.entry-CDTTH-iG.mjs +22 -0
  98. package/{eds-logo-variations.entry-B7BEqih8.js → eds-logo-variations.entry-dLBnZPi7.js} +1 -1
  99. package/{eds-modal.entry-2mm8jzwO.mjs → eds-modal.entry-CV3bf08X.mjs} +16 -4
  100. package/{eds-modal.entry-N0Zu-2yI.js → eds-modal.entry-DJybVbNk.js} +1 -1
  101. package/{eds-progress-bar.entry-C-qHC2dN.js → eds-progress-bar.entry-23-I0rSz.js} +1 -1
  102. package/{eds-progress-bar.entry-BpqT4TGP.mjs → eds-progress-bar.entry-BP6AqtI7.mjs} +2 -2
  103. package/eds-rating.entry-CHo7h3Y4.mjs +61 -0
  104. package/eds-rating.entry-dDYfYR7o.js +1 -0
  105. package/{eds-section-core_2.entry-JyCa51Zs.js → eds-section-core_2.entry-BdnBCBit.js} +1 -1
  106. package/{eds-section-core_2.entry-BwoSUszo.mjs → eds-section-core_2.entry-DTItYLUC.mjs} +4 -4
  107. package/eds-spinner.entry-BwTZAz8I.mjs +36 -0
  108. package/eds-spinner.entry-CXLe8IAk.js +1 -0
  109. package/{eds-steps.entry-gPHX8t5y.mjs → eds-steps.entry-Nz_XqcUl.mjs} +10 -19
  110. package/eds-steps.entry-ceVyrSe-.js +1 -0
  111. package/{eds-svg-repository.entry-BhAWpTfJ.js → eds-svg-repository.entry-CKQ6S13R.js} +13 -13
  112. package/{eds-svg-repository.entry-DeKbE1sw.mjs → eds-svg-repository.entry-DoYT85te.mjs} +54 -48
  113. package/{eds-switch.entry-6C-fiD1f.js → eds-switch.entry-4a3DLV-c.js} +1 -1
  114. package/{eds-switch.entry-LXqTebs4.mjs → eds-switch.entry-DjT9dev_.mjs} +3 -3
  115. package/{eds-link.entry-D4lqKj64.mjs → eds-tabs.entry-BYxiMlkR.mjs} +590 -166
  116. package/{eds-link.entry-B_t5O_EC.js → eds-tabs.entry-DJKEg0Gs.js} +503 -16
  117. package/eds-timeline.entry-DKx-pd67.js +1 -0
  118. package/eds-timeline.entry-DOSKCjPH.mjs +45 -0
  119. package/eds-toast-manager.entry-BV-sP7cR.mjs +36 -0
  120. package/eds-toast-manager.entry-BopxpC3o.js +1 -0
  121. package/eds-toast.entry-DDBTRdmP.mjs +61 -0
  122. package/eds-toast.entry-DPibhM-Z.js +3 -0
  123. package/{eds-tooltip.entry-BSd2vlEo.mjs → eds-tooltip.entry-B53fpM9t.mjs} +7 -7
  124. package/{eds-tooltip.entry-D9pRQyxl.js → eds-tooltip.entry-Cf6bse_x.js} +1 -1
  125. package/eds-trl.entry-C0cSVG_Q.mjs +34 -0
  126. package/eds-trl.entry-fYVgYPts.js +1 -0
  127. package/eds-user.entry-hUkYJDp4.js +1 -0
  128. package/eds-user.entry-qM0swzIt.mjs +26 -0
  129. package/{eds-vertical-stepper.entry-CdmDXaW2.mjs → eds-vertical-stepper.entry-Bb6dUinj.mjs} +5 -5
  130. package/{eds-vertical-stepper.entry-DphlSSa0.js → eds-vertical-stepper.entry-CvadBA1x.js} +1 -1
  131. package/formUtils-ac68474d-BDuxB0K8.js +1 -0
  132. package/formUtils-ac68474d-D2e59S7S.mjs +122 -0
  133. package/generated/components.d.ts +4 -1
  134. package/incorrect-use-of-colors.entry-B6fKAvAx.mjs +42 -0
  135. package/incorrect-use-of-colors.entry-DZ_SBoa8.js +1 -0
  136. package/index-D4alMZtT.js +21 -0
  137. package/{index-Df31uHzU.mjs → index-E1PpO1J3.mjs} +453 -430
  138. package/index.js +1 -1
  139. package/index.mjs +32 -29
  140. package/{logo-space.entry-q9Uznxi3.js → logo-space.entry-BOh7Odfh.js} +1 -1
  141. package/{logo-space.entry-CChbx8AS.mjs → logo-space.entry-xGhYUj5r.mjs} +7 -7
  142. package/logo-variations-horizontal_2.entry-BWlXcmRe.js +7 -0
  143. package/logo-variations-horizontal_2.entry-CIUDEw3Y.mjs +29 -0
  144. package/logo-wrong-usage.entry-CtPXf-5h.js +1 -0
  145. package/logo-wrong-usage.entry-D4aBJ6Wk.mjs +14 -0
  146. package/package.json +1 -1
  147. package/sharedUtils-a550989c-Ci3Tx3jc.mjs +15 -0
  148. package/sharedUtils-a550989c-m4pF1Vqy.js +1 -0
  149. package/star-0da9b5e9-B3-jr0yE.js +3 -0
  150. package/star-0da9b5e9-DX8_iFmu.mjs +6 -0
  151. package/thumbs-down-a18fd049-CzuBAj99.mjs +6 -0
  152. package/thumbs-down-a18fd049-DTNIbYbm.js +3 -0
  153. package/thumbs-up-c19a71bc-CjLv5Wgw.mjs +7 -0
  154. package/thumbs-up-c19a71bc-w8Z8gegt.js +4 -0
  155. package/{token-list_3.entry-CJXI55T0.mjs → token-list_3.entry-DJ-cqa3_.mjs} +4 -4
  156. package/{token-list_3.entry-B4bQ3_yz.js → token-list_3.entry-DVoMZtdK.js} +1 -1
  157. package/{token-ratios.entry-LNQoHORe.mjs → token-ratios.entry-FKky7w4Z.mjs} +2 -2
  158. package/token-ratios.entry-JS-ffZPx.js +1 -0
  159. package/token-spacing.entry-Cf5LP8jh.mjs +12 -0
  160. package/token-spacing.entry-YJWgDaTr.js +1 -0
  161. package/{token-typography.entry-qTyV0EeH.mjs → token-typography.entry-CKyKPdVF.mjs} +2 -2
  162. package/{token-typography.entry-DddK_fiy.js → token-typography.entry-CuHfxHRU.js} +1 -1
  163. package/color-primary-palette_6.entry-CYSEDId9.js +0 -1
  164. package/correct-use-of-colors.entry-B36yaMb6.js +0 -1
  165. package/correct-use-of-colors.entry-C2K5ii07.mjs +0 -59
  166. package/eds-accordion_13.entry-BwXBZQ7p.mjs +0 -8044
  167. package/eds-accordion_13.entry-DuX3jvBd.js +0 -7375
  168. package/eds-block-break.entry-1HfuhJmn.mjs +0 -13
  169. package/eds-block-break.entry-DQDjLThR.js +0 -1
  170. package/eds-breadcrumb.entry-Oe7Iu_rp.js +0 -1
  171. package/eds-dropdown_2.entry-Dhtc1LQe.js +0 -1
  172. package/eds-dropdown_2.entry-Ds54Abix.mjs +0 -115
  173. package/eds-footer.entry-CKr0MOpU.mjs +0 -22
  174. package/eds-footer.entry-DuNEl6BR.js +0 -1
  175. package/eds-frame.entry-BE9_G-56.js +0 -1
  176. package/eds-frame.entry-COwMtc5z.mjs +0 -74
  177. package/eds-fullscreen-menu.entry-CRIb_lLm.js +0 -1
  178. package/eds-fullscreen-menu.entry-DdO0Nwbq.mjs +0 -74
  179. package/eds-header.entry-38uAVZoC.js +0 -2
  180. package/eds-header.entry-C0qfjzDY.mjs +0 -75
  181. package/eds-icon-arrow-right.entry-Bv_6skZy.js +0 -1
  182. package/eds-icon-arrow-right.entry-DNkmpAdY.mjs +0 -13
  183. package/eds-icon-bluesky.entry-B_WksyEk.mjs +0 -13
  184. package/eds-icon-chevron-down.entry-DGjMxTKO.mjs +0 -13
  185. package/eds-icon-chevron-up.entry-DGt49ffi.js +0 -1
  186. package/eds-icon-chevron-up.entry-NPODej6j.mjs +0 -13
  187. package/eds-icon-close.entry-BQULA4ki.mjs +0 -13
  188. package/eds-icon-copy.entry-Di_H0U8v.mjs +0 -13
  189. package/eds-icon-copy.entry-PvAtojYn.js +0 -1
  190. package/eds-icon-eu.entry-BTzpJByN.mjs +0 -13
  191. package/eds-icon-eu.entry-D77vjTJ9.js +0 -1
  192. package/eds-icon-linkedin.entry-BI2sjTDa.mjs +0 -13
  193. package/eds-icon-loader.entry-BoQTR6PV.mjs +0 -13
  194. package/eds-icon-loader.entry-Bp-ZxeW7.js +0 -1
  195. package/eds-icon-mastodon.entry-Cm8XCAqa.mjs +0 -13
  196. package/eds-icon-menu.entry-C7HmF2n5.mjs +0 -13
  197. package/eds-icon-search.entry-BrANR30M.mjs +0 -13
  198. package/eds-icon-search.entry-CubLvPO7.js +0 -1
  199. package/eds-icon-success.entry-CtMWWFTW.mjs +0 -13
  200. package/eds-icon-twitter.entry-BnhBJxrn.js +0 -1
  201. package/eds-icon-twitter.entry-DHTwTPKu.mjs +0 -13
  202. package/eds-icon-user.entry-LTXtb_m4.mjs +0 -13
  203. package/eds-input_7.entry-Bo9-yfaP.js +0 -7167
  204. package/eds-input_7.entry-CCX6iGUA.mjs +0 -7373
  205. package/eds-login.entry-CB_gy86p.mjs +0 -58
  206. package/eds-login.entry-CDj80EGl.js +0 -1
  207. package/eds-logo-variations.entry-AbwI_N4g.mjs +0 -22
  208. package/eds-logo.entry-C4YV268f.mjs +0 -61
  209. package/eds-logo.entry-D-2GjdZl.js +0 -1
  210. package/eds-navigator.entry-Bd0BYBJE.js +0 -1
  211. package/eds-navigator.entry-DJHFUppb.mjs +0 -33
  212. package/eds-pagination_2.entry-N7stHjY-.js +0 -1
  213. package/eds-pagination_2.entry-T_lnxySd.mjs +0 -249
  214. package/eds-rating.entry-C1djorgY.js +0 -1
  215. package/eds-rating.entry-DJbkld-l.mjs +0 -48
  216. package/eds-social-networks.entry-CWw8CODU.mjs +0 -50
  217. package/eds-social-networks.entry-CveQgGlC.js +0 -1
  218. package/eds-steps.entry-NC8mexCJ.js +0 -1
  219. package/eds-tab.entry-7_C7zAnd.mjs +0 -31
  220. package/eds-tab.entry-BI3X5Amp.js +0 -1
  221. package/eds-tabs-content.entry-BYK_ciTB.mjs +0 -106
  222. package/eds-tabs-content.entry-FqonRXn9.js +0 -1
  223. package/eds-tabs.entry-CCGBUoii.mjs +0 -112
  224. package/eds-tabs.entry-VauMxz1h.js +0 -1
  225. package/eds-timeline.entry-B-eABvy-.mjs +0 -51
  226. package/eds-timeline.entry-UjKckHoD.js +0 -1
  227. package/eds-trl.entry-C1CKXjzi.mjs +0 -34
  228. package/eds-trl.entry-DdPaX9aY.js +0 -1
  229. package/eds-user.entry-BX3nKCHB.mjs +0 -66
  230. package/eds-user.entry-CyEG-Wtm.js +0 -1
  231. package/incorrect-use-of-colors.entry-BhygRTdu.js +0 -1
  232. package/incorrect-use-of-colors.entry-QkMrxvFS.mjs +0 -42
  233. package/index-DvG3cC-8.js +0 -21
  234. package/keycloak-d502ec16-m7LwS-Gh.js +0 -9
  235. package/logo-variations-horizontal_2.entry-DA_yMnFa.mjs +0 -29
  236. package/logo-variations-horizontal_2.entry-G3ih093R.js +0 -7
  237. package/logo-wrong-usage.entry-BoBmwzLl.mjs +0 -14
  238. package/logo-wrong-usage.entry-l4pJC0KB.js +0 -1
  239. package/token-ratios.entry-hdef-MAq.js +0 -1
  240. package/token-spacing.entry-YXQwnYx0.mjs +0 -12
  241. package/token-spacing.entry-xhNHm9Tw.js +0 -1
@@ -1,13 +0,0 @@
1
- import { r as e, h as o } from "./index-Df31uHzU.mjs";
2
- const l = ".border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-softest{border-color:rgba(0, 0, 0, .05)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.w-full{width:100%}.border-t-2{border-top-width:2px}", s = l, t = class {
3
- constructor(r) {
4
- e(this, r), this.extraClass = "";
5
- }
6
- render() {
7
- return o("hr", { key: "8cb39dda5d7f909b459390fe7e3f86dfd147ba98", class: `border-softer my-20 inline-block w-full border-t-2 ${this.extraClass}` });
8
- }
9
- };
10
- t.style = s;
11
- export {
12
- t as eds_block_break
13
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),l=".border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-softest{border-color:rgba(0, 0, 0, .05)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.w-full{width:100%}.border-t-2{border-top-width:2px}",t=l,r=class{constructor(o){e.registerInstance(this,o),this.extraClass=""}render(){return e.h("hr",{key:"8cb39dda5d7f909b459390fe7e3f86dfd147ba98",class:`border-softer my-20 inline-block w-full border-t-2 ${this.extraClass}`})}};r.style=t;exports.eds_block_break=r;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-DvG3cC-8.js"),d="blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}",c=d,a=class{constructor(e){s.registerInstance(this,e),this.updateScreenSize=()=>{const t=window.innerWidth;t<769?(this.maxVisibleItems=3,this.isSmallScreen=!0):t<=1024?(this.maxVisibleItems=4,this.isSmallScreen=!0):(this.maxVisibleItems=6,this.isSmallScreen=!1)},this.items=[],this.intent="ghost",this.parsedItems=[],this.isSmallScreen=!1,this.maxVisibleItems=6}parseItems(e){if(typeof e=="string")try{const t=JSON.parse(e);this.parsedItems=Array.isArray(t)?t:[]}catch{this.parsedItems=[]}else Array.isArray(e)?this.parsedItems=e:this.parsedItems=[]}componentWillLoad(){this.parseItems(this.items),this.updateScreenSize(),window.addEventListener("resize",this.updateScreenSize)}disconnectedCallback(){window.removeEventListener("resize",this.updateScreenSize)}componentDidLoad(){var e;const t=(e=this.el.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("eds-link");t==null||t.forEach(r=>{this.emitContext(r)})}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}getTruncatedItems(){const e=this.parsedItems.length,t={label:"...",url:"",isHidden:!0};if(e>this.maxVisibleItems){const r=this.parsedItems[0],i=this.parsedItems.slice(-2);if(this.maxVisibleItems===3)return[r,t,...i];if(this.maxVisibleItems===4){const l=this.parsedItems[Math.floor(e/2)];return[r,l,t,...i]}}return this.parsedItems}getLabels(e,t){return!t&&e.label.length>15?{displayLabel:`${e.label.slice(0,15)}...`,fullLabel:e.label}:{displayLabel:e.label,fullLabel:e.label}}render(){const e=this.getTruncatedItems();return s.h("nav",{key:"d177957e1b3218c21991bbdc9636a8e32befe990","aria-label":"Breadcrumb"},s.h("ol",{key:"d10336ddee99b9fb84d17e53093c57c6a025982f",class:"flex items-center space-x-2"},e.map((t,r)=>{const i=r===e.length-1;return s.h("li",{class:"flex items-center"},t.isHidden?s.h("span",{class:"truncate px-2","aria-hidden":"true"},"..."):(()=>{const{displayLabel:l,fullLabel:n}=this.getLabels(t,i);return s.h("eds-link",Object.assign({label:l,url:t.url,intent:this.intent,current:i,"aria-label":n,size:"small","icon-small":"false"},i?{"aria-current":"page"}:{}))})(),!i&&!t.isHidden&&s.h("eds-icon-wrapper",{icon:"chevron-right",class:"w-20 h-20"}))})))}get el(){return s.getElement(this)}static get watchers(){return{items:["parseItems"]}}};a.style=c;exports.eds_breadcrumb=a;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-DvG3cC-8.js"),l=require("./analytics-44b1416b-ol77SdQE.js"),h=".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}",c=h,n=class{constructor(e){s.registerInstance(this,e),this.focusableItems=[],this.handleClick=()=>{var t;this.isOpen=!this.isOpen,this.isOpen?(this.focusIndex=0,this.focusItem()):this.closeDropdown(),l.sendAnalytics({category:"ui-component",parentContext:null,tag:this.host.tagName.toLowerCase(),name:((t=this.label)===null||t===void 0?void 0:t.toLowerCase())||"",action:this.isOpen?"expanded":"collapsed"})},this.icon="chevron-down",this.label=void 0,this.rounded=!1,this.ariaLabel="Open dropdown",this.asNav=!0,this.dropdownPos="left",this.dropdownOffset=!0,this.intent="tertiary",this.isOpen=!1,this.focusIndex=-1}handleWindowClick(e){this.host.contains(e.target)||this.closeDropdown()}handleKeyDown(e){if(this.isOpen)switch(e.key){case"Tab":this.closeDropdown();break;case"ArrowUp":e.preventDefault(),this.focusIndex=(this.focusIndex-1+this.focusableItems.length)%this.focusableItems.length,this.focusItem();break;case"ArrowDown":e.preventDefault(),this.focusIndex=(this.focusIndex+1)%this.focusableItems.length,this.focusItem();break}}closeDropdown(){this.isOpen=!1,this.focusIndex=-1}focusItem(){var e;(e=this.focusableItems[this.focusIndex])===null||e===void 0||e.focus()}componentDidLoad(){var e;this.focusableItems=Array.from(((e=this.dropdownContent)===null||e===void 0?void 0:e.querySelectorAll("a, button"))||[])}render(){return s.h("div",{key:"84f4cea78ea1c40c7897a356fe03ac83922fccb8",class:"z-focus relative",ref:e=>this.dropdownContent=e},s.h("eds-button",{key:"99dc51632dc82830054502a2d6d77d9fcefe9337",label:this.label,"aria-label":this.ariaLabel,icon:this.icon,intent:this.intent,onClick:this.handleClick,"aria-expanded":this.isOpen.toString(),"aria-haspopup":"menu"}),s.h("nav",{key:"a63613a7ecf709fd1d22d77da4b2d286905fef3e",role:"menu",class:{"shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8":!0,"left-4":this.dropdownPos==="left"&&this.dropdownOffset,"left-0":this.dropdownPos==="left"&&!this.dropdownOffset,"right-4":this.dropdownPos==="right"&&this.dropdownOffset,"right-0":this.dropdownPos==="right"&&!this.dropdownOffset,"rounded-lg":this.rounded},style:{display:this.isOpen?"block":"none"},"aria-label":"Dropdown","aria-hidden":!this.isOpen},s.h("slot",{key:"dda70b865ed03dc7ad36a32934587bbcb0a16c1b"})))}get host(){return s.getElement(this)}};n.style=c;const f=class{constructor(e){s.registerInstance(this,e),this.user=void 0,this.links=void 0,this.onLogout=void 0,this.parsedUser={},this.parsedLinks=[]}parseUserProp(e){this.parsedUser=typeof e=="string"?JSON.parse(e):e}parseLinksProp(e){this.parsedLinks=typeof e=="string"?JSON.parse(e):e}componentWillLoad(){this.parseUserProp(this.user),this.parseLinksProp(this.links)}get initials(){var e,t,i,o,a,r,d;return`${((t=(e=this.parsedUser)===null||e===void 0?void 0:e.firstname)===null||t===void 0?void 0:t.charAt(0))||""}${((o=(i=this.parsedUser)===null||i===void 0?void 0:i.lastname)===null||o===void 0?void 0:o.charAt(0))||""}`.toUpperCase()||((d=(r=(a=this.parsedUser)===null||a===void 0?void 0:a.fullname)===null||r===void 0?void 0:r.charAt(0))===null||d===void 0?void 0:d.toUpperCase())||""}get hasLogout(){return typeof this.onLogout=="function"}render(){var e,t,i,o,a;return s.h("div",{key:"866e4e08b5a5330d341845c7cd68f18845732bb6",class:"min-w-[280px] p-8"},s.h("div",{key:"c3c0c56a0ba0bb035efbc474dacc69454f2f9831",class:"flex gap-x-16 pb-16 border-b-2 border-softer"},s.h("eds-avatar",{key:"053e545eb7b8f66b9b9463f77ac89083b2bc87a4","first-name":(e=this.parsedUser)===null||e===void 0?void 0:e.firstname,"last-name":(t=this.parsedUser)===null||t===void 0?void 0:t.lastname,initials:this.initials,color:"grey",rounded:!0,"initials-strong":!0}),s.h("div",{key:"c2d3a51f5aa92dda20058b51aaab3405a85dfbc0",class:"max-w-full"},((i=this.parsedUser)===null||i===void 0?void 0:i.fullname)&&s.h("p",{key:"fcc11680037eb282316cfde3988beb7550a51059",class:"f-ui-01 text-default w-full text-ellipsis"},this.parsedUser.fullname),((o=this.parsedUser)===null||o===void 0?void 0:o.username)&&s.h("p",{key:"2f6aac63baecb3da750f3eb9a09f8793120d8977",class:"f-ui-03-light text-light mt-4"},this.parsedUser.username),((a=this.parsedUser)===null||a===void 0?void 0:a.email)&&s.h("p",{key:"04f3cf2dab10351bc52c94f53c6e9b75d3d34fe7",class:"f-ui-03-light text-light mt-4"},this.parsedUser.email))),s.h("div",{key:"b5bb3171c338891669251b8cde0cdbc810562065",class:"text-default mt-16 flex w-full flex-col gap-y-8"},s.h("div",{key:"7020f1d94ad9ed10d8b1e1fce88837c70ef310b8",class:"border-softer mb-10 border-b-2 pb-16"},s.h("eds-link",{key:"26946fa26bd53953e99f2f61b4d9f47e60f5dc6f",label:"My EBRAINS","aria-label":"My EBRAINS",url:"https://www.ebrains.eu/dashboard",intent:"primary","extra-class":"w-full",external:!0})),s.h("eds-link",{key:1,label:"Account Settings",url:"https://iam.ebrains.eu/auth/realms/hbp/account/",intent:"secondary",icon:"arrow-diagonal",external:!0,"extra-class":"w-full"}),this.hasLogout&&s.h("eds-link",{key:"e53f2b7588fea91fd16c0effe81609e1ded97304",label:"Sign out",intent:"tertiary","extra-class":"w-full justify-center",onClick:()=>this.onLogout&&this.onLogout()})))}static get watchers(){return{user:["parseUserProp"],links:["parseLinksProp"]}}};exports.eds_dropdown=n;exports.eds_user_modal=f;
@@ -1,115 +0,0 @@
1
- import { r as l, h as s, g as n } from "./index-Df31uHzU.mjs";
2
- import { s as c } from "./analytics-44b1416b-3vYuu4Xs.mjs";
3
- const f = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}", h = f, p = class {
4
- constructor(e) {
5
- l(this, e), this.focusableItems = [], this.handleClick = () => {
6
- var t;
7
- this.isOpen = !this.isOpen, this.isOpen ? (this.focusIndex = 0, this.focusItem()) : this.closeDropdown(), c({
8
- category: "ui-component",
9
- parentContext: null,
10
- tag: this.host.tagName.toLowerCase(),
11
- name: ((t = this.label) === null || t === void 0 ? void 0 : t.toLowerCase()) || "",
12
- action: this.isOpen ? "expanded" : "collapsed"
13
- });
14
- }, this.icon = "chevron-down", this.label = void 0, this.rounded = !1, this.ariaLabel = "Open dropdown", this.asNav = !0, this.dropdownPos = "left", this.dropdownOffset = !0, this.intent = "tertiary", this.isOpen = !1, this.focusIndex = -1;
15
- }
16
- /**
17
- * Closes the dropdown when a click occurs outside of it.
18
- * @param {Event} e - The click event.
19
- */
20
- handleWindowClick(e) {
21
- this.host.contains(e.target) || this.closeDropdown();
22
- }
23
- /**
24
- * Handles keyboard navigation and accessibility within the dropdown.
25
- * @param {KeyboardEvent} event - The keyboard event.
26
- */
27
- handleKeyDown(e) {
28
- if (this.isOpen)
29
- switch (e.key) {
30
- case "Tab":
31
- this.closeDropdown();
32
- break;
33
- case "ArrowUp":
34
- e.preventDefault(), this.focusIndex = (this.focusIndex - 1 + this.focusableItems.length) % this.focusableItems.length, this.focusItem();
35
- break;
36
- case "ArrowDown":
37
- e.preventDefault(), this.focusIndex = (this.focusIndex + 1) % this.focusableItems.length, this.focusItem();
38
- break;
39
- }
40
- }
41
- /**
42
- * Closes the dropdown and resets focus.
43
- */
44
- closeDropdown() {
45
- this.isOpen = !1, this.focusIndex = -1;
46
- }
47
- /**
48
- * Sets focus on the currently selected item in the dropdown.
49
- */
50
- focusItem() {
51
- var e;
52
- (e = this.focusableItems[this.focusIndex]) === null || e === void 0 || e.focus();
53
- }
54
- /**
55
- * Lifecycle method that runs after the component has been added to the DOM.
56
- * Initializes focusable items within the dropdown.
57
- */
58
- componentDidLoad() {
59
- var e;
60
- this.focusableItems = Array.from(((e = this.dropdownContent) === null || e === void 0 ? void 0 : e.querySelectorAll("a, button")) || []);
61
- }
62
- /**
63
- * Renders the dropdown component and displays its content when open.
64
- * @returns {JSX.Element} The rendered dropdown component.
65
- */
66
- render() {
67
- return s("div", { key: "84f4cea78ea1c40c7897a356fe03ac83922fccb8", class: "z-focus relative", ref: (e) => this.dropdownContent = e }, s("eds-button", { key: "99dc51632dc82830054502a2d6d77d9fcefe9337", label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), s("nav", { key: "a63613a7ecf709fd1d22d77da4b2d286905fef3e", role: "menu", class: {
68
- "shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8": !0,
69
- "left-4": this.dropdownPos === "left" && this.dropdownOffset,
70
- "left-0": this.dropdownPos === "left" && !this.dropdownOffset,
71
- "right-4": this.dropdownPos === "right" && this.dropdownOffset,
72
- "right-0": this.dropdownPos === "right" && !this.dropdownOffset,
73
- "rounded-lg": this.rounded
74
- }, style: { display: this.isOpen ? "block" : "none" }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, s("slot", { key: "dda70b865ed03dc7ad36a32934587bbcb0a16c1b" })));
75
- }
76
- get host() {
77
- return n(this);
78
- }
79
- };
80
- p.style = h;
81
- const g = class {
82
- constructor(e) {
83
- l(this, e), this.user = void 0, this.links = void 0, this.onLogout = void 0, this.parsedUser = {}, this.parsedLinks = [];
84
- }
85
- parseUserProp(e) {
86
- this.parsedUser = typeof e == "string" ? JSON.parse(e) : e;
87
- }
88
- parseLinksProp(e) {
89
- this.parsedLinks = typeof e == "string" ? JSON.parse(e) : e;
90
- }
91
- componentWillLoad() {
92
- this.parseUserProp(this.user), this.parseLinksProp(this.links);
93
- }
94
- get initials() {
95
- var e, t, i, o, a, r, d;
96
- return `${((t = (e = this.parsedUser) === null || e === void 0 ? void 0 : e.firstname) === null || t === void 0 ? void 0 : t.charAt(0)) || ""}${((o = (i = this.parsedUser) === null || i === void 0 ? void 0 : i.lastname) === null || o === void 0 ? void 0 : o.charAt(0)) || ""}`.toUpperCase() || ((d = (r = (a = this.parsedUser) === null || a === void 0 ? void 0 : a.fullname) === null || r === void 0 ? void 0 : r.charAt(0)) === null || d === void 0 ? void 0 : d.toUpperCase()) || "";
97
- }
98
- get hasLogout() {
99
- return typeof this.onLogout == "function";
100
- }
101
- render() {
102
- var e, t, i, o, a;
103
- return s("div", { key: "866e4e08b5a5330d341845c7cd68f18845732bb6", class: "min-w-[280px] p-8" }, s("div", { key: "c3c0c56a0ba0bb035efbc474dacc69454f2f9831", class: "flex gap-x-16 pb-16 border-b-2 border-softer" }, s("eds-avatar", { key: "053e545eb7b8f66b9b9463f77ac89083b2bc87a4", "first-name": (e = this.parsedUser) === null || e === void 0 ? void 0 : e.firstname, "last-name": (t = this.parsedUser) === null || t === void 0 ? void 0 : t.lastname, initials: this.initials, color: "grey", rounded: !0, "initials-strong": !0 }), s("div", { key: "c2d3a51f5aa92dda20058b51aaab3405a85dfbc0", class: "max-w-full" }, ((i = this.parsedUser) === null || i === void 0 ? void 0 : i.fullname) && s("p", { key: "fcc11680037eb282316cfde3988beb7550a51059", class: "f-ui-01 text-default w-full text-ellipsis" }, this.parsedUser.fullname), ((o = this.parsedUser) === null || o === void 0 ? void 0 : o.username) && s("p", { key: "2f6aac63baecb3da750f3eb9a09f8793120d8977", class: "f-ui-03-light text-light mt-4" }, this.parsedUser.username), ((a = this.parsedUser) === null || a === void 0 ? void 0 : a.email) && s("p", { key: "04f3cf2dab10351bc52c94f53c6e9b75d3d34fe7", class: "f-ui-03-light text-light mt-4" }, this.parsedUser.email))), s("div", { key: "b5bb3171c338891669251b8cde0cdbc810562065", class: "text-default mt-16 flex w-full flex-col gap-y-8" }, s("div", { key: "7020f1d94ad9ed10d8b1e1fce88837c70ef310b8", class: "border-softer mb-10 border-b-2 pb-16" }, s("eds-link", { key: "26946fa26bd53953e99f2f61b4d9f47e60f5dc6f", label: "My EBRAINS", "aria-label": "My EBRAINS", url: "https://www.ebrains.eu/dashboard", intent: "primary", "extra-class": "w-full", external: !0 })), s("eds-link", { key: 1, label: "Account Settings", url: "https://iam.ebrains.eu/auth/realms/hbp/account/", intent: "secondary", icon: "arrow-diagonal", external: !0, "extra-class": "w-full" }), this.hasLogout && s("eds-link", { key: "e53f2b7588fea91fd16c0effe81609e1ded97304", label: "Sign out", intent: "tertiary", "extra-class": "w-full justify-center", onClick: () => this.onLogout && this.onLogout() })));
104
- }
105
- static get watchers() {
106
- return {
107
- user: ["parseUserProp"],
108
- links: ["parseLinksProp"]
109
- };
110
- }
111
- };
112
- export {
113
- p as eds_dropdown,
114
- g as eds_user_modal
115
- };
@@ -1,22 +0,0 @@
1
- import { r as s, h as e } from "./index-Df31uHzU.mjs";
2
- const o = "", r = o, t = class {
3
- constructor(a) {
4
- s(this, a), this.backToTop = () => {
5
- window.scrollTo({ top: 0, behavior: "smooth" });
6
- }, this.extraClass = "", this.social = !1, this.enableScrollTop = !1, this.fundedBy = "EBRAINS is funded by the Horizon Europe Framework Programme.", this.rightsReserved = `${(/* @__PURE__ */ new Date()).getFullYear()} EBRAINS. All rights reserved.`, this.showMatomoNotice = !1;
7
- }
8
- /**
9
- * Renders the footer component with optional sections and elements,
10
- * including social network links, a Horizon Europe funding acknowledgment, and
11
- * legal links such as "Cookies Preferences" and copyright information.
12
- *
13
- * @returns {JSX.Element} The rendered JSX for the footer component.
14
- */
15
- render() {
16
- return e("footer", { key: "9a7256325386a5072e9f1e391d838bb38458d99f", class: `${this.extraClass} pb-banner` }, this.social ? e("div", { class: "border-softest border-t-2 pt-20 pb-28 md:pt-28" }, e("div", { class: "container pb-20 xl:pb-40 " }, e("div", { class: "grid-layout" }, e("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, e("eds-social-networks", { class: "mt-28" })), e("nav", { "aria-label": "Secondary nav", class: "grid-col-span-12 lg:grid-col-span-6 lg:grid-col-start-7 grid-layout mt-28 gap-y-12 lg:mt-0" })))) : null, e("div", { key: "747d4708e90c13fe9e5aa234eaba182df100fca9", class: `border-softest ${this.social ? "border-t-2" : ""} pt-20 pb-28 md:pt-28` }, e("div", { key: "3fecf340c536bb64aa98fd04c26c5b47d146630b", class: "container flex flex-wrap items-center gap-20 lg:flex-nowrap" }, e("div", { key: "6b7f167ac50c6aef9c76e56634a7228585c211db", class: "flex items-center gap-x-12" }, e("a", { key: "8e496d31c4b883a867b5f2c6a5fab8a60899470a", target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-2020_en", "aria-label": "Learn about Horizon 2020 funding" }, e("eds-img", { key: "b3cdfc2cc428951d58fe5ae4f1fe1992fbded7f7", width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), e("div", { key: "8c3a9f55f07b44ad633b11a1d4faa8396a5ae30a", class: "order-last w-full lg:order-none lg:w-auto" }, e("div", { key: "c268c107f6be692756d15a8f096e1a86df7bb62a", class: "f-ui-04 text-light" }, e("p", { key: "528014cafcd1b498efa01482934b54c44dd03bd6" }, this.fundedBy), e("div", { key: "ee5baffcf8f801b7480c8158b30777329699f57f", class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, e("span", { key: "79e600b799480904f47261be78262f344ada967b", class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "© ", this.rightsReserved)))), e("div", { key: "6bde5399c1044e0d85b71c9fab7e3e4c8b93e224", class: "ml-auto pl-12" }, this.enableScrollTop ? e("eds-button", { "aria-label": "Back to top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop }) : null))));
17
- }
18
- };
19
- t.style = r;
20
- export {
21
- t as eds_footer
22
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),o="",t=o,a=class{constructor(s){e.registerInstance(this,s),this.backToTop=()=>{window.scrollTo({top:0,behavior:"smooth"})},this.extraClass="",this.social=!1,this.enableScrollTop=!1,this.fundedBy="EBRAINS is funded by the Horizon Europe Framework Programme.",this.rightsReserved=`${new Date().getFullYear()} EBRAINS. All rights reserved.`,this.showMatomoNotice=!1}render(){return e.h("footer",{key:"9a7256325386a5072e9f1e391d838bb38458d99f",class:`${this.extraClass} pb-banner`},this.social?e.h("div",{class:"border-softest border-t-2 pt-20 pb-28 md:pt-28"},e.h("div",{class:"container pb-20 xl:pb-40 "},e.h("div",{class:"grid-layout"},e.h("div",{class:"grid-col-span-12 lg:grid-col-span-5"},e.h("eds-social-networks",{class:"mt-28"})),e.h("nav",{"aria-label":"Secondary nav",class:"grid-col-span-12 lg:grid-col-span-6 lg:grid-col-start-7 grid-layout mt-28 gap-y-12 lg:mt-0"})))):null,e.h("div",{key:"747d4708e90c13fe9e5aa234eaba182df100fca9",class:`border-softest ${this.social?"border-t-2":""} pt-20 pb-28 md:pt-28`},e.h("div",{key:"3fecf340c536bb64aa98fd04c26c5b47d146630b",class:"container flex flex-wrap items-center gap-20 lg:flex-nowrap"},e.h("div",{key:"6b7f167ac50c6aef9c76e56634a7228585c211db",class:"flex items-center gap-x-12"},e.h("a",{key:"8e496d31c4b883a867b5f2c6a5fab8a60899470a",target:"_blank",rel:"noopener noreferrer",class:"effect-focus focus-visible:rounded-xs flex w-[54px] ml-0",href:"https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-2020_en","aria-label":"Learn about Horizon 2020 funding"},e.h("eds-img",{key:"b3cdfc2cc428951d58fe5ae4f1fe1992fbded7f7",width:54,height:41,src:"https://www.ebrains.eu/flags/4x3/eu.svg",alt:"European Union Flag"}))),e.h("div",{key:"8c3a9f55f07b44ad633b11a1d4faa8396a5ae30a",class:"order-last w-full lg:order-none lg:w-auto"},e.h("div",{key:"c268c107f6be692756d15a8f096e1a86df7bb62a",class:"f-ui-04 text-light"},e.h("p",{key:"528014cafcd1b498efa01482934b54c44dd03bd6"},this.fundedBy),e.h("div",{key:"ee5baffcf8f801b7480c8158b30777329699f57f",class:"mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block"},e.h("span",{key:"79e600b799480904f47261be78262f344ada967b",class:"effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline"},"© ",this.rightsReserved)))),e.h("div",{key:"6bde5399c1044e0d85b71c9fab7e3e4c8b93e224",class:"ml-auto pl-12"},this.enableScrollTop?e.h("eds-button",{"aria-label":"Back to top",intent:"ghostInverse",icon:"chevron-up",onClick:this.backToTop}):null))))}};a.style=t;exports.eds_footer=a;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),s=class{constructor(t){e.registerInstance(this,t),this.frameLabel=void 0,this.urlLabel="Open in Storybook",this.errorMessage="Could not load the requested Storybook content. Please check the URL or try again later.",this.storybookUrl=void 0,this.storyPath=void 0,this.intent="strong",this.tiny=!1,this.size="auto",this.bg=!0,this.iframeError=!1}articleClasses(){return[this.tiny?"min-h-120":"min-h-156",this.bg?"bg-inverse":"bg-default","rounded border-softer effect-focus-within relative flex grow flex-col border-2","w-full h-full"].join(" ")}getFrameHeight(){switch(this.size){case"sm":return"100px";case"md":return"200px";case"lg":return"400px";case"xl":return"700px";default:return"auto"}}async checkIframeAvailability(){try{if(!(await fetch(this.frameSrc,{method:"GET"})).ok)throw new Error("Failed to load")}catch{this.iframeError=!0}}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach(r=>{this.emitContext(r)})}emitContext(t){const r=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});t.dispatchEvent(r)}get storyLink(){return`${this.storybookUrl}/?path=/story/${this.storyPath}`}get frameSrc(){return`${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`}render(){return e.h("div",{key:"20786dd40414d29f98d496e29720bd78b9d7cf8e",class:this.articleClasses()},e.h("div",{key:"208612330c9d2872c68aeb310e164c8a915a51ef",class:"effect-height flex items-center justify-between py-8 px-12"},e.h("span",{key:"ada2a40384ffaffadc8887580aa6184422008a68",class:"f-ui-02"},this.frameLabel),this.iframeError?null:e.h("eds-link",{label:this.urlLabel,url:this.storyLink,intent:this.intent,class:"ml-auto",external:!0,disabled:!1,icon:"arrow-diagonal"})),e.h("div",{key:"26a5ae1c81b60b05b6f4859ffa4dbd13bb2557f3",class:"border-softer border-t-2"},this.iframeError?e.h("div",{class:"container ml-8 mr-8 mt-16"},this.errorMessage):e.h("iframe",{src:this.frameSrc,width:"100%",height:this.getFrameHeight(),title:this.frameLabel,frameBorder:"0",allowFullScreen:!0})))}get el(){return e.getElement(this)}};exports.eds_frame=s;
@@ -1,74 +0,0 @@
1
- import { r as s, h as e, g as i } from "./index-Df31uHzU.mjs";
2
- const o = class {
3
- constructor(t) {
4
- s(this, t), this.frameLabel = void 0, this.urlLabel = "Open in Storybook", this.errorMessage = "Could not load the requested Storybook content. Please check the URL or try again later.", this.storybookUrl = void 0, this.storyPath = void 0, this.intent = "strong", this.tiny = !1, this.size = "auto", this.bg = !0, this.iframeError = !1;
5
- }
6
- articleClasses() {
7
- return [
8
- this.tiny ? "min-h-120" : "min-h-156",
9
- this.bg ? "bg-inverse" : "bg-default",
10
- "rounded border-softer effect-focus-within relative flex grow flex-col border-2",
11
- "w-full h-full"
12
- ].join(" ");
13
- }
14
- getFrameHeight() {
15
- switch (this.size) {
16
- case "sm":
17
- return "100px";
18
- case "md":
19
- return "200px";
20
- case "lg":
21
- return "400px";
22
- case "xl":
23
- return "700px";
24
- default:
25
- return "auto";
26
- }
27
- }
28
- async checkIframeAvailability() {
29
- try {
30
- if (!(await fetch(this.frameSrc, { method: "GET" })).ok)
31
- throw new Error("Failed to load");
32
- } catch {
33
- this.iframeError = !0;
34
- }
35
- }
36
- componentWillLoad() {
37
- this.checkIframeAvailability();
38
- }
39
- componentDidLoad() {
40
- this.el.querySelectorAll("eds-link").forEach((r) => {
41
- this.emitContext(r);
42
- });
43
- }
44
- /**
45
- * Emits a custom event called `parentContext` for a given link element.
46
- * This event provides context information about the breadcrumb component.
47
- *
48
- * @param linkElement - The link element to which the event will be dispatched.
49
- */
50
- emitContext(t) {
51
- const r = new CustomEvent("parentContext", {
52
- detail: {
53
- componentName: this.el.tagName.toLowerCase(),
54
- identifier: this.frameLabel
55
- }
56
- });
57
- t.dispatchEvent(r);
58
- }
59
- get storyLink() {
60
- return `${this.storybookUrl}/?path=/story/${this.storyPath}`;
61
- }
62
- get frameSrc() {
63
- return `${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`;
64
- }
65
- render() {
66
- return e("div", { key: "20786dd40414d29f98d496e29720bd78b9d7cf8e", class: this.articleClasses() }, e("div", { key: "208612330c9d2872c68aeb310e164c8a915a51ef", class: "effect-height flex items-center justify-between py-8 px-12" }, e("span", { key: "ada2a40384ffaffadc8887580aa6184422008a68", class: "f-ui-02" }, this.frameLabel), this.iframeError ? null : e("eds-link", { label: this.urlLabel, url: this.storyLink, intent: this.intent, class: "ml-auto", external: !0, disabled: !1, icon: "arrow-diagonal" })), e("div", { key: "26a5ae1c81b60b05b6f4859ffa4dbd13bb2557f3", class: "border-softer border-t-2" }, this.iframeError ? e("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage) : e("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: !0 })));
67
- }
68
- get el() {
69
- return i(this);
70
- }
71
- };
72
- export {
73
- o as eds_frame
74
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),i="",r=i,t=class{constructor(s){e.registerInstance(this,s),this.menuClose=e.createEvent(this,"menuClose",7),this.links=void 0,this.menuLinks=void 0,this.homeUrl="/",this.inverseHeader=!1,this.isMenuOpen=!1}handleToggleMenu(s){this.isMenuOpen=s.detail}openMenu(){this.isMenuOpen=!0}closeMenu(){this.isMenuOpen=!1,this.menuClose.emit()}componentDidLoad(){window.addEventListener("resize",this.handleResize.bind(this))}disconnectedCallback(){window.removeEventListener("resize",this.handleResize.bind(this))}handleResize(){window.innerWidth>=1024&&(this.isMenuOpen=!1)}get parsedLinks(){if(typeof this.links=="object")return this.links;if(typeof this.links=="string")try{return JSON.parse(this.links)}catch(s){return console.error("Error parsing links prop:",s),[]}return[]}get parsedMenuLinks(){if(typeof this.menuLinks=="object")return this.menuLinks;if(typeof this.menuLinks=="string")try{return JSON.parse(this.menuLinks)}catch(s){return console.error("Error parsing menuLinks prop:",s),[]}return[]}render(){return this.isMenuOpen?e.h("div",{class:"eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll"},e.h("div",{class:"flex min-h-full flex-col"},e.h("div",{class:`bg-default w-full sticky top-0 ${this.inverseHeader?"bg-strongest":"bg-default"}`},e.h("div",{class:"mx-auto flex items-center justify-between"},e.h("div",{class:"mr-auto w-[200px] h-[85px]"},e.h("eds-logo",{type:this.inverseHeader?"color-white":"color",href:this.homeUrl})),e.h("div",{class:"px-16"},e.h("eds-button",{"aria-label":"Close menu",intent:"ghostInverse",icon:"close",onClick:()=>this.closeMenu()})))),e.h("div",{class:"py-16 px-16"},e.h("nav",{class:"mt-28 flex flex-col gap-y-8"},this.parsedLinks.map((s,n)=>e.h("eds-link",{label:s.label,key:n,url:s.url,intent:"tertiary",size:"large",class:"effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit",onClick:()=>this.closeMenu(),icon:"arrow-right"}))),e.h("eds-block-break",null),e.h("nav",{class:"mt-28 flex flex-col gap-y-8"},this.parsedMenuLinks.map((s,n)=>e.h("eds-link",{label:s.label,key:n,url:s.url,intent:"tertiary",size:"large",class:"effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit",onClick:()=>this.closeMenu(),icon:"chevron-right"})))),e.h("div",{class:"mt-auto"},e.h("eds-footer",{social:!0,"extra-class":"bg-darker"})))):null}};t.style=r;exports.eds_fullscreen_menu=t;
@@ -1,74 +0,0 @@
1
- import { r as t, c as i, h as e } from "./index-Df31uHzU.mjs";
2
- const r = "", l = r, o = class {
3
- constructor(s) {
4
- t(this, s), this.menuClose = i(this, "menuClose", 7), this.links = void 0, this.menuLinks = void 0, this.homeUrl = "/", this.inverseHeader = !1, this.isMenuOpen = !1;
5
- }
6
- /**
7
- * Listens for the toggleMenu event to open or close the menu.
8
- * This event is emitted by the eds-header component.
9
- */
10
- handleToggleMenu(s) {
11
- this.isMenuOpen = s.detail;
12
- }
13
- /** Opens the menu */
14
- openMenu() {
15
- this.isMenuOpen = !0;
16
- }
17
- /** Closes the menu */
18
- closeMenu() {
19
- this.isMenuOpen = !1, this.menuClose.emit();
20
- }
21
- // Lifecycle method to add the resize event listener when component loads
22
- componentDidLoad() {
23
- window.addEventListener("resize", this.handleResize.bind(this));
24
- }
25
- // Lifecycle method to remove the resize event listener when component unloads
26
- disconnectedCallback() {
27
- window.removeEventListener("resize", this.handleResize.bind(this));
28
- }
29
- // Function to close the menu if screen width is larger than a defined breakpoint (1024px)
30
- handleResize() {
31
- window.innerWidth >= 1024 && (this.isMenuOpen = !1);
32
- }
33
- /**
34
- * Parses the `links` prop into an array of link objects.
35
- * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
36
- *
37
- * @returns {any[]} Array of parsed link objects
38
- */
39
- get parsedLinks() {
40
- if (typeof this.links == "object")
41
- return this.links;
42
- if (typeof this.links == "string")
43
- try {
44
- return JSON.parse(this.links);
45
- } catch (s) {
46
- return console.error("Error parsing links prop:", s), [];
47
- }
48
- return [];
49
- }
50
- /**
51
- * Parses the `menuLinks` prop into an array of link objects.
52
- * Returns an empty array if parsing fails or if `menuLinks` is not a valid JSON string or object.
53
- *
54
- * @returns {any[]} Array of parsed menu link objects
55
- */
56
- get parsedMenuLinks() {
57
- if (typeof this.menuLinks == "object")
58
- return this.menuLinks;
59
- if (typeof this.menuLinks == "string")
60
- try {
61
- return JSON.parse(this.menuLinks);
62
- } catch (s) {
63
- return console.error("Error parsing menuLinks prop:", s), [];
64
- }
65
- return [];
66
- }
67
- render() {
68
- return this.isMenuOpen ? e("div", { class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, e("div", { class: "flex min-h-full flex-col" }, e("div", { class: `bg-default w-full sticky top-0 ${this.inverseHeader ? "bg-strongest" : "bg-default"}` }, e("div", { class: "mx-auto flex items-center justify-between" }, e("div", { class: "mr-auto w-[200px] h-[85px]" }, e("eds-logo", { type: this.inverseHeader ? "color-white" : "color", href: this.homeUrl })), e("div", { class: "px-16" }, e("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), e("div", { class: "py-16 px-16" }, e("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((s, n) => e("eds-link", { label: s.label, key: n, url: s.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "arrow-right" }))), e("eds-block-break", null), e("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((s, n) => e("eds-link", { label: s.label, key: n, url: s.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "chevron-right" })))), e("div", { class: "mt-auto" }, e("eds-footer", { social: !0, "extra-class": "bg-darker" })))) : null;
69
- }
70
- };
71
- o.style = l;
72
- export {
73
- o as eds_fullscreen_menu
74
- };
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-DvG3cC-8.js"),r="",a=r,n=class{constructor(e){t.registerInstance(this,e),this.toggleMenu=t.createEvent(this,"toggleMenu",7),this.homeUrl="/",this.links=void 0,this.inverseHeader=!1,this.menuEnabled=!1,this.isMenuOpen=!1,this.isUserMenuOpen=!1,this.isAuthenticated=!1}onAuthStatusChanged(e){var s;this.isAuthenticated=(s=e.detail)===null||s===void 0?void 0:s.authenticated}componentDidLoad(){this.hostEl.querySelectorAll("eds-link").forEach(s=>{this.emitContext(s)})}emitContext(e){const s=new CustomEvent("parentContext",{detail:{componentName:this.hostEl.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(s)}handleToggleMenu(){this.toggleMenu.emit(!this.isMenuOpen)}toggleUserMenu(){this.isUserMenuOpen=!this.isUserMenuOpen}get parsedLinks(){if(Array.isArray(this.links))return this.links;if(typeof this.links=="object")return this.links;if(typeof this.links=="string")try{return JSON.parse(this.links)}catch(e){return console.error("Error parsing links prop:",e),[]}return[]}render(){return t.h("header",{key:"8447435914bd3cdf61ce03f2a6bc646fd6b39b01",class:`flex items-center justify-between relative z-10
2
- ${this.inverseHeader?"text-inverse bg-strongest":"text-default bg-dark"}`},t.h("div",{key:"2a7a525d9ec5f86437212ab5b6c60c901e1f69a8",class:"mr-auto w-[200px] h-[85px]"},t.h("eds-logo",{key:"29381ef7d9f600690a373a09be30b2dea6d5b936",type:this.inverseHeader?"color-white":"color",href:this.homeUrl})),this.parsedLinks&&t.h("nav",{key:"8085c6dfa6dadce3d7eefb45505e9c9404fd422d",class:"absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex"},t.h("ul",{key:"cb8442be1efc058dc46c283c85e50c58dd627f3e",class:"flex gap-x-2"},this.parsedLinks.map(e=>t.h("eds-link",{label:e.label,"aria-label":e.label,url:e.url,intent:"ghost",size:"small",icon:e.icon,external:e.external,"extra-class":"after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100"})))),t.h("slot",{key:"5d39561f4f43641640cc3f5d01edd35ebde794e3"}),this.menuEnabled?t.h("div",{class:"md:hidden flex overflow-hidden px-16"},t.h("eds-button",{"aria-label":"Menu",intent:"ghostInverse",icon:"menu",size:"small",onClick:()=>this.handleToggleMenu()})):null)}get hostEl(){return t.getElement(this)}};n.style=a;exports.eds_header=n;
@@ -1,75 +0,0 @@
1
- import { r as n, c as r, h as t, g as a } from "./index-Df31uHzU.mjs";
2
- const i = "", l = i, d = class {
3
- constructor(e) {
4
- n(this, e), this.toggleMenu = r(this, "toggleMenu", 7), this.homeUrl = "/", this.links = void 0, this.inverseHeader = !1, this.menuEnabled = !1, this.isMenuOpen = !1, this.isUserMenuOpen = !1, this.isAuthenticated = !1;
5
- }
6
- onAuthStatusChanged(e) {
7
- var s;
8
- this.isAuthenticated = (s = e.detail) === null || s === void 0 ? void 0 : s.authenticated;
9
- }
10
- /**
11
- * Lifecycle method that runs when the component has fully loaded.
12
- * It emits a custom event for each `eds-link` element contained within the breadcrumb.
13
- */
14
- componentDidLoad() {
15
- this.hostEl.querySelectorAll("eds-link").forEach((s) => {
16
- this.emitContext(s);
17
- });
18
- }
19
- /**
20
- * Emits a custom event called `parentContext` for a given link element.
21
- * This event provides context information about the breadcrumb component.
22
- *
23
- * @param linkElement - The link element to which the event will be dispatched.
24
- */
25
- emitContext(e) {
26
- const s = new CustomEvent("parentContext", {
27
- detail: {
28
- componentName: this.hostEl.tagName.toLowerCase(),
29
- identifier: null
30
- }
31
- });
32
- e.dispatchEvent(s);
33
- }
34
- /** Emits an event to open or close the menu */
35
- handleToggleMenu() {
36
- this.toggleMenu.emit(!this.isMenuOpen);
37
- }
38
- /**
39
- * Toggles the visibility of the user menu.
40
- * Opens the user menu if closed, and closes it if open.
41
- */
42
- toggleUserMenu() {
43
- this.isUserMenuOpen = !this.isUserMenuOpen;
44
- }
45
- /**
46
- * Parses the `links` prop into an array of link objects.
47
- * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
48
- *
49
- * @returns {any[]} Array of parsed link objects
50
- */
51
- get parsedLinks() {
52
- if (Array.isArray(this.links))
53
- return this.links;
54
- if (typeof this.links == "object")
55
- return this.links;
56
- if (typeof this.links == "string")
57
- try {
58
- return JSON.parse(this.links);
59
- } catch (e) {
60
- return console.error("Error parsing links prop:", e), [];
61
- }
62
- return [];
63
- }
64
- render() {
65
- return t("header", { key: "8447435914bd3cdf61ce03f2a6bc646fd6b39b01", class: `flex items-center justify-between relative z-10
66
- ${this.inverseHeader ? "text-inverse bg-strongest" : "text-default bg-dark"}` }, t("div", { key: "2a7a525d9ec5f86437212ab5b6c60c901e1f69a8", class: "mr-auto w-[200px] h-[85px]" }, t("eds-logo", { key: "29381ef7d9f600690a373a09be30b2dea6d5b936", type: this.inverseHeader ? "color-white" : "color", href: this.homeUrl })), this.parsedLinks && t("nav", { key: "8085c6dfa6dadce3d7eefb45505e9c9404fd422d", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, t("ul", { key: "cb8442be1efc058dc46c283c85e50c58dd627f3e", class: "flex gap-x-2" }, this.parsedLinks.map((e) => t("eds-link", { label: e.label, "aria-label": e.label, url: e.url, intent: "ghost", size: "small", icon: e.icon, external: e.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))), t("slot", { key: "5d39561f4f43641640cc3f5d01edd35ebde794e3" }), this.menuEnabled ? t("div", { class: "md:hidden flex overflow-hidden px-16" }, t("eds-button", { "aria-label": "Menu", intent: "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })) : null);
67
- }
68
- get hostEl() {
69
- return a(this);
70
- }
71
- };
72
- d.style = l;
73
- export {
74
- d as eds_header
75
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-DvG3cC-8.js"),e=require("./arrow-right-9322ba8a-DBcxNU_p.js"),t=class{constructor(s){r.registerInstance(this,s),this.class=""}render(){return r.h("span",{key:"4a2b33b86753acab8270a45c7b250603b128bc88",class:this.class,innerHTML:e.arrowRight})}};exports.eds_icon_arrow_right=t;
@@ -1,13 +0,0 @@
1
- import { r as s, h as a } from "./index-Df31uHzU.mjs";
2
- import { a as t } from "./arrow-right-9322ba8a-DHq-_PPe.mjs";
3
- const i = class {
4
- constructor(r) {
5
- s(this, r), this.class = "";
6
- }
7
- render() {
8
- return a("span", { key: "4a2b33b86753acab8270a45c7b250603b128bc88", class: this.class, innerHTML: t });
9
- }
10
- };
11
- export {
12
- i as eds_icon_arrow_right
13
- };
@@ -1,13 +0,0 @@
1
- import { r, h as a } from "./index-Df31uHzU.mjs";
2
- import { b as e } from "./bluesky-cc5edd2d-DfuDDO5h.mjs";
3
- const n = class {
4
- constructor(s) {
5
- r(this, s), this.class = "";
6
- }
7
- render() {
8
- return a("span", { key: "845a157678b9d059b2c9bd8a6265d3a62f33c31a", class: this.class, innerHTML: e });
9
- }
10
- };
11
- export {
12
- n as eds_icon_bluesky
13
- };
@@ -1,13 +0,0 @@
1
- import { r, h as n } from "./index-Df31uHzU.mjs";
2
- import { c as o } from "./chevron-down-6144c823-DWGlv9eV.mjs";
3
- const t = class {
4
- constructor(s) {
5
- r(this, s), this.class = "";
6
- }
7
- render() {
8
- return n("span", { key: "fa8022d27b91e909d4cd5522c6d0406be698a412", class: this.class, innerHTML: o });
9
- }
10
- };
11
- export {
12
- t as eds_icon_chevron_down
13
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),c=require("./chevron-up-c66bd477-ByW7R48t.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"40d18a840277f2aba5d314a36fca5c1f8fd99cc6",class:this.class,innerHTML:c.chevronUp})}};exports.eds_icon_chevron_up=r;
@@ -1,13 +0,0 @@
1
- import { r, h as c } from "./index-Df31uHzU.mjs";
2
- import { c as a } from "./chevron-up-c66bd477-CETJkshq.mjs";
3
- const o = class {
4
- constructor(s) {
5
- r(this, s), this.class = "";
6
- }
7
- render() {
8
- return c("span", { key: "40d18a840277f2aba5d314a36fca5c1f8fd99cc6", class: this.class, innerHTML: a });
9
- }
10
- };
11
- export {
12
- o as eds_icon_chevron_up
13
- };
@@ -1,13 +0,0 @@
1
- import { r as e, h as c } from "./index-Df31uHzU.mjs";
2
- import { c as r } from "./close-87fc0d63-DtDU2HIU.mjs";
3
- const n = class {
4
- constructor(s) {
5
- e(this, s), this.class = "";
6
- }
7
- render() {
8
- return c("span", { key: "947f6615e8ee155be98b379a9c771cc0d453becd", class: this.class, innerHTML: r });
9
- }
10
- };
11
- export {
12
- n as eds_icon_close
13
- };
@@ -1,13 +0,0 @@
1
- import { r as c, h as r } from "./index-Df31uHzU.mjs";
2
- import { c as o } from "./copy-03b72cb6-B_WCNQrG.mjs";
3
- const t = class {
4
- constructor(s) {
5
- c(this, s), this.class = "";
6
- }
7
- render() {
8
- return r("span", { key: "1e23d4493d5a1d07bc794da20cc4e445a87d56b0", class: this.class, innerHTML: o });
9
- }
10
- };
11
- export {
12
- t as eds_icon_copy
13
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),c=require("./copy-03b72cb6-CZAFAegx.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"1e23d4493d5a1d07bc794da20cc4e445a87d56b0",class:this.class,innerHTML:c.copy})}};exports.eds_icon_copy=r;
@@ -1,13 +0,0 @@
1
- import { r as e, h as r } from "./index-Df31uHzU.mjs";
2
- import { e as a } from "./eu-9ddde93a-ft4szvR5.mjs";
3
- const c = class {
4
- constructor(s) {
5
- e(this, s), this.class = "";
6
- }
7
- render() {
8
- return r("span", { key: "14254e1b9d43562e6f3f943de22aa8dd4d89a044", class: this.class, innerHTML: a });
9
- }
10
- };
11
- export {
12
- c as eds_icon_eu
13
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),r=require("./eu-9ddde93a-BFtIQw9B.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"14254e1b9d43562e6f3f943de22aa8dd4d89a044",class:this.class,innerHTML:r.euSvg})}};exports.eds_icon_eu=t;
@@ -1,13 +0,0 @@
1
- import { r as n, h as r } from "./index-Df31uHzU.mjs";
2
- import { l as i } from "./linkedin-e8650abb-DYMdsale.mjs";
3
- const a = class {
4
- constructor(s) {
5
- n(this, s), this.class = "";
6
- }
7
- render() {
8
- return r("span", { key: "0f9675a371ca7bb460882c04bf2bb0c103273a0d", class: this.class, innerHTML: i });
9
- }
10
- };
11
- export {
12
- a as eds_icon_linkedin
13
- };
@@ -1,13 +0,0 @@
1
- import { r, h as a } from "./index-Df31uHzU.mjs";
2
- import { l as e } from "./loader-c9628637-ChpnbJkv.mjs";
3
- const c = class {
4
- constructor(s) {
5
- r(this, s), this.class = "";
6
- }
7
- render() {
8
- return a("span", { key: "f11c60068baa2d2398056b3d7f04129d9deb4517", class: this.class, innerHTML: e });
9
- }
10
- };
11
- export {
12
- c as eds_icon_loader
13
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),r=require("./loader-c9628637-Vj8Wt1e8.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"f11c60068baa2d2398056b3d7f04129d9deb4517",class:this.class,innerHTML:r.loader})}};exports.eds_icon_loader=t;
@@ -1,13 +0,0 @@
1
- import { r as o, h as r } from "./index-Df31uHzU.mjs";
2
- import { m as t } from "./mastodon-3703ec61-C7iI4Hk0.mjs";
3
- const a = class {
4
- constructor(s) {
5
- o(this, s), this.class = "";
6
- }
7
- render() {
8
- return r("span", { key: "1f68e5d0b6f8455f40bf94f6095eceff00b7887e", class: this.class, innerHTML: t });
9
- }
10
- };
11
- export {
12
- a as eds_icon_mastodon
13
- };