@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,31 +0,0 @@
1
- import { r as e, h as t } from "./index-Df31uHzU.mjs";
2
- import { c as r } from "./index-39c58238-BwYCDOHZ.mjs";
3
- const n = class {
4
- constructor(a) {
5
- e(this, a), this.tabCva = r([
6
- "cursor-pointer",
7
- //'px-16 py-12',
8
- //'border-b-2',
9
- "text-gray-700",
10
- "hover:text-black",
11
- "focus:outline-none",
12
- "focus-visible:ring"
13
- ], {
14
- variants: {
15
- active: {
16
- true: "border-blue-500 font-bold text-blue-600",
17
- false: "border-transparent"
18
- }
19
- },
20
- defaultVariants: {
21
- active: !1
22
- }
23
- }), this.label = void 0, this.url = void 0, this.active = !1, this.ariaLabel = void 0;
24
- }
25
- render() {
26
- return t("a", { key: "a55be2a07e554ab13a0d7e913710382d6126da57", "aria-label": this.label, "aria-current": this.active, class: this.tabCva({ active: this.active }) }, this.label);
27
- }
28
- };
29
- export {
30
- n as eds_tab
31
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),a=require("./index-39c58238-SQ-JC-LH.js"),i=class{constructor(t){e.registerInstance(this,t),this.tabCva=a.cva(["cursor-pointer","text-gray-700","hover:text-black","focus:outline-none","focus-visible:ring"],{variants:{active:{true:"border-blue-500 font-bold text-blue-600",false:"border-transparent"}},defaultVariants:{active:!1}}),this.label=void 0,this.url=void 0,this.active=!1,this.ariaLabel=void 0}render(){return e.h("a",{key:"a55be2a07e554ab13a0d7e913710382d6126da57","aria-label":this.label,"aria-current":this.active,class:this.tabCva({active:this.active})},this.label)}};exports.eds_tab=i;
@@ -1,106 +0,0 @@
1
- import { r, c as n, h as s, g as o } from "./index-Df31uHzU.mjs";
2
- import { s as l } from "./analytics-44b1416b-3vYuu4Xs.mjs";
3
- import { c } from "./index-39c58238-BwYCDOHZ.mjs";
4
- const h = class {
5
- constructor(e) {
6
- r(this, e), this.tabContentChange = n(this, "tabContentChange", 7), this.tabCva = c([
7
- "relative px-16 py-12",
8
- "f-ui-03 whitespace-nowrap",
9
- "effect-color",
10
- "focus-visible:text-default hover:text-default",
11
- "border-2",
12
- "after:content-[''] after:absolute after:inset-0 after:rounded-t-lg after:border-3 after:border-accent after:opacity-0",
13
- "outline-none focus:outline-none focus-visible:outline-none focus-visible:after:opacity-100"
14
- ], {
15
- variants: {
16
- position: {
17
- left: "rounded-tl-lg border-r-0 pr-28 -mr-16 after:right-16",
18
- right: "rounded-tr-lg border-l-0 pl-28 -ml-16 after:left-16",
19
- center: "",
20
- first: "rounded-t-lg"
21
- },
22
- active: {
23
- false: "text-lighter bg-dark hover:bg-darker border-softest",
24
- true: [
25
- "bg-default text-default z-99",
26
- "rounded-t-lg",
27
- "before:content-[''] before:absolute before:-bottom-2 z-1 before:inset-x-0 before:h-3 before:bg-default",
28
- "border-[#d2d2d2]"
29
- ]
30
- }
31
- }
32
- }), this.navAriaLabel = "Tabs", this.tabs = void 0, this.parsedTabs = [], this.activeIndex = -1;
33
- }
34
- componentWillLoad() {
35
- this.parseTabs(), this.setActiveIndex();
36
- }
37
- parseTabs() {
38
- try {
39
- this.parsedTabs = JSON.parse(this.tabs);
40
- } catch {
41
- this.parsedTabs = [];
42
- }
43
- }
44
- componentDidLoad() {
45
- this.initializeTabContentVisibility(), this.el.addEventListener("tabContentChange", (e) => {
46
- this.updateTabContentVisibility(e.detail.index);
47
- }), this.scrollToActiveTab();
48
- }
49
- initializeTabContentVisibility() {
50
- this.el.querySelectorAll(".tab-content").forEach((t, a) => {
51
- t.setAttribute("style", `display: ${a === this.activeIndex ? "block" : "none"}`);
52
- });
53
- }
54
- updateTabContentVisibility(e) {
55
- this.el.querySelectorAll(".tab-content").forEach((a, i) => {
56
- a.setAttribute("style", `display: ${i === e ? "block" : "none"}`);
57
- });
58
- }
59
- setActiveIndex() {
60
- this.activeIndex = this.parsedTabs.findIndex((e) => e.active);
61
- }
62
- scrollToActiveTab() {
63
- var e;
64
- const t = (e = this.tabContainer) === null || e === void 0 ? void 0 : e.querySelector("[data-tab-active]");
65
- t && setTimeout(() => {
66
- t.scrollIntoView({
67
- inline: "center",
68
- block: "nearest"
69
- });
70
- }, 316);
71
- }
72
- getTabOptions(e, t) {
73
- const a = e ? "center" : this.activeIndex === -1 && t === 0 ? "first" : t < this.activeIndex ? "left" : "right";
74
- return Object.assign({ class: this.tabCva({
75
- active: e,
76
- position: a
77
- }), style: {
78
- zIndex: `${e ? this.parsedTabs.length + 99 : a === "left" ? t : this.parsedTabs.length + 1 - t}`
79
- } }, e ? { "data-tab-active": "true" } : {});
80
- }
81
- handleTabClick(e, t) {
82
- this.activeIndex = e, this.parsedTabs = this.parsedTabs.map((a, i) => Object.assign(Object.assign({}, a), { active: i === e })), this.tabContentChange.emit({ index: e, name: t }), l({
83
- category: "ui-component",
84
- tag: this.el.tagName.toLowerCase(),
85
- name: (t == null ? void 0 : t.toLowerCase()) || "",
86
- action: "click"
87
- });
88
- }
89
- render() {
90
- return s("div", { key: "d94df79c55522088de5445587758a5eea028b313", class: "after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, s("div", { key: "e7d01a2e6b424c25749c0d70305fb1c8c55bef74", class: "scroller-x max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, s("nav", { key: "ef8ff8a02e570dfcf8143997ace793a65917e6ca", ref: (e) => this.tabContainer = e, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((e, t) => {
91
- const a = this.getTabOptions(e.active, t);
92
- return s("eds-tab", Object.assign({}, a, { label: e.label, url: e.url, active: t === this.activeIndex, ariaLabel: e.ariaLabel, onClick: () => this.handleTabClick(t, e.label) }));
93
- })), s("slot", { key: "8f014081c3bc2a8a3013aea3aff32690d6f71c85" })));
94
- }
95
- get el() {
96
- return o(this);
97
- }
98
- static get watchers() {
99
- return {
100
- tabs: ["parseTabs"]
101
- };
102
- }
103
- };
104
- export {
105
- h as eds_tabs_content
106
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-DvG3cC-8.js"),r=require("./analytics-44b1416b-ol77SdQE.js"),n=require("./index-39c58238-SQ-JC-LH.js"),o=class{constructor(e){i.registerInstance(this,e),this.tabContentChange=i.createEvent(this,"tabContentChange",7),this.tabCva=n.cva(["relative px-16 py-12","f-ui-03 whitespace-nowrap","effect-color","focus-visible:text-default hover:text-default","border-2","after:content-[''] after:absolute after:inset-0 after:rounded-t-lg after:border-3 after:border-accent after:opacity-0","outline-none focus:outline-none focus-visible:outline-none focus-visible:after:opacity-100"],{variants:{position:{left:"rounded-tl-lg border-r-0 pr-28 -mr-16 after:right-16",right:"rounded-tr-lg border-l-0 pl-28 -ml-16 after:left-16",center:"",first:"rounded-t-lg"},active:{false:"text-lighter bg-dark hover:bg-darker border-softest",true:["bg-default text-default z-99","rounded-t-lg","before:content-[''] before:absolute before:-bottom-2 z-1 before:inset-x-0 before:h-3 before:bg-default","border-[#d2d2d2]"]}}}),this.navAriaLabel="Tabs",this.tabs=void 0,this.parsedTabs=[],this.activeIndex=-1}componentWillLoad(){this.parseTabs(),this.setActiveIndex()}parseTabs(){try{this.parsedTabs=JSON.parse(this.tabs)}catch{this.parsedTabs=[]}}componentDidLoad(){this.initializeTabContentVisibility(),this.el.addEventListener("tabContentChange",e=>{this.updateTabContentVisibility(e.detail.index)}),this.scrollToActiveTab()}initializeTabContentVisibility(){this.el.querySelectorAll(".tab-content").forEach((t,a)=>{t.setAttribute("style",`display: ${a===this.activeIndex?"block":"none"}`)})}updateTabContentVisibility(e){this.el.querySelectorAll(".tab-content").forEach((a,s)=>{a.setAttribute("style",`display: ${s===e?"block":"none"}`)})}setActiveIndex(){this.activeIndex=this.parsedTabs.findIndex(e=>e.active)}scrollToActiveTab(){var e;const t=(e=this.tabContainer)===null||e===void 0?void 0:e.querySelector("[data-tab-active]");t&&setTimeout(()=>{t.scrollIntoView({inline:"center",block:"nearest"})},316)}getTabOptions(e,t){const a=e?"center":this.activeIndex===-1&&t===0?"first":t<this.activeIndex?"left":"right";return Object.assign({class:this.tabCva({active:e,position:a}),style:{zIndex:`${e?this.parsedTabs.length+99:a==="left"?t:this.parsedTabs.length+1-t}`}},e?{"data-tab-active":"true"}:{})}handleTabClick(e,t){this.activeIndex=e,this.parsedTabs=this.parsedTabs.map((a,s)=>Object.assign(Object.assign({},a),{active:s===e})),this.tabContentChange.emit({index:e,name:t}),r.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:(t==null?void 0:t.toLowerCase())||"",action:"click"})}render(){return i.h("div",{key:"d94df79c55522088de5445587758a5eea028b313",class:"after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']"},i.h("div",{key:"e7d01a2e6b424c25749c0d70305fb1c8c55bef74",class:"scroller-x max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28"},i.h("nav",{key:"ef8ff8a02e570dfcf8143997ace793a65917e6ca",ref:e=>this.tabContainer=e,class:"inline-flex","aria-label":this.navAriaLabel},this.parsedTabs.map((e,t)=>{const a=this.getTabOptions(e.active,t);return i.h("eds-tab",Object.assign({},a,{label:e.label,url:e.url,active:t===this.activeIndex,ariaLabel:e.ariaLabel,onClick:()=>this.handleTabClick(t,e.label)}))})),i.h("slot",{key:"8f014081c3bc2a8a3013aea3aff32690d6f71c85"})))}get el(){return i.getElement(this)}static get watchers(){return{tabs:["parseTabs"]}}};exports.eds_tabs_content=o;
@@ -1,112 +0,0 @@
1
- import { r as i, c as o, h as s, g as n } from "./index-Df31uHzU.mjs";
2
- import { s as b } from "./analytics-44b1416b-3vYuu4Xs.mjs";
3
- import { c as d } from "./index-39c58238-BwYCDOHZ.mjs";
4
- const l = "", c = l, f = class {
5
- constructor(e) {
6
- i(this, e), this.tabChange = o(this, "tabChange", 7), this.tabCva = d([
7
- "relative px-16 py-12",
8
- "f-ui-03 whitespace-nowrap",
9
- "effect-color",
10
- "focus-visible:text-default hover:text-default",
11
- "border-2",
12
- "after:content-[''] after:absolute after:inset-0 after:rounded-t-lg after:border-3 after:border-accent after:opacity-0",
13
- "outline-none focus:outline-none focus-visible:outline-none focus-visible:after:opacity-100"
14
- ], {
15
- variants: {
16
- position: {
17
- left: "rounded-tl-lg border-r-0 pr-28 -mr-16 after:right-16",
18
- right: "rounded-tr-lg border-l-0 pl-28 -ml-16 after:left-16",
19
- center: "",
20
- first: "rounded-t-lg"
21
- },
22
- active: {
23
- false: "text-lighter bg-dark hover:bg-darker border-softest",
24
- true: [
25
- "bg-default text-default z-99",
26
- "rounded-t-lg",
27
- "before:content-[''] before:absolute before:-bottom-2 z-1 before:inset-x-0 before:h-3 before:bg-default",
28
- "border-[#d2d2d2]"
29
- ]
30
- }
31
- }
32
- }), this.id = void 0, this.navAriaLabel = "Tabs", this.tabs = void 0, this.parsedTabs = [], this.activeIndex = -1;
33
- }
34
- componentWillLoad() {
35
- this.parseTabs(), this.setActiveIndex(), this.tabChange.emit({ tabId: this.id, index: 0 });
36
- }
37
- /**
38
- * Parses the `links` prop into an array of link objects.
39
- * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
40
- *
41
- * @returns {any[]} Array of parsed link objects
42
- */
43
- /**
44
- * Parses the `links` prop into an array of link objects.
45
- * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
46
- *
47
- * @returns {any[]} Array of parsed link objects
48
- */
49
- parseTabs() {
50
- if (Array.isArray(this.tabs))
51
- this.parsedTabs = this.tabs;
52
- else if (typeof this.tabs == "string")
53
- try {
54
- this.parsedTabs = JSON.parse(this.tabs);
55
- } catch {
56
- this.parsedTabs = [];
57
- }
58
- else
59
- this.parsedTabs = [];
60
- }
61
- componentDidLoad() {
62
- this.scrollToActiveTab();
63
- }
64
- setActiveIndex() {
65
- this.activeIndex = this.parsedTabs.findIndex((e) => e.active);
66
- }
67
- scrollToActiveTab() {
68
- var e;
69
- const t = (e = this.tabContainer) === null || e === void 0 ? void 0 : e.querySelector("[data-tab-active]");
70
- t && setTimeout(() => {
71
- t.scrollIntoView({
72
- inline: "center",
73
- block: "nearest"
74
- });
75
- }, 316);
76
- }
77
- getTabOptions(e, t) {
78
- const a = e ? "center" : this.activeIndex === -1 && t === 0 ? "first" : t < this.activeIndex ? "left" : "right";
79
- return Object.assign({ class: this.tabCva({
80
- active: e,
81
- position: a
82
- }), style: {
83
- zIndex: `${e ? this.parsedTabs.length + 99 : a === "left" ? t : this.parsedTabs.length + 1 - t}`
84
- } }, e ? { "data-tab-active": "true" } : {});
85
- }
86
- handleTabClick(e, t) {
87
- this.activeIndex = e, this.parsedTabs = this.parsedTabs.map((a, r) => Object.assign(Object.assign({}, a), { active: r === e })), this.tabChange.emit({ tabId: this.id, index: e, name: t }), b({
88
- category: "ui-component",
89
- tag: this.el.tagName.toLowerCase(),
90
- name: (t == null ? void 0 : t.toLowerCase()) || "",
91
- action: "click"
92
- });
93
- }
94
- render() {
95
- return s("div", { key: "5a0c7dbdd059b2a1efdf31e91725dd1d49c88bd4", id: `${this.id}`, class: "after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, s("div", { key: "74bb7e66b88d845359caf285430fca079abfab03", class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, s("nav", { key: "71ca3465da106b2d1ed59eca28eabfe60a1ac0fc", ref: (e) => this.tabContainer = e, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((e, t) => {
96
- const a = this.getTabOptions(e.active, t);
97
- return s("eds-tab", Object.assign({}, a, { label: e.label || e.ariaLabel, url: e.url, active: t === this.activeIndex, onClick: () => this.handleTabClick(t, e.label) }));
98
- }))));
99
- }
100
- get el() {
101
- return n(this);
102
- }
103
- static get watchers() {
104
- return {
105
- tabs: ["parseTabs"]
106
- };
107
- }
108
- };
109
- f.style = c;
110
- export {
111
- f as eds_tabs
112
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-DvG3cC-8.js"),o=require("./analytics-44b1416b-ol77SdQE.js"),n=require("./index-39c58238-SQ-JC-LH.js"),b="",d=b,r=class{constructor(e){a.registerInstance(this,e),this.tabChange=a.createEvent(this,"tabChange",7),this.tabCva=n.cva(["relative px-16 py-12","f-ui-03 whitespace-nowrap","effect-color","focus-visible:text-default hover:text-default","border-2","after:content-[''] after:absolute after:inset-0 after:rounded-t-lg after:border-3 after:border-accent after:opacity-0","outline-none focus:outline-none focus-visible:outline-none focus-visible:after:opacity-100"],{variants:{position:{left:"rounded-tl-lg border-r-0 pr-28 -mr-16 after:right-16",right:"rounded-tr-lg border-l-0 pl-28 -ml-16 after:left-16",center:"",first:"rounded-t-lg"},active:{false:"text-lighter bg-dark hover:bg-darker border-softest",true:["bg-default text-default z-99","rounded-t-lg","before:content-[''] before:absolute before:-bottom-2 z-1 before:inset-x-0 before:h-3 before:bg-default","border-[#d2d2d2]"]}}}),this.id=void 0,this.navAriaLabel="Tabs",this.tabs=void 0,this.parsedTabs=[],this.activeIndex=-1}componentWillLoad(){this.parseTabs(),this.setActiveIndex(),this.tabChange.emit({tabId:this.id,index:0})}parseTabs(){if(Array.isArray(this.tabs))this.parsedTabs=this.tabs;else if(typeof this.tabs=="string")try{this.parsedTabs=JSON.parse(this.tabs)}catch{this.parsedTabs=[]}else this.parsedTabs=[]}componentDidLoad(){this.scrollToActiveTab()}setActiveIndex(){this.activeIndex=this.parsedTabs.findIndex(e=>e.active)}scrollToActiveTab(){var e;const t=(e=this.tabContainer)===null||e===void 0?void 0:e.querySelector("[data-tab-active]");t&&setTimeout(()=>{t.scrollIntoView({inline:"center",block:"nearest"})},316)}getTabOptions(e,t){const s=e?"center":this.activeIndex===-1&&t===0?"first":t<this.activeIndex?"left":"right";return Object.assign({class:this.tabCva({active:e,position:s}),style:{zIndex:`${e?this.parsedTabs.length+99:s==="left"?t:this.parsedTabs.length+1-t}`}},e?{"data-tab-active":"true"}:{})}handleTabClick(e,t){this.activeIndex=e,this.parsedTabs=this.parsedTabs.map((s,i)=>Object.assign(Object.assign({},s),{active:i===e})),this.tabChange.emit({tabId:this.id,index:e,name:t}),o.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:(t==null?void 0:t.toLowerCase())||"",action:"click"})}render(){return a.h("div",{key:"5a0c7dbdd059b2a1efdf31e91725dd1d49c88bd4",id:`${this.id}`,class:"after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']"},a.h("div",{key:"74bb7e66b88d845359caf285430fca079abfab03",class:"scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28"},a.h("nav",{key:"71ca3465da106b2d1ed59eca28eabfe60a1ac0fc",ref:e=>this.tabContainer=e,class:"inline-flex","aria-label":this.navAriaLabel},this.parsedTabs.map((e,t)=>{const s=this.getTabOptions(e.active,t);return a.h("eds-tab",Object.assign({},s,{label:e.label||e.ariaLabel,url:e.url,active:t===this.activeIndex,onClick:()=>this.handleTabClick(t,e.label)}))}))))}get el(){return a.getElement(this)}static get watchers(){return{tabs:["parseTabs"]}}};r.style=d;exports.eds_tabs=r;
@@ -1,51 +0,0 @@
1
- import { r as l, h as s, g as a } from "./index-Df31uHzU.mjs";
2
- const c = class {
3
- constructor(e) {
4
- l(this, e), this.events = void 0, this.selectedEvent = null, this.parsedEvents = [];
5
- }
6
- parseEvents(e) {
7
- let t;
8
- if (typeof e == "string")
9
- try {
10
- t = JSON.parse(e);
11
- } catch (i) {
12
- console.error("Error parsing timeline events JSON", i), t = [];
13
- }
14
- else Array.isArray(e) ? t = e : t = [];
15
- this.parsedEvents = Array.isArray(t) ? t.map((i) => Object.assign(Object.assign({}, i), { completed: i.completed === "true" || i.completed === !0 })) : [];
16
- }
17
- componentWillLoad() {
18
- this.parseEvents(this.events);
19
- }
20
- componentDidLoad() {
21
- this.el.querySelectorAll("eds-card-generic").forEach((t) => {
22
- this.emitContext(t);
23
- });
24
- }
25
- emitContext(e) {
26
- const t = new CustomEvent("parentContext", {
27
- detail: {
28
- componentName: this.el.tagName.toLowerCase(),
29
- identifier: null
30
- }
31
- });
32
- e.dispatchEvent(t);
33
- }
34
- handleEventClick(e) {
35
- this.selectedEvent = e, this.modalRef && typeof this.modalRef.open == "function" && this.modalRef.open();
36
- }
37
- render() {
38
- return s("div", { key: "1ba4a93ce518b52f5821af75ae0587c44db92c6d", class: "max-w-sidebar mx-auto px-4 py-8" }, s("div", { key: "3e019420ddd4bfab7800567c7130299ea47205c6", class: "relative" }, s("div", { key: "df99ce8fb08232c46449d7485dd7cffcd04b64d6", class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), s("div", { key: "1b52694d2e8c3656910c02680aa8ce2e78b02997", class: "space-y-16" }, this.parsedEvents.map((e, t) => s("div", { class: "relative flex" }, s("div", { class: `w-1/2 ${t % 2 === 0 ? "pr-4" : ""}` }, t % 2 === 0 && s("eds-card-generic", { cardTitle: e.title, url: "#", description: e.description, "heading-level": "h2", tiny: !0, bg: !e.completed, "with-hover": "false", tags: JSON.stringify(e.completed ? [{ label: "completed", style: "accent" }] : [{ label: "pending", style: "default" }]), onClick: () => this.handleEventClick(e) })), s("div", { class: "flex items-center justify-center relative" }, e.completed ? s("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" }) : s("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" })), s("div", { class: `w-1/2 ${t % 2 !== 0 ? "pl-4" : ""}` }, t % 2 !== 0 && s("eds-card-generic", { cardTitle: e.title, url: "#", description: e.description, "heading-level": "h2", tiny: !0, bg: !e.completed, "with-hover": "false", tags: JSON.stringify(e.completed ? [{ label: "completed", style: "accent" }] : [{ label: "pending", style: "default" }]), onClick: () => this.handleEventClick(e) })))))));
39
- }
40
- get el() {
41
- return a(this);
42
- }
43
- static get watchers() {
44
- return {
45
- events: ["parseEvents"]
46
- };
47
- }
48
- };
49
- export {
50
- c as eds_timeline
51
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-DvG3cC-8.js"),l=class{constructor(e){s.registerInstance(this,e),this.events=void 0,this.selectedEvent=null,this.parsedEvents=[]}parseEvents(e){let t;if(typeof e=="string")try{t=JSON.parse(e)}catch(i){console.error("Error parsing timeline events JSON",i),t=[]}else Array.isArray(e)?t=e:t=[];this.parsedEvents=Array.isArray(t)?t.map(i=>Object.assign(Object.assign({},i),{completed:i.completed==="true"||i.completed===!0})):[]}componentWillLoad(){this.parseEvents(this.events)}componentDidLoad(){this.el.querySelectorAll("eds-card-generic").forEach(t=>{this.emitContext(t)})}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}handleEventClick(e){this.selectedEvent=e,this.modalRef&&typeof this.modalRef.open=="function"&&this.modalRef.open()}render(){return s.h("div",{key:"1ba4a93ce518b52f5821af75ae0587c44db92c6d",class:"max-w-sidebar mx-auto px-4 py-8"},s.h("div",{key:"3e019420ddd4bfab7800567c7130299ea47205c6",class:"relative"},s.h("div",{key:"df99ce8fb08232c46449d7485dd7cffcd04b64d6",class:"absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0"}),s.h("div",{key:"1b52694d2e8c3656910c02680aa8ce2e78b02997",class:"space-y-16"},this.parsedEvents.map((e,t)=>s.h("div",{class:"relative flex"},s.h("div",{class:`w-1/2 ${t%2===0?"pr-4":""}`},t%2===0&&s.h("eds-card-generic",{cardTitle:e.title,url:"#",description:e.description,"heading-level":"h2",tiny:!0,bg:!e.completed,"with-hover":"false",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})),s.h("div",{class:"flex items-center justify-center relative"},e.completed?s.h("div",{class:"w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center"}):s.h("div",{class:"w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center"})),s.h("div",{class:`w-1/2 ${t%2!==0?"pl-4":""}`},t%2!==0&&s.h("eds-card-generic",{cardTitle:e.title,url:"#",description:e.description,"heading-level":"h2",tiny:!0,bg:!e.completed,"with-hover":"false",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})))))))}get el(){return s.getElement(this)}static get watchers(){return{events:["parseEvents"]}}};exports.eds_timeline=l;
@@ -1,34 +0,0 @@
1
- import { r as i, h as e } from "./index-Df31uHzU.mjs";
2
- const o = class {
3
- constructor(a) {
4
- i(this, a), this.applications = void 0;
5
- }
6
- getParsedApplications() {
7
- let a = [];
8
- if (typeof this.applications == "string")
9
- try {
10
- a = JSON.parse(this.applications || "[]");
11
- } catch (t) {
12
- console.error("Invalid applications trl JSON", t), a = [];
13
- }
14
- else Array.isArray(this.applications) && (a = this.applications);
15
- return a;
16
- }
17
- calculateProgress(a) {
18
- return Math.ceil(a / 9 * 100);
19
- }
20
- render() {
21
- const t = this.getParsedApplications().map((r) => ({
22
- Application: r.name,
23
- "Current TRL Stage": `TRL ${r.currentTrl}`,
24
- Progress: e("div", { class: "w-[200px]" }, e("eds-progress-bar", { value: this.calculateProgress(r.currentTrl) }))
25
- })), s = {
26
- Application: { format: "code" },
27
- "Current TRL Stage": { format: "text" }
28
- };
29
- return e("div", { key: "a329a001d6275fcfe7df9bddf83bd289effe4151", class: "container mx-auto px-4 py-8" }, e("eds-table", { key: "93aebfd840b16416789b15eec0daa16d9126aa9f", data: JSON.stringify(t), config: JSON.stringify(s), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" }));
30
- }
31
- };
32
- export {
33
- o as eds_trl
34
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-DvG3cC-8.js"),i=class{constructor(e){t.registerInstance(this,e),this.applications=void 0}getParsedApplications(){let e=[];if(typeof this.applications=="string")try{e=JSON.parse(this.applications||"[]")}catch(a){console.error("Invalid applications trl JSON",a),e=[]}else Array.isArray(this.applications)&&(e=this.applications);return e}calculateProgress(e){return Math.ceil(e/9*100)}render(){const a=this.getParsedApplications().map(r=>({Application:r.name,"Current TRL Stage":`TRL ${r.currentTrl}`,Progress:t.h("div",{class:"w-[200px]"},t.h("eds-progress-bar",{value:this.calculateProgress(r.currentTrl)}))})),s={Application:{format:"code"},"Current TRL Stage":{format:"text"}};return t.h("div",{key:"a329a001d6275fcfe7df9bddf83bd289effe4151",class:"container mx-auto px-4 py-8"},t.h("eds-table",{key:"93aebfd840b16416789b15eec0daa16d9126aa9f",data:JSON.stringify(a),config:JSON.stringify(s),"rows-per-page":"2","pagination-enabled":"true","search-enabled":"true","column-size":"default"}))}};exports.eds_trl=i;
@@ -1,66 +0,0 @@
1
- import { r as i, c as r, h as t, g as l } from "./index-Df31uHzU.mjs";
2
- import { l as o, a as n, c as h, i as c, b as u, g as d } from "./keycloak-d502ec16-Ce0iGqyk.mjs";
3
- import { t as a } from "./toastManager-d9eee791-CEYNwx25.mjs";
4
- const f = class {
5
- constructor(e) {
6
- i(this, e), this.authStatusChanged = r(this, "authStatusChanged", 7), this.handleLogin = () => {
7
- if (!this.authenticated)
8
- try {
9
- o();
10
- } catch (s) {
11
- a.show(s.message, "error");
12
- }
13
- }, this.handleLogout = async () => {
14
- try {
15
- await n();
16
- } catch (s) {
17
- a.show(s.message, "error");
18
- }
19
- this.authenticated = !1, this.user = null;
20
- }, this.keycloakUrl = void 0, this.keycloakRealm = void 0, this.keycloakClientId = void 0, this.user = null, this.authenticated = !1, this.username = "", this.serverAvailable = !1;
21
- }
22
- /**
23
- * Lifecycle method that runs when the component is about to load.
24
- * It initializes authentication by calling the `initAuth` method.
25
- */
26
- async componentWillLoad() {
27
- if (!this.keycloakUrl || !this.keycloakRealm || !this.keycloakClientId) {
28
- console.error("Keycloak configuration props are missing.");
29
- return;
30
- }
31
- if (this.serverAvailable = await h(`${this.keycloakUrl}/realms/${this.keycloakRealm}`), !this.serverAvailable) {
32
- a.show("Keycloak server is unavailable.", "error");
33
- return;
34
- }
35
- await this.initAuth();
36
- }
37
- /**
38
- * Initializes the Keycloak authentication by configuring Keycloak with the provided props.
39
- * Sets the `authenticated` state and `user` data if the user is authenticated.
40
- * Emits `authStatusChanged` event with the authentication status.
41
- */
42
- async initAuth() {
43
- try {
44
- await c({
45
- url: this.keycloakUrl,
46
- realm: this.keycloakRealm,
47
- clientId: this.keycloakClientId
48
- }, !0), u() && (this.user = d(), this.authenticated = !0, this.authStatusChanged.emit({
49
- authenticated: this.authenticated,
50
- user: this.user
51
- }));
52
- } catch (e) {
53
- a.show(e.message, "error");
54
- }
55
- }
56
- render() {
57
- var e;
58
- return t("div", { key: "8fe0aaf06ed421d8ca6e512247b4d15b092c895f", class: "block" }, this.authenticated ? t("div", { class: "flex items-center" }, t("eds-dropdown", { label: `Welcome, ${(e = this.user) === null || e === void 0 ? void 0 : e.username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, t("eds-user-modal", { user: JSON.stringify(this.user), onLogout: this.handleLogout.bind(this) }))) : t("eds-button", { label: "Login", intent: "primary", onClick: this.handleLogin, "extra-class": "text-default" }));
59
- }
60
- get hostEl() {
61
- return l(this);
62
- }
63
- };
64
- export {
65
- f as eds_user
66
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),a=require("./keycloak-d502ec16-m7LwS-Gh.js"),s=require("./toastManager-d9eee791-DvR_vUPI.js"),r=class{constructor(t){e.registerInstance(this,t),this.authStatusChanged=e.createEvent(this,"authStatusChanged",7),this.handleLogin=()=>{if(!this.authenticated)try{a.login()}catch(i){s.toast.show(i.message,"error")}},this.handleLogout=async()=>{try{await a.logout()}catch(i){s.toast.show(i.message,"error")}this.authenticated=!1,this.user=null},this.keycloakUrl=void 0,this.keycloakRealm=void 0,this.keycloakClientId=void 0,this.user=null,this.authenticated=!1,this.username="",this.serverAvailable=!1}async componentWillLoad(){if(!this.keycloakUrl||!this.keycloakRealm||!this.keycloakClientId){console.error("Keycloak configuration props are missing.");return}if(this.serverAvailable=await a.checkServerAvailability(`${this.keycloakUrl}/realms/${this.keycloakRealm}`),!this.serverAvailable){s.toast.show("Keycloak server is unavailable.","error");return}await this.initAuth()}async initAuth(){try{await a.initKeycloak({url:this.keycloakUrl,realm:this.keycloakRealm,clientId:this.keycloakClientId},!0),a.isAuthenticated()&&(this.user=a.getUser(),this.authenticated=!0,this.authStatusChanged.emit({authenticated:this.authenticated,user:this.user}))}catch(t){s.toast.show(t.message,"error")}}render(){var t;return e.h("div",{key:"8fe0aaf06ed421d8ca6e512247b4d15b092c895f",class:"block"},this.authenticated?e.h("div",{class:"flex items-center"},e.h("eds-dropdown",{label:`Welcome, ${(t=this.user)===null||t===void 0?void 0:t.username}`,intent:"tertiary","aria-label":"User Menu","dropdown-pos":"right","dropdown-offset":"false",icon:"chevron-down",class:"text-default"},e.h("eds-user-modal",{user:JSON.stringify(this.user),onLogout:this.handleLogout.bind(this)}))):e.h("eds-button",{label:"Login",intent:"primary",onClick:this.handleLogin,"extra-class":"text-default"}))}get hostEl(){return e.getElement(this)}};exports.eds_user=r;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),a=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],d=[{background:"#C461FF"},{background:"#5D3DF9"}],o=[{background:"#FFA543"},{background:"#FF4D68"}],s=[{background:"#3FA9F5"},...d,...o],r=class{constructor(c){e.registerInstance(this,c)}render(){return e.h("div",{key:"cb22d37293f3b3b5fe3772cfe83234a5d81e1094",class:"container"},e.h("eds-alert",{key:"9aa7a510440c32f92242b3e09f9e818cd2509b06",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"}),e.h("div",{key:"4d22cba75b7dd45a5a9a7d2b2eba5404875f1403",class:"flex"},e.h("div",{key:"c7f08b3e4ef2692c545edd4185a005ddd6526a23",class:"w-full"},e.h("ul",{key:"28561abcdc93a4899a5d7481fdd47c439f734ff6",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(c=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:c.background}}))))),e.h("div",{key:"f8836d4805fdd416ee75712f749d5cee3f612559",class:"w-full"},e.h("ul",{key:"5842acd55d3a827355f2814c709d057676fb5d0f",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},s.map(c=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:c.background}})))))))}};exports.incorrect_use_of_colors=r;
@@ -1,42 +0,0 @@
1
- import { r as a, h as e } from "./index-Df31uHzU.mjs";
2
- const d = [
3
- {
4
- background: "#9CE142"
5
- },
6
- {
7
- background: "#00C959"
8
- },
9
- {
10
- background: "#00A595"
11
- }
12
- ], s = [
13
- {
14
- background: "#C461FF"
15
- },
16
- {
17
- background: "#5D3DF9"
18
- }
19
- ], o = [
20
- {
21
- background: "#FFA543"
22
- },
23
- {
24
- background: "#FF4D68"
25
- }
26
- ], r = [
27
- {
28
- background: "#3FA9F5"
29
- },
30
- ...s,
31
- ...o
32
- ], n = class {
33
- constructor(c) {
34
- a(this, c);
35
- }
36
- render() {
37
- return e("div", { key: "cb22d37293f3b3b5fe3772cfe83234a5d81e1094", class: "container" }, e("eds-alert", { key: "9aa7a510440c32f92242b3e09f9e818cd2509b06", message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" }), e("div", { key: "4d22cba75b7dd45a5a9a7d2b2eba5404875f1403", class: "flex" }, e("div", { key: "c7f08b3e4ef2692c545edd4185a005ddd6526a23", class: "w-full" }, e("ul", { key: "28561abcdc93a4899a5d7481fdd47c439f734ff6", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, d.map((c) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: c.background } }))))), e("div", { key: "f8836d4805fdd416ee75712f749d5cee3f612559", class: "w-full" }, e("ul", { key: "5842acd55d3a827355f2814c709d057676fb5d0f", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, r.map((c) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: c.background } })))))));
38
- }
39
- };
40
- export {
41
- n as incorrect_use_of_colors
42
- };