@ebrains/vue 2.4.1 → 3.1.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.
- package/{color-primary-palette_6.entry-Bu_NLVB8.mjs → color-primary-palette_6.entry-DLM8AbQ4.mjs} +15 -15
- package/color-primary-palette_6.entry-g0jXU2Ob.js +1 -0
- package/{components-section.entry-DH6-Re45.js → components-section.entry-D3Cs3rKx.js} +2 -2
- package/{components-section.entry-D_miX_kF.mjs → components-section.entry-Di2VXgMA.mjs} +2 -2
- package/{correct-use-of-colors.entry-atuVKYhV.mjs → correct-use-of-colors.entry-BO20319L.mjs} +2 -2
- package/correct-use-of-colors.entry-D6EyksAq.js +1 -0
- package/{docs-palettes.entry-DIGw3y0-.mjs → docs-palettes.entry-BdmohcUb.mjs} +2 -2
- package/{docs-palettes.entry-Dq183o_C.js → docs-palettes.entry-CMeJkYSH.js} +1 -1
- package/{docs-tokens.entry-C-jQouTP.js → docs-tokens.entry-CNGoSG29.js} +1 -1
- package/{docs-tokens.entry-C3SVC1fp.mjs → docs-tokens.entry-CWOYs_8-.mjs} +2 -2
- package/{eds-accordion_37.entry-iqVtN8HO.mjs → eds-accordion_53.entry-B-Wyebqm.mjs} +5127 -1936
- package/eds-accordion_53.entry-B5ZXKAjG.js +10939 -0
- package/{eds-app-root.entry-CeX99_k5.mjs → eds-app-root.entry-BIOnfrHA.mjs} +4 -4
- package/eds-app-root.entry-K5aPf66w.js +1 -0
- package/eds-cookies-preference.entry-CVcAao_J.js +1 -0
- package/{eds-cookies-preference.entry-orfJ6v1-.mjs → eds-cookies-preference.entry-WYgccA0t.mjs} +3 -3
- package/{eds-feedback.entry-IiD44v5J.mjs → eds-feedback.entry-BpRZtSfF.mjs} +7 -7
- package/{eds-feedback.entry-CENTWWmw.js → eds-feedback.entry-D5Ouctg6.js} +1 -1
- package/eds-frame.entry-B4p00bwc.mjs +67 -0
- package/eds-frame.entry-DR1xGJst.js +1 -0
- package/eds-gauge.entry-B_w5n0cW.js +1 -0
- package/eds-gauge.entry-DgEkwl17.mjs +29 -0
- package/eds-gitlab-contributors.entry-B1AEl-u7.mjs +161 -0
- package/eds-gitlab-contributors.entry-zWK0Z2kn.js +1 -0
- package/eds-icon-bluesky.entry-TCr9yCHs.mjs +13 -0
- package/{eds-icon-bluesky.entry-CCCEjd-y.js → eds-icon-bluesky.entry-pDbXLbWF.js} +1 -1
- package/eds-icon-eu.entry-CTBu76k-.js +1 -0
- package/eds-icon-eu.entry-DuKnYzW-.mjs +13 -0
- package/eds-icon-facebook.entry-B1moHgT8.mjs +13 -0
- package/{eds-icon-facebook.entry-MP23ghjh.js → eds-icon-facebook.entry-CVymbjZx.js} +1 -1
- package/{eds-icon-gitlab.entry-CBbCyPR8.mjs → eds-icon-gitlab.entry-B51la_co.mjs} +2 -2
- package/eds-icon-gitlab.entry-BeJh3EES.js +1 -0
- package/eds-icon-linkedin.entry-D8aMAhFL.mjs +13 -0
- package/{eds-icon-linkedin.entry-DrvBbCUX.js → eds-icon-linkedin.entry-DzZnyxAm.js} +1 -1
- package/{eds-icon-mastodon.entry-D9Dfmjcx.js → eds-icon-mastodon.entry-8MO-blJh.js} +1 -1
- package/eds-icon-mastodon.entry-DrOJJ5Kz.mjs +13 -0
- package/eds-icon-twitter.entry-B59MqkyR.mjs +13 -0
- package/eds-icon-twitter.entry-D1GOytI5.js +1 -0
- package/{eds-icon-youtube.entry-CHsnJLcZ.js → eds-icon-youtube.entry-BnxPIc3O.js} +1 -1
- package/eds-icon-youtube.entry-CzNnNcEj.mjs +13 -0
- package/eds-input-search.entry-C-8KBUCs.mjs +51 -0
- package/eds-input-search.entry-CtZHtmS4.js +1 -0
- package/eds-modal.entry-3OECayey.js +1 -0
- package/eds-modal.entry-CRVpxuBW.mjs +143 -0
- package/eds-pie.entry-BPCyYhUQ.mjs +86 -0
- package/eds-pie.entry-CQmET1EH.js +1 -0
- package/{eds-section-core_2.entry-DYLrsiab.js → eds-section-core_2.entry-29cp2-oK.js} +1 -1
- package/{eds-section-core_2.entry-CU4wFaLD.mjs → eds-section-core_2.entry-nuk5XXsS.mjs} +4 -4
- package/eds-splash-screen.entry-6LjvQMdi.js +1 -0
- package/{eds-splash-screen.entry-Bnvw1i76.mjs → eds-splash-screen.entry-ysMrUnNU.mjs} +5 -5
- package/{eds-timeline.entry-MZBjYarp.mjs → eds-timeline.entry-DKpKHB5k.mjs} +4 -4
- package/{eds-timeline.entry-D-KKP95A.js → eds-timeline.entry-DMH1Ms5n.js} +1 -1
- package/{eds-toast-manager.entry-O_hdV6wU.mjs → eds-toast-manager.entry-DVXxUD8d.mjs} +2 -2
- package/{eds-toast-manager.entry-31iHKHvJ.js → eds-toast-manager.entry-DnCELf2f.js} +1 -1
- package/eds-trl-badge.entry-D7q4hgde.js +1 -0
- package/eds-trl-badge.entry-DCmmqQHB.mjs +73 -0
- package/eu-8ac3e99c-CQxZpMa1.mjs +8 -0
- package/eu-8ac3e99c-vr227q5X.js +5 -0
- package/generated/components.d.ts +11 -2
- package/{incorrect-use-of-colors.entry-Bo4jLbkN.mjs → incorrect-use-of-colors.entry-BSLfYKUb.mjs} +2 -2
- package/incorrect-use-of-colors.entry-DHqHOdH0.js +1 -0
- package/{index-CIU5mTWe.mjs → index-DL15mWAH.mjs} +718 -800
- package/index-WyhGZcXS.js +21 -0
- package/index.js +1 -1
- package/index.mjs +49 -40
- package/logo-space.entry-DojbLxT4.js +6 -0
- package/logo-space.entry-iQSqRbq9.mjs +18 -0
- package/{logo-variations-horizontal_2.entry-CEtudMmO.js → logo-variations-horizontal_2.entry-BxLg0D44.js} +3 -3
- package/{logo-variations-horizontal_2.entry-DexMRkpk.mjs → logo-variations-horizontal_2.entry-DNcdxqUe.mjs} +14 -14
- package/{logo-variations-tabs.entry-BQxBA6af.js → logo-variations-tabs.entry-C6mpER1C.js} +1 -1
- package/{logo-variations-tabs.entry-BY-IWquf.mjs → logo-variations-tabs.entry-DRT8k7pQ.mjs} +6 -6
- package/{logo-wrong-usage.entry-M2L7POvI.mjs → logo-wrong-usage.entry-DHJIJsVZ.mjs} +6 -6
- package/logo-wrong-usage.entry-DTRzJDQo.js +1 -0
- package/negative-84eec72e-C5p0bd7Z.mjs +105 -0
- package/negative-84eec72e-CYj66efO.js +102 -0
- package/package.json +1 -1
- package/positive-cc986d7c-5QAxRLUF.mjs +66 -0
- package/positive-cc986d7c-bcR8gHIm.js +63 -0
- package/svg-repository.entry-DZc3Ej9y.js +9 -0
- package/svg-repository.entry-DZfvxxeh.mjs +62 -0
- package/{token-list_3.entry-Bi4T4TzA.mjs → token-list_3.entry-CuNhLZNv.mjs} +95 -64
- package/token-list_3.entry-ve9r960B.js +1 -0
- package/{token-ratios.entry-CQR23PF9.js → token-ratios.entry-BgWROZuw.js} +1 -1
- package/{token-ratios.entry-RrS5TAyw.mjs → token-ratios.entry-D5YiyMvt.mjs} +2 -2
- package/token-spacing.entry-BchYKWuE.js +1 -0
- package/token-spacing.entry-CSkx5neb.mjs +12 -0
- package/token-typography.entry-C_NmBPt2.mjs +244 -0
- package/token-typography.entry-DEuXeYSY.js +2 -0
- package/arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs +0 -4
- package/arrow-diagonal-black-8f0494c3-DqsB6ni-.js +0 -1
- package/arrow-right-9322ba8a-DBcxNU_p.js +0 -3
- package/arrow-right-9322ba8a-DHq-_PPe.mjs +0 -6
- package/bin-37cad2f0-BqMIoPCV.mjs +0 -4
- package/bin-37cad2f0-Bvf97PEl.js +0 -1
- package/bookmark-c200037c-CIcZ51ZQ.js +0 -14
- package/bookmark-c200037c-ClkCtyRY.mjs +0 -17
- package/chevron-down-6144c823-DWGlv9eV.mjs +0 -13
- package/chevron-down-6144c823-D_8976Ke.js +0 -10
- package/chevron-left-ca6c66e1-DANhLw_T.mjs +0 -12
- package/chevron-left-ca6c66e1-uCH5SUhm.js +0 -9
- package/chevron-right-b88ed2d4-C7dkTMvP.js +0 -3
- package/chevron-right-b88ed2d4-CgEZBvy7.mjs +0 -6
- package/chevron-up-c66bd477-ByW7R48t.js +0 -10
- package/chevron-up-c66bd477-CETJkshq.mjs +0 -13
- package/clone-dab56639-CA90NNP5.mjs +0 -4
- package/clone-dab56639-DhCcTb4A.js +0 -1
- package/close-87fc0d63-Cbd-ScJr.js +0 -3
- package/close-87fc0d63-DtDU2HIU.mjs +0 -6
- package/color-primary-palette_6.entry-D_UPeprg.js +0 -1
- package/copy-03b72cb6-B_WCNQrG.mjs +0 -6
- package/copy-03b72cb6-CZAFAegx.js +0 -3
- package/correct-use-of-colors.entry-Bhx9MLwE.js +0 -1
- package/download-47746956-CSto0o7c.mjs +0 -19
- package/download-47746956-DbC-y8R6.js +0 -16
- package/draft-dd5dada2-AqzrhEzA.js +0 -1
- package/draft-dd5dada2-DEIzQoXJ.mjs +0 -4
- package/edit-3893a517-D_Sgle6i.js +0 -1
- package/edit-3893a517-rsZs4NLF.mjs +0 -4
- package/eds-accordion_37.entry-BiVSln-D.js +0 -10399
- package/eds-app-root.entry-CeUeBKtA.js +0 -1
- package/eds-card-desc_2.entry-47f99PgL.mjs +0 -53
- package/eds-card-desc_2.entry-DVhpMDCC.js +0 -1
- package/eds-card-generic.entry-BN0cAIjx.mjs +0 -56
- package/eds-card-generic.entry-C7dumh_d.js +0 -1
- package/eds-card-project.entry-Bs6HDiv5.js +0 -1
- package/eds-card-project.entry-CIle50ek.mjs +0 -170
- package/eds-card-section.entry-B0gx3iBP.js +0 -1
- package/eds-card-section.entry-DcJjEWy4.mjs +0 -30
- package/eds-card-tags.entry-BvjgMZHS.js +0 -1
- package/eds-card-tags.entry-CrCmugvS.mjs +0 -13
- package/eds-card-tool.entry-BLHrGC24.mjs +0 -56
- package/eds-card-tool.entry-CRo_PlMg.js +0 -1
- package/eds-cookies-preference.entry-BlhfUQGP.js +0 -1
- package/eds-footer.entry-BrdeRRWG.js +0 -1
- package/eds-footer.entry-CedTdwJJ.mjs +0 -41
- package/eds-frame.entry-DGIky_UQ.js +0 -1
- package/eds-frame.entry-Dm2AoUjK.mjs +0 -67
- package/eds-fullscreen-menu.entry-DEInQhVD.js +0 -1
- package/eds-fullscreen-menu.entry-H3BfixzP.mjs +0 -73
- package/eds-gauge.entry-CSQjNE8G.js +0 -1
- package/eds-gauge.entry-CegaC4T5.mjs +0 -30
- package/eds-icon-arrow-diagonal.entry-DCeVPrzI.js +0 -1
- package/eds-icon-arrow-diagonal.entry-DUBT5gmZ.mjs +0 -13
- package/eds-icon-arrow-right.entry-DeeJz26V.js +0 -1
- package/eds-icon-arrow-right.entry-ys90lkId.mjs +0 -13
- package/eds-icon-bin.entry-BqKuRtcB.js +0 -1
- package/eds-icon-bin.entry-Diuv79fG.mjs +0 -13
- package/eds-icon-bluesky.entry-DPcbyQIX.mjs +0 -13
- package/eds-icon-bookmark.entry-CNi2eOQP.js +0 -1
- package/eds-icon-bookmark.entry-DqaUoSk8.mjs +0 -13
- package/eds-icon-chevron-down.entry-CAfN7jv8.js +0 -1
- package/eds-icon-chevron-down.entry-DpWqEoSw.mjs +0 -13
- package/eds-icon-chevron-left.entry-B3-89dPa.mjs +0 -13
- package/eds-icon-chevron-left.entry-DXy-uPJ6.js +0 -1
- package/eds-icon-chevron-right.entry-B2deV1ft.mjs +0 -13
- package/eds-icon-chevron-right.entry-Q6NB8--v.js +0 -1
- package/eds-icon-chevron-up.entry-CVuCOpxj.js +0 -1
- package/eds-icon-chevron-up.entry-Cd9KapmF.mjs +0 -13
- package/eds-icon-clone.entry-DOvIaPJe.js +0 -1
- package/eds-icon-clone.entry-H4Wvfws-.mjs +0 -13
- package/eds-icon-close.entry-C-xtrS5I.js +0 -1
- package/eds-icon-close.entry-CBg4VZtg.mjs +0 -13
- package/eds-icon-copy.entry-BZeL-13N.mjs +0 -13
- package/eds-icon-copy.entry-DZTBQzL5.js +0 -1
- package/eds-icon-download.entry-BT4ZoH91.js +0 -1
- package/eds-icon-download.entry-DwZLr47B.mjs +0 -13
- package/eds-icon-draft.entry-4_H4nfUM.mjs +0 -13
- package/eds-icon-draft.entry-BVMefQgn.js +0 -1
- package/eds-icon-edit.entry-gGJ6H4K1.mjs +0 -13
- package/eds-icon-edit.entry-smkFgw3g.js +0 -1
- package/eds-icon-eu.entry-CatpU-Lw.js +0 -1
- package/eds-icon-eu.entry-D6StNwBO.mjs +0 -13
- package/eds-icon-external.entry-C6lH5vga.js +0 -1
- package/eds-icon-external.entry-DnKkZ-rL.mjs +0 -13
- package/eds-icon-facebook.entry-Csd3tQkO.mjs +0 -13
- package/eds-icon-gitlab.entry-bAaZiq_9.js +0 -1
- package/eds-icon-linkedin.entry-D-lzxn5S.mjs +0 -13
- package/eds-icon-loader.entry-Bn_y-oQY.mjs +0 -13
- package/eds-icon-loader.entry-DkDFBZWo.js +0 -1
- package/eds-icon-mastodon.entry-XCwW01ia.mjs +0 -13
- package/eds-icon-menu.entry-BgYdenVL.js +0 -1
- package/eds-icon-menu.entry-DR9cg1LH.mjs +0 -13
- package/eds-icon-minus.entry-B1ORC3G4.js +0 -1
- package/eds-icon-minus.entry-CmsuYKRr.mjs +0 -13
- package/eds-icon-more.entry-CBzKZ-hP.mjs +0 -13
- package/eds-icon-more.entry-CWeMvkHw.js +0 -1
- package/eds-icon-paper.entry-DQPGEFLb.mjs +0 -13
- package/eds-icon-paper.entry-a5wd3Gm_.js +0 -1
- package/eds-icon-plus.entry-CwqfoxfE.mjs +0 -13
- package/eds-icon-plus.entry-FtgdBolw.js +0 -1
- package/eds-icon-portal.entry-Cvrsd6Z9.js +0 -1
- package/eds-icon-portal.entry-DEpCX6WM.mjs +0 -13
- package/eds-icon-private.entry-B7qVRLBM.js +0 -1
- package/eds-icon-private.entry-tRLd5XA9.mjs +0 -13
- package/eds-icon-public.entry-BsbSjJmd.mjs +0 -13
- package/eds-icon-public.entry-Co7iCe6S.js +0 -1
- package/eds-icon-search.entry-BE7IvjFK.mjs +0 -13
- package/eds-icon-search.entry-CTM32yZu.js +0 -1
- package/eds-icon-star.entry-ByW2sBEI.mjs +0 -13
- package/eds-icon-star.entry-TMeFG-1o.js +0 -1
- package/eds-icon-start.entry-CKAV9_OO.js +0 -1
- package/eds-icon-start.entry-DlOqxc0b.mjs +0 -13
- package/eds-icon-success.entry-Yn6PK4Zw.mjs +0 -13
- package/eds-icon-success.entry-fqtMu_34.js +0 -1
- package/eds-icon-thumbs-down.entry-CTASn1on.js +0 -1
- package/eds-icon-thumbs-down.entry-ClgZLWjR.mjs +0 -13
- package/eds-icon-thumbs-up.entry-B8YfZp04.mjs +0 -13
- package/eds-icon-thumbs-up.entry-C3NvXsfN.js +0 -1
- package/eds-icon-tutorial.entry-9BzYYDml.js +0 -1
- package/eds-icon-tutorial.entry-BL0YtLk5.mjs +0 -13
- package/eds-icon-twitter.entry-DvOhv-Zv.mjs +0 -13
- package/eds-icon-twitter.entry-DvWltZ0l.js +0 -1
- package/eds-icon-unknown.entry-BkbijHAz.js +0 -1
- package/eds-icon-unknown.entry-RV9lGwVw.mjs +0 -13
- package/eds-icon-updown.entry--bSjaAr9.js +0 -1
- package/eds-icon-updown.entry-BOMR6G6W.mjs +0 -13
- package/eds-icon-user.entry-BTA7pRtV.mjs +0 -13
- package/eds-icon-user.entry-CGRmPtP9.js +0 -1
- package/eds-icon-view.entry-BEUJmkpH.mjs +0 -13
- package/eds-icon-view.entry-DxxsBmgu.js +0 -1
- package/eds-icon-youtube.entry-CCxg5AfC.mjs +0 -13
- package/eds-modal.entry-BO6fBn7S.mjs +0 -114
- package/eds-modal.entry-N_75WknZ.js +0 -1
- package/eds-pie.entry-B7D4RpIu.js +0 -1
- package/eds-pie.entry-CV158hnV.mjs +0 -68
- package/eds-progress-bar.entry-DHhah3DK.mjs +0 -39
- package/eds-progress-bar.entry-DmBZPxp5.js +0 -1
- package/eds-social-networks.entry-D4eMtN7o.js +0 -1
- package/eds-social-networks.entry-DqDyiMFN.mjs +0 -48
- package/eds-splash-screen.entry-Bbfx70O2.js +0 -1
- package/eds-trl.entry-CHjA17at.mjs +0 -34
- package/eds-trl.entry-QhZ_qlNx.js +0 -1
- package/eu-9ddde93a-BFtIQw9B.js +0 -28
- package/eu-9ddde93a-ft4szvR5.mjs +0 -31
- package/incorrect-use-of-colors.entry-B1L0v9B4.js +0 -1
- package/index-39c58238-BwYCDOHZ.mjs +0 -44
- package/index-39c58238-SQ-JC-LH.js +0 -1
- package/index-BkPrVkIG.js +0 -21
- package/loader-c9628637-ChpnbJkv.mjs +0 -31
- package/loader-c9628637-Vj8Wt1e8.js +0 -28
- package/logo-color-7f1fd803-CFgbXdt8.mjs +0 -116
- package/logo-color-7f1fd803-DRD3vZVn.js +0 -113
- package/logo-color-margins-ff8ce71b-B9nMsY9Q.mjs +0 -119
- package/logo-color-margins-ff8ce71b-Dk06zr1Z.js +0 -116
- package/logo-space.entry-BGc6pgeF.js +0 -6
- package/logo-space.entry-BLMhmFmG.mjs +0 -19
- package/logo-white-no-bg-f382f86f-DXYn3NwV.js +0 -1011
- package/logo-white-no-bg-f382f86f-YhfmNmGG.mjs +0 -1022
- package/logo-wrong-usage.entry-CPVPtAaZ.js +0 -1
- package/menu-340ea948-BpnYX3gY.mjs +0 -12
- package/menu-340ea948-ZdelWVw3.js +0 -9
- package/minus-b30a7c71-BPAvqHzH.mjs +0 -12
- package/minus-b30a7c71-DqCTe6Qh.js +0 -9
- package/more-4449d549-D4HA1cRq.js +0 -11
- package/more-4449d549-rI9hOpEp.mjs +0 -14
- package/paper-8e74ea31-BvGrc1Vo.mjs +0 -16
- package/paper-8e74ea31-C4CV6tlB.js +0 -13
- package/plus-89c07be2-BTXnjg5K.js +0 -10
- package/plus-89c07be2-DyT9I4-L.mjs +0 -13
- package/portal-d6c8ce56-Cj61ldo8.mjs +0 -19
- package/portal-d6c8ce56-NpSrdNZ_.js +0 -16
- package/private-1c25ff8e-D3Fo36q6.js +0 -23
- package/private-1c25ff8e-Dz82_Xf8.mjs +0 -26
- package/public-d4d8c585-BJKDD5F6.mjs +0 -17
- package/public-d4d8c585-lV6QxdPw.js +0 -14
- package/search-fbcd79c2-BMxCaeEk.js +0 -10
- package/search-fbcd79c2-rfV0PlHP.mjs +0 -13
- package/star-0da9b5e9-B3-jr0yE.js +0 -3
- package/star-0da9b5e9-DX8_iFmu.mjs +0 -6
- package/start-65126a4f-D1LeCi_N.js +0 -1
- package/start-65126a4f-mQSjIlRh.mjs +0 -4
- package/success-443809da-BD23vltm.mjs +0 -19
- package/success-443809da-BUEhLsAD.js +0 -16
- package/svg-repository.entry-CqUFAuPA.mjs +0 -299
- package/svg-repository.entry-nY39Z0hv.js +0 -158
- package/thumbs-down-a18fd049-CzuBAj99.mjs +0 -6
- package/thumbs-down-a18fd049-DTNIbYbm.js +0 -3
- package/thumbs-up-c19a71bc-CjLv5Wgw.mjs +0 -7
- package/thumbs-up-c19a71bc-w8Z8gegt.js +0 -4
- package/token-list_3.entry-BDvROoe2.js +0 -1
- package/token-spacing.entry-B1bI3Gg9.mjs +0 -12
- package/token-spacing.entry-D7J3g9Gs.js +0 -1
- package/token-typography.entry-BK0pYTtQ.js +0 -2
- package/token-typography.entry-CKSwl8jj.mjs +0 -213
- package/tutotial-150ee1fd-DFdyoHVA.mjs +0 -28
- package/tutotial-150ee1fd-DjN_JBL5.js +0 -25
- package/unknown-ed01a24c-B0AcMuip.js +0 -20
- package/unknown-ed01a24c-DonOUpIC.mjs +0 -23
- package/up-and-down-8b69ca97-D7g6H0T0.mjs +0 -13
- package/up-and-down-8b69ca97-DOjnLWEi.js +0 -10
- package/user-71ebdc15-BBKQbcQD.js +0 -14
- package/user-71ebdc15-CoHlCtJg.mjs +0 -17
- package/view-e900f2d4-DsFtaZYM.mjs +0 -4
- package/view-e900f2d4-RAKf504j.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as o, h as e } from "./index-
|
|
2
|
-
const
|
|
1
|
+
import { r as o, h as e } from "./index-DL15mWAH.mjs";
|
|
2
|
+
const r = class {
|
|
3
3
|
constructor(i) {
|
|
4
4
|
o(this, i), this.isAuthenticated = !1;
|
|
5
5
|
}
|
|
@@ -17,9 +17,9 @@ const c = class {
|
|
|
17
17
|
this.combinedInitPromise = Promise.all([i, n]);
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return e("div", { key: "
|
|
20
|
+
return e("div", { key: "c9192fb7e315fa8fe41c9ee512f4573951865208" }, e("eds-splash-screen", { key: "e3d413597cc370692c593abd4017d97e1c172219", inverse: !0, initPromise: this.combinedInitPromise }), e("eds-login", { key: "2821e64738053db4809663aa918f98c4df358201", "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), e("main", { key: "4680b74ec0f74b8060b020f726f6696b41b43a9e" }, this.isAuthenticated ? e("h1", null, "Welcome, authenticated user!") : e("h1", null, "Please log in.")));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
r as eds_app_root
|
|
25
25
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),o=class{constructor(i){e.registerInstance(this,i),this.isAuthenticated=!1}componentWillLoad(){const i=new Promise(n=>{document.addEventListener("initKeycloak",t=>{n(t.detail)},{once:!0})}),a=new Promise(n=>{document.addEventListener("authStatusChanged",t=>{var s;this.isAuthenticated=(s=t.detail)===null||s===void 0?void 0:s.authenticated,n(t.detail)},{once:!0})});this.combinedInitPromise=Promise.all([i,a])}render(){return e.h("div",{key:"c9192fb7e315fa8fe41c9ee512f4573951865208"},e.h("eds-splash-screen",{key:"e3d413597cc370692c593abd4017d97e1c172219",inverse:!0,initPromise:this.combinedInitPromise}),e.h("eds-login",{key:"2821e64738053db4809663aa918f98c4df358201","keycloak-url":"http://localhost:8080","keycloak-realm":"nigeor-realm","keycloak-client-id":"stencil-app"}),e.h("main",{key:"4680b74ec0f74b8060b020f726f6696b41b43a9e"},this.isAuthenticated?e.h("h1",null,"Welcome, authenticated user!"):e.h("h1",null,"Please log in.")))}};exports.eds_app_root=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),s="",i=s,t=class{constructor(o){e.registerInstance(this,o),this.buttonText="Cookies Preferences",this.intent="secondary",this.showMatomoNotice=!1,this.noticeKey=0}toggleCookiesPopup(){sessionStorage.removeItem("matomo-deferred"),this.showMatomoNotice?this.noticeKey=this.noticeKey+1:this.showMatomoNotice=!0}render(){return e.h("div",{key:"0a1f75fe95820dd8f994193f86b52b684f5fd240"},e.h("eds-link",{key:"d3b5740fa53b30a39296b23cd95da1ad2d8d730d",size:"small",intent:this.intent,label:this.buttonText,onClick:()=>this.toggleCookiesPopup()}),this.showMatomoNotice&&e.h("eds-matomo-notice",{"force-show":!0,key:this.noticeKey}))}};t.style=i;exports.eds_cookies_preference=t;
|
package/{eds-cookies-preference.entry-orfJ6v1-.mjs → eds-cookies-preference.entry-WYgccA0t.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as t, h as e } from "./index-
|
|
1
|
+
import { r as t, h as e } from "./index-DL15mWAH.mjs";
|
|
2
2
|
const s = "", i = s, n = class {
|
|
3
3
|
constructor(o) {
|
|
4
|
-
t(this, o), this.buttonText = "Cookies Preferences", this.intent =
|
|
4
|
+
t(this, o), this.buttonText = "Cookies Preferences", this.intent = "secondary", this.showMatomoNotice = !1, this.noticeKey = 0;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* Always shows the eds-matomo-notice popup.
|
|
@@ -11,7 +11,7 @@ const s = "", i = s, n = class {
|
|
|
11
11
|
sessionStorage.removeItem("matomo-deferred"), this.showMatomoNotice ? this.noticeKey = this.noticeKey + 1 : this.showMatomoNotice = !0;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return e("div", { key: "
|
|
14
|
+
return e("div", { key: "0a1f75fe95820dd8f994193f86b52b684f5fd240" }, e("eds-link", { key: "d3b5740fa53b30a39296b23cd95da1ad2d8d730d", size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && e("eds-matomo-notice", { "force-show": !0, key: this.noticeKey }));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
n.style = i;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as a, c as
|
|
1
|
+
import { r as a, c as f, h as t, g as r } from "./index-DL15mWAH.mjs";
|
|
2
2
|
import { p as g } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
3
|
-
const o = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.inline{display:inline}.grid{display:grid}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}", h = o,
|
|
3
|
+
const o = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.inline{display:inline}.grid{display:grid}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}", h = o, l = class {
|
|
4
4
|
constructor(e) {
|
|
5
|
-
a(this, e), this.rating =
|
|
5
|
+
a(this, e), this.rating = f(this, "rating", 7), this.headingLevel = "h1", this.type = "star", this.count = 5, this.label = "Rate your Experience!", this.description = "This is a description!", this.textMapping = ["Very Poor", "Poor", "Average", "Good", "Excellent"], this.selectedRating = 0;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Lifecycle method that runs when the component has fully loaded.
|
|
@@ -42,13 +42,13 @@ const o = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
const e = this.headingLevel, n = `f-heading-${this.headingLevel.replace("h", "").padStart(2, "0")} my-4`;
|
|
45
|
-
return t("div", { key: "
|
|
45
|
+
return t("div", { key: "5eddbd664389530e209698e5e435c853c8f50b9f", class: "grid inline" }, t(e, { key: "22d1d4a44a116f78bbfa66946d8b7a9f95779524", class: n }, this.label), t("p", { key: "d3e5abefa5d0e1e32281b5088251fb9c304b8d2a", class: "f-body-01 text-light" }, this.description), t("eds-rating", { key: "65f1e772ac885d20f46e147aedeb55ab2ec871fe", "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && t("span", { key: "f660ceb9889d560ec1687c6f17bdbbe6a89f90ee", class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]));
|
|
46
46
|
}
|
|
47
47
|
get el() {
|
|
48
|
-
return
|
|
48
|
+
return r(this);
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
l.style = h;
|
|
52
52
|
export {
|
|
53
|
-
|
|
53
|
+
l as eds_feedback
|
|
54
54
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-WyhGZcXS.js"),f=require("./sharedUtils-a550989c-m4pF1Vqy.js"),r="h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.inline{display:inline}.grid{display:grid}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}",h=r,n=class{constructor(e){t.registerInstance(this,e),this.rating=t.createEvent(this,"rating",7),this.headingLevel="h1",this.type="star",this.count=5,this.label="Rate your Experience!",this.description="This is a description!",this.textMapping=["Very Poor","Poor","Average","Good","Excellent"],this.selectedRating=0}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach(i=>{this.emitContext(i)})}emitContext(e){const i=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.selectedRating}});e.dispatchEvent(i)}get parsedMappings(){return f.parseData(this.textMapping)}ratingUpdated(e){this.selectedRating=e.detail}render(){const e=this.headingLevel,a=`f-heading-${this.headingLevel.replace("h","").padStart(2,"0")} my-4`;return t.h("div",{key:"5eddbd664389530e209698e5e435c853c8f50b9f",class:"grid inline"},t.h(e,{key:"22d1d4a44a116f78bbfa66946d8b7a9f95779524",class:a},this.label),t.h("p",{key:"d3e5abefa5d0e1e32281b5088251fb9c304b8d2a",class:"f-body-01 text-light"},this.description),t.h("eds-rating",{key:"65f1e772ac885d20f46e147aedeb55ab2ec871fe","rating-type":this.type,"rating-count":this.count}),this.selectedRating>0&&this.parsedMappings[this.selectedRating-1]&&t.h("span",{key:"f660ceb9889d560ec1687c6f17bdbbe6a89f90ee",class:"f-ui-04 text-lighter"},this.parsedMappings[this.selectedRating-1]))}get el(){return t.getElement(this)}};n.style=h;exports.eds_feedback=n;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { r as i, h as e, g as o } from "./index-DL15mWAH.mjs";
|
|
2
|
+
const a = ".bg-inverse{background-color:#FFFFFF;border:1px solid #ECECEC;color:#07140D}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:#ECECEC}.border-softer{border-color:#ECECEC}.border-softest{border-color:#f2f2f2}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:#00FF9D}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:0}.w-full{width:100%}.h-full{height:100%}.h-auto{height:auto}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.75rem;padding-bottom:0.75rem}.px-12{padding-left:1rem;padding-right:1rem}.py-8.px-12{border-bottom:1px solid #ECECEC}.f-ui-02{font-family:'IBM Plex Sans', sans-serif;font-size:0.8125rem;font-weight:600;color:#07140D;line-height:1.4}.ml-auto{margin-left:auto}.border-t-2{border-top-width:1px;border-color:#ECECEC}.border{border:1px solid #ECECEC}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto;color:#7A7B7A}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}iframe{border-radius:0 0 12px 12px}", s = a, n = class {
|
|
3
|
+
constructor(r) {
|
|
4
|
+
i(this, r), this.frameLabel = void 0, this.frameSrc = void 0, this.urlLabel = "Open", this.errorMessage = "Could not load the requested content. Please check the URL or try again later.", this.url = void 0, this.intent = "cta", this.size = "auto", this.iframeError = !1;
|
|
5
|
+
}
|
|
6
|
+
componentWillLoad() {
|
|
7
|
+
this.checkIframeAvailability();
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
this.el.querySelectorAll("eds-link").forEach((t) => {
|
|
11
|
+
this.emitContext(t);
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Emits a custom event called `parentContext` for a given link element.
|
|
16
|
+
* This event provides context information about the breadcrumb component.
|
|
17
|
+
*
|
|
18
|
+
* @param linkElement - The link element to which the event will be dispatched.
|
|
19
|
+
*/
|
|
20
|
+
emitContext(r) {
|
|
21
|
+
const t = new CustomEvent("parentContext", {
|
|
22
|
+
detail: {
|
|
23
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
24
|
+
identifier: this.frameLabel
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
r.dispatchEvent(t);
|
|
28
|
+
}
|
|
29
|
+
articleClasses() {
|
|
30
|
+
return [
|
|
31
|
+
"bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2",
|
|
32
|
+
"w-full h-auto"
|
|
33
|
+
].join(" ");
|
|
34
|
+
}
|
|
35
|
+
getFrameHeight() {
|
|
36
|
+
switch (this.size) {
|
|
37
|
+
case "sm":
|
|
38
|
+
return "100px";
|
|
39
|
+
case "md":
|
|
40
|
+
return "200px";
|
|
41
|
+
case "lg":
|
|
42
|
+
return "400px";
|
|
43
|
+
case "xl":
|
|
44
|
+
return "700px";
|
|
45
|
+
default:
|
|
46
|
+
return "auto";
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
async checkIframeAvailability() {
|
|
50
|
+
try {
|
|
51
|
+
if (!(await fetch(this.frameSrc, { method: "GET" })).ok)
|
|
52
|
+
throw new Error("Failed to load");
|
|
53
|
+
} catch {
|
|
54
|
+
this.iframeError = !0;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
render() {
|
|
58
|
+
return e("div", { key: "ddbc978054f645eb990cde6bdd26647bd01eeb1a", class: this.articleClasses() }, e("div", { key: "0a16fbd950742b8a75428b3705deaa03ef785a5b", class: "effect-height flex items-center justify-between py-8 px-12" }, e("span", { key: "0c2a84cae101ec1e5352ed7be7b874b6ec45f37d", class: "f-ui-02" }, this.frameLabel), !this.iframeError && this.url && this.urlLabel ? e("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: !0, disabled: !1, icon: "arrow-up-right" }) : null), e("div", { key: "c001f1b33c5136820155b0299e83b6dc49fbbd43", class: "border-softer" }, 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 })));
|
|
59
|
+
}
|
|
60
|
+
get el() {
|
|
61
|
+
return o(this);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
n.style = s;
|
|
65
|
+
export {
|
|
66
|
+
n as eds_frame
|
|
67
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),o=".bg-inverse{background-color:#FFFFFF;border:1px solid #ECECEC;color:#07140D}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:#ECECEC}.border-softer{border-color:#ECECEC}.border-softest{border-color:#f2f2f2}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:#00FF9D}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:0}.w-full{width:100%}.h-full{height:100%}.h-auto{height:auto}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.75rem;padding-bottom:0.75rem}.px-12{padding-left:1rem;padding-right:1rem}.py-8.px-12{border-bottom:1px solid #ECECEC}.f-ui-02{font-family:'IBM Plex Sans', sans-serif;font-size:0.8125rem;font-weight:600;color:#07140D;line-height:1.4}.ml-auto{margin-left:auto}.border-t-2{border-top-width:1px;border-color:#ECECEC}.border{border:1px solid #ECECEC}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto;color:#7A7B7A}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}iframe{border-radius:0 0 12px 12px}",a=o,i=class{constructor(r){e.registerInstance(this,r),this.frameLabel=void 0,this.frameSrc=void 0,this.urlLabel="Open",this.errorMessage="Could not load the requested content. Please check the URL or try again later.",this.url=void 0,this.intent="cta",this.size="auto",this.iframeError=!1}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach(t=>{this.emitContext(t)})}emitContext(r){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});r.dispatchEvent(t)}articleClasses(){return["bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2","w-full h-auto"].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}}render(){return e.h("div",{key:"ddbc978054f645eb990cde6bdd26647bd01eeb1a",class:this.articleClasses()},e.h("div",{key:"0a16fbd950742b8a75428b3705deaa03ef785a5b",class:"effect-height flex items-center justify-between py-8 px-12"},e.h("span",{key:"0c2a84cae101ec1e5352ed7be7b874b6ec45f37d",class:"f-ui-02"},this.frameLabel),!this.iframeError&&this.url&&this.urlLabel?e.h("eds-link",{label:this.urlLabel,url:this.url,intent:this.intent,class:"ml-auto",external:!0,disabled:!1,icon:"arrow-up-right"}):null),e.h("div",{key:"c001f1b33c5136820155b0299e83b6dc49fbbd43",class:"border-softer"},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)}};i.style=a;exports.eds_frame=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-WyhGZcXS.js"),v=".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-full{border-radius:9999px}.overflow-hidden{overflow:hidden}.bg-inverse{background-color:var(--white)}.bg-current{background-color:currentColor}.bg-dark{background-color:var(--grey-300)}.bg-darker{background-color:var(--grey-400)}.bg-default{background-color:var(--grey-200)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.inset-0{inset:0rem}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.text-default{color:var(--black)}",y=v,o={default:"var(--grey-light)",dark:"var(--grey-dark)",black:"var(--brand-black)"},l=class{constructor(r){t.registerInstance(this,r),this.size=100,this.valueMin=0,this.valueMax=100,this.value=60,this.thickness=.1,this.variant="default"}render(){const r=Math.min(Math.max(this.thickness,.1),.2),a=Math.min(Math.max(this.value,this.valueMin),this.valueMax),c=this.valueMax-this.valueMin||1,d=(a-this.valueMin)/c,e=this.size,n=d*360,i=r*e,s=e-i*2,u=e*.2,g=o[this.variant]||o.default,b={width:`${e}px`,height:`${e}px`,background:`conic-gradient(var(--brand-green) 0deg ${n}deg, ${g} ${n}deg 360deg)`},f={width:`${s}px`,height:`${s}px`,top:`${i}px`,left:`${i}px`},h={fontSize:`${u}px`};return t.h("div",{key:"5629f8adbc6f144aad49062883cb85ecf24fc16c",role:"progressbar","aria-valuemin":this.valueMin,"aria-valuemax":this.valueMax,"aria-valuenow":a,"aria-label":`Gauge value: ${a} of ${this.valueMax}`,class:"relative inline-block rounded-full overflow-hidden",style:b},t.h("div",{key:"d668b54b0a5f4bf260a2f1153781c59741bd8694",class:"absolute bg-inverse rounded-full",style:f}),t.h("div",{key:"f08feba97d30ed893a72a7e07e412aa82ea8cd3d",class:"absolute inset-0 flex items-center justify-center"},t.h("span",{key:"2a8dccde44677d4a4b742cd992144d6cf399ee9b",class:"f-body-01 text-default",style:h},a)))}};l.style=y;exports.eds_gauge=l;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { r as v, h as t } from "./index-DL15mWAH.mjs";
|
|
2
|
+
const h = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-full{border-radius:9999px}.overflow-hidden{overflow:hidden}.bg-inverse{background-color:var(--white)}.bg-current{background-color:currentColor}.bg-dark{background-color:var(--grey-300)}.bg-darker{background-color:var(--grey-400)}.bg-default{background-color:var(--grey-200)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.inset-0{inset:0rem}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.text-default{color:var(--black)}", y = h, o = {
|
|
3
|
+
default: "var(--grey-light)",
|
|
4
|
+
dark: "var(--grey-dark)",
|
|
5
|
+
black: "var(--brand-black)"
|
|
6
|
+
}, k = class {
|
|
7
|
+
constructor(r) {
|
|
8
|
+
v(this, r), this.size = 100, this.valueMin = 0, this.valueMax = 100, this.value = 60, this.thickness = 0.1, this.variant = "default";
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
const r = Math.min(Math.max(this.thickness, 0.1), 0.2), a = Math.min(Math.max(this.value, this.valueMin), this.valueMax), l = this.valueMax - this.valueMin || 1, c = (a - this.valueMin) / l, e = this.size, n = c * 360, i = r * e, s = e - i * 2, d = e * 0.2, u = o[this.variant] || o.default, g = {
|
|
12
|
+
width: `${e}px`,
|
|
13
|
+
height: `${e}px`,
|
|
14
|
+
background: `conic-gradient(var(--brand-green) 0deg ${n}deg, ${u} ${n}deg 360deg)`
|
|
15
|
+
}, b = {
|
|
16
|
+
width: `${s}px`,
|
|
17
|
+
height: `${s}px`,
|
|
18
|
+
top: `${i}px`,
|
|
19
|
+
left: `${i}px`
|
|
20
|
+
}, f = {
|
|
21
|
+
fontSize: `${d}px`
|
|
22
|
+
};
|
|
23
|
+
return t("div", { key: "5629f8adbc6f144aad49062883cb85ecf24fc16c", role: "progressbar", "aria-valuemin": this.valueMin, "aria-valuemax": this.valueMax, "aria-valuenow": a, "aria-label": `Gauge value: ${a} of ${this.valueMax}`, class: "relative inline-block rounded-full overflow-hidden", style: g }, t("div", { key: "d668b54b0a5f4bf260a2f1153781c59741bd8694", class: "absolute bg-inverse rounded-full", style: b }), t("div", { key: "f08feba97d30ed893a72a7e07e412aa82ea8cd3d", class: "absolute inset-0 flex items-center justify-center" }, t("span", { key: "2a8dccde44677d4a4b742cd992144d6cf399ee9b", class: "f-body-01 text-default", style: f }, a)));
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
k.style = y;
|
|
27
|
+
export {
|
|
28
|
+
k as eds_gauge
|
|
29
|
+
};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { r as m, h as s } from "./index-DL15mWAH.mjs";
|
|
2
|
+
const d = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.grid{display:grid}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.gap-2{gap:0.5rem;}.gap-4{gap:1rem;}.gap-6{gap:1.5rem;}.p-5{padding:1.25rem;}.p-12{padding:3rem;}.pb-2{padding-bottom:0.25rem;}.pb-4{padding-bottom:1rem;}.mb-6{margin-bottom:1.5rem;}.m-0{margin:0}.mt-auto{margin-top:auto}.w-full{width:100%}.min-w-0{min-width:0}.text-xs{font-size:0.75rem;line-height:1rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-2xl{font-size:1.5rem;line-height:2rem}.font-semibold{font-weight:600}.whitespace-nowrap{white-space:nowrap}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.no-underline{text-decoration:none}.text-gray-600{color:var(--eds-color-gray-600, #4b5563)}.text-gray-900{color:var(--eds-color-gray-900, #111827)}.border-gray-200{border-color:var(--eds-color-gray-200, #e5e7eb)}.bg-white{background-color:var(--eds-color-white, #ffffff)}.text-primary-600{color:var(--eds-color-primary-600, #2563eb)}.hover\\:text-primary-600:hover{color:var(--eds-color-primary-600, #2563eb)}.border-primary-300{border-color:var(--eds-color-primary-300, #93c5fd)}.hover\\:border-primary-300:hover{border-color:var(--eds-color-primary-300, #93c5fd)}.text-success-600{color:var(--eds-color-success-600, #16a34a)}.text-error-600{color:var(--eds-color-error-600, #dc2626)}.border{border-width:1px}.border-b{border-bottom-width:1px}.rounded-lg{border-radius:var(--eds-radius-lg, 0.5rem);}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-200{transition-duration:200ms}.shadow-md{box-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)}.hover\\:shadow-md:hover{box-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)}.-translate-y-0\\.5{transform:translateY(-0.125rem);}.hover\\:-translate-y-0\\.5:hover{transform:translateY(-0.125rem)}.grid-cols-1{grid-template-columns:repeat(1, minmax(0, 1fr))}@media (min-width: 640px){.sm\\:grid-cols-2{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (min-width: 768px){.md\\:grid-cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media (min-width: 1024px){.lg\\:grid-cols-4{grid-template-columns:repeat(4, minmax(0, 1fr))}.lg\\:grid-cols-5{grid-template-columns:repeat(5, minmax(0, 1fr))}}.contributor-card{will-change:transform, box-shadow, border-color}.loading{position:relative;min-height:8rem;padding:1rem 1.25rem;color:var(--grey-dark, #7A7B7A);font-size:0.9375rem;border:1px solid rgba(0, 0, 0, 0.08);border-radius:0.25rem;background-color:rgba(0, 0, 0, 0.02)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}", g = d, h = class {
|
|
3
|
+
constructor(t) {
|
|
4
|
+
m(this, t), this.accessToken = void 0, this.projectId = "3360", this.apiUrl = "https://gitlab.ebrains.eu/api/v4", this.path = void 0, this.limit = 50, this.minCommits = 1, this.showStats = !0, this.columns = "4", this.sortBy = "commits", this.contributors = [], this.loading = !0, this.error = "";
|
|
5
|
+
}
|
|
6
|
+
async componentWillLoad() {
|
|
7
|
+
await this.fetchContributors();
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Parses projectId prop to handle single or multiple project IDs
|
|
11
|
+
*/
|
|
12
|
+
getProjectIds() {
|
|
13
|
+
return this.projectId.split(",").map((t) => t.trim()).filter((t) => t.length > 0);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Fetches commits by path and aggregates by author for a single project
|
|
17
|
+
*/
|
|
18
|
+
async fetchCommitsByPathForProject(t) {
|
|
19
|
+
const r = [];
|
|
20
|
+
let o = 1;
|
|
21
|
+
const a = 100;
|
|
22
|
+
for (; ; ) {
|
|
23
|
+
const e = `${this.apiUrl}/projects/${encodeURIComponent(t)}/repository/commits?path=${encodeURIComponent(this.path)}&per_page=${a}&page=${o}`, n = await fetch(e, {
|
|
24
|
+
headers: {
|
|
25
|
+
"PRIVATE-TOKEN": this.accessToken
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
if (!n.ok)
|
|
29
|
+
throw new Error(`GitLab API error: ${n.status} ${n.statusText}`);
|
|
30
|
+
const l = await n.json();
|
|
31
|
+
if (l.length === 0 || (r.push(...l), l.length < a))
|
|
32
|
+
break;
|
|
33
|
+
o++;
|
|
34
|
+
}
|
|
35
|
+
const i = /* @__PURE__ */ new Map();
|
|
36
|
+
for (const e of r) {
|
|
37
|
+
const n = e.author_email.toLowerCase();
|
|
38
|
+
i.has(n) ? i.get(n).commits++ : i.set(n, {
|
|
39
|
+
name: e.author_name,
|
|
40
|
+
email: e.author_email,
|
|
41
|
+
commits: 1
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
return Array.from(i.values()).map((e) => ({
|
|
45
|
+
name: e.name,
|
|
46
|
+
email: e.email,
|
|
47
|
+
commits: e.commits,
|
|
48
|
+
additions: 0,
|
|
49
|
+
// Not available from commits API
|
|
50
|
+
deletions: 0
|
|
51
|
+
// Not available from commits API
|
|
52
|
+
}));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Fetches contributors from a single project
|
|
56
|
+
* For project 1505 (monorepo), applies path filter if provided
|
|
57
|
+
* For other projects, fetches all contributors
|
|
58
|
+
*/
|
|
59
|
+
async fetchContributorsForProject(t) {
|
|
60
|
+
if (this.path && t === "1505")
|
|
61
|
+
return await this.fetchCommitsByPathForProject(t);
|
|
62
|
+
{
|
|
63
|
+
const o = await fetch(`${this.apiUrl}/projects/${encodeURIComponent(t)}/repository/contributors?per_page=100`, {
|
|
64
|
+
headers: {
|
|
65
|
+
"PRIVATE-TOKEN": this.accessToken
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
if (!o.ok)
|
|
69
|
+
throw new Error(`GitLab API error: ${o.status} ${o.statusText}`);
|
|
70
|
+
return await o.json();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Fetches contributors from GitLab API (supports multiple projects)
|
|
75
|
+
*/
|
|
76
|
+
async fetchContributors() {
|
|
77
|
+
if (!this.accessToken) {
|
|
78
|
+
this.error = "Access token is required for internal projects", this.loading = !1;
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
try {
|
|
82
|
+
this.loading = !0, this.error = "";
|
|
83
|
+
const t = this.getProjectIds();
|
|
84
|
+
let r = [];
|
|
85
|
+
for (const i of t) {
|
|
86
|
+
const e = await this.fetchContributorsForProject(i);
|
|
87
|
+
r.push(...e);
|
|
88
|
+
}
|
|
89
|
+
const o = r.filter((i) => {
|
|
90
|
+
if (i.commits < this.minCommits)
|
|
91
|
+
return !1;
|
|
92
|
+
const e = i.email.toLowerCase(), n = i.name.toLowerCase();
|
|
93
|
+
return ![
|
|
94
|
+
"gitlab-ci",
|
|
95
|
+
"gitlab ci",
|
|
96
|
+
"noreply@gitlab",
|
|
97
|
+
"bot@",
|
|
98
|
+
"automation@"
|
|
99
|
+
].some((c) => e.includes(c) || n.includes(c));
|
|
100
|
+
}), a = this.aggregateContributors(o);
|
|
101
|
+
this.sortBy === "commits" ? a.sort((i, e) => e.commits - i.commits) : a.sort((i, e) => i.username.localeCompare(e.username)), this.contributors = a.slice(0, this.limit), this.loading = !1;
|
|
102
|
+
} catch (t) {
|
|
103
|
+
this.error = t instanceof Error ? t.message : "Failed to fetch contributors", this.loading = !1, console.error("Error fetching GitLab contributors:", t);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Extracts username from email address (part before @)
|
|
108
|
+
*/
|
|
109
|
+
extractUsernameFromEmail(t) {
|
|
110
|
+
return !t || !t.includes("@") ? t || "unknown" : t.split("@")[0];
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Aggregates duplicate contributors by username (extracted from email)
|
|
114
|
+
* Combines commits, additions, and deletions for the same person
|
|
115
|
+
*/
|
|
116
|
+
aggregateContributors(t) {
|
|
117
|
+
const r = /* @__PURE__ */ new Map();
|
|
118
|
+
for (const o of t) {
|
|
119
|
+
const a = this.extractUsernameFromEmail(o.email), i = a.toLowerCase();
|
|
120
|
+
if (r.has(i)) {
|
|
121
|
+
const e = r.get(i);
|
|
122
|
+
e.commits += o.commits, e.additions += o.additions, e.deletions += o.deletions;
|
|
123
|
+
} else
|
|
124
|
+
r.set(i, Object.assign(Object.assign({}, o), { username: a }));
|
|
125
|
+
}
|
|
126
|
+
return Array.from(r.values());
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Gets first and last name from full name
|
|
130
|
+
*/
|
|
131
|
+
parseName(t) {
|
|
132
|
+
const r = t.trim().split(" ");
|
|
133
|
+
if (r.length === 1)
|
|
134
|
+
return { firstName: r[0], lastName: "" };
|
|
135
|
+
const o = r[0], a = r.slice(1).join(" ");
|
|
136
|
+
return { firstName: o, lastName: a };
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Format large numbers with K suffix
|
|
140
|
+
*/
|
|
141
|
+
formatNumber(t) {
|
|
142
|
+
return t >= 1e3 ? `${(t / 1e3).toFixed(1)}K` : t.toString();
|
|
143
|
+
}
|
|
144
|
+
render() {
|
|
145
|
+
if (this.loading)
|
|
146
|
+
return s("div", { class: "loading", role: "status", "aria-live": "polite" }, s("eds-spinner", { size: "sm", variant: "primary", background: "transparent", message: "Loading contributors..." }));
|
|
147
|
+
if (this.error)
|
|
148
|
+
return s("eds-alert", { message: "Error loading contributors", intent: "error" });
|
|
149
|
+
if (this.contributors.length === 0)
|
|
150
|
+
return s("eds-alert", { message: "No contributors found for this project.", intent: "error" });
|
|
151
|
+
const t = `grid gap-6 w-full ${this.columns === "2" ? "grid-cols-1 sm:grid-cols-2" : this.columns === "3" ? "grid-cols-1 sm:grid-cols-2 md:grid-cols-3" : this.columns === "4" ? "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4" : "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5"}`;
|
|
152
|
+
return s("div", { class: "w-full" }, s("div", { class: t }, this.contributors.map((r) => {
|
|
153
|
+
const { firstName: o, lastName: a } = this.parseName(r.name);
|
|
154
|
+
return s("div", { class: "contributor-card flex flex-row gap-4 p-5 bg-white border border-gray-200 rounded-lg transition-all duration-200", key: r.email }, s("div", { class: "flex-shrink-0" }, s("eds-avatar", { firstName: o, lastName: a, color: "black" })), s("div", { class: "min-w-0 flex flex-col gap-2" }, s("span", { class: "f-ui-01 text-default pb-2 m-0 whitespace-nowrap overflow-hidden text-ellipsis" }, "@", r.username), s("div", { class: "flex flex-col gap-2 mt-auto" }, s("div", { class: "flex items-center gap-2 font-semibold" }, s("span", { class: "text-light" }, this.formatNumber(r.commits)), s("span", { class: "text-lighter" }, r.commits === 1 ? "commit" : "commits")))));
|
|
155
|
+
})));
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
h.style = g;
|
|
159
|
+
export {
|
|
160
|
+
h as eds_gitlab_contributors
|
|
161
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-WyhGZcXS.js"),d=".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.grid{display:grid}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.gap-2{gap:0.5rem;}.gap-4{gap:1rem;}.gap-6{gap:1.5rem;}.p-5{padding:1.25rem;}.p-12{padding:3rem;}.pb-2{padding-bottom:0.25rem;}.pb-4{padding-bottom:1rem;}.mb-6{margin-bottom:1.5rem;}.m-0{margin:0}.mt-auto{margin-top:auto}.w-full{width:100%}.min-w-0{min-width:0}.text-xs{font-size:0.75rem;line-height:1rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-2xl{font-size:1.5rem;line-height:2rem}.font-semibold{font-weight:600}.whitespace-nowrap{white-space:nowrap}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.no-underline{text-decoration:none}.text-gray-600{color:var(--eds-color-gray-600, #4b5563)}.text-gray-900{color:var(--eds-color-gray-900, #111827)}.border-gray-200{border-color:var(--eds-color-gray-200, #e5e7eb)}.bg-white{background-color:var(--eds-color-white, #ffffff)}.text-primary-600{color:var(--eds-color-primary-600, #2563eb)}.hover\\:text-primary-600:hover{color:var(--eds-color-primary-600, #2563eb)}.border-primary-300{border-color:var(--eds-color-primary-300, #93c5fd)}.hover\\:border-primary-300:hover{border-color:var(--eds-color-primary-300, #93c5fd)}.text-success-600{color:var(--eds-color-success-600, #16a34a)}.text-error-600{color:var(--eds-color-error-600, #dc2626)}.border{border-width:1px}.border-b{border-bottom-width:1px}.rounded-lg{border-radius:var(--eds-radius-lg, 0.5rem);}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-200{transition-duration:200ms}.shadow-md{box-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)}.hover\\:shadow-md:hover{box-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)}.-translate-y-0\\.5{transform:translateY(-0.125rem);}.hover\\:-translate-y-0\\.5:hover{transform:translateY(-0.125rem)}.grid-cols-1{grid-template-columns:repeat(1, minmax(0, 1fr))}@media (min-width: 640px){.sm\\:grid-cols-2{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (min-width: 768px){.md\\:grid-cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media (min-width: 1024px){.lg\\:grid-cols-4{grid-template-columns:repeat(4, minmax(0, 1fr))}.lg\\:grid-cols-5{grid-template-columns:repeat(5, minmax(0, 1fr))}}.contributor-card{will-change:transform, box-shadow, border-color}.loading{position:relative;min-height:8rem;padding:1rem 1.25rem;color:var(--grey-dark, #7A7B7A);font-size:0.9375rem;border:1px solid rgba(0, 0, 0, 0.08);border-radius:0.25rem;background-color:rgba(0, 0, 0, 0.02)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}",h=d,m=class{constructor(t){s.registerInstance(this,t),this.accessToken=void 0,this.projectId="3360",this.apiUrl="https://gitlab.ebrains.eu/api/v4",this.path=void 0,this.limit=50,this.minCommits=1,this.showStats=!0,this.columns="4",this.sortBy="commits",this.contributors=[],this.loading=!0,this.error=""}async componentWillLoad(){await this.fetchContributors()}getProjectIds(){return this.projectId.split(",").map(t=>t.trim()).filter(t=>t.length>0)}async fetchCommitsByPathForProject(t){const r=[];let o=1;const a=100;for(;;){const e=`${this.apiUrl}/projects/${encodeURIComponent(t)}/repository/commits?path=${encodeURIComponent(this.path)}&per_page=${a}&page=${o}`,n=await fetch(e,{headers:{"PRIVATE-TOKEN":this.accessToken}});if(!n.ok)throw new Error(`GitLab API error: ${n.status} ${n.statusText}`);const l=await n.json();if(l.length===0||(r.push(...l),l.length<a))break;o++}const i=new Map;for(const e of r){const n=e.author_email.toLowerCase();i.has(n)?i.get(n).commits++:i.set(n,{name:e.author_name,email:e.author_email,commits:1})}return Array.from(i.values()).map(e=>({name:e.name,email:e.email,commits:e.commits,additions:0,deletions:0}))}async fetchContributorsForProject(t){if(this.path&&t==="1505")return await this.fetchCommitsByPathForProject(t);{const o=await fetch(`${this.apiUrl}/projects/${encodeURIComponent(t)}/repository/contributors?per_page=100`,{headers:{"PRIVATE-TOKEN":this.accessToken}});if(!o.ok)throw new Error(`GitLab API error: ${o.status} ${o.statusText}`);return await o.json()}}async fetchContributors(){if(!this.accessToken){this.error="Access token is required for internal projects",this.loading=!1;return}try{this.loading=!0,this.error="";const t=this.getProjectIds();let r=[];for(const i of t){const e=await this.fetchContributorsForProject(i);r.push(...e)}const o=r.filter(i=>{if(i.commits<this.minCommits)return!1;const e=i.email.toLowerCase(),n=i.name.toLowerCase();return!["gitlab-ci","gitlab ci","noreply@gitlab","bot@","automation@"].some(c=>e.includes(c)||n.includes(c))}),a=this.aggregateContributors(o);this.sortBy==="commits"?a.sort((i,e)=>e.commits-i.commits):a.sort((i,e)=>i.username.localeCompare(e.username)),this.contributors=a.slice(0,this.limit),this.loading=!1}catch(t){this.error=t instanceof Error?t.message:"Failed to fetch contributors",this.loading=!1,console.error("Error fetching GitLab contributors:",t)}}extractUsernameFromEmail(t){return!t||!t.includes("@")?t||"unknown":t.split("@")[0]}aggregateContributors(t){const r=new Map;for(const o of t){const a=this.extractUsernameFromEmail(o.email),i=a.toLowerCase();if(r.has(i)){const e=r.get(i);e.commits+=o.commits,e.additions+=o.additions,e.deletions+=o.deletions}else r.set(i,Object.assign(Object.assign({},o),{username:a}))}return Array.from(r.values())}parseName(t){const r=t.trim().split(" ");if(r.length===1)return{firstName:r[0],lastName:""};const o=r[0],a=r.slice(1).join(" ");return{firstName:o,lastName:a}}formatNumber(t){return t>=1e3?`${(t/1e3).toFixed(1)}K`:t.toString()}render(){if(this.loading)return s.h("div",{class:"loading",role:"status","aria-live":"polite"},s.h("eds-spinner",{size:"sm",variant:"primary",background:"transparent",message:"Loading contributors..."}));if(this.error)return s.h("eds-alert",{message:"Error loading contributors",intent:"error"});if(this.contributors.length===0)return s.h("eds-alert",{message:"No contributors found for this project.",intent:"error"});const t=`grid gap-6 w-full ${this.columns==="2"?"grid-cols-1 sm:grid-cols-2":this.columns==="3"?"grid-cols-1 sm:grid-cols-2 md:grid-cols-3":this.columns==="4"?"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4":"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5"}`;return s.h("div",{class:"w-full"},s.h("div",{class:t},this.contributors.map(r=>{const{firstName:o,lastName:a}=this.parseName(r.name);return s.h("div",{class:"contributor-card flex flex-row gap-4 p-5 bg-white border border-gray-200 rounded-lg transition-all duration-200",key:r.email},s.h("div",{class:"flex-shrink-0"},s.h("eds-avatar",{firstName:o,lastName:a,color:"black"})),s.h("div",{class:"min-w-0 flex flex-col gap-2"},s.h("span",{class:"f-ui-01 text-default pb-2 m-0 whitespace-nowrap overflow-hidden text-ellipsis"},"@",r.username),s.h("div",{class:"flex flex-col gap-2 mt-auto"},s.h("div",{class:"flex items-center gap-2 font-semibold"},s.h("span",{class:"text-light"},this.formatNumber(r.commits)),s.h("span",{class:"text-lighter"},r.commits===1?"commit":"commits")))))})))}};m.style=h;exports.eds_gitlab_contributors=m;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { r as e, h as r } from "./index-DL15mWAH.mjs";
|
|
2
|
+
import { b as c } from "./bluesky-cc5edd2d-DfuDDO5h.mjs";
|
|
3
|
+
const n = class {
|
|
4
|
+
constructor(s) {
|
|
5
|
+
e(this, s), this.class = "";
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
return r("span", { key: "f2c2ad35173c7bfeae50e5b4de8f59e362d9656f", class: this.class, innerHTML: c });
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
n as eds_icon_bluesky
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),c=require("./bluesky-cc5edd2d-DaFQc-pr.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"f2c2ad35173c7bfeae50e5b4de8f59e362d9656f",class:this.class,innerHTML:c.bluesky})}};exports.eds_icon_bluesky=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),c=require("./eu-8ac3e99c-vr227q5X.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"56f0efdfb37b2dd4474dc2e69ef649915a9f4bbc",class:this.class,innerHTML:c.euSvg})}};exports.eds_icon_eu=r;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { r as e, h as r } from "./index-DL15mWAH.mjs";
|
|
2
|
+
import { e as c } from "./eu-8ac3e99c-CQxZpMa1.mjs";
|
|
3
|
+
const a = class {
|
|
4
|
+
constructor(s) {
|
|
5
|
+
e(this, s), this.class = "";
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
return r("span", { key: "56f0efdfb37b2dd4474dc2e69ef649915a9f4bbc", class: this.class, innerHTML: c });
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
a as eds_icon_eu
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { r as a, h as c } from "./index-DL15mWAH.mjs";
|
|
2
|
+
import { f as o } from "./facebook-9cb5c17f-BcUhbrj6.mjs";
|
|
3
|
+
const t = class {
|
|
4
|
+
constructor(s) {
|
|
5
|
+
a(this, s), this.class = "";
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
return c("span", { key: "798a3ad6a040dfce879fe62c0a32c83cbd529ad0", class: this.class, innerHTML: o });
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
t as eds_icon_facebook
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),s=require("./facebook-9cb5c17f-Y_gvQ682.js"),o=class{constructor(c){e.registerInstance(this,c),this.class=""}render(){return e.h("span",{key:"798a3ad6a040dfce879fe62c0a32c83cbd529ad0",class:this.class,innerHTML:s.facebook})}};exports.eds_icon_facebook=o;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as a, h as
|
|
1
|
+
import { r as a, h as c } from "./index-DL15mWAH.mjs";
|
|
2
2
|
import { g as r } from "./mono-53f70232-DGi2XDlR.mjs";
|
|
3
3
|
const i = class {
|
|
4
4
|
constructor(s) {
|
|
5
5
|
a(this, s), this.class = "";
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return
|
|
8
|
+
return c("span", { key: "d1c7c0c1e3cae3b45377e305792192df46ef064a", class: this.class, innerHTML: r });
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),t=require("./mono-53f70232-DgAsWvoQ.js"),c=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"d1c7c0c1e3cae3b45377e305792192df46ef064a",class:this.class,innerHTML:t.gitlabBlack})}};exports.eds_icon_gitlab=c;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { r as n, h as c } from "./index-DL15mWAH.mjs";
|
|
2
|
+
import { l as e } from "./linkedin-e8650abb-DYMdsale.mjs";
|
|
3
|
+
const a = class {
|
|
4
|
+
constructor(s) {
|
|
5
|
+
n(this, s), this.class = "";
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
return c("span", { key: "d8c97d9140baa6609917021bbc67fc7cca47ee32", class: this.class, innerHTML: e });
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
a as eds_icon_linkedin
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),s=require("./linkedin-e8650abb-BkDrkjzY.js"),i=class{constructor(n){e.registerInstance(this,n),this.class=""}render(){return e.h("span",{key:"d8c97d9140baa6609917021bbc67fc7cca47ee32",class:this.class,innerHTML:s.linkedin})}};exports.eds_icon_linkedin=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-WyhGZcXS.js"),t=require("./mastodon-3703ec61-C9v6Olc-.js"),n=class{constructor(e){s.registerInstance(this,e),this.class=""}render(){return s.h("span",{key:"8498500cd0da2784b889a7b2b2ca9ff4e8414ab6",class:this.class,innerHTML:t.mastodon})}};exports.eds_icon_mastodon=n;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { r as a, h as o } from "./index-DL15mWAH.mjs";
|
|
2
|
+
import { m as r } from "./mastodon-3703ec61-C7iI4Hk0.mjs";
|
|
3
|
+
const c = class {
|
|
4
|
+
constructor(s) {
|
|
5
|
+
a(this, s), this.class = "";
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
return o("span", { key: "8498500cd0da2784b889a7b2b2ca9ff4e8414ab6", class: this.class, innerHTML: r });
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
c as eds_icon_mastodon
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { r as t, h as r } from "./index-DL15mWAH.mjs";
|
|
2
|
+
import { t as c } from "./twitter-ac21b505-CGWVGWM9.mjs";
|
|
3
|
+
const i = class {
|
|
4
|
+
constructor(s) {
|
|
5
|
+
t(this, s), this.class = "";
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
return r("span", { key: "1d2f811831f0c876e8b1133c0df03b6f15acaccb", class: this.class, innerHTML: c });
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
i as eds_icon_twitter
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-WyhGZcXS.js"),s=require("./twitter-ac21b505-DDdHS4hB.js"),r=class{constructor(e){t.registerInstance(this,e),this.class=""}render(){return t.h("span",{key:"1d2f811831f0c876e8b1133c0df03b6f15acaccb",class:this.class,innerHTML:s.twitter})}};exports.eds_icon_twitter=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),t=require("./youtube-efbfbdc4-BLTH1Jl9.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"7ebb80fd84ed9ed7c227b1f1ddf213d0502160f9",class:this.class,innerHTML:t.youtube})}};exports.eds_icon_youtube=r;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { r as e, h as r } from "./index-DL15mWAH.mjs";
|
|
2
|
+
import { y as t } from "./youtube-efbfbdc4-BfySbfjR.mjs";
|
|
3
|
+
const n = class {
|
|
4
|
+
constructor(s) {
|
|
5
|
+
e(this, s), this.class = "";
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
return r("span", { key: "7ebb80fd84ed9ed7c227b1f1ddf213d0502160f9", class: this.class, innerHTML: t });
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
n as eds_icon_youtube
|
|
13
|
+
};
|