@ebrains/vue 0.7.0-alpha.0 → 0.8.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/{color-primary-palette_6.entry-BDyyrFB5.mjs → color-primary-palette_6.entry-8IScvoTJ.mjs} +17 -17
- package/color-primary-palette_6.entry-8sRpfe4E.js +1 -0
- package/correct-use-of-colors.entry-CfU46fhX.js +1 -0
- package/{correct-use-of-colors.entry-z7k3YWpg.mjs → correct-use-of-colors.entry-ClTcY5vo.mjs} +2 -2
- package/eds-accordion_17.entry-BBnyn6EM.js +24029 -0
- package/eds-accordion_17.entry-BhCBvhXC.mjs +25134 -0
- package/{eds-alert.entry-DZcz_4Dj.js → eds-alert.entry-C7iR6Wau.js} +224 -93
- package/{eds-alert.entry-BqjTTCgj.mjs → eds-alert.entry-DHikCbw_.mjs} +233 -96
- package/{eds-app-root.entry-DobAtes_.mjs → eds-app-root.entry-YPigXe8_.mjs} +2 -2
- package/{eds-app-root.entry-Cz-9z7Za.js → eds-app-root.entry-rafdbiL3.js} +1 -1
- package/{eds-breadcrumb.entry-N3NSBwJL.mjs → eds-breadcrumb.entry-Bfc36jaR.mjs} +11 -11
- package/eds-breadcrumb.entry-D065WE8j.js +1 -0
- package/eds-card-desc_3.entry-BJP_Vvul.mjs +83 -0
- package/eds-card-desc_3.entry-CPmEcD7h.js +1 -0
- package/{eds-card-generic.entry-zKJ2hHOe.mjs → eds-card-generic.entry-Bn3saq5k.mjs} +2 -2
- package/eds-card-generic.entry-Ct8aLaT_.js +1 -0
- package/eds-card-project.entry-B7s198sC.js +1 -0
- package/{eds-card-project.entry-DDo4ZJs8.mjs → eds-card-project.entry-CkmokKaR.mjs} +7 -7
- package/{eds-card-section.entry-CeznIbCo.js → eds-card-section.entry-CE7UQ8HN.js} +1 -1
- package/{eds-card-section.entry-C8nt6j3h.mjs → eds-card-section.entry-DKP7IjIj.mjs} +1 -1
- package/eds-card-tags.entry-BNqaohHu.mjs +13 -0
- package/eds-card-tags.entry-wvkOqT1r.js +1 -0
- package/{eds-card-tool.entry-BewNCjRU.mjs → eds-card-tool.entry-CR4SuPPR.mjs} +7 -7
- package/{eds-card-tool.entry-DnVIn9BX.js → eds-card-tool.entry-Df_qlYY5.js} +1 -1
- package/{eds-card-wrapper.entry-DMj1bZ4i.mjs → eds-card-wrapper.entry-CosNbMgP.mjs} +4 -4
- package/{eds-card-wrapper.entry-BzKcrwEf.js → eds-card-wrapper.entry-DwcKQUDS.js} +1 -1
- package/{eds-code-block.entry-fqrA-Frf.mjs → eds-code-block.entry-Bfp7Moc7.mjs} +2 -2
- package/{eds-code-block.entry-DUeN87Fw.js → eds-code-block.entry-D5kDIIPG.js} +2 -2
- package/{eds-components-section.entry-BgfCSxk1.mjs → eds-components-section.entry-CZzJEdYb.mjs} +42 -35
- package/eds-components-section.entry-DpGQLUDG.js +140 -0
- package/{eds-cookies-preference.entry-BGx0tglE.js → eds-cookies-preference.entry-DUwpfJG0.js} +1 -1
- package/{eds-cookies-preference.entry-B1a8qild.mjs → eds-cookies-preference.entry-ivi_kdZs.mjs} +2 -2
- package/{eds-docs-palettes.entry-C1EcBwSy.js → eds-docs-palettes.entry-CvUsZJGt.js} +1 -1
- package/{eds-docs-palettes.entry-TXbXKJJN.mjs → eds-docs-palettes.entry-DF_rAbne.mjs} +2 -2
- package/{eds-docs-tokens.entry-BJVBVsOy.js → eds-docs-tokens.entry-C3AfntXW.js} +1 -1
- package/{eds-docs-tokens.entry-B1xc8BFa.mjs → eds-docs-tokens.entry-gPy71iZA.mjs} +2 -2
- package/{eds-feedback.entry-fz73-syB.mjs → eds-feedback.entry-Cii4Bgav.mjs} +6 -6
- package/{eds-feedback.entry-B-Lue8P0.js → eds-feedback.entry-mS5rXykK.js} +1 -1
- package/eds-form.entry-CNUo4guS.mjs +226 -0
- package/eds-form.entry-DmOYblLu.js +1 -0
- package/{eds-frame.entry-BvJCKWMT.mjs → eds-frame.entry-BEG9Cq6f.mjs} +4 -4
- package/eds-frame.entry-MuWFMQ5l.js +1 -0
- package/eds-icon-arrow-diagonal.entry-6WVlNQjt.mjs +13 -0
- package/eds-icon-arrow-diagonal.entry-zBfSFnaZ.js +1 -0
- package/{eds-icon-arrow-right.entry-BH0zDB1H.js → eds-icon-arrow-right.entry-B01PWxxn.js} +1 -1
- package/eds-icon-arrow-right.entry-CPfwKb_P.mjs +13 -0
- package/eds-icon-bluesky.entry-DKFty2p_.mjs +13 -0
- package/{eds-icon-bluesky.entry-CDZCjWCh.js → eds-icon-bluesky.entry-DbVUYLJG.js} +1 -1
- package/eds-icon-chevron-down.entry-YrhsZIQb.js +1 -0
- package/eds-icon-chevron-down.entry-dCeiKlud.mjs +13 -0
- package/eds-icon-chevron-left.entry-CVk_b9kc.js +1 -0
- package/eds-icon-chevron-left.entry-CudVsOqq.mjs +13 -0
- package/{eds-icon-chevron-right.entry-BG7_qznz.mjs → eds-icon-chevron-right.entry-Dg5UFoCU.mjs} +2 -2
- package/eds-icon-chevron-right.entry-r7aVtAwm.js +1 -0
- package/eds-icon-chevron-up.entry-C-WjO0ys.js +1 -0
- package/eds-icon-chevron-up.entry-CEfRA3Cn.mjs +13 -0
- package/eds-icon-close.entry-Cec0LlPI.mjs +13 -0
- package/{eds-icon-close.entry-DNhXNl8O.js → eds-icon-close.entry-eRRe-idl.js} +1 -1
- package/eds-icon-copy.entry-B41dL0Pk.js +1 -0
- package/eds-icon-copy.entry-Bv6gVwBn.mjs +13 -0
- package/eds-icon-eu.entry-CIYspbep.js +1 -0
- package/eds-icon-eu.entry-C_SYaSos.mjs +13 -0
- package/{eds-icon-facebook.entry--ctHhWkj.mjs → eds-icon-facebook.entry-CxuQ9T-z.mjs} +2 -2
- package/{eds-icon-facebook.entry-Bjkse_bn.js → eds-icon-facebook.entry-tLxBj2-p.js} +1 -1
- package/{eds-icon-gitlab.entry-BDqNL5zl.mjs → eds-icon-gitlab.entry-B4Y3IL_W.mjs} +2 -2
- package/{eds-icon-gitlab.entry-DUQcgTMM.js → eds-icon-gitlab.entry-Bz32Y093.js} +1 -1
- package/{eds-icon-linkedin.entry-D-D3hmxE.js → eds-icon-linkedin.entry-BOJB8PtD.js} +1 -1
- package/{eds-icon-linkedin.entry-Cq13-Zdb.mjs → eds-icon-linkedin.entry-C-OLKK80.mjs} +2 -2
- package/eds-icon-loader.entry-Cnugn2v_.mjs +13 -0
- package/eds-icon-loader.entry-OpxpC-qI.js +1 -0
- package/{eds-icon-mastodon.entry-CCn_r682.js → eds-icon-mastodon.entry-DYjzOc_S.js} +1 -1
- package/eds-icon-mastodon.entry-DfYxTk7y.mjs +13 -0
- package/eds-icon-menu.entry-4XLLYwtu.js +1 -0
- package/eds-icon-menu.entry-iM24FuKl.mjs +13 -0
- package/{eds-icon-more.entry-CDDxBiBM.mjs → eds-icon-more.entry-BIN9jdzF.mjs} +2 -2
- package/{eds-icon-more.entry-CBDi0LJC.js → eds-icon-more.entry-BdtfLgCV.js} +1 -1
- package/{eds-icon-search.entry-CvnFqzlk.mjs → eds-icon-search.entry-CnqQ_vud.mjs} +2 -2
- package/{eds-icon-search.entry-Bok3Oo0Q.js → eds-icon-search.entry-Cw8zssoR.js} +1 -1
- package/eds-icon-star.entry-BqWtt_VJ.mjs +13 -0
- package/{eds-icon-star.entry-CkeEbwgJ.js → eds-icon-star.entry-DhcygAni.js} +1 -1
- package/{eds-icon-success.entry-DA4C5Hwg.js → eds-icon-success.entry-59uCWiA1.js} +1 -1
- package/eds-icon-success.entry-C0jA8lzW.mjs +13 -0
- package/{eds-icon-thumbs-down.entry-BqEOrmiW.js → eds-icon-thumbs-down.entry-BNUoStSy.js} +1 -1
- package/eds-icon-thumbs-down.entry-BOvmhFfL.mjs +13 -0
- package/eds-icon-thumbs-up.entry-B5dIuh3_.mjs +13 -0
- package/{eds-icon-thumbs-up.entry-Dkqv6r_x.js → eds-icon-thumbs-up.entry-Bn3MBFif.js} +1 -1
- package/{eds-icon-twitter.entry-BcZ2atce.js → eds-icon-twitter.entry-CGsi8ynP.js} +1 -1
- package/eds-icon-twitter.entry-CRA6F5rZ.mjs +13 -0
- package/eds-icon-user.entry-BQ64yR1z.js +1 -0
- package/eds-icon-user.entry-D-nrmq6-.mjs +13 -0
- package/eds-icon-youtube.entry-BCw69oaj.js +1 -0
- package/eds-icon-youtube.entry-DTLtxuVC.mjs +13 -0
- package/eds-input_7.entry-CSdmlGYi.mjs +7971 -0
- package/eds-input_7.entry-DdKDkmAq.js +7766 -0
- package/{eds-login_2.entry-DD8g9nqu.mjs → eds-login_2.entry-Be8tUQNx.mjs} +2 -2
- package/{eds-login_2.entry-6Hxmqih9.js → eds-login_2.entry-CiL5geMY.js} +2 -2
- package/eds-logo-variations.entry-CBy11DlE.mjs +22 -0
- package/{eds-logo-variations.entry-dLBnZPi7.js → eds-logo-variations.entry-DGWNGIvb.js} +1 -1
- package/{eds-modal.entry-CV3bf08X.mjs → eds-modal.entry-B3qjw7GE.mjs} +4 -4
- package/{eds-modal.entry-DJybVbNk.js → eds-modal.entry-KkENKOHe.js} +1 -1
- package/eds-pagination_2.entry-B2q_5PRD.mjs +258 -0
- package/eds-pagination_2.entry-BcBkkuEq.js +1 -0
- package/{eds-progress-bar.entry-BP6AqtI7.mjs → eds-progress-bar.entry-BWnPK-6o.mjs} +2 -2
- package/{eds-progress-bar.entry-23-I0rSz.js → eds-progress-bar.entry-DMTDcZv8.js} +1 -1
- package/{eds-rating.entry-dDYfYR7o.js → eds-rating.entry-CPCGEHHj.js} +1 -1
- package/{eds-rating.entry-CHo7h3Y4.mjs → eds-rating.entry-CtRb0a5R.mjs} +2 -2
- package/{eds-section-core_2.entry-DTItYLUC.mjs → eds-section-core_2.entry-BrIavUCN.mjs} +10 -10
- package/eds-section-core_2.entry-rRmNlbQR.js +1 -0
- package/{eds-spinner.entry-CXLe8IAk.js → eds-spinner.entry-BQ7NYZow.js} +1 -1
- package/{eds-spinner.entry-BwTZAz8I.mjs → eds-spinner.entry-D58XgaXt.mjs} +2 -2
- package/{eds-svg-repository.entry-CKQ6S13R.js → eds-svg-repository.entry-B3RrcJof.js} +11 -11
- package/{eds-svg-repository.entry-DoYT85te.mjs → eds-svg-repository.entry-D1rRUteH.mjs} +39 -38
- package/{eds-switch.entry-4a3DLV-c.js → eds-switch.entry-CAzboLuJ.js} +1 -1
- package/{eds-switch.entry-DjT9dev_.mjs → eds-switch.entry-CgstZWMb.mjs} +3 -3
- package/{eds-tabs.entry-BYxiMlkR.mjs → eds-tabs.entry-2CrdvmEM.mjs} +34 -50
- package/{eds-tabs.entry-DJKEg0Gs.js → eds-tabs.entry-CxValIYM.js} +34 -50
- package/eds-timeline.entry-CFAb5Cd0.js +7759 -0
- package/eds-timeline.entry-D9ZihmLu.mjs +7804 -0
- package/{eds-toast-manager.entry-BopxpC3o.js → eds-toast-manager.entry-DNRGmKI4.js} +1 -1
- package/{eds-toast-manager.entry-BV-sP7cR.mjs → eds-toast-manager.entry-mR3GXeEW.mjs} +6 -6
- package/{eds-toast.entry-DPibhM-Z.js → eds-toast.entry-BRfHKFao.js} +1 -1
- package/{eds-toast.entry-DDBTRdmP.mjs → eds-toast.entry-ubt1S3Kw.mjs} +1 -1
- package/{eds-tooltip.entry-Cf6bse_x.js → eds-tooltip.entry-BS9OaOdx.js} +1 -1
- package/{eds-tooltip.entry-B53fpM9t.mjs → eds-tooltip.entry-D0rqB_RZ.mjs} +6 -6
- package/eds-trl.entry-CwmhIRgh.mjs +34 -0
- package/{eds-trl.entry-fYVgYPts.js → eds-trl.entry-D_xUUWvL.js} +1 -1
- package/generated/components.d.ts +1 -3
- package/incorrect-use-of-colors.entry-B5KDlGuR.mjs +42 -0
- package/incorrect-use-of-colors.entry-_H77f9zg.js +1 -0
- package/{index-E1PpO1J3.mjs → index-DeCYK9qM.mjs} +397 -424
- package/index-QKKBbj1_.js +21 -0
- package/index.js +1 -1
- package/index.mjs +29 -31
- package/{logo-space.entry-BOh7Odfh.js → logo-space.entry-CGNHFbPE.js} +1 -1
- package/{logo-space.entry-xGhYUj5r.mjs → logo-space.entry-NVMguJha.mjs} +2 -2
- package/logo-variations-horizontal_2.entry-CoHmkNBR.mjs +29 -0
- package/logo-variations-horizontal_2.entry-CykdymGd.js +7 -0
- package/logo-wrong-usage.entry-BozirNNs.mjs +14 -0
- package/logo-wrong-usage.entry-DCJHE7Y8.js +1 -0
- package/package.json +1 -1
- package/{token-list_3.entry-DVoMZtdK.js → token-list_3.entry-D8dKORAJ.js} +1 -1
- package/{token-list_3.entry-DJ-cqa3_.mjs → token-list_3.entry-uSQm6z8I.mjs} +4 -4
- package/{token-ratios.entry-FKky7w4Z.mjs → token-ratios.entry-BiuicosE.mjs} +2 -2
- package/{token-ratios.entry-JS-ffZPx.js → token-ratios.entry-CaKfU99x.js} +1 -1
- package/token-spacing.entry-B9inIBOK.mjs +12 -0
- package/token-spacing.entry-BV0NaRVV.js +1 -0
- package/{token-typography.entry-CuHfxHRU.js → token-typography.entry-Dn6NRvAR.js} +1 -1
- package/{token-typography.entry-CKyKPdVF.mjs → token-typography.entry-sTlt7Bpz.mjs} +2 -2
- package/color-primary-palette_6.entry-BhxgE7ff.js +0 -1
- package/correct-use-of-colors.entry-DXASqwFp.js +0 -1
- package/eds-accordion_22.entry-LksMmZ4o.js +0 -28813
- package/eds-accordion_22.entry-Lqf1NKBk.mjs +0 -30175
- package/eds-avatar_4.entry-BYrgwmj2.mjs +0 -278
- package/eds-avatar_4.entry-Bqr0d5Cj.js +0 -149
- package/eds-breadcrumb.entry-elqbS74P.js +0 -1
- package/eds-card-generic.entry-D5pTUUco.js +0 -1
- package/eds-card-project.entry-e4n5lQbW.js +0 -1
- package/eds-card-tags.entry-Bl3YXNtv.js +0 -1
- package/eds-card-tags.entry-Do9kx7rP.mjs +0 -13
- package/eds-components-section.entry-CLJMns6h.js +0 -141
- package/eds-dropdown.entry-CMK8E_J2.mjs +0 -83
- package/eds-dropdown.entry-FqX7fOIb.js +0 -1
- package/eds-form.entry-0saB-Hm9.js +0 -7153
- package/eds-form.entry-BB1gfXVy.mjs +0 -7355
- package/eds-frame.entry-dX3nZxD0.js +0 -1
- package/eds-icon-arrow-diagonal.entry-BD3xdvR4.mjs +0 -13
- package/eds-icon-arrow-diagonal.entry-DkQFuVkT.js +0 -1
- package/eds-icon-arrow-right.entry-Diax6KZB.mjs +0 -13
- package/eds-icon-bluesky.entry-DwvxMR1q.mjs +0 -13
- package/eds-icon-chevron-down.entry-CGsA1rJ0.js +0 -1
- package/eds-icon-chevron-down.entry-CiJcqZuh.mjs +0 -13
- package/eds-icon-chevron-left.entry-Dt2WsKob.mjs +0 -13
- package/eds-icon-chevron-left.entry-nBBudzCb.js +0 -1
- package/eds-icon-chevron-right.entry-CjhJFKog.js +0 -1
- package/eds-icon-chevron-up.entry-DfsbHKk1.mjs +0 -13
- package/eds-icon-chevron-up.entry-Dy81hGw-.js +0 -1
- package/eds-icon-close.entry-CpGzc34L.mjs +0 -13
- package/eds-icon-copy.entry-CsD2FpUS.mjs +0 -13
- package/eds-icon-copy.entry-DD2HXgFK.js +0 -1
- package/eds-icon-eu.entry-BRuCbl7O.mjs +0 -13
- package/eds-icon-eu.entry-ChKv8iZB.js +0 -1
- package/eds-icon-loader.entry-DgpUjCng.mjs +0 -13
- package/eds-icon-loader.entry-rKBBXz_C.js +0 -1
- package/eds-icon-mastodon.entry-OpdPcGQ7.mjs +0 -13
- package/eds-icon-menu.entry-B3mQ8ma1.mjs +0 -13
- package/eds-icon-menu.entry-DUxzhro5.js +0 -1
- package/eds-icon-star.entry-BRQ07hMQ.mjs +0 -13
- package/eds-icon-success.entry-nWUVTFzX.mjs +0 -13
- package/eds-icon-thumbs-down.entry-Dme-Ippn.mjs +0 -13
- package/eds-icon-thumbs-up.entry-Dp-eslmx.mjs +0 -13
- package/eds-icon-twitter.entry-CqalD8Wf.mjs +0 -13
- package/eds-icon-user.entry-DU8EF-lQ.mjs +0 -13
- package/eds-icon-user.entry-DpvoOnVA.js +0 -1
- package/eds-icon-youtube.entry-DbPAn4pN.js +0 -1
- package/eds-icon-youtube.entry-vFg7QtYg.mjs +0 -13
- package/eds-logo-variations.entry-CDTTH-iG.mjs +0 -22
- package/eds-section-core_2.entry-BdnBCBit.js +0 -1
- package/eds-steps.entry-Nz_XqcUl.mjs +0 -28
- package/eds-steps.entry-ceVyrSe-.js +0 -1
- package/eds-timeline.entry-DKx-pd67.js +0 -1
- package/eds-timeline.entry-DOSKCjPH.mjs +0 -45
- package/eds-trl.entry-C0cSVG_Q.mjs +0 -34
- package/eds-user.entry-hUkYJDp4.js +0 -1
- package/eds-user.entry-qM0swzIt.mjs +0 -26
- package/eds-vertical-stepper.entry-Bb6dUinj.mjs +0 -27
- package/eds-vertical-stepper.entry-CvadBA1x.js +0 -1
- package/formUtils-ac68474d-BDuxB0K8.js +0 -1
- package/formUtils-ac68474d-D2e59S7S.mjs +0 -122
- package/incorrect-use-of-colors.entry-B6fKAvAx.mjs +0 -42
- package/incorrect-use-of-colors.entry-DZ_SBoa8.js +0 -1
- package/index-D4alMZtT.js +0 -21
- package/logo-variations-horizontal_2.entry-BWlXcmRe.js +0 -7
- package/logo-variations-horizontal_2.entry-CIUDEw3Y.mjs +0 -29
- package/logo-wrong-usage.entry-CtPXf-5h.js +0 -1
- package/logo-wrong-usage.entry-D4aBJ6Wk.mjs +0 -14
- package/token-spacing.entry-Cf5LP8jh.mjs +0 -12
- package/token-spacing.entry-YJWgDaTr.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.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%}.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.urlLabel="Open in Storybook",this.errorMessage="Could not load the requested Storybook content. Please check the URL or try again later.",this.storybookUrl=void 0,this.storyPath=void 0,this.intent="strong",this.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-full"].join(" ")}getFrameHeight(){switch(this.size){case"sm":return"100px";case"md":return"200px";case"lg":return"400px";case"xl":return"700px";default:return"auto"}}async checkIframeAvailability(){try{if(!(await fetch(this.frameSrc,{method:"GET"})).ok)throw new Error("Failed to load")}catch{this.iframeError=!0}}get storyLink(){return`${this.storybookUrl}/?path=/story/${this.storyPath}`}get frameSrc(){return`${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`}render(){return e.h("div",{key:"e4b72fab30dcf1eeee6fdf3c63719599eafedb6d",class:this.articleClasses()},e.h("div",{key:"f8643db32120c14dd18b3d44ae530a83e81e59e0",class:"effect-height flex items-center justify-between py-8 px-12"},e.h("span",{key:"7b40c644e142e6a6356e4d6a683b9c1c57104f5d",class:"f-ui-02"},this.frameLabel),this.iframeError?null:e.h("eds-link",{label:this.urlLabel,url:this.storyLink,intent:this.intent,class:"ml-auto",external:!0,disabled:!1,icon:"arrow-diagonal"})),e.h("div",{key:"8a1fe80134dadd38d113968ad0c825a6f9426921",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;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as s } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { a as o } from "./arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs";
|
|
3
|
-
const t = class {
|
|
4
|
-
constructor(a) {
|
|
5
|
-
r(this, a), this.addClass = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return s("span", { key: "61fba958a683480dfd28e503b65a7dceb6640f46", class: this.addClass, innerHTML: o });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
t as eds_icon_arrow_diagonal
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-D4alMZtT.js"),e=require("./arrow-diagonal-black-8f0494c3-DqsB6ni-.js"),s=class{constructor(r){a.registerInstance(this,r),this.addClass=""}render(){return a.h("span",{key:"61fba958a683480dfd28e503b65a7dceb6640f46",class:this.addClass,innerHTML:e.arrowDiagonal})}};exports.eds_icon_arrow_diagonal=s;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as s, h as t } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { a } from "./arrow-right-9322ba8a-DHq-_PPe.mjs";
|
|
3
|
-
const c = class {
|
|
4
|
-
constructor(r) {
|
|
5
|
-
s(this, r), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return t("span", { key: "823be807e649d4ddbd41c0628e2fda249a8c6f74", class: this.class, innerHTML: a });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
c as eds_icon_arrow_right
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as c, h as e } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { b as r } from "./bluesky-cc5edd2d-DfuDDO5h.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
c(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "a06ab2e79a1ec7603244ec09649ccc2c9ea1950c", class: this.class, innerHTML: r });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_bluesky
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),s=require("./chevron-down-6144c823-D_8976Ke.js"),r=class{constructor(n){e.registerInstance(this,n),this.class=""}render(){return e.h("span",{key:"c723d7f1bbd596063ae7e66123b8038af5320a54",class:this.class,innerHTML:s.chevronDown})}};exports.eds_icon_chevron_down=r;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as n } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { c as o } from "./chevron-down-6144c823-DWGlv9eV.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return n("span", { key: "c723d7f1bbd596063ae7e66123b8038af5320a54", class: this.class, innerHTML: o });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_chevron_down
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as r } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { c as t } from "./chevron-left-ca6c66e1-DANhLw_T.mjs";
|
|
3
|
-
const o = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "5547e9d98f781dc03e88a014f726b3a402e6425d", class: this.class, innerHTML: t });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
o as eds_icon_chevron_left
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),r=require("./chevron-left-ca6c66e1-uCH5SUhm.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"5547e9d98f781dc03e88a014f726b3a402e6425d",class:this.class,innerHTML:r.chevronLeft})}};exports.eds_icon_chevron_left=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),s=require("./chevron-right-b88ed2d4-C7dkTMvP.js"),c=class{constructor(r){e.registerInstance(this,r),this.class=""}render(){return e.h("span",{key:"177f447969a48957c54d011bfb72693731ecc1cf",class:this.class,innerHTML:s.chevronRight})}};exports.eds_icon_chevron_right=c;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as e } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { c } from "./chevron-up-c66bd477-CETJkshq.mjs";
|
|
3
|
-
const o = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "7b8f0aa2da992611e0c908ca0785abce6e1ae189", class: this.class, innerHTML: c });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
o as eds_icon_chevron_up
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),r=require("./chevron-up-c66bd477-ByW7R48t.js"),c=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"7b8f0aa2da992611e0c908ca0785abce6e1ae189",class:this.class,innerHTML:r.chevronUp})}};exports.eds_icon_chevron_up=c;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as r } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { c } from "./close-87fc0d63-DtDU2HIU.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "8e4dedef0fe684fdd6078db8005661e49207da55", class: this.class, innerHTML: c });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_close
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as c, h as r } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { c as o } from "./copy-03b72cb6-B_WCNQrG.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
c(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "ff014a9761d8380a9fd8c97d3dd483b8d6fc786c", class: this.class, innerHTML: o });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_copy
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-D4alMZtT.js"),e=require("./copy-03b72cb6-CZAFAegx.js"),r=class{constructor(c){s.registerInstance(this,c),this.class=""}render(){return s.h("span",{key:"ff014a9761d8380a9fd8c97d3dd483b8d6fc786c",class:this.class,innerHTML:e.copy})}};exports.eds_icon_copy=r;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as e } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { e as c } from "./eu-9ddde93a-ft4szvR5.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "3888f0338df2496c334d95dbcb52a0e39906362d", class: this.class, innerHTML: c });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_eu
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),r=require("./eu-9ddde93a-BFtIQw9B.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"3888f0338df2496c334d95dbcb52a0e39906362d",class:this.class,innerHTML:r.euSvg})}};exports.eds_icon_eu=t;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as a } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { l as e } from "./loader-c9628637-ChpnbJkv.mjs";
|
|
3
|
-
const t = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return a("span", { key: "484dd0712392f0ea05389a0fc0039580f69ca37c", class: this.class, innerHTML: e });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
t as eds_icon_loader
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),r=require("./loader-c9628637-Vj8Wt1e8.js"),c=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"484dd0712392f0ea05389a0fc0039580f69ca37c",class:this.class,innerHTML:r.loader})}};exports.eds_icon_loader=c;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as o, h as e } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { m as r } from "./mastodon-3703ec61-C7iI4Hk0.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
o(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "5388b5cef5d643984157e0bed9263e83934dc7e3", class: this.class, innerHTML: r });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_mastodon
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as c, h as e } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { m as r } from "./menu-340ea948-BpnYX3gY.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
c(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "dd9df55fa03c1b27f2f931c7d07ccc69ee940ff4", class: this.class, innerHTML: r });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_menu
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),n=require("./menu-340ea948-ZdelWVw3.js"),c=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"dd9df55fa03c1b27f2f931c7d07ccc69ee940ff4",class:this.class,innerHTML:n.menu})}};exports.eds_icon_menu=c;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as t } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { s as a } from "./star-0da9b5e9-DX8_iFmu.mjs";
|
|
3
|
-
const e = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return t("span", { key: "cb31d12146ff577195650b502f51005092404a30", class: this.class, innerHTML: a });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
e as eds_icon_star
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as c, h as r } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { s as a } from "./success-443809da-BD23vltm.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
c(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "845a157678b9d059b2c9bd8a6265d3a62f33c31a", class: this.class, innerHTML: a });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_success
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as t } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { t as c } from "./thumbs-down-a18fd049-CzuBAj99.mjs";
|
|
3
|
-
const e = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return t("span", { key: "62cee210c76ea8c63367ad8ab9a9322707c933fd", class: this.class, innerHTML: c });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
e as eds_icon_thumbs_down
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as a, h as r } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { t } from "./thumbs-up-c19a71bc-CjLv5Wgw.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
a(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "f72d46f6685d3251254eaa0a2c2ce8aaca177a2e", class: this.class, innerHTML: t });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_thumbs_up
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as t, h as r } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { t as e } from "./twitter-ac21b505-CGWVGWM9.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
t(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "cd91bfb2003e955cfb02b5efc28e13b54cc3b7e6", class: this.class, innerHTML: e });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_twitter
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as e } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { u as t } from "./user-71ebdc15-CoHlCtJg.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "15fa7c4b7d2dea5740d0926bb1ff6490b23667f8", class: this.class, innerHTML: t });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_user
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),r=require("./user-71ebdc15-BBKQbcQD.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"15fa7c4b7d2dea5740d0926bb1ff6490b23667f8",class:this.class,innerHTML:r.user})}};exports.eds_icon_user=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),t=require("./youtube-efbfbdc4-BLTH1Jl9.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"1a7ad8d7cbef70822ebda2f152d8b537df1eaf27",class:this.class,innerHTML:t.youtube})}};exports.eds_icon_youtube=r;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as r } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { y as t } from "./youtube-efbfbdc4-BfySbfjR.mjs";
|
|
3
|
-
const c = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "1a7ad8d7cbef70822ebda2f152d8b537df1eaf27", class: this.class, innerHTML: t });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
c as eds_icon_youtube
|
|
13
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { r as n, h as e } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
const a = class {
|
|
3
|
-
constructor(t) {
|
|
4
|
-
n(this, t), this.tabIndex = void 0;
|
|
5
|
-
}
|
|
6
|
-
renderContent() {
|
|
7
|
-
switch (this.tabIndex) {
|
|
8
|
-
case 0:
|
|
9
|
-
return e("logo-variations-horizontal", null);
|
|
10
|
-
case 1:
|
|
11
|
-
return e("logo-variations-vertical", null);
|
|
12
|
-
default:
|
|
13
|
-
return e("p", null, "Content not available.");
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
return e("div", { key: "0b23fee608fcbe7059fce155bd65a0c0a4d16e07", class: "container" }, this.renderContent());
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
export {
|
|
21
|
-
a as eds_logo_variations
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-D4alMZtT.js"),n="",a=n,s=class{constructor(e){t.registerInstance(this,e),this.tag="section",this.sectionTitle="",this.headingLevel="h2"}render(){const e=this.tag;return t.h(e,{key:"39c4280156ca46b83538de499baa9b152360b1b4"},t.h("eds-section-heading",{key:"34da742e606f0e9bb485faac8aba1519eccc8934",headingLevel:this.headingLevel,sectionTitle:this.sectionTitle}),t.h("slot",{key:"517b8ecc112565e8c6bb0bf85b02525deaa6f9df"}))}};s.style=a;const c=class{constructor(e){t.registerInstance(this,e),this.sectionTitle=void 0,this.withContainer=!0,this.headingLevel="h2",this.tag="div",this.spacingLarge=!1}getHeadingClass(){return{h1:"f-heading-01",h2:"f-heading-02",h3:"f-heading-03",h4:"f-heading-04",h5:"f-heading-05",h6:"f-heading-06"}[this.headingLevel]}render(){const e=this.tag,i=this.headingLevel;return t.h(e,{key:"766d3f317904f2d735b7b531cf6ad582f22084e3",class:{"ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8 pb-20":!0,container:this.withContainer,"pt-48":this.spacingLarge,"pt-28":!this.spacingLarge}},t.h(i,{key:"41a9db3f627cf93f58d14cdebf3b991be6a6facf",class:this.getHeadingClass()},this.sectionTitle))}};exports.eds_section_core=s;exports.eds_section_heading=c;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { r as o, c as n, h as t } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { p as r } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
3
|
-
const a = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.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-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-error{color:var(--red-700)}.text-extra-light{color:var(--grey-300)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.mb-28{margin-bottom:1.75rem}", l = a, c = class {
|
|
4
|
-
constructor(e) {
|
|
5
|
-
o(this, e), this.step = n(this, "step", 7), this.handleNext = () => {
|
|
6
|
-
this.activeStep = this.activeStep + 1, this.activeStep < this.parsedSteps.length && this.step.emit(this.activeStep);
|
|
7
|
-
}, this.handleBack = () => {
|
|
8
|
-
this.activeStep > 0 && (this.activeStep = this.activeStep - 1, this.step.emit(this.activeStep));
|
|
9
|
-
}, this.steps = [], this.type = "static", this.activeStep = 0;
|
|
10
|
-
}
|
|
11
|
-
handleStepClick(e) {
|
|
12
|
-
this.step.emit(e), this.type === "linear" && (this.activeStep = e);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Parse the JSON string into an array of steps.
|
|
16
|
-
*/
|
|
17
|
-
get parsedSteps() {
|
|
18
|
-
return r(this.steps);
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
const e = this.parsedSteps;
|
|
22
|
-
return this.type === "linear" ? t("div", null, t("div", { class: "steps" }, e.map((s, i) => t("div", { class: "step mb-28", key: i }, t("h3", { onClick: () => this.handleStepClick(i) }, s.title), this.activeStep === i && t("div", { class: "content" }, t("div", { class: "f-body-02 text-lighter my-16" }, s.content), t("eds-button", { label: i === e.length - 1 ? "Finish" : "Continue", intent: "primary", class: "next-btn", onClick: this.handleNext }), t("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: i === 0, "extra-class": i === 0 ? "hidden" : "ml-8 block" }))))), this.activeStep === e.length && t("div", { class: "completed" }, t("eds-alert", { intent: "success", message: "All steps completed - you're finished!" }))) : t("div", { class: "steps" }, e.map((s, i) => t("div", { class: "step mb-28", key: i }, t("h3", null, s.title), t("div", { class: "content" }, t("div", { class: "f-body-02 text-lighter my-16" }, s.content)))));
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
c.style = l;
|
|
26
|
-
export {
|
|
27
|
-
c as eds_steps
|
|
28
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-D4alMZtT.js"),o=require("./sharedUtils-a550989c-m4pF1Vqy.js"),r=".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.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-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-error{color:var(--red-700)}.text-extra-light{color:var(--grey-300)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.mb-28{margin-bottom:1.75rem}",a=r,n=class{constructor(e){t.registerInstance(this,e),this.step=t.createEvent(this,"step",7),this.handleNext=()=>{this.activeStep=this.activeStep+1,this.activeStep<this.parsedSteps.length&&this.step.emit(this.activeStep)},this.handleBack=()=>{this.activeStep>0&&(this.activeStep=this.activeStep-1,this.step.emit(this.activeStep))},this.steps=[],this.type="static",this.activeStep=0}handleStepClick(e){this.step.emit(e),this.type==="linear"&&(this.activeStep=e)}get parsedSteps(){return o.parseData(this.steps)}render(){const e=this.parsedSteps;return this.type==="linear"?t.h("div",null,t.h("div",{class:"steps"},e.map((s,i)=>t.h("div",{class:"step mb-28",key:i},t.h("h3",{onClick:()=>this.handleStepClick(i)},s.title),this.activeStep===i&&t.h("div",{class:"content"},t.h("div",{class:"f-body-02 text-lighter my-16"},s.content),t.h("eds-button",{label:i===e.length-1?"Finish":"Continue",intent:"primary",class:"next-btn",onClick:this.handleNext}),t.h("eds-button",{label:"Back",intent:"ghostInverse",onClick:this.handleBack,disabled:i===0,"extra-class":i===0?"hidden":"ml-8 block"}))))),this.activeStep===e.length&&t.h("div",{class:"completed"},t.h("eds-alert",{intent:"success",message:"All steps completed - you're finished!"}))):t.h("div",{class:"steps"},e.map((s,i)=>t.h("div",{class:"step mb-28",key:i},t.h("h3",null,s.title),t.h("div",{class:"content"},t.h("div",{class:"f-body-02 text-lighter my-16"},s.content)))))}};n.style=a;exports.eds_steps=n;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-D4alMZtT.js"),a=require("./sharedUtils-a550989c-m4pF1Vqy.js"),i=class{constructor(e){t.registerInstance(this,e),this.events=void 0,this.selectedEvent=null,this.parsedEvents=[]}parseEvents(e){const s=a.parseData(e);this.parsedEvents=Array.isArray(s)?s.map(l=>Object.assign(Object.assign({},l),{completed:l.completed==="true"||l.completed===!0})):[]}componentWillLoad(){this.parseEvents(this.events)}componentDidLoad(){this.el.querySelectorAll("eds-card-generic").forEach(s=>{this.emitContext(s)})}emitContext(e){const s=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(s)}handleEventClick(e){this.selectedEvent=e,this.modalRef&&typeof this.modalRef.open=="function"&&this.modalRef.open()}render(){return t.h("div",{key:"6d6eaccb876780be7c9e443a8d8a443fc0b4f779",class:"max-w-sidebar mx-auto px-4 py-8"},t.h("div",{key:"122a6273fbd448a026fee899159872366cc01033",class:"relative"},t.h("div",{key:"bbf7359dacf3eb74f096d8c3e59344a6ceb67e8e",class:"absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0"}),t.h("div",{key:"e86895cccaf84f269a4ae0117deb5ef8bfa6e501",class:"space-y-16"},this.parsedEvents.map((e,s)=>t.h("div",{class:"relative flex"},t.h("div",{class:`w-1/2 ${s%2===0?"pr-4":""}`},s%2===0&&t.h("eds-card-generic",{cardTitle:e.title,url:"#",description:e.description,"heading-level":"h2",tiny:!0,bg:!e.completed,"with-hover":"false",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})),t.h("div",{class:"flex items-center justify-center relative"},e.completed?t.h("div",{class:"w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center"}):t.h("div",{class:"w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center"})),t.h("div",{class:`w-1/2 ${s%2!==0?"pl-4":""}`},s%2!==0&&t.h("eds-card-generic",{cardTitle:e.title,url:"#",description:e.description,"heading-level":"h2",tiny:!0,bg:!e.completed,"with-hover":"false",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})))))))}get el(){return t.getElement(this)}static get watchers(){return{events:["parseEvents"]}}};exports.eds_timeline=i;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { r as l, h as t, g as i } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
import { p as c } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
3
|
-
const d = class {
|
|
4
|
-
constructor(e) {
|
|
5
|
-
l(this, e), this.events = void 0, this.selectedEvent = null, this.parsedEvents = [];
|
|
6
|
-
}
|
|
7
|
-
parseEvents(e) {
|
|
8
|
-
const s = c(e);
|
|
9
|
-
this.parsedEvents = Array.isArray(s) ? s.map((a) => Object.assign(Object.assign({}, a), { completed: a.completed === "true" || a.completed === !0 })) : [];
|
|
10
|
-
}
|
|
11
|
-
componentWillLoad() {
|
|
12
|
-
this.parseEvents(this.events);
|
|
13
|
-
}
|
|
14
|
-
componentDidLoad() {
|
|
15
|
-
this.el.querySelectorAll("eds-card-generic").forEach((s) => {
|
|
16
|
-
this.emitContext(s);
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
emitContext(e) {
|
|
20
|
-
const s = new CustomEvent("parentContext", {
|
|
21
|
-
detail: {
|
|
22
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
23
|
-
identifier: null
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
e.dispatchEvent(s);
|
|
27
|
-
}
|
|
28
|
-
handleEventClick(e) {
|
|
29
|
-
this.selectedEvent = e, this.modalRef && typeof this.modalRef.open == "function" && this.modalRef.open();
|
|
30
|
-
}
|
|
31
|
-
render() {
|
|
32
|
-
return t("div", { key: "6d6eaccb876780be7c9e443a8d8a443fc0b4f779", class: "max-w-sidebar mx-auto px-4 py-8" }, t("div", { key: "122a6273fbd448a026fee899159872366cc01033", class: "relative" }, t("div", { key: "bbf7359dacf3eb74f096d8c3e59344a6ceb67e8e", class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), t("div", { key: "e86895cccaf84f269a4ae0117deb5ef8bfa6e501", class: "space-y-16" }, this.parsedEvents.map((e, s) => t("div", { class: "relative flex" }, t("div", { class: `w-1/2 ${s % 2 === 0 ? "pr-4" : ""}` }, s % 2 === 0 && t("eds-card-generic", { cardTitle: e.title, url: "#", description: e.description, "heading-level": "h2", tiny: !0, bg: !e.completed, "with-hover": "false", tags: JSON.stringify(e.completed ? [{ label: "completed", style: "accent" }] : [{ label: "pending", style: "default" }]), onClick: () => this.handleEventClick(e) })), t("div", { class: "flex items-center justify-center relative" }, e.completed ? t("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" }) : t("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" })), t("div", { class: `w-1/2 ${s % 2 !== 0 ? "pl-4" : ""}` }, s % 2 !== 0 && t("eds-card-generic", { cardTitle: e.title, url: "#", description: e.description, "heading-level": "h2", tiny: !0, bg: !e.completed, "with-hover": "false", tags: JSON.stringify(e.completed ? [{ label: "completed", style: "accent" }] : [{ label: "pending", style: "default" }]), onClick: () => this.handleEventClick(e) })))))));
|
|
33
|
-
}
|
|
34
|
-
get el() {
|
|
35
|
-
return i(this);
|
|
36
|
-
}
|
|
37
|
-
static get watchers() {
|
|
38
|
-
return {
|
|
39
|
-
events: ["parseEvents"]
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
export {
|
|
44
|
-
d as eds_timeline
|
|
45
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { r as i, h as e } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
const n = class {
|
|
3
|
-
constructor(t) {
|
|
4
|
-
i(this, t), this.applications = void 0;
|
|
5
|
-
}
|
|
6
|
-
getParsedApplications() {
|
|
7
|
-
let t = [];
|
|
8
|
-
if (typeof this.applications == "string")
|
|
9
|
-
try {
|
|
10
|
-
t = JSON.parse(this.applications || "[]");
|
|
11
|
-
} catch (a) {
|
|
12
|
-
console.error("Invalid applications trl JSON", a), t = [];
|
|
13
|
-
}
|
|
14
|
-
else Array.isArray(this.applications) && (t = this.applications);
|
|
15
|
-
return t;
|
|
16
|
-
}
|
|
17
|
-
calculateProgress(t) {
|
|
18
|
-
return Math.ceil(t / 9 * 100);
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
const a = this.getParsedApplications().map((r) => ({
|
|
22
|
-
Application: r.name,
|
|
23
|
-
"Current TRL Stage": `TRL ${r.currentTrl}`,
|
|
24
|
-
Progress: e("div", { class: "w-[200px]" }, e("eds-progress-bar", { value: this.calculateProgress(r.currentTrl) }))
|
|
25
|
-
})), s = {
|
|
26
|
-
Application: { format: "code" },
|
|
27
|
-
"Current TRL Stage": { format: "text" }
|
|
28
|
-
};
|
|
29
|
-
return e("div", { key: "bd46e540a0dd3c09a91d1cff266b94a2bf9fba95", class: "container mx-auto px-4 py-8" }, e("eds-table", { key: "d3ef10fc7e5ccd6029d1e62c2bb78765e78c8a13", data: JSON.stringify(a), config: JSON.stringify(s), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" }));
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
n as eds_trl
|
|
34
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),n=class{constructor(a){e.registerInstance(this,a),this.user=void 0}async componentWillLoad(){}get initials(){var a,i,s,t,l,d,r;return`${((i=(a=this.user)===null||a===void 0?void 0:a.given_name)===null||i===void 0?void 0:i.charAt(0))||""}${((t=(s=this.user)===null||s===void 0?void 0:s.family_name)===null||t===void 0?void 0:t.charAt(0))||""}`.toUpperCase()||((r=(d=(l=this.user)===null||l===void 0?void 0:l.name)===null||d===void 0?void 0:d.charAt(0))===null||r===void 0?void 0:r.toUpperCase())||""}render(){var a,i,s,t,l,d;return e.h("div",{key:"68bc37b43d006a35e088a647d41b2257fbef25a7",class:"block"},e.h("div",{key:"3f4badcb645238de9ac8aaad78e1c132407f5b0d",class:"flex items-center"},e.h("eds-dropdown",{key:"7f065f82c5845fd0ebc9c6b465ac56a695a99b77",label:`Welcome, ${(a=this.user)===null||a===void 0?void 0:a.preferred_username}`,intent:"tertiary","aria-label":"User Menu","dropdown-pos":"right","dropdown-offset":"false",icon:"chevron-down",class:"text-default"},e.h("div",{key:"2b1e9279c8d4feae16bf64c15837b61b945af447",class:"min-w-[280px] p-8"},e.h("div",{key:"efa9aef50bc1eb4961e53a89f6e07cc5ff78d67b",class:"flex gap-x-16 pb-16 border-b-2 border-softer"},e.h("eds-avatar",{key:"2b78a6768ecb101138ab742d812d407e1b4fdd89","first-name":(i=this.user)===null||i===void 0?void 0:i.given_name,"last-name":(s=this.user)===null||s===void 0?void 0:s.family_name,initials:this.initials,color:"grey",rounded:!0,"initials-strong":!0}),e.h("div",{key:"d538dfe8df5e8af92fa204493b8b59b0d0e9f61a",class:"max-w-full"},((t=this.user)===null||t===void 0?void 0:t.name)&&e.h("p",{key:"a644c3cdda0ce7bf2f62438a3866692f4222efeb",class:"f-ui-01 text-default w-full text-ellipsis"},this.user.name),((l=this.user)===null||l===void 0?void 0:l.preferred_username)&&e.h("p",{key:"2a6cf5f0324d27ebdfd2b331e5f232c23e544ad5",class:"f-ui-03-light text-light mt-4"},this.user.preferred_username),((d=this.user)===null||d===void 0?void 0:d.email)&&e.h("p",{key:"02b9dd4f2999b68107eabc2c1e2a1bc3bb98f26a",class:"f-ui-03-light text-light mt-4"},this.user.email))),e.h("div",{key:"3a68427dc603f0a3fb2652bfbea292eb718046dd",class:"text-default mt-16 flex w-full flex-col gap-y-8"},e.h("div",{key:"3f3f617385efc57502794f78079b8486b6801425",class:"border-softer mb-10 border-b-2 pb-16"},e.h("eds-link",{key:"62fbc143f710605c7d840277dc90054a1162831d",label:"My EBRAINS","aria-label":"My EBRAINS",url:"https://www.ebrains.eu/dashboard",intent:"primary","extra-class":"w-full",external:!0})),e.h("eds-link",{key:1,label:"Account Settings",url:"https://iam.ebrains.eu/auth/realms/hbp/account/",intent:"secondary",icon:"arrow-diagonal",external:!0,"extra-class":"w-full"}),e.h("slot",{key:"f48a4c872784b60e421fda6e48f67f4c85b101d7"}))))))}get hostEl(){return e.getElement(this)}};exports.eds_user=n;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { r as n, h as e, g as f } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
const b = class {
|
|
3
|
-
constructor(a) {
|
|
4
|
-
n(this, a), this.user = void 0;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Lifecycle method that runs when the component is about to load.
|
|
8
|
-
* It initializes authentication by calling the `initAuth` method.
|
|
9
|
-
*/
|
|
10
|
-
async componentWillLoad() {
|
|
11
|
-
}
|
|
12
|
-
get initials() {
|
|
13
|
-
var a, s, i, l, t, d, r;
|
|
14
|
-
return `${((s = (a = this.user) === null || a === void 0 ? void 0 : a.given_name) === null || s === void 0 ? void 0 : s.charAt(0)) || ""}${((l = (i = this.user) === null || i === void 0 ? void 0 : i.family_name) === null || l === void 0 ? void 0 : l.charAt(0)) || ""}`.toUpperCase() || ((r = (d = (t = this.user) === null || t === void 0 ? void 0 : t.name) === null || d === void 0 ? void 0 : d.charAt(0)) === null || r === void 0 ? void 0 : r.toUpperCase()) || "";
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
var a, s, i, l, t, d;
|
|
18
|
-
return e("div", { key: "68bc37b43d006a35e088a647d41b2257fbef25a7", class: "block" }, e("div", { key: "3f4badcb645238de9ac8aaad78e1c132407f5b0d", class: "flex items-center" }, e("eds-dropdown", { key: "7f065f82c5845fd0ebc9c6b465ac56a695a99b77", label: `Welcome, ${(a = this.user) === null || a === void 0 ? void 0 : a.preferred_username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, e("div", { key: "2b1e9279c8d4feae16bf64c15837b61b945af447", class: "min-w-[280px] p-8" }, e("div", { key: "efa9aef50bc1eb4961e53a89f6e07cc5ff78d67b", class: "flex gap-x-16 pb-16 border-b-2 border-softer" }, e("eds-avatar", { key: "2b78a6768ecb101138ab742d812d407e1b4fdd89", "first-name": (s = this.user) === null || s === void 0 ? void 0 : s.given_name, "last-name": (i = this.user) === null || i === void 0 ? void 0 : i.family_name, initials: this.initials, color: "grey", rounded: !0, "initials-strong": !0 }), e("div", { key: "d538dfe8df5e8af92fa204493b8b59b0d0e9f61a", class: "max-w-full" }, ((l = this.user) === null || l === void 0 ? void 0 : l.name) && e("p", { key: "a644c3cdda0ce7bf2f62438a3866692f4222efeb", class: "f-ui-01 text-default w-full text-ellipsis" }, this.user.name), ((t = this.user) === null || t === void 0 ? void 0 : t.preferred_username) && e("p", { key: "2a6cf5f0324d27ebdfd2b331e5f232c23e544ad5", class: "f-ui-03-light text-light mt-4" }, this.user.preferred_username), ((d = this.user) === null || d === void 0 ? void 0 : d.email) && e("p", { key: "02b9dd4f2999b68107eabc2c1e2a1bc3bb98f26a", class: "f-ui-03-light text-light mt-4" }, this.user.email))), e("div", { key: "3a68427dc603f0a3fb2652bfbea292eb718046dd", class: "text-default mt-16 flex w-full flex-col gap-y-8" }, e("div", { key: "3f3f617385efc57502794f78079b8486b6801425", class: "border-softer mb-10 border-b-2 pb-16" }, e("eds-link", { key: "62fbc143f710605c7d840277dc90054a1162831d", label: "My EBRAINS", "aria-label": "My EBRAINS", url: "https://www.ebrains.eu/dashboard", intent: "primary", "extra-class": "w-full", external: !0 })), e("eds-link", { key: 1, label: "Account Settings", url: "https://iam.ebrains.eu/auth/realms/hbp/account/", intent: "secondary", icon: "arrow-diagonal", external: !0, "extra-class": "w-full" }), e("slot", { key: "f48a4c872784b60e421fda6e48f67f4c85b101d7" }))))));
|
|
19
|
-
}
|
|
20
|
-
get hostEl() {
|
|
21
|
-
return f(this);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
b as eds_user
|
|
26
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { r as i, h as t } from "./index-E1PpO1J3.mjs";
|
|
2
|
-
const p = ":host{display:block}.stepper-container{margin:0 auto}.stepper{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:24px;counter-reset:step}.step{margin-bottom:24px}.step-label{counter-increment:step;font-size:1.25rem;font-weight:600;position:relative;margin-top:1em;margin-bottom:1em}.step-label::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.optional{font-size:0.8rem;color:#888;margin-left:8px}.step-content{margin-top:8px}.step-buttons{margin-top:12px}.step-buttons button{margin-right:8px;padding:6px 12px;font-size:0.875rem}.completed{padding:16px;border:1px solid #ddd;margin-top:16px;text-align:center}", n = p, r = class {
|
|
3
|
-
constructor(e) {
|
|
4
|
-
i(this, e), this.handleNext = () => {
|
|
5
|
-
this.activeStep < this.parsedSteps.length && (this.activeStep = this.activeStep + 1);
|
|
6
|
-
}, this.handleBack = () => {
|
|
7
|
-
this.activeStep > 0 && (this.activeStep = this.activeStep - 1);
|
|
8
|
-
}, this.handleReset = () => {
|
|
9
|
-
this.activeStep = 0;
|
|
10
|
-
}, this.steps = "[]", this.activeStep = 0;
|
|
11
|
-
}
|
|
12
|
-
get parsedSteps() {
|
|
13
|
-
try {
|
|
14
|
-
return JSON.parse(this.steps);
|
|
15
|
-
} catch {
|
|
16
|
-
return [];
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
render() {
|
|
20
|
-
const e = this.parsedSteps;
|
|
21
|
-
return t("div", { key: "89344ad340f9eb8d20f463d3990ec4832cbdc900", class: "stepper-container" }, t("div", { key: "da8d7fae2b30cfc93d04d5d8c3a61d95ccf91383", class: "stepper" }, e.map((a, s) => t("div", { class: "step", key: s }, t("div", { class: "step-label" }, t("span", null, a.label), s === e.length - 1 && t("span", { class: "f-ui-03 text-lightest ml-4" }, "(Last step)")), this.activeStep === s && t("div", { class: "step-content" }, t("p", null, a.description), t("div", { class: "step-buttons" }, t("eds-button", { label: s === e.length - 1 ? "Finish" : "Continue", class: "next-btn", onClick: this.handleNext }), t("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: s === 0, "extra-class": s === 0 ? "hidden" : "ml-8 block" })))))), this.activeStep === e.length && t("div", { key: "1e3272723281d9a10603b4d1e79badfdd6591cc5", class: "" }, t("eds-alert", { key: "7cc81e7e7097891364ff9894d383fd7bb9f7fce4", intent: "success", message: "All steps completed - you're finished!" }), t("eds-button", { key: "a4d68698fa7831c7e2b6afae435979ccac46a726", label: "Start again", onClick: this.handleReset, "extra-class": "mt-4" })));
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
r.style = n;
|
|
25
|
-
export {
|
|
26
|
-
r as eds_vertical_stepper
|
|
27
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),n=":host{display:block}.stepper-container{margin:0 auto}.stepper{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:24px;counter-reset:step}.step{margin-bottom:24px}.step-label{counter-increment:step;font-size:1.25rem;font-weight:600;position:relative;margin-top:1em;margin-bottom:1em}.step-label::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.optional{font-size:0.8rem;color:#888;margin-left:8px}.step-content{margin-top:8px}.step-buttons{margin-top:12px}.step-buttons button{margin-right:8px;padding:6px 12px;font-size:0.875rem}.completed{padding:16px;border:1px solid #ddd;margin-top:16px;text-align:center}",p=n,a=class{constructor(t){e.registerInstance(this,t),this.handleNext=()=>{this.activeStep<this.parsedSteps.length&&(this.activeStep=this.activeStep+1)},this.handleBack=()=>{this.activeStep>0&&(this.activeStep=this.activeStep-1)},this.handleReset=()=>{this.activeStep=0},this.steps="[]",this.activeStep=0}get parsedSteps(){try{return JSON.parse(this.steps)}catch{return[]}}render(){const t=this.parsedSteps;return e.h("div",{key:"89344ad340f9eb8d20f463d3990ec4832cbdc900",class:"stepper-container"},e.h("div",{key:"da8d7fae2b30cfc93d04d5d8c3a61d95ccf91383",class:"stepper"},t.map((i,s)=>e.h("div",{class:"step",key:s},e.h("div",{class:"step-label"},e.h("span",null,i.label),s===t.length-1&&e.h("span",{class:"f-ui-03 text-lightest ml-4"},"(Last step)")),this.activeStep===s&&e.h("div",{class:"step-content"},e.h("p",null,i.description),e.h("div",{class:"step-buttons"},e.h("eds-button",{label:s===t.length-1?"Finish":"Continue",class:"next-btn",onClick:this.handleNext}),e.h("eds-button",{label:"Back",intent:"ghostInverse",onClick:this.handleBack,disabled:s===0,"extra-class":s===0?"hidden":"ml-8 block"})))))),this.activeStep===t.length&&e.h("div",{key:"1e3272723281d9a10603b4d1e79badfdd6591cc5",class:""},e.h("eds-alert",{key:"7cc81e7e7097891364ff9894d383fd7bb9f7fce4",intent:"success",message:"All steps completed - you're finished!"}),e.h("eds-button",{key:"a4d68698fa7831c7e2b6afae435979ccac46a726",label:"Start again",onClick:this.handleReset,"extra-class":"mt-4"})))}};a.style=p;exports.eds_vertical_stepper=a;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function h(t,o,i,u,n){const a=[];return u&&!o&&a.push(`${t} is required.`),n&&typeof o=="string"&&o.length>n&&a.push(`${t} must be at most ${n} characters.`),i==="email"&&o&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(o.toString())&&a.push("Invalid email format."),a}function y(t,o,i){const a=Array.from(i.querySelectorAll("eds-input-field")).filter(r=>{var s,c;return((c=(s=r.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(`input[name="${t}"]`))===null||c===void 0?void 0:c.length)>0}).flatMap(r=>{var s;return Array.from(((s=r.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(`input[name="${t}"]`))||[])}).some(r=>r.checked),e=[];return o&&!a&&e.push(`At least one option in ${t} is required.`),e}function f(t,o,i){var u;const n=[],a=Array.from(i.querySelectorAll("eds-input-field")).find(r=>{var s;return(s=r.shadowRoot)===null||s===void 0?void 0:s.querySelector(`[name="${t}"]`)});if(!a)return o&&n.push(`${t} is required.`),n;const e=(u=a.shadowRoot)===null||u===void 0?void 0:u.querySelector(`[name="${t}"]`);return o&&e&&!e.checked&&n.push(`${t} is required.`),n}function d(t,o){const i=Array.from(t.querySelectorAll("eds-input-field"));for(const u of i)if(u.shadowRoot){const n=u.shadowRoot.querySelector(`[name="${o}"]`);if(n)return n}return null}function v(t,o,i,u){const n={};let a=!1;return t.forEach(e=>{if(!u(e,i)){delete n[e.name];return}if(e.type!=="hidden")if((e.type==="checkbox"||e.type==="radio")&&!e.options){const r=f(e.name,e.required,o);r.length>0&&(n[e.name]=r,a=!0)}else if(e.options&&(e.type==="checkbox"||e.type==="radio")){const r=y(e.name,e.required,o);r.length>0&&(n[e.name]=r,a=!0)}else{const r=d(o,e.name);if(r){const s=r.value,c=h(e.name,s,e.type,e.required,e.maxlength);c.length>0&&(n[e.name]=c,a=!0)}}}),{errors:n,hasError:a}}function q(t,o,i){return t.type==="checkbox"||t.type==="radio"?t.options?y(t.name,t.required,i):f(t.name,t.required,i):h(t.name,o,t.type,t.required,t.maxlength)}function A({initData:t,parsedFields:o,currentValues:i,formEl:u,isFieldVisible:n}){const a=Object.assign({},i);return o.forEach(e=>{const r=t[e.name];r!==void 0&&(a[e.name]=r)}),setTimeout(()=>{o.forEach(e=>{if(n(e,a)){const r=t[e.name];if(r!==void 0)if(e.type==="checkbox"||e.type==="radio")Array.from(u.querySelectorAll("eds-input-field")).forEach(c=>{if(c.shadowRoot){const m=Array.from(c.shadowRoot.querySelectorAll(`[name="${e.name}"]`)),p=r.split(",").map(l=>l.trim());m.forEach(l=>{l.checked=p.includes(l.value)})}});else{const s=d(u,e.name);s&&(s.value=r)}}})},50),{updatedValues:a}}function g({draftData:t,parsedFields:o,currentValues:i,formEl:u,isFieldVisible:n}){const a=Object.assign({},i);return o.forEach(e=>{const r=t[e.name];r!==void 0&&(a[e.name]=r)}),setTimeout(()=>{o.forEach(e=>{if(n(e,a)){const r=t[e.name];if(r!==void 0)if(e.type==="checkbox"||e.type==="radio")Array.from(u.querySelectorAll("eds-input-field")).forEach(c=>{if(c.shadowRoot){const m=Array.from(c.shadowRoot.querySelectorAll(`[name="${e.name}"]`)),p=r.split(",").map(l=>l.trim());m.forEach(l=>{l.checked=p.includes(l.value)})}});else{const s=d(u,e.name);s&&(s.value=r)}}})},50),{updatedValues:a}}exports.getFormDraftData=g;exports.getFormInitData=A;exports.validateFormFields=v;exports.validateInputField=q;
|