@ebrains/vue 2.1.0 → 2.3.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-DmOGtjGN.js +1 -0
- package/{color-primary-palette_6.entry-DT6y6FEy.mjs → color-primary-palette_6.entry-T1Uq_pfx.mjs} +21 -21
- package/{components-section.entry-yX3kMkgT.mjs → components-section.entry-BYss4hVN.mjs} +5 -10
- package/{components-section.entry-DUk1tQHE.js → components-section.entry-DoHZWTpp.js} +3 -6
- package/{correct-use-of-colors.entry-B8pPJm38.js → correct-use-of-colors.entry-CVbtFdQ4.js} +1 -1
- package/{correct-use-of-colors.entry-qD6fSpYF.mjs → correct-use-of-colors.entry-_AEP5kXw.mjs} +2 -2
- package/{docs-palettes.entry-M87-ULxr.mjs → docs-palettes.entry-CiKJxngd.mjs} +2 -2
- package/{docs-palettes.entry-BMNsh6gh.js → docs-palettes.entry-Dz4ew0qT.js} +1 -1
- package/{docs-tokens.entry-DTMTLW6z.mjs → docs-tokens.entry-BzmykxqM.mjs} +2 -2
- package/{docs-tokens.entry-CjGpfZ1N.js → docs-tokens.entry-DrJDcvsB.js} +1 -1
- package/download-47746956-CSto0o7c.mjs +19 -0
- package/download-47746956-DbC-y8R6.js +16 -0
- package/{eds-accordion_33.entry-CH6A78x3.mjs → eds-accordion_36.entry-BxQQm2_M.mjs} +806 -525
- package/{eds-accordion_33.entry-_Zc7vKFf.js → eds-accordion_36.entry-CPDASv4H.js} +18 -14
- package/{eds-app-root.entry-COSmczak.mjs → eds-app-root.entry-e7EL7l-x.mjs} +5 -5
- package/eds-app-root.entry-x29kPQRF.js +1 -0
- package/{eds-card-desc_2.entry-D5GUottX.js → eds-card-desc_2.entry-9-nlPWSp.js} +1 -1
- package/{eds-card-desc_2.entry-YL4OVWD3.mjs → eds-card-desc_2.entry-Cw9szZ1z.mjs} +6 -6
- package/{eds-card-generic.entry-Chm2AUtp.mjs → eds-card-generic.entry-CbJVuc8q.mjs} +5 -5
- package/eds-card-generic.entry-DjMs3E78.js +1 -0
- package/{eds-card-project.entry-JFVjbS0l.js → eds-card-project.entry-BN0zY3KR.js} +1 -1
- package/{eds-card-project.entry-CPqHqPOm.mjs → eds-card-project.entry-DHsBO1z8.mjs} +7 -7
- package/{eds-card-section.entry-JZFsrwn5.js → eds-card-section.entry-CaMRIMSG.js} +1 -1
- package/{eds-card-section.entry-DpMTJ8Kn.mjs → eds-card-section.entry-DjRUomPi.mjs} +2 -2
- package/eds-card-tags.entry-BEpbk9GL.js +1 -0
- package/{eds-card-tags.entry-DnNdxAaA.mjs → eds-card-tags.entry-DlvIkscz.mjs} +2 -2
- package/{eds-card-tool.entry-DPWvJcI1.mjs → eds-card-tool.entry-BgBnyq8Q.mjs} +2 -2
- package/{eds-card-tool.entry-CdtWr6SE.js → eds-card-tool.entry-BkdfP2XJ.js} +1 -1
- package/{eds-cookies-preference.entry-RT9hWQNy.js → eds-cookies-preference.entry-6WgoMeeL.js} +1 -1
- package/{eds-cookies-preference.entry-CGit10s-.mjs → eds-cookies-preference.entry-D8lU4ba5.mjs} +5 -5
- package/{eds-feedback.entry-DVqpmSiS.mjs → eds-feedback.entry-BQOd9buY.mjs} +2 -2
- package/{eds-feedback.entry-B7PDcHGI.js → eds-feedback.entry-C09wvC3i.js} +1 -1
- package/{eds-footer.entry-D-ITdNTf.mjs → eds-footer.entry-B6JWA6jF.mjs} +3 -5
- package/{eds-footer.entry-BzcdvTWO.js → eds-footer.entry-Bsxlq2fH.js} +1 -1
- package/{eds-frame.entry-C2Ldr3c9.mjs → eds-frame.entry-BlrmFkdq.mjs} +2 -2
- package/{eds-frame.entry-tcZQdrbE.js → eds-frame.entry-zcRPlykr.js} +1 -1
- package/eds-fullscreen-menu.entry-BgyR9Ft9.js +1 -0
- package/{eds-fullscreen-menu.entry-BGFJIgQP.mjs → eds-fullscreen-menu.entry-CXctkv-J.mjs} +9 -4
- package/{eds-gauge.entry-pvfbXYgB.js → eds-gauge.entry-BGAAeDNk.js} +1 -1
- package/{eds-gauge.entry-Lu0hJx9p.mjs → eds-gauge.entry-Bz0H6lwK.mjs} +6 -6
- package/{eds-icon-arrow-diagonal.entry-B6IRXDMe.js → eds-icon-arrow-diagonal.entry-CS3CLGAi.js} +1 -1
- package/{eds-icon-arrow-diagonal.entry-COlE8H7P.mjs → eds-icon-arrow-diagonal.entry-gdu-80BO.mjs} +2 -2
- package/eds-icon-arrow-right.entry-CkFeezmn.mjs +13 -0
- package/{eds-icon-arrow-right.entry-BDHsQpfx.js → eds-icon-arrow-right.entry-DRIIdaPF.js} +1 -1
- package/eds-icon-bin.entry-Bk3R3f1-.js +1 -0
- package/eds-icon-bin.entry-BvCGjdPm.mjs +13 -0
- package/{eds-icon-bluesky.entry-QLpKGRxg.js → eds-icon-bluesky.entry-BR9-dHMC.js} +1 -1
- package/eds-icon-bluesky.entry-D0EFqubQ.mjs +13 -0
- package/eds-icon-bookmark.entry-CGAI3QyA.js +1 -0
- package/{eds-icon-bookmark.entry-CqikyWZl.mjs → eds-icon-bookmark.entry-DpqatVN6.mjs} +2 -2
- package/eds-icon-chevron-down.entry-D9kDgiNL.js +1 -0
- package/eds-icon-chevron-down.entry-DyOJp1c4.mjs +13 -0
- package/eds-icon-chevron-left.entry-CF958J1V.mjs +13 -0
- package/eds-icon-chevron-left.entry-eK7YBiH7.js +1 -0
- package/eds-icon-chevron-right.entry-B54HqFR0.mjs +13 -0
- package/{eds-icon-chevron-right.entry-D4MlgSyJ.js → eds-icon-chevron-right.entry-BJN--6FI.js} +1 -1
- package/eds-icon-chevron-up.entry-BYS1rZcB.mjs +13 -0
- package/{eds-icon-chevron-up.entry-wQck5opp.js → eds-icon-chevron-up.entry-CTyQf-ZU.js} +1 -1
- package/eds-icon-clone.entry-Bi6u4NZK.js +1 -0
- package/eds-icon-clone.entry-BogUH8zj.mjs +13 -0
- package/eds-icon-close.entry-BFEBIXRK.js +1 -0
- package/eds-icon-close.entry-BzdaOcRx.mjs +13 -0
- package/{eds-icon-copy.entry-FRGQGwF-.mjs → eds-icon-copy.entry-CKS1UAX-.mjs} +2 -2
- package/{eds-icon-copy.entry-lr2PVIPY.js → eds-icon-copy.entry-CTCvofL4.js} +1 -1
- package/eds-icon-download.entry-CDWyPyDY.js +1 -0
- package/eds-icon-download.entry-DERlmQPX.mjs +13 -0
- package/{eds-icon-draft.entry-B9bUr2sw.js → eds-icon-draft.entry-CRYqUfT2.js} +1 -1
- package/{eds-icon-draft.entry-BwIwH62i.mjs → eds-icon-draft.entry-amgYLsKK.mjs} +2 -2
- package/eds-icon-edit.entry-DOeg4QiB.js +1 -0
- package/eds-icon-edit.entry-LUtETT2N.mjs +13 -0
- package/eds-icon-eu.entry--SKvmZ78.js +1 -0
- package/eds-icon-eu.entry-BEGoCAuU.mjs +13 -0
- package/{eds-icon-external.entry-BqrklnFa.js → eds-icon-external.entry-ChZ1FL3P.js} +1 -1
- package/eds-icon-external.entry-Dn4m7vWp.mjs +13 -0
- package/eds-icon-facebook.entry-DZsqbRfD.mjs +13 -0
- package/{eds-icon-facebook.entry-j4DS-WX4.js → eds-icon-facebook.entry-DfV9C4Dr.js} +1 -1
- package/eds-icon-gitlab.entry-D77cpfRJ.mjs +13 -0
- package/eds-icon-gitlab.entry-DIeER57e.js +1 -0
- package/{eds-icon-linkedin.entry-Bs23nlsd.js → eds-icon-linkedin.entry-629pwcUn.js} +1 -1
- package/eds-icon-linkedin.entry-BckFmn6E.mjs +13 -0
- package/eds-icon-loader.entry-B3Pto6BQ.mjs +13 -0
- package/eds-icon-loader.entry-CVhogX-s.js +1 -0
- package/eds-icon-mastodon.entry-CMP1t_ih.js +1 -0
- package/eds-icon-mastodon.entry-D2tmTpn6.mjs +13 -0
- package/{eds-icon-more.entry-D9S9kaWH.js → eds-icon-menu.entry-C1aGwtSL.js} +1 -1
- package/{eds-icon-more.entry-DIQAQUHB.mjs → eds-icon-menu.entry-Z3-Jh404.mjs} +4 -4
- package/eds-icon-minus.entry-D-E0_C5C.mjs +13 -0
- package/{eds-icon-minus.entry-BdZZH0nX.js → eds-icon-minus.entry-DILrmcVD.js} +1 -1
- package/eds-icon-more.entry-DWm4M7va.js +1 -0
- package/eds-icon-more.entry-IQZGw-s9.mjs +13 -0
- package/eds-icon-paper.entry-BQcUhSap.mjs +13 -0
- package/eds-icon-paper.entry-DIcO2c4x.js +1 -0
- package/{eds-icon-plus.entry-CCZPj6w9.js → eds-icon-plus.entry-C7PWMut5.js} +1 -1
- package/eds-icon-plus.entry-CVXBmift.mjs +13 -0
- package/{eds-icon-portal.entry-B_e1recN.mjs → eds-icon-portal.entry-BawKy0L3.mjs} +2 -2
- package/{eds-icon-portal.entry--FIUk_KW.js → eds-icon-portal.entry-CJYbNFz9.js} +1 -1
- package/{eds-icon-private.entry-CaeaHY9B.js → eds-icon-private.entry-Cj93rsP1.js} +1 -1
- package/eds-icon-private.entry-Dxthm0r3.mjs +13 -0
- package/{eds-icon-public.entry-C4XFHe13.mjs → eds-icon-public.entry-BVzSHEWn.mjs} +2 -2
- package/{eds-icon-public.entry-B1nkVESn.js → eds-icon-public.entry-axhNO5xk.js} +1 -1
- package/{eds-icon-search.entry-C8nsE_QJ.js → eds-icon-search.entry-C3Nym3DE.js} +1 -1
- package/eds-icon-search.entry-v5HlGa5y.mjs +13 -0
- package/eds-icon-star.entry-BFkYwrRS.mjs +13 -0
- package/{eds-icon-star.entry-i4E24D7i.js → eds-icon-star.entry-C00rkDKN.js} +1 -1
- package/{eds-icon-start.entry-XPXm0_E-.js → eds-icon-start.entry-DewvCPD3.js} +1 -1
- package/{eds-icon-start.entry-DDR6VjFj.mjs → eds-icon-start.entry-eBZl7sBE.mjs} +2 -2
- package/eds-icon-success.entry-BUGF1v8F.js +1 -0
- package/{eds-icon-success.entry-iYFlRYkD.mjs → eds-icon-success.entry-CgoF0Rbp.mjs} +2 -2
- package/eds-icon-thumbs-down.entry-BavLDytX.mjs +13 -0
- package/{eds-icon-thumbs-down.entry-CXPSaKje.js → eds-icon-thumbs-down.entry-Dp3Gz057.js} +1 -1
- package/{eds-icon-thumbs-up.entry-DKAME_Ra.js → eds-icon-thumbs-up.entry-GsBxiB5C.js} +1 -1
- package/{eds-icon-thumbs-up.entry-DiGUetz-.mjs → eds-icon-thumbs-up.entry-Gs_-0_po.mjs} +2 -2
- package/{eds-icon-tutorial.entry-CjbYvKJv.js → eds-icon-tutorial.entry-D5UoLRcU.js} +1 -1
- package/eds-icon-tutorial.entry-Du8wRHqJ.mjs +13 -0
- package/eds-icon-twitter.entry-CAbylPka.mjs +13 -0
- package/eds-icon-twitter.entry-urTDHlPq.js +1 -0
- package/eds-icon-unknown.entry-b1pMJTFj.js +1 -0
- package/eds-icon-unknown.entry-kij0l0AA.mjs +13 -0
- package/{eds-icon-updown.entry-B4iGaDou.js → eds-icon-updown.entry-BhwIKv6m.js} +1 -1
- package/eds-icon-updown.entry-C6Zf1laF.mjs +13 -0
- package/{eds-icon-user.entry-C-Vuh8-f.js → eds-icon-user.entry-B3kBtRN7.js} +1 -1
- package/eds-icon-user.entry-CJbhmnjk.mjs +13 -0
- package/eds-icon-view.entry-CMv5ZMRW.mjs +13 -0
- package/{eds-icon-view.entry-z8bJhMBL.js → eds-icon-view.entry-DAzf4qtK.js} +1 -1
- package/{eds-icon-youtube.entry-DhBiT8kG.js → eds-icon-youtube.entry-DNO2iJ4y.js} +1 -1
- package/eds-icon-youtube.entry-_ip3ltAP.mjs +13 -0
- package/{eds-modal.entry-D_Lwb__Q.js → eds-modal.entry-DyyS-gD2.js} +1 -1
- package/{eds-modal.entry-B0n5tknG.mjs → eds-modal.entry-abNvn3T5.mjs} +14 -14
- package/{eds-pie.entry-BuVtNs7I.mjs → eds-pie.entry-0Ek3uXpk.mjs} +1 -1
- package/{eds-pie.entry-klP-etSw.js → eds-pie.entry-OUFZuawn.js} +1 -1
- package/{eds-progress-bar.entry-D2JI1D-e.mjs → eds-progress-bar.entry-BWvsCgoZ.mjs} +4 -4
- package/{eds-progress-bar.entry-Ro89l7BR.js → eds-progress-bar.entry-DXq-sjzJ.js} +1 -1
- package/{eds-section-core_2.entry-Cz99NRlc.mjs → eds-section-core_2.entry-DAAJk_0U.mjs} +9 -9
- package/{eds-section-core_2.entry-Bc9axwtz.js → eds-section-core_2.entry-DL493cXU.js} +1 -1
- package/eds-social-networks.entry-CocjhCqH.mjs +48 -0
- package/eds-social-networks.entry-Dp_L6Xp1.js +1 -0
- package/{eds-splash-screen.entry-Dw0Ji6bZ.js → eds-splash-screen.entry-B_Ui9QHu.js} +1 -1
- package/{eds-splash-screen.entry-BUnIKxtD.mjs → eds-splash-screen.entry-DB0gqDmU.mjs} +1 -1
- package/{eds-timeline.entry-BMaUPN_o.mjs → eds-timeline.entry-DEiVdYgl.mjs} +5 -5
- package/{eds-timeline.entry-DHGMZu2-.js → eds-timeline.entry-pOPH5Xwq.js} +1 -1
- package/{eds-toast-manager.entry-Bv30X8tV.js → eds-toast-manager.entry-C-Biyzq3.js} +1 -1
- package/{eds-toast-manager.entry-XryfFnO2.mjs → eds-toast-manager.entry-TPhTiYc3.mjs} +5 -5
- package/{eds-trl.entry-BKzMfF-8.js → eds-trl.entry-BpZ1BGz-.js} +1 -1
- package/eds-trl.entry-lLTRucQv.mjs +34 -0
- package/generated/components.d.ts +1 -0
- package/{incorrect-use-of-colors.entry-Dq7AmLvI.js → incorrect-use-of-colors.entry-Bg_QoAyg.js} +1 -1
- package/{incorrect-use-of-colors.entry-CCB_JH3R.mjs → incorrect-use-of-colors.entry-Btlv1yy_.mjs} +4 -4
- package/{index-UwPjPR0d.mjs → index-BEqOhpq-.mjs} +359 -332
- package/index-CmWxVrp5.js +21 -0
- package/index.js +1 -1
- package/index.mjs +24 -23
- package/{logo-space.entry-B1Swm7_s.js → logo-space.entry-Cq6mAeYD.js} +2 -2
- package/{logo-space.entry-sagbhmap.mjs → logo-space.entry-TxvU3e_f.mjs} +6 -6
- package/{logo-variations-horizontal_2.entry-Bo9dz9bE.mjs → logo-variations-horizontal_2.entry-BUeoGUdr.mjs} +7 -7
- package/{logo-variations-horizontal_2.entry-DEm05l2M.js → logo-variations-horizontal_2.entry-FQa0BI8T.js} +3 -3
- package/{logo-variations-tabs.entry-v9gzHb2S.mjs → logo-variations-tabs.entry-CBVuixy1.mjs} +5 -5
- package/{logo-variations-tabs.entry-Dr6pNuIm.js → logo-variations-tabs.entry-D_KSMJtI.js} +1 -1
- package/{logo-wrong-usage.entry-DiAAZlws.mjs → logo-wrong-usage.entry-BLEdjGxj.mjs} +6 -6
- package/{logo-wrong-usage.entry-Cb2OzANv.js → logo-wrong-usage.entry-DCe12fL1.js} +1 -1
- package/package.json +1 -1
- package/{svg-repository.entry-DENznUDI.mjs → svg-repository.entry-BsiKgbSl.mjs} +92 -106
- package/{svg-repository.entry-Bl6IMNNr.js → svg-repository.entry-D32nTEwb.js} +9 -24
- package/{token-list_3.entry-BBS0BioQ.mjs → token-list_3.entry-B1VvJfT4.mjs} +15 -15
- package/{token-list_3.entry-HXbPQp0w.js → token-list_3.entry-BGoOKW64.js} +1 -1
- package/{token-ratios.entry-Cz3StGLv.js → token-ratios.entry-CdZRaAMQ.js} +1 -1
- package/token-ratios.entry-DKabsuiv.mjs +25 -0
- package/token-spacing.entry-BSxPtHaq.mjs +12 -0
- package/token-spacing.entry-bBZ_CJ-x.js +1 -0
- package/{token-typography.entry-DTzyoov1.js → token-typography.entry-CKZ2etxa.js} +2 -2
- package/{token-typography.entry-DDfSupWC.mjs → token-typography.entry-D7IbyfZv.mjs} +6 -6
- package/color-primary-palette_6.entry-BXemwFsT.js +0 -1
- package/eds-app-root.entry-DIHavIUM.js +0 -1
- package/eds-card-generic.entry-Diq4dtrs.js +0 -1
- package/eds-card-tags.entry-DylnM44o.js +0 -1
- package/eds-fullscreen-menu.entry-BPbeGaPc.js +0 -1
- package/eds-icon-arrow-right.entry-Diznub_E.mjs +0 -13
- package/eds-icon-bin.entry-Bfl68q7b.mjs +0 -13
- package/eds-icon-bin.entry-ultyoyMK.js +0 -1
- package/eds-icon-bluesky.entry-Dzx9WU3j.mjs +0 -13
- package/eds-icon-bookmark.entry-CaBpzM1Z.js +0 -1
- package/eds-icon-chevron-down.entry-C-Z3ai4m.mjs +0 -13
- package/eds-icon-chevron-down.entry-CzxQpRMw.js +0 -1
- package/eds-icon-chevron-left.entry-BnE13pkI.mjs +0 -13
- package/eds-icon-chevron-left.entry-DcS5XbLe.js +0 -1
- package/eds-icon-chevron-right.entry-nJd-cRnH.mjs +0 -13
- package/eds-icon-chevron-up.entry-DRT2Ubhe.mjs +0 -13
- package/eds-icon-clone.entry-BXVQstwR.mjs +0 -13
- package/eds-icon-clone.entry-DT1LJrsq.js +0 -1
- package/eds-icon-close.entry-BadFYgtq.js +0 -1
- package/eds-icon-close.entry-D2oFO-Qa.mjs +0 -13
- package/eds-icon-edit.entry-CvVY2UCN.mjs +0 -13
- package/eds-icon-edit.entry-sr_B_lUk.js +0 -1
- package/eds-icon-eu.entry-CWqu1Rr1.mjs +0 -13
- package/eds-icon-eu.entry-DDO74t4u.js +0 -1
- package/eds-icon-external.entry-CcbC-mfi.mjs +0 -13
- package/eds-icon-facebook.entry-BtsECcJC.mjs +0 -13
- package/eds-icon-gitlab.entry-BNblqbEX.mjs +0 -13
- package/eds-icon-gitlab.entry-sQHBONNM.js +0 -1
- package/eds-icon-linkedin.entry-CW-eurxB.mjs +0 -13
- package/eds-icon-loader.entry-CTnsFpV3.js +0 -1
- package/eds-icon-loader.entry-J7Ane02R.mjs +0 -13
- package/eds-icon-mastodon.entry-B-ep-Tof.js +0 -1
- package/eds-icon-mastodon.entry-BI2ATALp.mjs +0 -13
- package/eds-icon-menu.entry-CyhJAZL1.mjs +0 -13
- package/eds-icon-menu.entry-U1p7j7fy.js +0 -1
- package/eds-icon-minus.entry-CgX27qzW.mjs +0 -13
- package/eds-icon-paper.entry-5re06zkj.js +0 -1
- package/eds-icon-paper.entry-Bkx17qOK.mjs +0 -13
- package/eds-icon-plus.entry-BzkeCu8f.mjs +0 -13
- package/eds-icon-private.entry-BBt40biA.mjs +0 -13
- package/eds-icon-search.entry-jhUWh3yI.mjs +0 -13
- package/eds-icon-star.entry-BZwxie0S.mjs +0 -13
- package/eds-icon-success.entry-DDNbMpuL.js +0 -1
- package/eds-icon-thumbs-down.entry-B1pz46Mt.mjs +0 -13
- package/eds-icon-tutorial.entry-BJ2VttuA.mjs +0 -13
- package/eds-icon-twitter.entry-CRXixMx5.mjs +0 -13
- package/eds-icon-twitter.entry-D_pH9RWV.js +0 -1
- package/eds-icon-unknown.entry-B3C3gOfb.mjs +0 -13
- package/eds-icon-unknown.entry-Bh31uRll.js +0 -1
- package/eds-icon-updown.entry-DTJ9wPMo.mjs +0 -13
- package/eds-icon-user.entry-CGqSkZpC.mjs +0 -13
- package/eds-icon-view.entry-CjMq3fA0.mjs +0 -13
- package/eds-icon-youtube.entry-DSxMazqf.mjs +0 -13
- package/eds-social-networks.entry-CaNhyMcu.js +0 -1
- package/eds-social-networks.entry-DD-vQy71.mjs +0 -50
- package/eds-spinner.entry-BB5fBr88.mjs +0 -68
- package/eds-spinner.entry-zSti41IG.js +0 -1
- package/eds-tooltip.entry-BFyPuNDr.js +0 -5
- package/eds-tooltip.entry-rMFVtJBN.mjs +0 -31
- package/eds-trl.entry-NW2Zpg0k.mjs +0 -34
- package/index-DM535IHr.js +0 -21
- package/token-ratios.entry-BomK7oM-.mjs +0 -25
- package/token-spacing.entry-4mnRkK32.mjs +0 -12
- package/token-spacing.entry-BgDT6uk3.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
const
|
|
1
|
+
import { r as c, h as e } from "./index-BEqOhpq-.mjs";
|
|
2
|
+
const r = class {
|
|
3
3
|
constructor(i) {
|
|
4
|
-
|
|
4
|
+
c(this, i), this.isAuthenticated = !1;
|
|
5
5
|
}
|
|
6
6
|
componentWillLoad() {
|
|
7
7
|
const i = new Promise((a) => {
|
|
@@ -17,9 +17,9 @@ const d = class {
|
|
|
17
17
|
this.combinedInitPromise = Promise.all([i, n]);
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return e("div", { key: "
|
|
20
|
+
return e("div", { key: "814465ac49c8f5688bc8b1006723a531c925c030" }, e("eds-splash-screen", { key: "578982c4b01714129ebf0e7c415bdacea10061f8", inverse: !0, initPromise: this.combinedInitPromise }), e("eds-login", { key: "abc4ef7fed629bc2eda0e2f14f5165b83851794d", "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), e("main", { key: "1fb96900889c942ec0beb120e1ed869a9d78c6fa" }, 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-CmWxVrp5.js"),s=class{constructor(i){e.registerInstance(this,i),this.isAuthenticated=!1}componentWillLoad(){const i=new Promise(a=>{document.addEventListener("initKeycloak",t=>{a(t.detail)},{once:!0})}),c=new Promise(a=>{document.addEventListener("authStatusChanged",t=>{var n;this.isAuthenticated=(n=t.detail)===null||n===void 0?void 0:n.authenticated,a(t.detail)},{once:!0})});this.combinedInitPromise=Promise.all([i,c])}render(){return e.h("div",{key:"814465ac49c8f5688bc8b1006723a531c925c030"},e.h("eds-splash-screen",{key:"578982c4b01714129ebf0e7c415bdacea10061f8",inverse:!0,initPromise:this.combinedInitPromise}),e.h("eds-login",{key:"abc4ef7fed629bc2eda0e2f14f5165b83851794d","keycloak-url":"http://localhost:8080","keycloak-realm":"nigeor-realm","keycloak-client-id":"stencil-app"}),e.h("main",{key:"1fb96900889c942ec0beb120e1ed869a9d78c6fa"},this.isAuthenticated?e.h("h1",null,"Welcome, authenticated user!"):e.h("h1",null,"Please log in.")))}};exports.eds_app_root=s;
|
|
@@ -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-CmWxVrp5.js"),a=".f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}",r=a,i=class{constructor(e){t.registerInstance(this,e),this.description=void 0,this.truncate=!0,this.truncateLines="3"}getTruncateClass(){return this.truncate&&this.truncateLines?`line-clamp-${this.truncateLines}`:""}render(){return t.h("p",{key:"1e2ae9b46a477adb8a249a0a06c963d3e44ff297",class:"text-light f-ui-03-light"},t.h("span",{key:"072222b2b2249a772c1e26f566d7ac863dd6a1dd",class:this.getTruncateClass()},this.description))}};i.style=r;const h="a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.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)}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}",l=h,n=class{constructor(e){t.registerInstance(this,e),this.url=void 0,this.titleClass=void 0,this.headingLevel="h3",this.externalLink=!1,this.cardTitle=void 0,this.hierarchy=!0}getTitleClass(){return`f-heading-${(this.hierarchy?{h1:"05",h2:"05",h3:"05",h4:"05",h5:"05",h6:"06"}:{h1:"01",h2:"02",h3:"03",h4:"04",h5:"05",h6:"06"})[this.headingLevel]}`}render(){const e=this.headingLevel;return t.h(e,{key:"1fd3f080c09f94d7b7175d51b9d8e38bb0b76286",class:this.getTitleClass()},t.h("a",{key:"dd06cbecbc9eaef8052f34eae28ae17c5f92c918",class:"break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none",href:this.url,target:this.externalLink?"_blank":void 0,rel:this.externalLink?"noopener noreferrer":void 0},this.cardTitle))}};n.style=l;exports.eds_card_desc=i;exports.eds_card_title=n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as i, h as t } from "./index-
|
|
1
|
+
import { r as i, h as t } from "./index-BEqOhpq-.mjs";
|
|
2
2
|
const n = ".f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}", a = n, r = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
i(this, e), this.description = void 0, this.truncate = !0, this.truncateLines = "3";
|
|
@@ -7,11 +7,11 @@ const n = ".f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weigh
|
|
|
7
7
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : "";
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return t("p", { key: "
|
|
10
|
+
return t("p", { key: "1e2ae9b46a477adb8a249a0a06c963d3e44ff297", class: "text-light f-ui-03-light" }, t("span", { key: "072222b2b2249a772c1e26f566d7ac863dd6a1dd", class: this.getTruncateClass() }, this.description));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
r.style = a;
|
|
14
|
-
const h = "a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.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)}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}",
|
|
14
|
+
const h = "a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.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)}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}", l = h, f = class {
|
|
15
15
|
constructor(e) {
|
|
16
16
|
i(this, e), this.url = void 0, this.titleClass = void 0, this.headingLevel = "h3", this.externalLink = !1, this.cardTitle = void 0, this.hierarchy = !0;
|
|
17
17
|
}
|
|
@@ -43,11 +43,11 @@ const h = "a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:
|
|
|
43
43
|
}*/
|
|
44
44
|
render() {
|
|
45
45
|
const e = this.headingLevel;
|
|
46
|
-
return t(e, { key: "
|
|
46
|
+
return t(e, { key: "1fd3f080c09f94d7b7175d51b9d8e38bb0b76286", class: this.getTitleClass() }, t("a", { key: "dd06cbecbc9eaef8052f34eae28ae17c5f92c918", class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? "_blank" : void 0, rel: this.externalLink ? "noopener noreferrer" : void 0 }, this.cardTitle));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
|
|
49
|
+
f.style = l;
|
|
50
50
|
export {
|
|
51
51
|
r as eds_card_desc,
|
|
52
|
-
|
|
52
|
+
f as eds_card_title
|
|
53
53
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r, h as
|
|
1
|
+
import { r, h as i, g as a } from "./index-BEqOhpq-.mjs";
|
|
2
2
|
import { p as s } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
3
3
|
import { s as o } from "./analytics-d99780e3-Bay18Oil.mjs";
|
|
4
|
-
const n = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}", d = n,
|
|
4
|
+
const n = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-8{margin-bottom:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}", d = n, l = class {
|
|
5
5
|
constructor(e) {
|
|
6
6
|
r(this, e), this.parentContext = null, this.cardTitle = void 0, this.url = void 0, this.description = void 0, this.image = void 0, this.avatar = void 0, this.shortAbbreviation = void 0, this.headingLevel = "h3", this.tags = [], this.tiny = !1, this.bg = !0, this.withHover = !0, this.hierarchy = !0, this.parsedImage = null;
|
|
7
7
|
}
|
|
@@ -44,13 +44,13 @@ const n = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25r
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return
|
|
47
|
+
return i("article", { key: "76e77261a0c6e0c506fe7600d31a492808293d27", class: this.articleClasses(), onClick: () => this.handleClick() }, i("eds-card-title", { key: "ca26508b05a31310df7fc0c3fa5769f7947e80fc", "heading-level": this.headingLevel, titleClass: this.image ? "f-ui-01" : void 0, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), i("div", { key: "00ba325e6a0093cb2be35854f2bcb579ad4eb35b", class: "mt-8 mb-8" }, this.description && i("eds-card-desc", { key: "7f8b687ac2c2f334549b5d9d438aab5c62a6fcc0", "truncate-lines": "3", description: this.description })), this.parsedImage ? i("eds-img", Object.assign({ class: "mt-8 block mx-auto" }, this.parsedImage)) : this.avatar || this.shortAbbreviation ? i("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation }) : null, i("div", { key: "63cc046648dbf7d56909b2478d6c15b14e8d9ae4", class: "flex flex-wrap gap-y-4 gap-x-1" }, this.parsedTags.map((e, t) => i("eds-tag", { key: t, intent: e.style, label: e.label, size: e.size }))), " ");
|
|
48
48
|
}
|
|
49
49
|
get el() {
|
|
50
50
|
return a(this);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
|
-
|
|
53
|
+
l.style = d;
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
l as eds_card_generic
|
|
56
56
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-CmWxVrp5.js"),a=require("./sharedUtils-a550989c-m4pF1Vqy.js"),s=require("./analytics-d99780e3-DgvAss6l.js"),o=".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-8{margin-bottom:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}",n=o,i=class{constructor(e){t.registerInstance(this,e),this.parentContext=null,this.cardTitle=void 0,this.url=void 0,this.description=void 0,this.image=void 0,this.avatar=void 0,this.shortAbbreviation=void 0,this.headingLevel="h3",this.tags=[],this.tiny=!1,this.bg=!0,this.withHover=!0,this.hierarchy=!0,this.parsedImage=null}componentWillLoad(){if(this.image)try{typeof this.image=="object"?this.parsedImage=this.image:typeof this.image=="string"&&(this.parsedImage=JSON.parse(this.image))}catch(e){console.error("Error parsing image prop:",e),this.parsedImage={}}}handleParentContext(e){e.target===this.el&&(this.parentContext=e.detail,e.stopPropagation())}get parsedTags(){return a.parseData(this.tags)}articleClasses(){return[this.description?this.tiny?"min-h-120":"min-h-156":"h-auto",this.bg?"bg-inverse":"bg-default",this.withHover?"effect-shadow hover:shadow-hover cursor-pointer":"","border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"].join(" ")}handleClick(){var e;s.sendAnalytics({category:"ui-component",parentContext:this.parentContext,tag:this.el.tagName.toLowerCase(),name:((e=this.cardTitle)===null||e===void 0?void 0:e.toLowerCase())||"",action:"click"})}render(){return t.h("article",{key:"76e77261a0c6e0c506fe7600d31a492808293d27",class:this.articleClasses(),onClick:()=>this.handleClick()},t.h("eds-card-title",{key:"ca26508b05a31310df7fc0c3fa5769f7947e80fc","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.cardTitle,url:this.url,hierarchy:this.hierarchy}),t.h("div",{key:"00ba325e6a0093cb2be35854f2bcb579ad4eb35b",class:"mt-8 mb-8"},this.description&&t.h("eds-card-desc",{key:"7f8b687ac2c2f334549b5d9d438aab5c62a6fcc0","truncate-lines":"3",description:this.description})),this.parsedImage?t.h("eds-img",Object.assign({class:"mt-8 block mx-auto"},this.parsedImage)):this.avatar||this.shortAbbreviation?t.h("eds-avatar",{class:"order-first mb-12",picture:this.avatar,initials:this.shortAbbreviation}):null,t.h("div",{key:"63cc046648dbf7d56909b2478d6c15b14e8d9ae4",class:"flex flex-wrap gap-y-4 gap-x-1"},this.parsedTags.map((e,r)=>t.h("eds-tag",{key:r,intent:e.style,label:e.label,size:e.size})))," ")}get el(){return t.getElement(this)}};i.style=n;exports.eds_card_generic=i;
|
|
@@ -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-CmWxVrp5.js"),i=require("./analytics-d99780e3-DgvAss6l.js"),s=require("./index-39c58238-SQ-JC-LH.js"),l=["green","yellow","among-blue","purple"],d=s.cva([],{variants:{color:l.reduce((t,o)=>Object.assign(Object.assign({},t),{[o]:""}),{}),direction:{top:"",bottom:""},pseudo:{true:"before:effect-opacity effect-bg-behind",false:""},hover:{true:"before:opacity-0 hover:before:opacity-100",false:""}},compoundVariants:[{color:"green",direction:"top",pseudo:!0,class:"before:bg-gradient-01-top"},{color:"green",pseudo:!0,direction:"bottom",class:"before:bg-gradient-01-bottom"},{color:"green",direction:"top",pseudo:!1,class:"bg-gradient-01-top"},{color:"green",pseudo:!1,direction:"bottom",class:"bg-gradient-01-bottom"},{color:"yellow",direction:"top",pseudo:!0,class:"before:bg-gradient-02-top"},{color:"yellow",direction:"bottom",pseudo:!0,class:"before:bg-gradient-02-bottom"},{color:"yellow",direction:"top",pseudo:!1,class:"bg-gradient-02-top"},{color:"yellow",direction:"bottom",pseudo:!1,class:"bg-gradient-02-bottom"},{color:"purple",direction:"top",pseudo:!0,class:"before:bg-gradient-03-top"},{color:"purple",direction:"bottom",pseudo:!0,class:"before:bg-gradient-03-bottom"},{color:"purple",direction:"top",pseudo:!1,class:"bg-gradient-03-top"},{color:"purple",direction:"bottom",pseudo:!1,class:"bg-gradient-03-bottom"},{color:"among-blue",direction:"top",pseudo:!0,class:"before:bg-gradient-04-top"},{color:"among-blue",direction:"bottom",pseudo:!0,class:"before:bg-gradient-04-bottom"},{color:"among-blue",direction:"top",pseudo:!1,class:"bg-gradient-04-top"},{color:"among-blue",direction:"bottom",pseudo:!1,class:"bg-gradient-04-bottom"}],defaultVariants:{direction:"top",pseudo:!0}}),c=class{constructor(t){e.registerInstance(this,t),this.image=void 0,this.editorialTitle=void 0,this.headingLevel="h3",this.categoryTitle=void 0,this.color=void 0,this.bgOnHover=!1,this.vertical=!1,this.titleProject=void 0,this.url=void 0,this.parsedImage=null}componentWillLoad(){if(this.image)try{this.parsedImage=JSON.parse(this.image)}catch{}}handleClick(t){var o;t.preventDefault(),i.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:((o=this.titleProject)===null||o===void 0?void 0:o.toLowerCase())||"",action:"click"})}render(){var t;const o=["min-h-156 border-inside after:border-softest @container overflow-hidden border-0 after:rounded-lg",this.color?d({color:this.color,hover:this.bgOnHover,class:"before:border-2 before:rounded-lg before:border-softest"}):"bg-default",this.bgOnHover&&this.color?"effect-background bg-default focus-within:bg-transparent hover:bg-transparent":"effect-background hover:bg-default",this.vertical?"flex-col gap-y-16":"flex-col gap-x-16 gap-y-12 lg:flex-row"].join(" "),r=this.vertical?"":"max-w-120 @md:max-w-192 order-first w-full lg:order-last";return e.h("article",{key:"65af57bfbe558b895f74dd4d088c243a25c7265d",class:o,onClick:a=>this.handleClick(a)},e.h("div",{key:"cf0e9f71cd617a44facf7e35cdf78774e41b3eb1",class:`flex grow flex-col ${this.vertical?"min-h-156":""}`},e.h("div",{key:"82870bbaf7203ac92f25ca241186ba7a32b784d5",class:"lg:max-w-[720px]"},e.h("eds-card-title",{key:"0f0356d2e4a7af3a5d50c66382ff5d3f70298e8c","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.titleProject,url:this.url}),this.editorialTitle&&e.h("span",{key:"3586446f9ad1bb190c93cd54d7e53d6e835b8e37",class:`block ${this.vertical?"f-ui-02":"mt-4 f-heading-06"}`},this.editorialTitle)),this.categoryTitle&&e.h("div",{key:"750c707f04d12ddd1d38aa0377b47f8804070535",class:"mt-auto flex items-center gap-x-12 pt-12"},((t=this.categoryTitle)===null||t===void 0?void 0:t.length)&&e.h("eds-tag",{key:"01fbeebd88ee60feede3b21db177b3691ffc2808",label:this.categoryTitle}))),this.parsedImage&&e.h("div",{key:"c61baca9d015c9bfb7ec6ce3ec4ea2e41d8ac513",class:r},e.h("div",{key:"04d4828b6648470543ddde09d935aaa7c6133d7e",class:"aspect-1x1 w-full"},e.h("eds-img",Object.assign({key:"cde6eb483641c02abb6c229470f07aa5b08fbf9b",sizes:this.vertical?this.parsedImage.sizes||"":"192px"},this.parsedImage)))))}get el(){return e.getElement(this)}};exports.eds_card_project=c;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as i, h as t, g as s } from "./index-
|
|
2
|
-
import { s as
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
1
|
+
import { r as i, h as t, g as s } from "./index-BEqOhpq-.mjs";
|
|
2
|
+
import { s as l } from "./analytics-d99780e3-Bay18Oil.mjs";
|
|
3
|
+
import { c as d } from "./index-39c58238-BwYCDOHZ.mjs";
|
|
4
|
+
const c = ["green", "yellow", "among-blue", "purple"], n = d([], {
|
|
5
5
|
variants: {
|
|
6
|
-
color:
|
|
6
|
+
color: c.reduce((e, o) => Object.assign(Object.assign({}, e), { [o]: "" }), {}),
|
|
7
7
|
direction: {
|
|
8
8
|
top: "",
|
|
9
9
|
bottom: ""
|
|
@@ -140,7 +140,7 @@ const d = ["green", "yellow", "among-blue", "purple"], n = l([], {
|
|
|
140
140
|
}
|
|
141
141
|
handleClick(e) {
|
|
142
142
|
var o;
|
|
143
|
-
e.preventDefault(),
|
|
143
|
+
e.preventDefault(), l({
|
|
144
144
|
category: "ui-component",
|
|
145
145
|
tag: this.el.tagName.toLowerCase(),
|
|
146
146
|
name: ((o = this.titleProject) === null || o === void 0 ? void 0 : o.toLowerCase()) || "",
|
|
@@ -159,7 +159,7 @@ const d = ["green", "yellow", "among-blue", "purple"], n = l([], {
|
|
|
159
159
|
this.bgOnHover && this.color ? "effect-background bg-default focus-within:bg-transparent hover:bg-transparent" : "effect-background hover:bg-default",
|
|
160
160
|
this.vertical ? "flex-col gap-y-16" : "flex-col gap-x-16 gap-y-12 lg:flex-row"
|
|
161
161
|
].join(" "), r = this.vertical ? "" : "max-w-120 @md:max-w-192 order-first w-full lg:order-last";
|
|
162
|
-
return t("article", { key: "
|
|
162
|
+
return t("article", { key: "65af57bfbe558b895f74dd4d088c243a25c7265d", class: o, onClick: (a) => this.handleClick(a) }, t("div", { key: "cf0e9f71cd617a44facf7e35cdf78774e41b3eb1", class: `flex grow flex-col ${this.vertical ? "min-h-156" : ""}` }, t("div", { key: "82870bbaf7203ac92f25ca241186ba7a32b784d5", class: "lg:max-w-[720px]" }, t("eds-card-title", { key: "0f0356d2e4a7af3a5d50c66382ff5d3f70298e8c", "heading-level": this.headingLevel, titleClass: this.image ? "f-ui-01" : void 0, "card-title": this.titleProject, url: this.url }), this.editorialTitle && t("span", { key: "3586446f9ad1bb190c93cd54d7e53d6e835b8e37", class: `block ${this.vertical ? "f-ui-02" : "mt-4 f-heading-06"}` }, this.editorialTitle)), this.categoryTitle && t("div", { key: "750c707f04d12ddd1d38aa0377b47f8804070535", class: "mt-auto flex items-center gap-x-12 pt-12" }, ((e = this.categoryTitle) === null || e === void 0 ? void 0 : e.length) && t("eds-tag", { key: "01fbeebd88ee60feede3b21db177b3691ffc2808", label: this.categoryTitle }))), this.parsedImage && t("div", { key: "c61baca9d015c9bfb7ec6ce3ec4ea2e41d8ac513", class: r }, t("div", { key: "04d4828b6648470543ddde09d935aaa7c6133d7e", class: "aspect-1x1 w-full" }, t("eds-img", Object.assign({ key: "cde6eb483641c02abb6c229470f07aa5b08fbf9b", sizes: this.vertical ? this.parsedImage.sizes || "" : "192px" }, this.parsedImage)))));
|
|
163
163
|
}
|
|
164
164
|
get el() {
|
|
165
165
|
return s(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-CmWxVrp5.js"),l=require("./sharedUtils-a550989c-m4pF1Vqy.js"),e='ol,ul,menu{list-style:none;margin:0;padding:0}.w-full{width:100%}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-cols-4{grid-template-columns:repeat(4, minmax(0, 1fr))}.grid-cols-4[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-4[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+1)::before{inset-inline-start:0}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+4)::before{inset-inline-end:0}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+1):nth-last-child(-n+4)::before{border-bottom-width:0}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+1):nth-last-child(-n+4)~*::before{border-bottom-width:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(4n+4)::after{border-inline-end-width:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+4)::after{top:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(4n+1):nth-last-child(-n+4)::after{bottom:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(4n+1):nth-last-child(-n+4)~li::after{bottom:0}.grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.gap-y-4{row-gap:0.25rem}.gap-y-8{row-gap:0.5rem}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:gap-y-12{row-gap:0.75rem}.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 750px){.md\\:grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.md\\:grid-col-span-2{--container-grid-columns:2;grid-column:span 2 / span 2}.md\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}.md\\:grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.md\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.md\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.md\\:w-10-cols>*{--container-grid-columns:10}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:w-8-cols{width:calc(((8 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (8 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.lg\\:w-8-cols{width:calc(((8 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (8 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.lg\\:w-8-cols>*{--container-grid-columns:8}.lg\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.lg\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.lg\\:w-10-cols>*{--container-grid-columns:10}}@media (min-width: 900px){.lg\\:order-last{order:9999}.lg\\:order-none{order:0}.lg\\:mt-0{margin-top:0rem}.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:w-\\[150px\\]{width:150px}.lg\\:w-auto{width:auto}.lg\\:max-w-\\[720px\\]{max-width:720px}.lg\\:flex-row{flex-direction:row}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:gap-y-16{row-gap:1rem}.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}.lg\\:\\!pl-12{padding-left:0.75rem !important}.lg\\:\\!pr-12{padding-right:0.75rem !important}}',a=e,i=class{constructor(r){n.registerInstance(this,r),this.cards=[],this.occupyCols=1}get parsedCards(){return l.parseData(this.cards)}render(){return n.h("section",{key:"bae0833e4d29cb2874bfb1751d7663751fd64abe",class:"w-full"},n.h("ul",{key:"001026f2866cf6101c317f08d32eac4dff46d335",class:"grid-layout grid-cols-4 gap-y-8 md:gap-y-12 lg:gap-y-16"},this.parsedCards.map(r=>n.h("li",{class:`grid-col-span-4 md:grid-col-span-${this.occupyCols} flex flex-col`},n.h("eds-card-generic",{cardTitle:r.title,description:r.description,avatar:r.avatar,headingLevel:r.headingLevel,tags:r.tags,url:r.url,bg:r.bg,tiny:r.tiny,image:r.image,withHover:r.withHover})))))}};i.style=a;exports.eds_card_section=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as i, h as n } from "./index-
|
|
1
|
+
import { r as i, h as n } from "./index-BEqOhpq-.mjs";
|
|
2
2
|
import { p as l } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
3
3
|
const e = 'ol,ul,menu{list-style:none;margin:0;padding:0}.w-full{width:100%}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-cols-4{grid-template-columns:repeat(4, minmax(0, 1fr))}.grid-cols-4[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-4[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+1)::before{inset-inline-start:0}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+4)::before{inset-inline-end:0}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+1):nth-last-child(-n+4)::before{border-bottom-width:0}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+1):nth-last-child(-n+4)~*::before{border-bottom-width:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(4n+4)::after{border-inline-end-width:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+4)::after{top:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(4n+1):nth-last-child(-n+4)::after{bottom:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(4n+1):nth-last-child(-n+4)~li::after{bottom:0}.grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.gap-y-4{row-gap:0.25rem}.gap-y-8{row-gap:0.5rem}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:gap-y-12{row-gap:0.75rem}.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 750px){.md\\:grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.md\\:grid-col-span-2{--container-grid-columns:2;grid-column:span 2 / span 2}.md\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}.md\\:grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.md\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.md\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.md\\:w-10-cols>*{--container-grid-columns:10}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:w-8-cols{width:calc(((8 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (8 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.lg\\:w-8-cols{width:calc(((8 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (8 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.lg\\:w-8-cols>*{--container-grid-columns:8}.lg\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.lg\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.lg\\:w-10-cols>*{--container-grid-columns:10}}@media (min-width: 900px){.lg\\:order-last{order:9999}.lg\\:order-none{order:0}.lg\\:mt-0{margin-top:0rem}.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:w-\\[150px\\]{width:150px}.lg\\:w-auto{width:auto}.lg\\:max-w-\\[720px\\]{max-width:720px}.lg\\:flex-row{flex-direction:row}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:gap-y-16{row-gap:1rem}.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}.lg\\:\\!pl-12{padding-left:0.75rem !important}.lg\\:\\!pr-12{padding-right:0.75rem !important}}', a = e, d = class {
|
|
4
4
|
constructor(r) {
|
|
@@ -21,7 +21,7 @@ const e = 'ol,ul,menu{list-style:none;margin:0;padding:0}.w-full{width:100%}.gri
|
|
|
21
21
|
* @returns {JSX.Element} The rendered section containing a list of cards.
|
|
22
22
|
*/
|
|
23
23
|
render() {
|
|
24
|
-
return n("section", { key: "
|
|
24
|
+
return n("section", { key: "bae0833e4d29cb2874bfb1751d7663751fd64abe", class: "w-full" }, n("ul", { key: "001026f2866cf6101c317f08d32eac4dff46d335", class: "grid-layout grid-cols-4 gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((r) => n("li", { class: `grid-col-span-4 md:grid-col-span-${this.occupyCols} flex flex-col` }, n("eds-card-generic", { cardTitle: r.title, description: r.description, avatar: r.avatar, headingLevel: r.headingLevel, tags: r.tags, url: r.url, bg: r.bg, tiny: r.tiny, image: r.image, withHover: r.withHover })))));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
d.style = a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-CmWxVrp5.js"),r=".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}",c=r,s=class{constructor(e){a.registerInstance(this,e),this.accent=!1,this.tags=[]}render(){return a.h("div",{key:"dc4a5cdabd7ab34e3c2c67b9a166ae8bc15a9861",class:"flex flex-wrap gap-y-4"},this.tags.map((e,t)=>a.h("eds-tag",{key:t,intent:this.accent?"accent":"default",label:e})))}};s.style=c;exports.eds_card_tags=s;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as t, h as s } from "./index-
|
|
1
|
+
import { r as t, h as s } from "./index-BEqOhpq-.mjs";
|
|
2
2
|
const r = ".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}", c = r, d = class {
|
|
3
3
|
constructor(a) {
|
|
4
4
|
t(this, a), this.accent = !1, this.tags = [];
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return s("div", { key: "
|
|
7
|
+
return s("div", { key: "dc4a5cdabd7ab34e3c2c67b9a166ae8bc15a9861", class: "flex flex-wrap gap-y-4" }, this.tags.map((a, e) => s("eds-tag", { key: e, intent: this.accent ? "accent" : "default", label: a })));
|
|
8
8
|
}
|
|
9
9
|
};
|
|
10
10
|
d.style = c;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as t, g as s } from "./index-
|
|
1
|
+
import { r, h as t, g as s } from "./index-BEqOhpq-.mjs";
|
|
2
2
|
import { s as a } from "./analytics-d99780e3-Bay18Oil.mjs";
|
|
3
3
|
const o = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}", n = o, d = class {
|
|
4
4
|
constructor(e) {
|
|
@@ -44,7 +44,7 @@ const o = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25r
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return t("article", { key: "
|
|
47
|
+
return t("article", { key: "00f417ee065537f8b30bc73e5ad9ca0d69b3aed3", class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, t("eds-card-title", { key: "9d8156f655c9344c872631b75cfcaf52fdf23347", "heading-level": this.headingLevel, titleClass: this.image ? "f-ui-01" : void 0, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && t("eds-card-desc", { key: "da7aa3d0d9f7995a824fd7720342e6dd4d94224f", class: "mt-8", "truncate-lines": "3", description: this.description }), this.image ? t("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 }) : this.avatar || this.shortAbbreviation ? t("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation }) : null, t("div", { key: "3e3001ec404a0bbca84deafc89de6aab8bf2fe45", class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((e, i) => t("eds-tag", { key: i, intent: e.style, label: e.label }))));
|
|
48
48
|
}
|
|
49
49
|
get el() {
|
|
50
50
|
return s(this);
|
|
@@ -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-CmWxVrp5.js"),s=require("./analytics-d99780e3-DgvAss6l.js"),a=".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}",o=a,i=class{constructor(e){t.registerInstance(this,e),this.cardTitle=void 0,this.url=void 0,this.description=void 0,this.image=void 0,this.avatar=void 0,this.shortAbbreviation=void 0,this.headingLevel="h5",this.tags="",this.tiny=!1,this.bg=!0,this.withHover=!0,this.external=!1,this.hierarchy=!0}get parsedTags(){if(typeof this.tags=="object")return this.tags;if(typeof this.tags=="string")try{return JSON.parse(this.tags)}catch(e){return console.error("Error parsing links prop:",e),[]}return[]}componentWillLoad(){}parseTags(){return this.tags.split(",")}articleClasses(){return[this.tiny?"min-h-120":"min-h-156",this.bg?"bg-inverse":"bg-default",this.withHover?"effect-shadow hover:shadow-hover cursor-pointer":"","border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"].join(" ")}handleClick(){var e;s.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:((e=this.cardTitle)===null||e===void 0?void 0:e.toLowerCase())||"",action:"click"})}render(){return t.h("article",{key:"00f417ee065537f8b30bc73e5ad9ca0d69b3aed3",class:`${this.el.tagName.toLowerCase()} ${this.articleClasses()}`,onClick:()=>this.handleClick()},t.h("eds-card-title",{key:"9d8156f655c9344c872631b75cfcaf52fdf23347","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.cardTitle,url:this.url,"external-link":this.external,hierarchy:this.hierarchy}),this.description&&t.h("eds-card-desc",{key:"da7aa3d0d9f7995a824fd7720342e6dd4d94224f",class:"mt-8","truncate-lines":"3",description:this.description}),this.image?t.h("eds-img",{src:this.image,alt:"Sample Image",width:200,height:150}):this.avatar||this.shortAbbreviation?t.h("eds-avatar",{class:"order-first mb-12",picture:this.avatar,initials:this.shortAbbreviation}):null,t.h("div",{key:"3e3001ec404a0bbca84deafc89de6aab8bf2fe45",class:"flex flex-wrap gap-y-4"},this.parsedTags.map((e,r)=>t.h("eds-tag",{key:r,intent:e.style,label:e.label}))))}get el(){return t.getElement(this)}};i.style=o;exports.eds_card_tool=i;
|
package/{eds-cookies-preference.entry-RT9hWQNy.js → eds-cookies-preference.entry-6WgoMeeL.js}
RENAMED
|
@@ -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-CmWxVrp5.js"),s="",i=s,t=class{constructor(o){e.registerInstance(this,o),this.buttonText="Cookies Preferences",this.intent=void 0,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:"64edfc7f4d83f6185be6c74707115ec478628c6b"},e.h("eds-link",{key:"d2c07e20ae1e67753b17f017bd5efa9b1e722fec",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-CGit10s-.mjs → eds-cookies-preference.entry-D8lU4ba5.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as t, h as e } from "./index-
|
|
2
|
-
const s = "", i = s,
|
|
1
|
+
import { r as t, h as e } from "./index-BEqOhpq-.mjs";
|
|
2
|
+
const s = "", i = s, n = class {
|
|
3
3
|
constructor(o) {
|
|
4
4
|
t(this, o), this.buttonText = "Cookies Preferences", this.intent = void 0, this.showMatomoNotice = !1, this.noticeKey = 0;
|
|
5
5
|
}
|
|
@@ -11,10 +11,10 @@ const s = "", i = s, c = 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: "64edfc7f4d83f6185be6c74707115ec478628c6b" }, e("eds-link", { key: "d2c07e20ae1e67753b17f017bd5efa9b1e722fec", 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;
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
n as eds_cookies_preference
|
|
20
20
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, c as f, h as t, g as r } from "./index-
|
|
1
|
+
import { r as a, c as f, h as t, g as r } from "./index-BEqOhpq-.mjs";
|
|
2
2
|
import { p as g } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
3
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) {
|
|
@@ -42,7 +42,7 @@ 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: "d197c6324cca1bea1cb69000cfb0a4776285eeea", class: "grid inline" }, t(e, { key: "8a09b89f2732d60e470a16b818467768c0f4e474", class: n }, this.label), t("p", { key: "6a2c35b73b8bde9d96841d60d0761581efbd4047", class: "f-body-01 text-light" }, this.description), t("eds-rating", { key: "0fb0acbbe7c473f2de117e0b0028cafc2f959ed8", "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && t("span", { key: "8aea027f1c37cbe9ff22555ec00ed183d8c52f0a", class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]));
|
|
46
46
|
}
|
|
47
47
|
get el() {
|
|
48
48
|
return r(this);
|
|
@@ -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-CmWxVrp5.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:"d197c6324cca1bea1cb69000cfb0a4776285eeea",class:"grid inline"},t.h(e,{key:"8a09b89f2732d60e470a16b818467768c0f4e474",class:a},this.label),t.h("p",{key:"6a2c35b73b8bde9d96841d60d0761581efbd4047",class:"f-body-01 text-light"},this.description),t.h("eds-rating",{key:"0fb0acbbe7c473f2de117e0b0028cafc2f959ed8","rating-type":this.type,"rating-count":this.count}),this.selectedRating>0&&this.parsedMappings[this.selectedRating-1]&&t.h("span",{key:"8aea027f1c37cbe9ff22555ec00ed183d8c52f0a",class:"f-ui-04 text-lighter"},this.parsedMappings[this.selectedRating-1]))}get el(){return t.getElement(this)}};n.style=h;exports.eds_feedback=n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, c as i, h as e, g as n } from "./index-
|
|
1
|
+
import { r, c as i, h as e, g as n } from "./index-BEqOhpq-.mjs";
|
|
2
2
|
const a = "p{margin:0}.cursor-pointer{cursor:pointer}.ml-4{margin-left:0.25rem}.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}.bg-darker{background-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.border-t-2{border-top-width:2px}.pt-20{padding-top:1.25rem}.pb-28{padding-bottom:1.75rem}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-col-span-12{--container-grid-columns:12;grid-column:span 12 / span 12}.mt-28{margin-top:1.75rem}.gap-y-12{row-gap:0.75rem}.gap-x-12{-moz-column-gap:0.75rem;column-gap:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-20{gap:1.25rem}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:rounded-xs:focus-visible{border-radius:4px}.flex{display:flex}.w-\\[54px\\]{width:54px}.ml-0{margin-left:0rem}.order-last{order:9999}.w-full{width:100%}.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)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mr-4{margin-right:0.25rem}.gap-12{gap:0.75rem}.inline-block{display:inline-block}.\\!no-underline{text-decoration-line:none !important}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.hover\\:\\!underline:hover{text-decoration-line:underline !important}.ml-auto{margin-left:auto}.pl-12{padding-left:0.75rem}.opacity-0{opacity:0}@media (min-width: 750px){.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:mt-0{margin-top:0rem}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:order-none{order:0}.lg\\:w-auto{width:auto}}@media (min-width: 1024px){.xl\\:pb-40{padding-bottom:2.5rem}}", s = a, l = class {
|
|
3
3
|
constructor(t) {
|
|
4
4
|
r(this, t), this.cookies = i(this, "cookies", 7), this.backToTop = () => {
|
|
@@ -24,13 +24,11 @@ const a = "p{margin:0}.cursor-pointer{cursor:pointer}.ml-4{margin-left:0.25rem}.
|
|
|
24
24
|
* Renders the footer component with optional sections and elements,
|
|
25
25
|
* including social network links, a Horizon Europe funding acknowledgment, and
|
|
26
26
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
27
|
-
*
|
|
28
|
-
* @returns {JSX.Element} The rendered JSX for the footer component.
|
|
29
27
|
*/
|
|
30
28
|
render() {
|
|
31
|
-
return e("footer", { key: "
|
|
29
|
+
return e("footer", { key: "5e629d1f5f06ce62843f67b296c94b18765d8100" }, this.social ? e("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, e("div", { class: "container pb-20" }, e("div", { class: "grid-layout" }, e("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, e("eds-social-networks", { class: "mt-28" }))))) : null, e("div", { key: "68966997037f0dd88c9fb2afcc39514aefa5ff8d", class: `border-softest ${this.social ? "border-t-2" : ""} pb-28 pt-20 md:pt-28` }, e("div", { key: "d3ec3c9341e7509b2f4771ce0f83fbf4913b4e3e", class: "container flex items-center gap-20 lg:flex-nowrap" }, e("div", { key: "30774f2c9c1c5113c8f178af2ad5dbc01b01c8d2", class: "flex items-center gap-x-12" }, e("a", { key: "1939784cb357e1a0a9fc6a00c75953c37d7cac90", target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en", "aria-label": "Learn about Horizon Europe funding" }, e("eds-img", { key: "b9dc32ad675188d061d01e6b11cda37c4edd5e29", width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), e("div", { key: "1642eaf31c946bf3f7bd3d235dccd1a66f4de7d8" }, e("div", { key: "4a4b1bf11ebf31a9a0f1735cb0720bdbdab07943", class: "f-ui-04 text-light" }, e("p", { key: "24226946123a5e632d393be9a24971ff9e07b355" }, this.fundedBy), e("div", { key: "a21829ec3d7d74027a14ee419f37d2ec326b7154", class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, e("span", { key: "4791eb4b178cb07f3983f8aa6f3ed0e60918f929", class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "© ", this.rightsReserved), this.enableCookiesSettings ? e("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
32
30
|
this.toggleCookiesConsent();
|
|
33
|
-
} }) : null))), e("div", { key: "
|
|
31
|
+
} }) : null))), e("div", { key: "9d1173a7b4db564de8fa2ffb85d2b7db724bef95", class: "ml-auto pl-12" }, this.enableScrollTop ? e("div", { id: "toTop", class: "transition-all transition duration-75 opacity-0" }, e("eds-button", { id: "backToTop", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, tabindex: "-1" })) : null))));
|
|
34
32
|
}
|
|
35
33
|
get el() {
|
|
36
34
|
return n(this);
|
|
@@ -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-CmWxVrp5.js"),r="p{margin:0}.cursor-pointer{cursor:pointer}.ml-4{margin-left:0.25rem}.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}.bg-darker{background-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.border-t-2{border-top-width:2px}.pt-20{padding-top:1.25rem}.pb-28{padding-bottom:1.75rem}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-col-span-12{--container-grid-columns:12;grid-column:span 12 / span 12}.mt-28{margin-top:1.75rem}.gap-y-12{row-gap:0.75rem}.gap-x-12{-moz-column-gap:0.75rem;column-gap:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-20{gap:1.25rem}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:rounded-xs:focus-visible{border-radius:4px}.flex{display:flex}.w-\\[54px\\]{width:54px}.ml-0{margin-left:0rem}.order-last{order:9999}.w-full{width:100%}.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)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mr-4{margin-right:0.25rem}.gap-12{gap:0.75rem}.inline-block{display:inline-block}.\\!no-underline{text-decoration-line:none !important}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.hover\\:\\!underline:hover{text-decoration-line:underline !important}.ml-auto{margin-left:auto}.pl-12{padding-left:0.75rem}.opacity-0{opacity:0}@media (min-width: 750px){.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:mt-0{margin-top:0rem}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:order-none{order:0}.lg\\:w-auto{width:auto}}@media (min-width: 1024px){.xl\\:pb-40{padding-bottom:2.5rem}}",n=r,i=class{constructor(t){e.registerInstance(this,t),this.cookies=e.createEvent(this,"cookies",7),this.backToTop=()=>{window.scrollTo({top:0,behavior:"smooth"})},this.social=!1,this.enableScrollTop=!1,this.fundedBy="EBRAINS is funded by the Horizon Europe Framework Programme.",this.rightsReserved=`${new Date().getFullYear()} EBRAINS. All rights reserved.`,this.cookiesPreferences="Cookies preferences",this.enableCookiesSettings=!1,this.backToTopAriaLabel="Back to Top",this.showMatomoNotice=!1}componentDidLoad(){var t;this.backBtn=(t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelector("#toTop")}handleScroll(){if(!this.backBtn)return;const t=window.scrollY>100&&document.body.scrollHeight>window.innerHeight;this.backBtn.style.opacity=t?"1":"0",this.backBtn.style.pointerEvents=t?"auto":"none";const o=this.backBtn.querySelector("eds-button");o&&(o.removeAttribute("aria-hidden"),o.setAttribute("tabindex",t?"0":"-1"))}toggleCookiesConsent(){this.cookies.emit("toggle")}render(){return e.h("footer",{key:"5e629d1f5f06ce62843f67b296c94b18765d8100"},this.social?e.h("div",{class:"border-softest border-t-2 pt-20 md:pt-28"},e.h("div",{class:"container pb-20"},e.h("div",{class:"grid-layout"},e.h("div",{class:"grid-col-span-12 lg:grid-col-span-5"},e.h("eds-social-networks",{class:"mt-28"}))))):null,e.h("div",{key:"68966997037f0dd88c9fb2afcc39514aefa5ff8d",class:`border-softest ${this.social?"border-t-2":""} pb-28 pt-20 md:pt-28`},e.h("div",{key:"d3ec3c9341e7509b2f4771ce0f83fbf4913b4e3e",class:"container flex items-center gap-20 lg:flex-nowrap"},e.h("div",{key:"30774f2c9c1c5113c8f178af2ad5dbc01b01c8d2",class:"flex items-center gap-x-12"},e.h("a",{key:"1939784cb357e1a0a9fc6a00c75953c37d7cac90",target:"_blank",rel:"noopener noreferrer",class:"effect-focus focus-visible:rounded-xs flex w-[54px] ml-0",href:"https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en","aria-label":"Learn about Horizon Europe funding"},e.h("eds-img",{key:"b9dc32ad675188d061d01e6b11cda37c4edd5e29",width:54,height:41,src:"https://www.ebrains.eu/flags/4x3/eu.svg",alt:"European Union Flag"}))),e.h("div",{key:"1642eaf31c946bf3f7bd3d235dccd1a66f4de7d8"},e.h("div",{key:"4a4b1bf11ebf31a9a0f1735cb0720bdbdab07943",class:"f-ui-04 text-light"},e.h("p",{key:"24226946123a5e632d393be9a24971ff9e07b355"},this.fundedBy),e.h("div",{key:"a21829ec3d7d74027a14ee419f37d2ec326b7154",class:"mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block"},e.h("span",{key:"4791eb4b178cb07f3983f8aa6f3ed0e60918f929",class:"effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4"},"© ",this.rightsReserved),this.enableCookiesSettings?e.h("eds-link",{label:this.cookiesPreferences,intent:"underline","extra-class":"f-ui-04",onClick:()=>{this.toggleCookiesConsent()}}):null))),e.h("div",{key:"9d1173a7b4db564de8fa2ffb85d2b7db724bef95",class:"ml-auto pl-12"},this.enableScrollTop?e.h("div",{id:"toTop",class:"transition-all transition duration-75 opacity-0"},e.h("eds-button",{id:"backToTop","aria-label":this.backToTopAriaLabel,intent:"ghostInverse",icon:"chevron-up",onClick:this.backToTop,tabindex:"-1"})):null))))}get el(){return e.getElement(this)}};i.style=n;exports.eds_footer=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as i, h as e, g as a } from "./index-
|
|
1
|
+
import { r as i, h as e, g as a } from "./index-BEqOhpq-.mjs";
|
|
2
2
|
const o = ".bg-inverse{background-color:var(--white)}.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:rgba(0, 0, 0, .15)}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-softest{border-color:rgba(0, 0, 0, .05)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.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:2px}.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.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1)}.border-2{border:1px solid rgba(0, 0, 0, .1)}.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}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}", n = o, s = class {
|
|
3
3
|
constructor(r) {
|
|
4
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 = "strong", this.size = "auto", this.iframeError = !1;
|
|
@@ -55,7 +55,7 @@ const o = ".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return e("div", { key: "
|
|
58
|
+
return e("div", { key: "7b4f5eb19460a178b98586aa38088e3dc5625671", class: this.articleClasses() }, e("div", { key: "98aefbd4cab33f14c9aa3152c122a11b24df4a02", class: "effect-height flex items-center justify-between py-8 px-12" }, e("span", { key: "d0cdd2f3354bddc99030ee5215f2bc24b139a261", 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-diagonal" }) : null), e("div", { key: "030c560bbd0209160c92bc2d152f8d42484dc86b", 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
59
|
}
|
|
60
60
|
get el() {
|
|
61
61
|
return a(this);
|
|
@@ -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-CmWxVrp5.js"),o=".bg-inverse{background-color:var(--white)}.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:rgba(0, 0, 0, .15)}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-softest{border-color:rgba(0, 0, 0, .05)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.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:2px}.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.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1)}.border-2{border:1px solid rgba(0, 0, 0, .1)}.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}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}",a=o,i=class{constructor(t){e.registerInstance(this,t),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="strong",this.size="auto",this.iframeError=!1}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach(r=>{this.emitContext(r)})}emitContext(t){const r=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});t.dispatchEvent(r)}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:"7b4f5eb19460a178b98586aa38088e3dc5625671",class:this.articleClasses()},e.h("div",{key:"98aefbd4cab33f14c9aa3152c122a11b24df4a02",class:"effect-height flex items-center justify-between py-8 px-12"},e.h("span",{key:"d0cdd2f3354bddc99030ee5215f2bc24b139a261",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-diagonal"}):null),e.h("div",{key:"030c560bbd0209160c92bc2d152f8d42484dc86b",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 e=require("./index-CmWxVrp5.js"),n=require("./sharedUtils-a550989c-m4pF1Vqy.js"),r=".bg-default{background-color:var(--grey-200)}.bg-darker{background-color:var(--grey-400)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--black)}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0rem}.z-\\[999999\\]{z-index:999999}.overflow-y-scroll{overflow-y:scroll}.flex{display:flex}.inline-flex{display:inline-flex}.min-h-full{min-height:100%}.flex-col{flex-direction:column}.w-full{width:100%}.top-0{top:0rem}.mx-auto{margin-left:auto;margin-right:auto}.mt-auto{margin-top:auto}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.px-16{padding-left:1rem;padding-right:1rem}.py-16{padding-top:1rem;padding-bottom:1rem}.mt-28{margin-top:1.75rem}.gap-y-8{row-gap:0.5rem}.effect-color{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:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.rounded-xs{border-radius:4px}.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)}.hover\\:text-lighter:hover{color:var(--grey-600)}.w-fit{width:-moz-fit-content;width:fit-content}",o=r,s=class{constructor(t){e.registerInstance(this,t),this.menuClose=e.createEvent(this,"menuClose",7),this.links=void 0,this.menuLinks=void 0,this.homeUrl="/",this.inverseHeader=!1,this.isMenuOpen=!1}handleToggleMenu(t){this.isMenuOpen=!!t.detail}openMenu(){this.isMenuOpen=!0}closeMenu(){this.isMenuOpen=!1,this.menuClose.emit()}componentDidLoad(){window.addEventListener("resize",this.handleResize.bind(this))}disconnectedCallback(){window.removeEventListener("resize",this.handleResize.bind(this))}handleResize(){window.innerWidth>=1024&&(this.isMenuOpen=!1)}get parsedLinks(){return n.parseData(this.links)}get parsedMenuLinks(){return n.parseData(this.menuLinks)}render(){return this.isMenuOpen?e.h("div",{class:"eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll"},e.h("div",{class:"flex min-h-full flex-col"},e.h("div",{class:`w-full sticky top-0 ${this.inverseHeader?"bg-strongest":"bg-default"}`},e.h("div",{class:"mx-auto flex items-center justify-between"},e.h("div",{class:"mr-auto w-[200px] h-[85px]"},e.h("eds-logo",{type:this.inverseHeader?"color-white":"color",href:this.homeUrl})),e.h("div",{class:"px-16"},e.h("eds-button",{"aria-label":"Close menu",intent:"ghostInverse",icon:"close",onClick:()=>this.closeMenu()})))),e.h("div",{class:"py-16 px-16"},e.h("nav",{class:"mt-28 flex flex-col gap-y-8"},this.parsedLinks.map((t,i)=>e.h("eds-link",{label:t.label,key:i,url:t.url,intent:"tertiary",size:"large",class:"effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit",onClick:()=>this.closeMenu(),icon:"arrow-right"}))),e.h("eds-block-break",null),e.h("nav",{class:"mt-28 flex flex-col gap-y-8"},this.parsedMenuLinks.map((t,i)=>e.h("eds-link",{label:t.label,key:i,url:t.url,intent:"tertiary",size:"large",class:"effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit",onClick:()=>this.closeMenu(),icon:"chevron-right"}))),e.h("nav",{class:"mt-28 flex flex-col gap-y-8"},e.h("slot",null))),e.h("div",{class:"mt-auto"},e.h("eds-footer",{social:!0,"extra-class":"bg-darker"})))):null}};s.style=o;exports.eds_fullscreen_menu=s;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import { r as s, c as r, h as e } from "./index-
|
|
1
|
+
import { r as s, c as r, h as e } from "./index-BEqOhpq-.mjs";
|
|
2
2
|
import { p as n } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
3
3
|
const o = ".bg-default{background-color:var(--grey-200)}.bg-darker{background-color:var(--grey-400)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--black)}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0rem}.z-\\[999999\\]{z-index:999999}.overflow-y-scroll{overflow-y:scroll}.flex{display:flex}.inline-flex{display:inline-flex}.min-h-full{min-height:100%}.flex-col{flex-direction:column}.w-full{width:100%}.top-0{top:0rem}.mx-auto{margin-left:auto;margin-right:auto}.mt-auto{margin-top:auto}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.px-16{padding-left:1rem;padding-right:1rem}.py-16{padding-top:1rem;padding-bottom:1rem}.mt-28{margin-top:1.75rem}.gap-y-8{row-gap:0.5rem}.effect-color{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:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.rounded-xs{border-radius:4px}.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)}.hover\\:text-lighter:hover{color:var(--grey-600)}.w-fit{width:-moz-fit-content;width:fit-content}", l = o, a = class {
|
|
4
4
|
constructor(t) {
|
|
5
5
|
s(this, t), this.menuClose = r(this, "menuClose", 7), this.links = void 0, this.menuLinks = void 0, this.homeUrl = "/", this.inverseHeader = !1, this.isMenuOpen = !1;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* Listens
|
|
9
|
-
*
|
|
8
|
+
* Listens on `body` for `toggleheadermenu` to open/close the menu.
|
|
9
|
+
* The event detail should be a boolean (`true` = open, `false` = close).
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```js
|
|
13
|
+
* document.body.dispatchEvent(new CustomEvent('toggleheadermenu', { detail: true }));
|
|
14
|
+
* ```
|
|
10
15
|
*/
|
|
11
16
|
handleToggleMenu(t) {
|
|
12
|
-
this.isMenuOpen = t.detail;
|
|
17
|
+
this.isMenuOpen = !!t.detail;
|
|
13
18
|
}
|
|
14
19
|
/** Opens the menu */
|
|
15
20
|
openMenu() {
|