@ebrains/vue 0.6.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-BJGrNiKE.mjs → color-primary-palette_6.entry-8IScvoTJ.mjs} +19 -19
- 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-ClTcY5vo.mjs +59 -0
- package/eds-accordion_17.entry-BBnyn6EM.js +24029 -0
- package/eds-accordion_17.entry-BhCBvhXC.mjs +25134 -0
- package/{eds-alert.entry-HNjGFpMQ.js → eds-alert.entry-C7iR6Wau.js} +224 -93
- package/{eds-alert.entry-B9K7jZdM.mjs → eds-alert.entry-DHikCbw_.mjs} +233 -96
- package/eds-app-root.entry-YPigXe8_.mjs +25 -0
- package/eds-app-root.entry-rafdbiL3.js +1 -0
- package/{eds-breadcrumb.entry-nSQcSQxS.mjs → eds-breadcrumb.entry-Bfc36jaR.mjs} +12 -18
- 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-Bn3saq5k.mjs +56 -0
- package/eds-card-generic.entry-Ct8aLaT_.js +1 -0
- package/eds-card-project.entry-B7s198sC.js +1 -0
- package/{eds-card-project.entry-BMRVlg7J.mjs → eds-card-project.entry-CkmokKaR.mjs} +7 -7
- package/eds-card-section.entry-CE7UQ8HN.js +1 -0
- package/eds-card-section.entry-DKP7IjIj.mjs +30 -0
- package/eds-card-tags.entry-BNqaohHu.mjs +13 -0
- package/eds-card-tags.entry-wvkOqT1r.js +1 -0
- package/{eds-card-tool.entry-BPrlMiqY.mjs → eds-card-tool.entry-CR4SuPPR.mjs} +7 -7
- package/{eds-card-tool.entry-B0rDGNdA.js → eds-card-tool.entry-Df_qlYY5.js} +1 -1
- package/{eds-card-wrapper.entry-Ba4ljzon.mjs → eds-card-wrapper.entry-CosNbMgP.mjs} +4 -4
- package/{eds-card-wrapper.entry-DyPmlYoI.js → eds-card-wrapper.entry-DwcKQUDS.js} +1 -1
- package/{eds-code-block.entry-zX5MUsAS.mjs → eds-code-block.entry-Bfp7Moc7.mjs} +2 -2
- package/{eds-code-block.entry-B3RL-q6l.js → eds-code-block.entry-D5kDIIPG.js} +2 -2
- package/{eds-components-section.entry-xnXY70G_.mjs → eds-components-section.entry-CZzJEdYb.mjs} +42 -35
- package/eds-components-section.entry-DpGQLUDG.js +140 -0
- package/{eds-cookies-preference.entry-MAmSehJX.js → eds-cookies-preference.entry-DUwpfJG0.js} +1 -1
- package/{eds-cookies-preference.entry-DAQEpE8v.mjs → eds-cookies-preference.entry-ivi_kdZs.mjs} +5 -5
- package/{eds-docs-palettes.entry-BiC_mzap.js → eds-docs-palettes.entry-CvUsZJGt.js} +1 -1
- package/{eds-docs-palettes.entry-CFIZWB7Y.mjs → eds-docs-palettes.entry-DF_rAbne.mjs} +2 -2
- package/{eds-docs-tokens.entry-CCwf01ke.js → eds-docs-tokens.entry-C3AfntXW.js} +1 -1
- package/{eds-docs-tokens.entry-ClVBrRzm.mjs → eds-docs-tokens.entry-gPy71iZA.mjs} +2 -2
- package/eds-feedback.entry-Cii4Bgav.mjs +53 -0
- package/eds-feedback.entry-mS5rXykK.js +1 -0
- package/eds-form.entry-CNUo4guS.mjs +226 -0
- package/eds-form.entry-DmOYblLu.js +1 -0
- package/eds-frame.entry-BEG9Cq6f.mjs +73 -0
- 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-B01PWxxn.js +1 -0
- 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-BfYrb4Uv.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-YLnmNxjo.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-BSSS65tZ.js → eds-icon-close.entry-eRRe-idl.js} +1 -1
- package/{eds-icon-copy.entry-PvAtojYn.js → eds-icon-copy.entry-B41dL0Pk.js} +1 -1
- 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-CKmUhO4W.mjs → eds-icon-facebook.entry-CxuQ9T-z.mjs} +2 -2
- package/{eds-icon-facebook.entry-DsPVhA3Z.js → eds-icon-facebook.entry-tLxBj2-p.js} +1 -1
- package/{eds-icon-gitlab.entry-D6VEWpO6.mjs → eds-icon-gitlab.entry-B4Y3IL_W.mjs} +2 -2
- package/{eds-icon-gitlab.entry-Dzq7ViR-.js → eds-icon-gitlab.entry-Bz32Y093.js} +1 -1
- package/{eds-icon-linkedin.entry-7PCeoMEi.js → eds-icon-linkedin.entry-BOJB8PtD.js} +1 -1
- package/eds-icon-linkedin.entry-C-OLKK80.mjs +13 -0
- package/eds-icon-loader.entry-Cnugn2v_.mjs +13 -0
- package/{eds-icon-loader.entry-Bp-ZxeW7.js → eds-icon-loader.entry-OpxpC-qI.js} +1 -1
- package/{eds-icon-mastodon.entry-DsU7dMbW.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-CqvnBXDu.mjs → eds-icon-more.entry-BIN9jdzF.mjs} +2 -2
- package/{eds-icon-more.entry-BOWM2H9H.js → eds-icon-more.entry-BdtfLgCV.js} +1 -1
- package/eds-icon-search.entry-CnqQ_vud.mjs +13 -0
- package/eds-icon-search.entry-Cw8zssoR.js +1 -0
- package/eds-icon-star.entry-BqWtt_VJ.mjs +13 -0
- package/eds-icon-star.entry-DhcygAni.js +1 -0
- package/{eds-icon-success.entry-CDwqLyts.js → eds-icon-success.entry-59uCWiA1.js} +1 -1
- package/eds-icon-success.entry-C0jA8lzW.mjs +13 -0
- package/eds-icon-thumbs-down.entry-BNUoStSy.js +1 -0
- 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-Bn3MBFif.js +1 -0
- package/eds-icon-twitter.entry-CGsi8ynP.js +1 -0
- 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/{keycloak-d502ec16-Ce0iGqyk.mjs → eds-login_2.entry-Be8tUQNx.mjs} +288 -210
- package/eds-login_2.entry-CiL5geMY.js +9 -0
- package/{eds-logo-variations.entry-AbwI_N4g.mjs → eds-logo-variations.entry-CBy11DlE.mjs} +2 -2
- package/{eds-logo-variations.entry-B7BEqih8.js → eds-logo-variations.entry-DGWNGIvb.js} +1 -1
- package/{eds-modal.entry-2mm8jzwO.mjs → eds-modal.entry-B3qjw7GE.mjs} +16 -4
- package/{eds-modal.entry-N0Zu-2yI.js → eds-modal.entry-KkENKOHe.js} +1 -1
- package/{eds-pagination_2.entry-T_lnxySd.mjs → eds-pagination_2.entry-B2q_5PRD.mjs} +36 -27
- package/eds-pagination_2.entry-BcBkkuEq.js +1 -0
- package/{eds-progress-bar.entry-BpqT4TGP.mjs → eds-progress-bar.entry-BWnPK-6o.mjs} +2 -2
- package/{eds-progress-bar.entry-C-qHC2dN.js → eds-progress-bar.entry-DMTDcZv8.js} +1 -1
- package/eds-rating.entry-CPCGEHHj.js +1 -0
- package/eds-rating.entry-CtRb0a5R.mjs +61 -0
- package/{eds-section-core_2.entry-BwoSUszo.mjs → eds-section-core_2.entry-BrIavUCN.mjs} +10 -10
- package/eds-section-core_2.entry-rRmNlbQR.js +1 -0
- package/eds-spinner.entry-BQ7NYZow.js +1 -0
- package/eds-spinner.entry-D58XgaXt.mjs +36 -0
- package/{eds-svg-repository.entry-BhAWpTfJ.js → eds-svg-repository.entry-B3RrcJof.js} +13 -13
- package/{eds-svg-repository.entry-DeKbE1sw.mjs → eds-svg-repository.entry-D1rRUteH.mjs} +78 -71
- package/{eds-switch.entry-6C-fiD1f.js → eds-switch.entry-CAzboLuJ.js} +1 -1
- package/{eds-switch.entry-LXqTebs4.mjs → eds-switch.entry-CgstZWMb.mjs} +3 -3
- package/{eds-input_7.entry-Bo9-yfaP.js → eds-tabs.entry-2CrdvmEM.mjs} +783 -88
- package/{eds-input_7.entry-CCX6iGUA.mjs → eds-tabs.entry-CxValIYM.js} +680 -294
- package/{eds-link.entry-B_t5O_EC.js → eds-timeline.entry-CFAb5Cd0.js} +535 -64
- package/{eds-link.entry-D4lqKj64.mjs → eds-timeline.entry-D9ZihmLu.mjs} +566 -216
- package/eds-toast-manager.entry-DNRGmKI4.js +1 -0
- package/eds-toast-manager.entry-mR3GXeEW.mjs +36 -0
- package/eds-toast.entry-BRfHKFao.js +3 -0
- package/eds-toast.entry-ubt1S3Kw.mjs +61 -0
- package/{eds-tooltip.entry-D9pRQyxl.js → eds-tooltip.entry-BS9OaOdx.js} +1 -1
- package/{eds-tooltip.entry-BSd2vlEo.mjs → eds-tooltip.entry-D0rqB_RZ.mjs} +6 -6
- package/eds-trl.entry-CwmhIRgh.mjs +34 -0
- package/eds-trl.entry-D_xUUWvL.js +1 -0
- package/generated/components.d.ts +4 -3
- package/incorrect-use-of-colors.entry-B5KDlGuR.mjs +42 -0
- package/incorrect-use-of-colors.entry-_H77f9zg.js +1 -0
- package/{index-Df31uHzU.mjs → index-DeCYK9qM.mjs} +379 -383
- package/index-QKKBbj1_.js +21 -0
- package/index.js +1 -1
- package/index.mjs +38 -37
- package/{logo-space.entry-q9Uznxi3.js → logo-space.entry-CGNHFbPE.js} +1 -1
- package/{logo-space.entry-CChbx8AS.mjs → logo-space.entry-NVMguJha.mjs} +7 -7
- 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/sharedUtils-a550989c-Ci3Tx3jc.mjs +15 -0
- package/sharedUtils-a550989c-m4pF1Vqy.js +1 -0
- package/star-0da9b5e9-B3-jr0yE.js +3 -0
- package/star-0da9b5e9-DX8_iFmu.mjs +6 -0
- package/thumbs-down-a18fd049-CzuBAj99.mjs +6 -0
- package/thumbs-down-a18fd049-DTNIbYbm.js +3 -0
- package/thumbs-up-c19a71bc-CjLv5Wgw.mjs +7 -0
- package/thumbs-up-c19a71bc-w8Z8gegt.js +4 -0
- package/{token-list_3.entry-B4bQ3_yz.js → token-list_3.entry-D8dKORAJ.js} +1 -1
- package/{token-list_3.entry-CJXI55T0.mjs → token-list_3.entry-uSQm6z8I.mjs} +4 -4
- package/{token-ratios.entry-LNQoHORe.mjs → token-ratios.entry-BiuicosE.mjs} +2 -2
- package/token-ratios.entry-CaKfU99x.js +1 -0
- package/token-spacing.entry-B9inIBOK.mjs +12 -0
- package/token-spacing.entry-BV0NaRVV.js +1 -0
- package/{token-typography.entry-DddK_fiy.js → token-typography.entry-Dn6NRvAR.js} +1 -1
- package/{token-typography.entry-qTyV0EeH.mjs → token-typography.entry-sTlt7Bpz.mjs} +2 -2
- package/color-primary-palette_6.entry-CYSEDId9.js +0 -1
- package/correct-use-of-colors.entry-B36yaMb6.js +0 -1
- package/correct-use-of-colors.entry-C2K5ii07.mjs +0 -59
- package/eds-accordion_13.entry-BwXBZQ7p.mjs +0 -8044
- package/eds-accordion_13.entry-DuX3jvBd.js +0 -7375
- package/eds-block-break.entry-1HfuhJmn.mjs +0 -13
- package/eds-block-break.entry-DQDjLThR.js +0 -1
- package/eds-breadcrumb.entry-Oe7Iu_rp.js +0 -1
- package/eds-card-project.entry-BQKGTSJB.js +0 -1
- package/eds-card-tags.entry-BjvxuQg1.mjs +0 -13
- package/eds-card-tags.entry-DAkoUUin.js +0 -1
- package/eds-components-section.entry-BsmIIcun.js +0 -141
- package/eds-dropdown_2.entry-Dhtc1LQe.js +0 -1
- package/eds-dropdown_2.entry-Ds54Abix.mjs +0 -115
- package/eds-footer.entry-CKr0MOpU.mjs +0 -22
- package/eds-footer.entry-DuNEl6BR.js +0 -1
- package/eds-form.entry-gO7sMMVG.js +0 -7153
- package/eds-form.entry-znKH1sqi.mjs +0 -7340
- package/eds-frame.entry-BE9_G-56.js +0 -1
- package/eds-frame.entry-COwMtc5z.mjs +0 -74
- package/eds-fullscreen-menu.entry-CRIb_lLm.js +0 -1
- package/eds-fullscreen-menu.entry-DdO0Nwbq.mjs +0 -74
- package/eds-header.entry-38uAVZoC.js +0 -2
- package/eds-header.entry-C0qfjzDY.mjs +0 -75
- package/eds-icon-arrow-diagonal.entry-BTLKc1cS.js +0 -1
- package/eds-icon-arrow-diagonal.entry-C7CZIqBn.mjs +0 -13
- package/eds-icon-arrow-right.entry-Bv_6skZy.js +0 -1
- package/eds-icon-arrow-right.entry-DNkmpAdY.mjs +0 -13
- package/eds-icon-bluesky.entry-B_WksyEk.mjs +0 -13
- package/eds-icon-chevron-down.entry-DGjMxTKO.mjs +0 -13
- package/eds-icon-chevron-down.entry-OPmfChgp.js +0 -1
- package/eds-icon-chevron-left.entry-CRr4AWkS.mjs +0 -13
- package/eds-icon-chevron-left.entry-_zMMz-c9.js +0 -1
- package/eds-icon-chevron-right.entry-0FshDV46.js +0 -1
- package/eds-icon-chevron-up.entry-DGt49ffi.js +0 -1
- package/eds-icon-chevron-up.entry-NPODej6j.mjs +0 -13
- package/eds-icon-close.entry-BQULA4ki.mjs +0 -13
- package/eds-icon-copy.entry-Di_H0U8v.mjs +0 -13
- package/eds-icon-eu.entry-BTzpJByN.mjs +0 -13
- package/eds-icon-eu.entry-D77vjTJ9.js +0 -1
- package/eds-icon-linkedin.entry-BI2sjTDa.mjs +0 -13
- package/eds-icon-loader.entry-BoQTR6PV.mjs +0 -13
- package/eds-icon-mastodon.entry-Cm8XCAqa.mjs +0 -13
- package/eds-icon-menu.entry-C7HmF2n5.mjs +0 -13
- package/eds-icon-menu.entry-DRd13IcH.js +0 -1
- package/eds-icon-search.entry-BrANR30M.mjs +0 -13
- package/eds-icon-search.entry-CubLvPO7.js +0 -1
- package/eds-icon-success.entry-CtMWWFTW.mjs +0 -13
- package/eds-icon-twitter.entry-BnhBJxrn.js +0 -1
- package/eds-icon-twitter.entry-DHTwTPKu.mjs +0 -13
- package/eds-icon-user.entry-GYJBVLsU.js +0 -1
- package/eds-icon-user.entry-LTXtb_m4.mjs +0 -13
- package/eds-icon-youtube.entry-BluzizaX.js +0 -1
- package/eds-icon-youtube.entry-BqP_g-Pb.mjs +0 -13
- package/eds-login.entry-CB_gy86p.mjs +0 -58
- package/eds-login.entry-CDj80EGl.js +0 -1
- package/eds-logo.entry-C4YV268f.mjs +0 -61
- package/eds-logo.entry-D-2GjdZl.js +0 -1
- package/eds-navigator.entry-Bd0BYBJE.js +0 -1
- package/eds-navigator.entry-DJHFUppb.mjs +0 -33
- package/eds-pagination_2.entry-N7stHjY-.js +0 -1
- package/eds-rating.entry-C1djorgY.js +0 -1
- package/eds-rating.entry-DJbkld-l.mjs +0 -48
- package/eds-section-core_2.entry-JyCa51Zs.js +0 -1
- package/eds-social-networks.entry-CWw8CODU.mjs +0 -50
- package/eds-social-networks.entry-CveQgGlC.js +0 -1
- package/eds-steps.entry-NC8mexCJ.js +0 -1
- package/eds-steps.entry-gPHX8t5y.mjs +0 -37
- package/eds-tab.entry-7_C7zAnd.mjs +0 -31
- package/eds-tab.entry-BI3X5Amp.js +0 -1
- package/eds-tabs-content.entry-BYK_ciTB.mjs +0 -106
- package/eds-tabs-content.entry-FqonRXn9.js +0 -1
- package/eds-tabs.entry-CCGBUoii.mjs +0 -112
- package/eds-tabs.entry-VauMxz1h.js +0 -1
- package/eds-timeline.entry-B-eABvy-.mjs +0 -51
- package/eds-timeline.entry-UjKckHoD.js +0 -1
- package/eds-trl.entry-C1CKXjzi.mjs +0 -34
- package/eds-trl.entry-DdPaX9aY.js +0 -1
- package/eds-user.entry-BX3nKCHB.mjs +0 -66
- package/eds-user.entry-CyEG-Wtm.js +0 -1
- package/eds-vertical-stepper.entry-CdmDXaW2.mjs +0 -27
- package/eds-vertical-stepper.entry-DphlSSa0.js +0 -1
- package/incorrect-use-of-colors.entry-BhygRTdu.js +0 -1
- package/incorrect-use-of-colors.entry-QkMrxvFS.mjs +0 -42
- package/index-DvG3cC-8.js +0 -21
- package/keycloak-d502ec16-m7LwS-Gh.js +0 -9
- package/logo-variations-horizontal_2.entry-DA_yMnFa.mjs +0 -29
- package/logo-variations-horizontal_2.entry-G3ih093R.js +0 -7
- package/logo-wrong-usage.entry-BoBmwzLl.mjs +0 -14
- package/logo-wrong-usage.entry-l4pJC0KB.js +0 -1
- package/token-ratios.entry-hdef-MAq.js +0 -1
- package/token-spacing.entry-YXQwnYx0.mjs +0 -12
- package/token-spacing.entry-xhNHm9Tw.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),s=class{constructor(t){e.registerInstance(this,t),this.frameLabel=void 0,this.urlLabel="Open in Storybook",this.errorMessage="Could not load the requested Storybook content. Please check the URL or try again later.",this.storybookUrl=void 0,this.storyPath=void 0,this.intent="strong",this.tiny=!1,this.size="auto",this.bg=!0,this.iframeError=!1}articleClasses(){return[this.tiny?"min-h-120":"min-h-156",this.bg?"bg-inverse":"bg-default","rounded border-softer effect-focus-within relative flex grow flex-col border-2","w-full h-full"].join(" ")}getFrameHeight(){switch(this.size){case"sm":return"100px";case"md":return"200px";case"lg":return"400px";case"xl":return"700px";default:return"auto"}}async checkIframeAvailability(){try{if(!(await fetch(this.frameSrc,{method:"GET"})).ok)throw new Error("Failed to load")}catch{this.iframeError=!0}}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach(r=>{this.emitContext(r)})}emitContext(t){const r=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});t.dispatchEvent(r)}get storyLink(){return`${this.storybookUrl}/?path=/story/${this.storyPath}`}get frameSrc(){return`${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`}render(){return e.h("div",{key:"20786dd40414d29f98d496e29720bd78b9d7cf8e",class:this.articleClasses()},e.h("div",{key:"208612330c9d2872c68aeb310e164c8a915a51ef",class:"effect-height flex items-center justify-between py-8 px-12"},e.h("span",{key:"ada2a40384ffaffadc8887580aa6184422008a68",class:"f-ui-02"},this.frameLabel),this.iframeError?null:e.h("eds-link",{label:this.urlLabel,url:this.storyLink,intent:this.intent,class:"ml-auto",external:!0,disabled:!1,icon:"arrow-diagonal"})),e.h("div",{key:"26a5ae1c81b60b05b6f4859ffa4dbd13bb2557f3",class:"border-softer border-t-2"},this.iframeError?e.h("div",{class:"container ml-8 mr-8 mt-16"},this.errorMessage):e.h("iframe",{src:this.frameSrc,width:"100%",height:this.getFrameHeight(),title:this.frameLabel,frameBorder:"0",allowFullScreen:!0})))}get el(){return e.getElement(this)}};exports.eds_frame=s;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { r as s, h as e, g as i } from "./index-Df31uHzU.mjs";
|
|
2
|
-
const o = class {
|
|
3
|
-
constructor(t) {
|
|
4
|
-
s(this, t), this.frameLabel = void 0, this.urlLabel = "Open in Storybook", this.errorMessage = "Could not load the requested Storybook content. Please check the URL or try again later.", this.storybookUrl = void 0, this.storyPath = void 0, this.intent = "strong", this.tiny = !1, this.size = "auto", this.bg = !0, this.iframeError = !1;
|
|
5
|
-
}
|
|
6
|
-
articleClasses() {
|
|
7
|
-
return [
|
|
8
|
-
this.tiny ? "min-h-120" : "min-h-156",
|
|
9
|
-
this.bg ? "bg-inverse" : "bg-default",
|
|
10
|
-
"rounded border-softer effect-focus-within relative flex grow flex-col border-2",
|
|
11
|
-
"w-full h-full"
|
|
12
|
-
].join(" ");
|
|
13
|
-
}
|
|
14
|
-
getFrameHeight() {
|
|
15
|
-
switch (this.size) {
|
|
16
|
-
case "sm":
|
|
17
|
-
return "100px";
|
|
18
|
-
case "md":
|
|
19
|
-
return "200px";
|
|
20
|
-
case "lg":
|
|
21
|
-
return "400px";
|
|
22
|
-
case "xl":
|
|
23
|
-
return "700px";
|
|
24
|
-
default:
|
|
25
|
-
return "auto";
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
async checkIframeAvailability() {
|
|
29
|
-
try {
|
|
30
|
-
if (!(await fetch(this.frameSrc, { method: "GET" })).ok)
|
|
31
|
-
throw new Error("Failed to load");
|
|
32
|
-
} catch {
|
|
33
|
-
this.iframeError = !0;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
componentWillLoad() {
|
|
37
|
-
this.checkIframeAvailability();
|
|
38
|
-
}
|
|
39
|
-
componentDidLoad() {
|
|
40
|
-
this.el.querySelectorAll("eds-link").forEach((r) => {
|
|
41
|
-
this.emitContext(r);
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
46
|
-
* This event provides context information about the breadcrumb component.
|
|
47
|
-
*
|
|
48
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
49
|
-
*/
|
|
50
|
-
emitContext(t) {
|
|
51
|
-
const r = new CustomEvent("parentContext", {
|
|
52
|
-
detail: {
|
|
53
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
54
|
-
identifier: this.frameLabel
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
t.dispatchEvent(r);
|
|
58
|
-
}
|
|
59
|
-
get storyLink() {
|
|
60
|
-
return `${this.storybookUrl}/?path=/story/${this.storyPath}`;
|
|
61
|
-
}
|
|
62
|
-
get frameSrc() {
|
|
63
|
-
return `${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`;
|
|
64
|
-
}
|
|
65
|
-
render() {
|
|
66
|
-
return e("div", { key: "20786dd40414d29f98d496e29720bd78b9d7cf8e", class: this.articleClasses() }, e("div", { key: "208612330c9d2872c68aeb310e164c8a915a51ef", class: "effect-height flex items-center justify-between py-8 px-12" }, e("span", { key: "ada2a40384ffaffadc8887580aa6184422008a68", class: "f-ui-02" }, this.frameLabel), this.iframeError ? null : e("eds-link", { label: this.urlLabel, url: this.storyLink, intent: this.intent, class: "ml-auto", external: !0, disabled: !1, icon: "arrow-diagonal" })), e("div", { key: "26a5ae1c81b60b05b6f4859ffa4dbd13bb2557f3", class: "border-softer border-t-2" }, this.iframeError ? e("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage) : e("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: !0 })));
|
|
67
|
-
}
|
|
68
|
-
get el() {
|
|
69
|
-
return i(this);
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
export {
|
|
73
|
-
o as eds_frame
|
|
74
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),i="",r=i,t=class{constructor(s){e.registerInstance(this,s),this.menuClose=e.createEvent(this,"menuClose",7),this.links=void 0,this.menuLinks=void 0,this.homeUrl="/",this.inverseHeader=!1,this.isMenuOpen=!1}handleToggleMenu(s){this.isMenuOpen=s.detail}openMenu(){this.isMenuOpen=!0}closeMenu(){this.isMenuOpen=!1,this.menuClose.emit()}componentDidLoad(){window.addEventListener("resize",this.handleResize.bind(this))}disconnectedCallback(){window.removeEventListener("resize",this.handleResize.bind(this))}handleResize(){window.innerWidth>=1024&&(this.isMenuOpen=!1)}get parsedLinks(){if(typeof this.links=="object")return this.links;if(typeof this.links=="string")try{return JSON.parse(this.links)}catch(s){return console.error("Error parsing links prop:",s),[]}return[]}get parsedMenuLinks(){if(typeof this.menuLinks=="object")return this.menuLinks;if(typeof this.menuLinks=="string")try{return JSON.parse(this.menuLinks)}catch(s){return console.error("Error parsing menuLinks prop:",s),[]}return[]}render(){return this.isMenuOpen?e.h("div",{class:"eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll"},e.h("div",{class:"flex min-h-full flex-col"},e.h("div",{class:`bg-default w-full sticky top-0 ${this.inverseHeader?"bg-strongest":"bg-default"}`},e.h("div",{class:"mx-auto flex items-center justify-between"},e.h("div",{class:"mr-auto w-[200px] h-[85px]"},e.h("eds-logo",{type:this.inverseHeader?"color-white":"color",href:this.homeUrl})),e.h("div",{class:"px-16"},e.h("eds-button",{"aria-label":"Close menu",intent:"ghostInverse",icon:"close",onClick:()=>this.closeMenu()})))),e.h("div",{class:"py-16 px-16"},e.h("nav",{class:"mt-28 flex flex-col gap-y-8"},this.parsedLinks.map((s,n)=>e.h("eds-link",{label:s.label,key:n,url:s.url,intent:"tertiary",size:"large",class:"effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit",onClick:()=>this.closeMenu(),icon:"arrow-right"}))),e.h("eds-block-break",null),e.h("nav",{class:"mt-28 flex flex-col gap-y-8"},this.parsedMenuLinks.map((s,n)=>e.h("eds-link",{label:s.label,key:n,url:s.url,intent:"tertiary",size:"large",class:"effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit",onClick:()=>this.closeMenu(),icon:"chevron-right"})))),e.h("div",{class:"mt-auto"},e.h("eds-footer",{social:!0,"extra-class":"bg-darker"})))):null}};t.style=r;exports.eds_fullscreen_menu=t;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { r as t, c as i, h as e } from "./index-Df31uHzU.mjs";
|
|
2
|
-
const r = "", l = r, o = class {
|
|
3
|
-
constructor(s) {
|
|
4
|
-
t(this, s), this.menuClose = i(this, "menuClose", 7), this.links = void 0, this.menuLinks = void 0, this.homeUrl = "/", this.inverseHeader = !1, this.isMenuOpen = !1;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Listens for the toggleMenu event to open or close the menu.
|
|
8
|
-
* This event is emitted by the eds-header component.
|
|
9
|
-
*/
|
|
10
|
-
handleToggleMenu(s) {
|
|
11
|
-
this.isMenuOpen = s.detail;
|
|
12
|
-
}
|
|
13
|
-
/** Opens the menu */
|
|
14
|
-
openMenu() {
|
|
15
|
-
this.isMenuOpen = !0;
|
|
16
|
-
}
|
|
17
|
-
/** Closes the menu */
|
|
18
|
-
closeMenu() {
|
|
19
|
-
this.isMenuOpen = !1, this.menuClose.emit();
|
|
20
|
-
}
|
|
21
|
-
// Lifecycle method to add the resize event listener when component loads
|
|
22
|
-
componentDidLoad() {
|
|
23
|
-
window.addEventListener("resize", this.handleResize.bind(this));
|
|
24
|
-
}
|
|
25
|
-
// Lifecycle method to remove the resize event listener when component unloads
|
|
26
|
-
disconnectedCallback() {
|
|
27
|
-
window.removeEventListener("resize", this.handleResize.bind(this));
|
|
28
|
-
}
|
|
29
|
-
// Function to close the menu if screen width is larger than a defined breakpoint (1024px)
|
|
30
|
-
handleResize() {
|
|
31
|
-
window.innerWidth >= 1024 && (this.isMenuOpen = !1);
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Parses the `links` prop into an array of link objects.
|
|
35
|
-
* Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
|
|
36
|
-
*
|
|
37
|
-
* @returns {any[]} Array of parsed link objects
|
|
38
|
-
*/
|
|
39
|
-
get parsedLinks() {
|
|
40
|
-
if (typeof this.links == "object")
|
|
41
|
-
return this.links;
|
|
42
|
-
if (typeof this.links == "string")
|
|
43
|
-
try {
|
|
44
|
-
return JSON.parse(this.links);
|
|
45
|
-
} catch (s) {
|
|
46
|
-
return console.error("Error parsing links prop:", s), [];
|
|
47
|
-
}
|
|
48
|
-
return [];
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Parses the `menuLinks` prop into an array of link objects.
|
|
52
|
-
* Returns an empty array if parsing fails or if `menuLinks` is not a valid JSON string or object.
|
|
53
|
-
*
|
|
54
|
-
* @returns {any[]} Array of parsed menu link objects
|
|
55
|
-
*/
|
|
56
|
-
get parsedMenuLinks() {
|
|
57
|
-
if (typeof this.menuLinks == "object")
|
|
58
|
-
return this.menuLinks;
|
|
59
|
-
if (typeof this.menuLinks == "string")
|
|
60
|
-
try {
|
|
61
|
-
return JSON.parse(this.menuLinks);
|
|
62
|
-
} catch (s) {
|
|
63
|
-
return console.error("Error parsing menuLinks prop:", s), [];
|
|
64
|
-
}
|
|
65
|
-
return [];
|
|
66
|
-
}
|
|
67
|
-
render() {
|
|
68
|
-
return this.isMenuOpen ? e("div", { class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, e("div", { class: "flex min-h-full flex-col" }, e("div", { class: `bg-default w-full sticky top-0 ${this.inverseHeader ? "bg-strongest" : "bg-default"}` }, e("div", { class: "mx-auto flex items-center justify-between" }, e("div", { class: "mr-auto w-[200px] h-[85px]" }, e("eds-logo", { type: this.inverseHeader ? "color-white" : "color", href: this.homeUrl })), e("div", { class: "px-16" }, e("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), e("div", { class: "py-16 px-16" }, e("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((s, n) => e("eds-link", { label: s.label, key: n, url: s.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "arrow-right" }))), e("eds-block-break", null), e("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((s, n) => e("eds-link", { label: s.label, key: n, url: s.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "chevron-right" })))), e("div", { class: "mt-auto" }, e("eds-footer", { social: !0, "extra-class": "bg-darker" })))) : null;
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
o.style = l;
|
|
72
|
-
export {
|
|
73
|
-
o as eds_fullscreen_menu
|
|
74
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-DvG3cC-8.js"),r="",a=r,n=class{constructor(e){t.registerInstance(this,e),this.toggleMenu=t.createEvent(this,"toggleMenu",7),this.homeUrl="/",this.links=void 0,this.inverseHeader=!1,this.menuEnabled=!1,this.isMenuOpen=!1,this.isUserMenuOpen=!1,this.isAuthenticated=!1}onAuthStatusChanged(e){var s;this.isAuthenticated=(s=e.detail)===null||s===void 0?void 0:s.authenticated}componentDidLoad(){this.hostEl.querySelectorAll("eds-link").forEach(s=>{this.emitContext(s)})}emitContext(e){const s=new CustomEvent("parentContext",{detail:{componentName:this.hostEl.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(s)}handleToggleMenu(){this.toggleMenu.emit(!this.isMenuOpen)}toggleUserMenu(){this.isUserMenuOpen=!this.isUserMenuOpen}get parsedLinks(){if(Array.isArray(this.links))return this.links;if(typeof this.links=="object")return this.links;if(typeof this.links=="string")try{return JSON.parse(this.links)}catch(e){return console.error("Error parsing links prop:",e),[]}return[]}render(){return t.h("header",{key:"8447435914bd3cdf61ce03f2a6bc646fd6b39b01",class:`flex items-center justify-between relative z-10
|
|
2
|
-
${this.inverseHeader?"text-inverse bg-strongest":"text-default bg-dark"}`},t.h("div",{key:"2a7a525d9ec5f86437212ab5b6c60c901e1f69a8",class:"mr-auto w-[200px] h-[85px]"},t.h("eds-logo",{key:"29381ef7d9f600690a373a09be30b2dea6d5b936",type:this.inverseHeader?"color-white":"color",href:this.homeUrl})),this.parsedLinks&&t.h("nav",{key:"8085c6dfa6dadce3d7eefb45505e9c9404fd422d",class:"absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex"},t.h("ul",{key:"cb8442be1efc058dc46c283c85e50c58dd627f3e",class:"flex gap-x-2"},this.parsedLinks.map(e=>t.h("eds-link",{label:e.label,"aria-label":e.label,url:e.url,intent:"ghost",size:"small",icon:e.icon,external:e.external,"extra-class":"after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100"})))),t.h("slot",{key:"5d39561f4f43641640cc3f5d01edd35ebde794e3"}),this.menuEnabled?t.h("div",{class:"md:hidden flex overflow-hidden px-16"},t.h("eds-button",{"aria-label":"Menu",intent:"ghostInverse",icon:"menu",size:"small",onClick:()=>this.handleToggleMenu()})):null)}get hostEl(){return t.getElement(this)}};n.style=a;exports.eds_header=n;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { r as n, c as r, h as t, g as a } from "./index-Df31uHzU.mjs";
|
|
2
|
-
const i = "", l = i, d = class {
|
|
3
|
-
constructor(e) {
|
|
4
|
-
n(this, e), this.toggleMenu = r(this, "toggleMenu", 7), this.homeUrl = "/", this.links = void 0, this.inverseHeader = !1, this.menuEnabled = !1, this.isMenuOpen = !1, this.isUserMenuOpen = !1, this.isAuthenticated = !1;
|
|
5
|
-
}
|
|
6
|
-
onAuthStatusChanged(e) {
|
|
7
|
-
var s;
|
|
8
|
-
this.isAuthenticated = (s = e.detail) === null || s === void 0 ? void 0 : s.authenticated;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Lifecycle method that runs when the component has fully loaded.
|
|
12
|
-
* It emits a custom event for each `eds-link` element contained within the breadcrumb.
|
|
13
|
-
*/
|
|
14
|
-
componentDidLoad() {
|
|
15
|
-
this.hostEl.querySelectorAll("eds-link").forEach((s) => {
|
|
16
|
-
this.emitContext(s);
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
21
|
-
* This event provides context information about the breadcrumb component.
|
|
22
|
-
*
|
|
23
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
24
|
-
*/
|
|
25
|
-
emitContext(e) {
|
|
26
|
-
const s = new CustomEvent("parentContext", {
|
|
27
|
-
detail: {
|
|
28
|
-
componentName: this.hostEl.tagName.toLowerCase(),
|
|
29
|
-
identifier: null
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
e.dispatchEvent(s);
|
|
33
|
-
}
|
|
34
|
-
/** Emits an event to open or close the menu */
|
|
35
|
-
handleToggleMenu() {
|
|
36
|
-
this.toggleMenu.emit(!this.isMenuOpen);
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Toggles the visibility of the user menu.
|
|
40
|
-
* Opens the user menu if closed, and closes it if open.
|
|
41
|
-
*/
|
|
42
|
-
toggleUserMenu() {
|
|
43
|
-
this.isUserMenuOpen = !this.isUserMenuOpen;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Parses the `links` prop into an array of link objects.
|
|
47
|
-
* Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
|
|
48
|
-
*
|
|
49
|
-
* @returns {any[]} Array of parsed link objects
|
|
50
|
-
*/
|
|
51
|
-
get parsedLinks() {
|
|
52
|
-
if (Array.isArray(this.links))
|
|
53
|
-
return this.links;
|
|
54
|
-
if (typeof this.links == "object")
|
|
55
|
-
return this.links;
|
|
56
|
-
if (typeof this.links == "string")
|
|
57
|
-
try {
|
|
58
|
-
return JSON.parse(this.links);
|
|
59
|
-
} catch (e) {
|
|
60
|
-
return console.error("Error parsing links prop:", e), [];
|
|
61
|
-
}
|
|
62
|
-
return [];
|
|
63
|
-
}
|
|
64
|
-
render() {
|
|
65
|
-
return t("header", { key: "8447435914bd3cdf61ce03f2a6bc646fd6b39b01", class: `flex items-center justify-between relative z-10
|
|
66
|
-
${this.inverseHeader ? "text-inverse bg-strongest" : "text-default bg-dark"}` }, t("div", { key: "2a7a525d9ec5f86437212ab5b6c60c901e1f69a8", class: "mr-auto w-[200px] h-[85px]" }, t("eds-logo", { key: "29381ef7d9f600690a373a09be30b2dea6d5b936", type: this.inverseHeader ? "color-white" : "color", href: this.homeUrl })), this.parsedLinks && t("nav", { key: "8085c6dfa6dadce3d7eefb45505e9c9404fd422d", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, t("ul", { key: "cb8442be1efc058dc46c283c85e50c58dd627f3e", class: "flex gap-x-2" }, this.parsedLinks.map((e) => t("eds-link", { label: e.label, "aria-label": e.label, url: e.url, intent: "ghost", size: "small", icon: e.icon, external: e.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))), t("slot", { key: "5d39561f4f43641640cc3f5d01edd35ebde794e3" }), this.menuEnabled ? t("div", { class: "md:hidden flex overflow-hidden px-16" }, t("eds-button", { "aria-label": "Menu", intent: "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })) : null);
|
|
67
|
-
}
|
|
68
|
-
get hostEl() {
|
|
69
|
-
return a(this);
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
d.style = l;
|
|
73
|
-
export {
|
|
74
|
-
d as eds_header
|
|
75
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-DvG3cC-8.js"),e=require("./arrow-diagonal-black-8f0494c3-DqsB6ni-.js"),s=class{constructor(a){r.registerInstance(this,a),this.addClass=""}render(){return r.h("span",{key:"d85a4d425e0c255efe4763d4a13f13b6ff727c2c",class:this.addClass,innerHTML:e.arrowDiagonal})}};exports.eds_icon_arrow_diagonal=s;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as s } from "./index-Df31uHzU.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: "d85a4d425e0c255efe4763d4a13f13b6ff727c2c", 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 r=require("./index-DvG3cC-8.js"),e=require("./arrow-right-9322ba8a-DBcxNU_p.js"),t=class{constructor(s){r.registerInstance(this,s),this.class=""}render(){return r.h("span",{key:"4a2b33b86753acab8270a45c7b250603b128bc88",class:this.class,innerHTML:e.arrowRight})}};exports.eds_icon_arrow_right=t;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as s, h as a } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { a as t } from "./arrow-right-9322ba8a-DHq-_PPe.mjs";
|
|
3
|
-
const i = class {
|
|
4
|
-
constructor(r) {
|
|
5
|
-
s(this, r), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return a("span", { key: "4a2b33b86753acab8270a45c7b250603b128bc88", class: this.class, innerHTML: t });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
i as eds_icon_arrow_right
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as a } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { b as e } from "./bluesky-cc5edd2d-DfuDDO5h.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return a("span", { key: "845a157678b9d059b2c9bd8a6265d3a62f33c31a", class: this.class, innerHTML: e });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_bluesky
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as n } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { c as o } from "./chevron-down-6144c823-DWGlv9eV.mjs";
|
|
3
|
-
const t = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return n("span", { key: "fa8022d27b91e909d4cd5522c6d0406be698a412", class: this.class, innerHTML: o });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
t as eds_icon_chevron_down
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),s=require("./chevron-down-6144c823-D_8976Ke.js"),r=class{constructor(n){e.registerInstance(this,n),this.class=""}render(){return e.h("span",{key:"fa8022d27b91e909d4cd5522c6d0406be698a412",class:this.class,innerHTML:s.chevronDown})}};exports.eds_icon_chevron_down=r;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as r } from "./index-Df31uHzU.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: "c723d7f1bbd596063ae7e66123b8038af5320a54", 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-DvG3cC-8.js"),r=require("./chevron-left-ca6c66e1-uCH5SUhm.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"c723d7f1bbd596063ae7e66123b8038af5320a54",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-DvG3cC-8.js"),s=require("./chevron-right-b88ed2d4-C7dkTMvP.js"),c=class{constructor(r){e.registerInstance(this,r),this.class=""}render(){return e.h("span",{key:"f770cd9151077e8708c76d2082613c65a20c420f",class:this.class,innerHTML:s.chevronRight})}};exports.eds_icon_chevron_right=c;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),c=require("./chevron-up-c66bd477-ByW7R48t.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"40d18a840277f2aba5d314a36fca5c1f8fd99cc6",class:this.class,innerHTML:c.chevronUp})}};exports.eds_icon_chevron_up=r;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as c } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { c as a } from "./chevron-up-c66bd477-CETJkshq.mjs";
|
|
3
|
-
const o = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return c("span", { key: "40d18a840277f2aba5d314a36fca5c1f8fd99cc6", class: this.class, innerHTML: a });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
o as eds_icon_chevron_up
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as c } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { c as r } from "./close-87fc0d63-DtDU2HIU.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return c("span", { key: "947f6615e8ee155be98b379a9c771cc0d453becd", class: this.class, innerHTML: r });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_close
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as c, h as r } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { c as o } from "./copy-03b72cb6-B_WCNQrG.mjs";
|
|
3
|
-
const t = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
c(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "1e23d4493d5a1d07bc794da20cc4e445a87d56b0", class: this.class, innerHTML: o });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
t as eds_icon_copy
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as r } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { e as a } from "./eu-9ddde93a-ft4szvR5.mjs";
|
|
3
|
-
const c = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "14254e1b9d43562e6f3f943de22aa8dd4d89a044", class: this.class, innerHTML: a });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
c as eds_icon_eu
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),r=require("./eu-9ddde93a-BFtIQw9B.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"14254e1b9d43562e6f3f943de22aa8dd4d89a044",class:this.class,innerHTML:r.euSvg})}};exports.eds_icon_eu=t;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as n, h as r } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { l as i } from "./linkedin-e8650abb-DYMdsale.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
n(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "0f9675a371ca7bb460882c04bf2bb0c103273a0d", class: this.class, innerHTML: i });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_linkedin
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as a } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { l as e } from "./loader-c9628637-ChpnbJkv.mjs";
|
|
3
|
-
const c = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return a("span", { key: "f11c60068baa2d2398056b3d7f04129d9deb4517", class: this.class, innerHTML: e });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
c as eds_icon_loader
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as o, h as r } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { m as t } from "./mastodon-3703ec61-C7iI4Hk0.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
o(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "1f68e5d0b6f8455f40bf94f6095eceff00b7887e", class: this.class, innerHTML: t });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_mastodon
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as r } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { m as c } from "./menu-340ea948-BpnYX3gY.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "0084602c8e870b70caa66479f71bed3bd0cce94e", class: this.class, innerHTML: c });
|
|
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-DvG3cC-8.js"),n=require("./menu-340ea948-ZdelWVw3.js"),c=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"0084602c8e870b70caa66479f71bed3bd0cce94e",class:this.class,innerHTML:n.menu})}};exports.eds_icon_menu=c;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as c, h as r } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { s as a } from "./search-fbcd79c2-rfV0PlHP.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
c(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "42acc730afd956c2884b0789b3ea37ccf323630b", class: this.class, innerHTML: a });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_search
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),s=require("./search-fbcd79c2-BMxCaeEk.js"),r=class{constructor(c){e.registerInstance(this,c),this.class=""}render(){return e.h("span",{key:"42acc730afd956c2884b0789b3ea37ccf323630b",class:this.class,innerHTML:s.search})}};exports.eds_icon_search=r;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as c, h as e } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { s as r } from "./success-443809da-BD23vltm.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
c(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "8b5d4cfeedf6d7e9bea48d7ba892527d484c858d", class: this.class, innerHTML: r });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_success
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),c=require("./twitter-ac21b505-DDdHS4hB.js"),s=class{constructor(t){e.registerInstance(this,t),this.class=""}render(){return e.h("span",{key:"a06ab2e79a1ec7603244ec09649ccc2c9ea1950c",class:this.class,innerHTML:c.twitter})}};exports.eds_icon_twitter=s;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as t, h as r } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { t as c } from "./twitter-ac21b505-CGWVGWM9.mjs";
|
|
3
|
-
const i = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
t(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "a06ab2e79a1ec7603244ec09649ccc2c9ea1950c", class: this.class, innerHTML: c });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
i as eds_icon_twitter
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),r=require("./user-71ebdc15-BBKQbcQD.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"cb31d12146ff577195650b502f51005092404a30",class:this.class,innerHTML:r.user})}};exports.eds_icon_user=t;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as e } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { u as t } from "./user-71ebdc15-CoHlCtJg.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "cb31d12146ff577195650b502f51005092404a30", class: this.class, innerHTML: t });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_user
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),t=require("./youtube-efbfbdc4-BLTH1Jl9.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"4eba69bfec926b7a3490feee15b5947a8ab8a7b9",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-Df31uHzU.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: "4eba69bfec926b7a3490feee15b5947a8ab8a7b9", class: this.class, innerHTML: t });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
c as eds_icon_youtube
|
|
13
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { r as i, c as r, h as s } from "./index-Df31uHzU.mjs";
|
|
2
|
-
import { l as n, a as h, i as o, b as c, g as l } from "./keycloak-d502ec16-Ce0iGqyk.mjs";
|
|
3
|
-
import { t } from "./toastManager-d9eee791-CEYNwx25.mjs";
|
|
4
|
-
const g = class {
|
|
5
|
-
constructor(e) {
|
|
6
|
-
i(this, e), this.authStatusChanged = r(this, "authStatusChanged", 7), this.handleLogin = async () => {
|
|
7
|
-
if (!this.authenticated)
|
|
8
|
-
try {
|
|
9
|
-
await n(), t.show("You are authenticated", "success");
|
|
10
|
-
} catch (a) {
|
|
11
|
-
t.show(a.message, "error");
|
|
12
|
-
}
|
|
13
|
-
}, this.handleLogout = async () => {
|
|
14
|
-
try {
|
|
15
|
-
await h();
|
|
16
|
-
} catch (a) {
|
|
17
|
-
t.show(a.message, "error");
|
|
18
|
-
}
|
|
19
|
-
this.authenticated = !1, this.user = null;
|
|
20
|
-
}, this.keycloakUrl = void 0, this.keycloakRealm = void 0, this.keycloakClientId = void 0, this.authenticated = !1, this.user = null;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Lifecycle method that runs when the component is about to load.
|
|
24
|
-
* It initializes authentication by calling the `initAuth` method.
|
|
25
|
-
*/
|
|
26
|
-
async componentWillLoad() {
|
|
27
|
-
if (!this.keycloakUrl || !this.keycloakRealm || !this.keycloakClientId) {
|
|
28
|
-
console.error("Keycloak configuration props are missing.");
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
await this.initAuth();
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Initializes the Keycloak authentication by configuring Keycloak with the provided props.
|
|
35
|
-
* Sets the `authenticated` state and `user` data if the user is authenticated.
|
|
36
|
-
* Emits `authStatusChanged` event with the authentication status.
|
|
37
|
-
*/
|
|
38
|
-
async initAuth() {
|
|
39
|
-
try {
|
|
40
|
-
await o({
|
|
41
|
-
url: this.keycloakUrl,
|
|
42
|
-
realm: this.keycloakRealm,
|
|
43
|
-
clientId: this.keycloakClientId
|
|
44
|
-
}, !0), c() && (this.user = l(), this.authenticated = !0, this.authStatusChanged.emit({
|
|
45
|
-
authenticated: this.authenticated,
|
|
46
|
-
user: this.user
|
|
47
|
-
}));
|
|
48
|
-
} catch (e) {
|
|
49
|
-
t.show(e.message, "error");
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
render() {
|
|
53
|
-
return s("div", { key: "62768f8a6cc8ac16b13f9b2bb9cf5835f7f63844", class: "block" }, !this.authenticated && s("eds-button", { key: "31e341d628242fed472f673c0fe8346c7871515d", label: "Login", intent: "primary", "extra-class": "text-default", "aria-label": "Login", triggerClick: this.handleLogin.bind(this) }));
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
export {
|
|
57
|
-
g as eds_login
|
|
58
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),t=require("./keycloak-d502ec16-m7LwS-Gh.js"),a=require("./toastManager-d9eee791-DvR_vUPI.js"),r=class{constructor(i){e.registerInstance(this,i),this.authStatusChanged=e.createEvent(this,"authStatusChanged",7),this.handleLogin=async()=>{if(!this.authenticated)try{await t.login(),a.toast.show("You are authenticated","success")}catch(s){a.toast.show(s.message,"error")}},this.handleLogout=async()=>{try{await t.logout()}catch(s){a.toast.show(s.message,"error")}this.authenticated=!1,this.user=null},this.keycloakUrl=void 0,this.keycloakRealm=void 0,this.keycloakClientId=void 0,this.authenticated=!1,this.user=null}async componentWillLoad(){if(!this.keycloakUrl||!this.keycloakRealm||!this.keycloakClientId){console.error("Keycloak configuration props are missing.");return}await this.initAuth()}async initAuth(){try{await t.initKeycloak({url:this.keycloakUrl,realm:this.keycloakRealm,clientId:this.keycloakClientId},!0),t.isAuthenticated()&&(this.user=t.getUser(),this.authenticated=!0,this.authStatusChanged.emit({authenticated:this.authenticated,user:this.user}))}catch(i){a.toast.show(i.message,"error")}}render(){return e.h("div",{key:"62768f8a6cc8ac16b13f9b2bb9cf5835f7f63844",class:"block"},!this.authenticated&&e.h("eds-button",{key:"31e341d628242fed472f673c0fe8346c7871515d",label:"Login",intent:"primary","extra-class":"text-default","aria-label":"Login",triggerClick:this.handleLogin.bind(this)}))}};exports.eds_login=r;
|