@ebrains/vue 0.6.0-alpha.0 → 0.7.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{color-primary-palette_6.entry-BJGrNiKE.mjs → color-primary-palette_6.entry-BDyyrFB5.mjs} +17 -17
- package/color-primary-palette_6.entry-BhxgE7ff.js +1 -0
- package/correct-use-of-colors.entry-DXASqwFp.js +1 -0
- package/correct-use-of-colors.entry-z7k3YWpg.mjs +59 -0
- package/eds-accordion_22.entry-LksMmZ4o.js +28813 -0
- package/eds-accordion_22.entry-Lqf1NKBk.mjs +30175 -0
- package/{eds-alert.entry-B9K7jZdM.mjs → eds-alert.entry-BqjTTCgj.mjs} +1 -1
- package/{eds-alert.entry-HNjGFpMQ.js → eds-alert.entry-DZcz_4Dj.js} +1 -1
- package/eds-app-root.entry-Cz-9z7Za.js +1 -0
- package/eds-app-root.entry-DobAtes_.mjs +25 -0
- package/eds-avatar_4.entry-BYrgwmj2.mjs +278 -0
- package/eds-avatar_4.entry-Bqr0d5Cj.js +149 -0
- package/{eds-breadcrumb.entry-nSQcSQxS.mjs → eds-breadcrumb.entry-N3NSBwJL.mjs} +13 -19
- package/eds-breadcrumb.entry-elqbS74P.js +1 -0
- package/eds-card-generic.entry-D5pTUUco.js +1 -0
- package/eds-card-generic.entry-zKJ2hHOe.mjs +56 -0
- package/{eds-card-project.entry-BMRVlg7J.mjs → eds-card-project.entry-DDo4ZJs8.mjs} +1 -1
- package/{eds-card-project.entry-BQKGTSJB.js → eds-card-project.entry-e4n5lQbW.js} +1 -1
- package/eds-card-section.entry-C8nt6j3h.mjs +30 -0
- package/eds-card-section.entry-CeznIbCo.js +1 -0
- package/{eds-card-tags.entry-DAkoUUin.js → eds-card-tags.entry-Bl3YXNtv.js} +1 -1
- package/{eds-card-tags.entry-BjvxuQg1.mjs → eds-card-tags.entry-Do9kx7rP.mjs} +1 -1
- package/{eds-card-tool.entry-BPrlMiqY.mjs → eds-card-tool.entry-BewNCjRU.mjs} +1 -1
- package/{eds-card-tool.entry-B0rDGNdA.js → eds-card-tool.entry-DnVIn9BX.js} +1 -1
- package/{eds-card-wrapper.entry-DyPmlYoI.js → eds-card-wrapper.entry-BzKcrwEf.js} +1 -1
- package/{eds-card-wrapper.entry-Ba4ljzon.mjs → eds-card-wrapper.entry-DMj1bZ4i.mjs} +1 -1
- package/{eds-code-block.entry-B3RL-q6l.js → eds-code-block.entry-DUeN87Fw.js} +1 -1
- package/{eds-code-block.entry-zX5MUsAS.mjs → eds-code-block.entry-fqrA-Frf.mjs} +1 -1
- package/{eds-components-section.entry-xnXY70G_.mjs → eds-components-section.entry-BgfCSxk1.mjs} +2 -2
- package/{eds-components-section.entry-BsmIIcun.js → eds-components-section.entry-CLJMns6h.js} +2 -2
- package/{eds-cookies-preference.entry-DAQEpE8v.mjs → eds-cookies-preference.entry-B1a8qild.mjs} +5 -5
- package/{eds-cookies-preference.entry-MAmSehJX.js → eds-cookies-preference.entry-BGx0tglE.js} +1 -1
- package/{eds-docs-palettes.entry-BiC_mzap.js → eds-docs-palettes.entry-C1EcBwSy.js} +1 -1
- package/{eds-docs-palettes.entry-CFIZWB7Y.mjs → eds-docs-palettes.entry-TXbXKJJN.mjs} +2 -2
- package/{eds-docs-tokens.entry-ClVBrRzm.mjs → eds-docs-tokens.entry-B1xc8BFa.mjs} +2 -2
- package/{eds-docs-tokens.entry-CCwf01ke.js → eds-docs-tokens.entry-BJVBVsOy.js} +1 -1
- package/eds-dropdown.entry-CMK8E_J2.mjs +83 -0
- package/eds-dropdown.entry-FqX7fOIb.js +1 -0
- package/eds-feedback.entry-B-Lue8P0.js +1 -0
- package/eds-feedback.entry-fz73-syB.mjs +53 -0
- package/{eds-form.entry-gO7sMMVG.js → eds-form.entry-0saB-Hm9.js} +2 -2
- package/{eds-form.entry-znKH1sqi.mjs → eds-form.entry-BB1gfXVy.mjs} +174 -159
- package/eds-frame.entry-BvJCKWMT.mjs +73 -0
- package/eds-frame.entry-dX3nZxD0.js +1 -0
- package/{eds-icon-arrow-diagonal.entry-C7CZIqBn.mjs → eds-icon-arrow-diagonal.entry-BD3xdvR4.mjs} +2 -2
- package/{eds-icon-arrow-diagonal.entry-BTLKc1cS.js → eds-icon-arrow-diagonal.entry-DkQFuVkT.js} +1 -1
- package/eds-icon-arrow-right.entry-BH0zDB1H.js +1 -0
- package/eds-icon-arrow-right.entry-Diax6KZB.mjs +13 -0
- package/{eds-icon-bluesky.entry-BfYrb4Uv.js → eds-icon-bluesky.entry-CDZCjWCh.js} +1 -1
- package/eds-icon-bluesky.entry-DwvxMR1q.mjs +13 -0
- package/{eds-icon-chevron-down.entry-OPmfChgp.js → eds-icon-chevron-down.entry-CGsA1rJ0.js} +1 -1
- package/eds-icon-chevron-down.entry-CiJcqZuh.mjs +13 -0
- package/{eds-icon-chevron-left.entry-CRr4AWkS.mjs → eds-icon-chevron-left.entry-Dt2WsKob.mjs} +2 -2
- package/{eds-icon-chevron-left.entry-_zMMz-c9.js → eds-icon-chevron-left.entry-nBBudzCb.js} +1 -1
- package/{eds-icon-chevron-right.entry-YLnmNxjo.mjs → eds-icon-chevron-right.entry-BG7_qznz.mjs} +2 -2
- package/{eds-icon-chevron-right.entry-0FshDV46.js → eds-icon-chevron-right.entry-CjhJFKog.js} +1 -1
- package/eds-icon-chevron-up.entry-DfsbHKk1.mjs +13 -0
- package/eds-icon-chevron-up.entry-Dy81hGw-.js +1 -0
- package/eds-icon-close.entry-CpGzc34L.mjs +13 -0
- package/{eds-icon-close.entry-BSSS65tZ.js → eds-icon-close.entry-DNhXNl8O.js} +1 -1
- package/eds-icon-copy.entry-CsD2FpUS.mjs +13 -0
- package/eds-icon-copy.entry-DD2HXgFK.js +1 -0
- package/eds-icon-eu.entry-BRuCbl7O.mjs +13 -0
- package/eds-icon-eu.entry-ChKv8iZB.js +1 -0
- package/{eds-icon-facebook.entry-CKmUhO4W.mjs → eds-icon-facebook.entry--ctHhWkj.mjs} +2 -2
- package/{eds-icon-facebook.entry-DsPVhA3Z.js → eds-icon-facebook.entry-Bjkse_bn.js} +1 -1
- package/{eds-icon-gitlab.entry-D6VEWpO6.mjs → eds-icon-gitlab.entry-BDqNL5zl.mjs} +2 -2
- package/{eds-icon-gitlab.entry-Dzq7ViR-.js → eds-icon-gitlab.entry-DUQcgTMM.js} +1 -1
- package/eds-icon-linkedin.entry-Cq13-Zdb.mjs +13 -0
- package/{eds-icon-linkedin.entry-7PCeoMEi.js → eds-icon-linkedin.entry-D-D3hmxE.js} +1 -1
- package/eds-icon-loader.entry-DgpUjCng.mjs +13 -0
- package/eds-icon-loader.entry-rKBBXz_C.js +1 -0
- package/{eds-icon-mastodon.entry-DsU7dMbW.js → eds-icon-mastodon.entry-CCn_r682.js} +1 -1
- package/eds-icon-mastodon.entry-OpdPcGQ7.mjs +13 -0
- package/eds-icon-menu.entry-B3mQ8ma1.mjs +13 -0
- package/{eds-icon-menu.entry-DRd13IcH.js → eds-icon-menu.entry-DUxzhro5.js} +1 -1
- package/{eds-icon-more.entry-BOWM2H9H.js → eds-icon-more.entry-CBDi0LJC.js} +1 -1
- package/{eds-icon-more.entry-CqvnBXDu.mjs → eds-icon-more.entry-CDDxBiBM.mjs} +2 -2
- package/eds-icon-search.entry-Bok3Oo0Q.js +1 -0
- package/eds-icon-search.entry-CvnFqzlk.mjs +13 -0
- package/eds-icon-star.entry-BRQ07hMQ.mjs +13 -0
- package/eds-icon-star.entry-CkeEbwgJ.js +1 -0
- package/{eds-icon-success.entry-CDwqLyts.js → eds-icon-success.entry-DA4C5Hwg.js} +1 -1
- package/eds-icon-success.entry-nWUVTFzX.mjs +13 -0
- package/eds-icon-thumbs-down.entry-BqEOrmiW.js +1 -0
- package/eds-icon-thumbs-down.entry-Dme-Ippn.mjs +13 -0
- package/eds-icon-thumbs-up.entry-Dkqv6r_x.js +1 -0
- package/eds-icon-thumbs-up.entry-Dp-eslmx.mjs +13 -0
- package/eds-icon-twitter.entry-BcZ2atce.js +1 -0
- package/eds-icon-twitter.entry-CqalD8Wf.mjs +13 -0
- package/eds-icon-user.entry-DU8EF-lQ.mjs +13 -0
- package/{eds-icon-user.entry-GYJBVLsU.js → eds-icon-user.entry-DpvoOnVA.js} +1 -1
- package/{eds-icon-youtube.entry-BluzizaX.js → eds-icon-youtube.entry-DbPAn4pN.js} +1 -1
- package/{eds-icon-youtube.entry-BqP_g-Pb.mjs → eds-icon-youtube.entry-vFg7QtYg.mjs} +2 -2
- package/eds-login_2.entry-6Hxmqih9.js +9 -0
- package/{keycloak-d502ec16-Ce0iGqyk.mjs → eds-login_2.entry-DD8g9nqu.mjs} +288 -210
- package/eds-logo-variations.entry-CDTTH-iG.mjs +22 -0
- package/{eds-logo-variations.entry-B7BEqih8.js → eds-logo-variations.entry-dLBnZPi7.js} +1 -1
- package/{eds-modal.entry-2mm8jzwO.mjs → eds-modal.entry-CV3bf08X.mjs} +16 -4
- package/{eds-modal.entry-N0Zu-2yI.js → eds-modal.entry-DJybVbNk.js} +1 -1
- package/{eds-progress-bar.entry-C-qHC2dN.js → eds-progress-bar.entry-23-I0rSz.js} +1 -1
- package/{eds-progress-bar.entry-BpqT4TGP.mjs → eds-progress-bar.entry-BP6AqtI7.mjs} +2 -2
- package/eds-rating.entry-CHo7h3Y4.mjs +61 -0
- package/eds-rating.entry-dDYfYR7o.js +1 -0
- package/{eds-section-core_2.entry-JyCa51Zs.js → eds-section-core_2.entry-BdnBCBit.js} +1 -1
- package/{eds-section-core_2.entry-BwoSUszo.mjs → eds-section-core_2.entry-DTItYLUC.mjs} +4 -4
- package/eds-spinner.entry-BwTZAz8I.mjs +36 -0
- package/eds-spinner.entry-CXLe8IAk.js +1 -0
- package/{eds-steps.entry-gPHX8t5y.mjs → eds-steps.entry-Nz_XqcUl.mjs} +10 -19
- package/eds-steps.entry-ceVyrSe-.js +1 -0
- package/{eds-svg-repository.entry-BhAWpTfJ.js → eds-svg-repository.entry-CKQ6S13R.js} +13 -13
- package/{eds-svg-repository.entry-DeKbE1sw.mjs → eds-svg-repository.entry-DoYT85te.mjs} +54 -48
- package/{eds-switch.entry-6C-fiD1f.js → eds-switch.entry-4a3DLV-c.js} +1 -1
- package/{eds-switch.entry-LXqTebs4.mjs → eds-switch.entry-DjT9dev_.mjs} +3 -3
- package/{eds-link.entry-D4lqKj64.mjs → eds-tabs.entry-BYxiMlkR.mjs} +590 -166
- package/{eds-link.entry-B_t5O_EC.js → eds-tabs.entry-DJKEg0Gs.js} +503 -16
- package/eds-timeline.entry-DKx-pd67.js +1 -0
- package/eds-timeline.entry-DOSKCjPH.mjs +45 -0
- package/eds-toast-manager.entry-BV-sP7cR.mjs +36 -0
- package/eds-toast-manager.entry-BopxpC3o.js +1 -0
- package/eds-toast.entry-DDBTRdmP.mjs +61 -0
- package/eds-toast.entry-DPibhM-Z.js +3 -0
- package/{eds-tooltip.entry-BSd2vlEo.mjs → eds-tooltip.entry-B53fpM9t.mjs} +7 -7
- package/{eds-tooltip.entry-D9pRQyxl.js → eds-tooltip.entry-Cf6bse_x.js} +1 -1
- package/eds-trl.entry-C0cSVG_Q.mjs +34 -0
- package/eds-trl.entry-fYVgYPts.js +1 -0
- package/eds-user.entry-hUkYJDp4.js +1 -0
- package/eds-user.entry-qM0swzIt.mjs +26 -0
- package/{eds-vertical-stepper.entry-CdmDXaW2.mjs → eds-vertical-stepper.entry-Bb6dUinj.mjs} +5 -5
- package/{eds-vertical-stepper.entry-DphlSSa0.js → eds-vertical-stepper.entry-CvadBA1x.js} +1 -1
- package/formUtils-ac68474d-BDuxB0K8.js +1 -0
- package/formUtils-ac68474d-D2e59S7S.mjs +122 -0
- package/generated/components.d.ts +4 -1
- package/incorrect-use-of-colors.entry-B6fKAvAx.mjs +42 -0
- package/incorrect-use-of-colors.entry-DZ_SBoa8.js +1 -0
- package/index-D4alMZtT.js +21 -0
- package/{index-Df31uHzU.mjs → index-E1PpO1J3.mjs} +453 -430
- package/index.js +1 -1
- package/index.mjs +32 -29
- package/{logo-space.entry-q9Uznxi3.js → logo-space.entry-BOh7Odfh.js} +1 -1
- package/{logo-space.entry-CChbx8AS.mjs → logo-space.entry-xGhYUj5r.mjs} +7 -7
- package/logo-variations-horizontal_2.entry-BWlXcmRe.js +7 -0
- package/logo-variations-horizontal_2.entry-CIUDEw3Y.mjs +29 -0
- package/logo-wrong-usage.entry-CtPXf-5h.js +1 -0
- package/logo-wrong-usage.entry-D4aBJ6Wk.mjs +14 -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-CJXI55T0.mjs → token-list_3.entry-DJ-cqa3_.mjs} +4 -4
- package/{token-list_3.entry-B4bQ3_yz.js → token-list_3.entry-DVoMZtdK.js} +1 -1
- package/{token-ratios.entry-LNQoHORe.mjs → token-ratios.entry-FKky7w4Z.mjs} +2 -2
- package/token-ratios.entry-JS-ffZPx.js +1 -0
- package/token-spacing.entry-Cf5LP8jh.mjs +12 -0
- package/token-spacing.entry-YJWgDaTr.js +1 -0
- package/{token-typography.entry-qTyV0EeH.mjs → token-typography.entry-CKyKPdVF.mjs} +2 -2
- package/{token-typography.entry-DddK_fiy.js → token-typography.entry-CuHfxHRU.js} +1 -1
- 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-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-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-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-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-copy.entry-PvAtojYn.js +0 -1
- 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-loader.entry-Bp-ZxeW7.js +0 -1
- package/eds-icon-mastodon.entry-Cm8XCAqa.mjs +0 -13
- package/eds-icon-menu.entry-C7HmF2n5.mjs +0 -13
- 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-LTXtb_m4.mjs +0 -13
- package/eds-input_7.entry-Bo9-yfaP.js +0 -7167
- package/eds-input_7.entry-CCX6iGUA.mjs +0 -7373
- package/eds-login.entry-CB_gy86p.mjs +0 -58
- package/eds-login.entry-CDj80EGl.js +0 -1
- package/eds-logo-variations.entry-AbwI_N4g.mjs +0 -22
- 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-pagination_2.entry-T_lnxySd.mjs +0 -249
- package/eds-rating.entry-C1djorgY.js +0 -1
- package/eds-rating.entry-DJbkld-l.mjs +0 -48
- 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-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/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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-D4alMZtT.js"),i=require("./toastManager-d9eee791-DvR_vUPI.js"),n=".toast-container{position:fixed;top:1rem;left:50%;transform:translateX(-50%);z-index:99999;display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:36rem;}.toast-wrapper{width:100%;padding:0 1rem;}.eds-toast{box-shadow:0px 4px 6px rgba(0, 0, 0, 0.1);border-radius:0.5rem;animation:fade-in 0.3s ease-out;}@keyframes fade-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}",r=n,o=class{constructor(t){s.registerInstance(this,t),this.toastId=0,this.toasts=[]}connectedCallback(){i.toast.init(this.hostElement),this.hostElement.addEventListener("show-toast",t=>{const{message:e,intent:a}=t.detail;this.addToast(e,a)})}addToast(t,e){const a=this.toastId++;this.toasts=[...this.toasts,{id:a,message:t,intent:e}]}removeToast(t){this.toasts=this.toasts.filter(e=>e.id!==t)}render(){return s.h("div",{key:"e01e6cf0931155f70153ba5de054c1174e364397",class:"toast-container"},this.toasts.map(t=>s.h("div",{key:t.id},s.h("eds-toast",{message:t.message,intent:t.intent,onClick:()=>this.removeToast(t.id)}))))}get hostElement(){return s.getElement(this)}};o.style=r;exports.eds_toast_manager=o;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { r as i, h as e, g as r } from "./index-E1PpO1J3.mjs";
|
|
2
|
+
import { c as o } from "./index-39c58238-BwYCDOHZ.mjs";
|
|
3
|
+
const a = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.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)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),
|
|
4
|
+
0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
5
|
+
var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-300)}.bg-success{background-color:var(--green-200)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-700)}.text-current{color:currentColor}.text-default{color:var(--black)}`, n = a, l = o(["relative right-4 bottom-4 w-auto p-12 rounded-lg shadow-md"], {
|
|
6
|
+
variants: {
|
|
7
|
+
intent: {
|
|
8
|
+
default: "bg-dark text-light",
|
|
9
|
+
success: "bg-success text-dark",
|
|
10
|
+
error: "bg-error text-light",
|
|
11
|
+
warning: "bg-warning text-dark"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
defaultVariants: {
|
|
15
|
+
intent: "default"
|
|
16
|
+
}
|
|
17
|
+
}), c = class {
|
|
18
|
+
constructor(t) {
|
|
19
|
+
i(this, t), this.dismissToast = () => {
|
|
20
|
+
this.visible = !1;
|
|
21
|
+
}, this.message = void 0, this.intent = "default", this.duration = 5e3, this.visible = !0;
|
|
22
|
+
}
|
|
23
|
+
componentDidLoad() {
|
|
24
|
+
const t = this.el.shadowRoot.querySelector("eds-button");
|
|
25
|
+
this.emitContext(t);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Emits a custom event called `parentContext` for a given button element.
|
|
29
|
+
* This event provides context information about the toast component.
|
|
30
|
+
*
|
|
31
|
+
* @param btnElement - The link element to which the event will be dispatched.
|
|
32
|
+
*/
|
|
33
|
+
emitContext(t) {
|
|
34
|
+
const s = new CustomEvent("parentContext", {
|
|
35
|
+
detail: {
|
|
36
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
37
|
+
identifier: null
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
t.dispatchEvent(s);
|
|
41
|
+
}
|
|
42
|
+
connectedCallback() {
|
|
43
|
+
this.dismissTimeout = setTimeout(this.dismissToast, this.duration);
|
|
44
|
+
}
|
|
45
|
+
disconnectedCallback() {
|
|
46
|
+
clearTimeout(this.dismissTimeout);
|
|
47
|
+
}
|
|
48
|
+
render() {
|
|
49
|
+
if (!this.visible)
|
|
50
|
+
return null;
|
|
51
|
+
const t = l({ intent: this.intent });
|
|
52
|
+
return e("div", { class: t, role: "alert", "aria-live": "assertive" }, e("div", { class: "flex items-center justify-between gap-4" }, e("span", { class: "f-ui-01" }, this.message), e("eds-button", { intent: "tertiary", icon: "close", "aria-label": "Close Toast", onClick: () => this.dismissToast(), "extra-class": "ml-8" })));
|
|
53
|
+
}
|
|
54
|
+
get el() {
|
|
55
|
+
return r(this);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
c.style = n;
|
|
59
|
+
export {
|
|
60
|
+
c as eds_toast
|
|
61
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),r=require("./index-39c58238-SQ-JC-LH.js"),o=`.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.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)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),
|
|
2
|
+
0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
3
|
+
var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-300)}.bg-success{background-color:var(--green-200)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-700)}.text-current{color:currentColor}.text-default{color:var(--black)}`,a=o,n=r.cva(["relative right-4 bottom-4 w-auto p-12 rounded-lg shadow-md"],{variants:{intent:{default:"bg-dark text-light",success:"bg-success text-dark",error:"bg-error text-light",warning:"bg-warning text-dark"}},defaultVariants:{intent:"default"}}),s=class{constructor(t){e.registerInstance(this,t),this.dismissToast=()=>{this.visible=!1},this.message=void 0,this.intent="default",this.duration=5e3,this.visible=!0}componentDidLoad(){const t=this.el.shadowRoot.querySelector("eds-button");this.emitContext(t)}emitContext(t){const i=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(i)}connectedCallback(){this.dismissTimeout=setTimeout(this.dismissToast,this.duration)}disconnectedCallback(){clearTimeout(this.dismissTimeout)}render(){if(!this.visible)return null;const t=n({intent:this.intent});return e.h("div",{class:t,role:"alert","aria-live":"assertive"},e.h("div",{class:"flex items-center justify-between gap-4"},e.h("span",{class:"f-ui-01"},this.message),e.h("eds-button",{intent:"tertiary",icon:"close","aria-label":"Close Toast",onClick:()=>this.dismissToast(),"extra-class":"ml-8"})))}get el(){return e.getElement(this)}};s.style=a;exports.eds_toast=s;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as p, h as l, g as f } from "./index-E1PpO1J3.mjs";
|
|
2
2
|
import { s as h } from "./analytics-44b1416b-3vYuu4Xs.mjs";
|
|
3
3
|
const w = ".relative{position:relative}.absolute{position:absolute}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.bg-stronger{background-color:var(--grey-900)}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.text-default{color:var(--black)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.pointer-events-none{pointer-events:none}.-top-8{top:-0.5rem}.left-1\\/2{left:50%}.z-10{z-index:10}.block{display:block}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.p-12{padding:0.75rem}.p-16{padding:1rem}.p-20{padding:1.25rem}", v = w, g = class {
|
|
4
4
|
constructor(t) {
|
|
5
|
-
|
|
5
|
+
p(this, t), this.content = void 0, this.position = "above", this.isVisible = !1, this.isPositioned = !1, this.tooltipStyle = { top: "0px", left: "0px", transform: "" };
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Show the tooltip and update its position.
|
|
@@ -41,14 +41,14 @@ const w = ".relative{position:relative}.absolute{position:absolute}.rounded-sm{b
|
|
|
41
41
|
if (n) {
|
|
42
42
|
const e = n.getBoundingClientRect(), o = (s = this.el.shadowRoot) === null || s === void 0 ? void 0 : s.querySelector('[role="tooltip"]');
|
|
43
43
|
if (o) {
|
|
44
|
-
const d = o.offsetWidth,
|
|
44
|
+
const d = o.offsetWidth, c = o.offsetHeight;
|
|
45
45
|
let a = 0, r = 0;
|
|
46
46
|
switch (this.position) {
|
|
47
47
|
case "above":
|
|
48
|
-
a = window.scrollY -
|
|
48
|
+
a = window.scrollY - c - 8, r = e.left + e.width / 2 - d / 2;
|
|
49
49
|
break;
|
|
50
50
|
case "below":
|
|
51
|
-
a =
|
|
51
|
+
a = c - window.scrollY + 18, r = e.left + e.width / 2 - d / 2;
|
|
52
52
|
break;
|
|
53
53
|
}
|
|
54
54
|
this.tooltipStyle = {
|
|
@@ -61,14 +61,14 @@ const w = ".relative{position:relative}.absolute{position:absolute}.rounded-sm{b
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return l("div", { key: "
|
|
64
|
+
return l("div", { key: "0d00052874b171639b9185412d8a3a9f917e6df5", class: "relative" }, l("slot", { key: "2cb9cdc51248c3c6cedcaf8ee113530f2675b870" }), this.isVisible && this.isPositioned && this.content && l("div", { key: "af54333ca0c8cf44dcc2b779a7378a9ecf256877", class: "rounded-xs bg-strongest text-inverse f-ui-03-light pointer-events-none absolute z-10 whitespace-nowrap p-6", role: "tooltip", style: {
|
|
65
65
|
top: this.tooltipStyle.top,
|
|
66
66
|
left: this.tooltipStyle.left,
|
|
67
67
|
transform: this.tooltipStyle.transform
|
|
68
68
|
} }, this.content));
|
|
69
69
|
}
|
|
70
70
|
get el() {
|
|
71
|
-
return
|
|
71
|
+
return f(this);
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
g.style = v;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-D4alMZtT.js"),f=require("./analytics-44b1416b-ol77SdQE.js"),h=".relative{position:relative}.absolute{position:absolute}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.bg-stronger{background-color:var(--grey-900)}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.text-default{color:var(--black)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.pointer-events-none{pointer-events:none}.-top-8{top:-0.5rem}.left-1\\/2{left:50%}.z-10{z-index:10}.block{display:block}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.p-12{padding:0.75rem}.p-16{padding:1rem}.p-20{padding:1.25rem}",v=h,p=class{constructor(t){i.registerInstance(this,t),this.content=void 0,this.position="above",this.isVisible=!1,this.isPositioned=!1,this.tooltipStyle={top:"0px",left:"0px",transform:""}}async showTooltip(){var t;await this.updateTooltipPosition(),this.isPositioned=!0,this.isVisible=!0,f.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:((t=this.content)===null||t===void 0?void 0:t.toLowerCase())||"",action:"hover"})}hideTooltip(){this.isVisible=!1,this.isPositioned=!1}handleKeyPress(t){t.key==="Escape"&&(this.isVisible=!1,this.isPositioned=!1)}updateTooltipPosition(){var t,o;const s=(t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelector("slot");if(!s)return;const n=((s==null?void 0:s.assignedNodes({flatten:!0}))||[]).find(e=>e instanceof HTMLElement);if(n){const e=n.getBoundingClientRect(),a=(o=this.el.shadowRoot)===null||o===void 0?void 0:o.querySelector('[role="tooltip"]');if(a){const d=a.offsetWidth,c=a.offsetHeight;let r=0,l=0;switch(this.position){case"above":r=window.scrollY-c-8,l=e.left+e.width/2-d/2;break;case"below":r=c-window.scrollY+18,l=e.left+e.width/2-d/2;break}this.tooltipStyle={top:`${r}px`,left:`${l}px`,transform:"translateX(0)"}}}}render(){return i.h("div",{key:"0d00052874b171639b9185412d8a3a9f917e6df5",class:"relative"},i.h("slot",{key:"2cb9cdc51248c3c6cedcaf8ee113530f2675b870"}),this.isVisible&&this.isPositioned&&this.content&&i.h("div",{key:"af54333ca0c8cf44dcc2b779a7378a9ecf256877",class:"rounded-xs bg-strongest text-inverse f-ui-03-light pointer-events-none absolute z-10 whitespace-nowrap p-6",role:"tooltip",style:{top:this.tooltipStyle.top,left:this.tooltipStyle.left,transform:this.tooltipStyle.transform}},this.content))}get el(){return i.getElement(this)}};p.style=v;exports.eds_tooltip=p;
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-D4alMZtT.js"),i=class{constructor(e){t.registerInstance(this,e),this.applications=void 0}getParsedApplications(){let e=[];if(typeof this.applications=="string")try{e=JSON.parse(this.applications||"[]")}catch(r){console.error("Invalid applications trl JSON",r),e=[]}else Array.isArray(this.applications)&&(e=this.applications);return e}calculateProgress(e){return Math.ceil(e/9*100)}render(){const r=this.getParsedApplications().map(a=>({Application:a.name,"Current TRL Stage":`TRL ${a.currentTrl}`,Progress:t.h("div",{class:"w-[200px]"},t.h("eds-progress-bar",{value:this.calculateProgress(a.currentTrl)}))})),s={Application:{format:"code"},"Current TRL Stage":{format:"text"}};return t.h("div",{key:"bd46e540a0dd3c09a91d1cff266b94a2bf9fba95",class:"container mx-auto px-4 py-8"},t.h("eds-table",{key:"d3ef10fc7e5ccd6029d1e62c2bb78765e78c8a13",data:JSON.stringify(r),config:JSON.stringify(s),"rows-per-page":"2","pagination-enabled":"true","search-enabled":"true","column-size":"default"}))}};exports.eds_trl=i;
|
|
@@ -0,0 +1 @@
|
|
|
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;
|
|
@@ -0,0 +1,26 @@
|
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import { r as i, h as
|
|
1
|
+
import { r as i, h as t } from "./index-E1PpO1J3.mjs";
|
|
2
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(
|
|
4
|
-
i(this,
|
|
3
|
+
constructor(e) {
|
|
4
|
+
i(this, e), this.handleNext = () => {
|
|
5
5
|
this.activeStep < this.parsedSteps.length && (this.activeStep = this.activeStep + 1);
|
|
6
6
|
}, this.handleBack = () => {
|
|
7
7
|
this.activeStep > 0 && (this.activeStep = this.activeStep - 1);
|
|
@@ -17,8 +17,8 @@ const p = ":host{display:block}.stepper-container{margin:0 auto}.stepper{positio
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
const
|
|
21
|
-
return
|
|
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
22
|
}
|
|
23
23
|
};
|
|
24
24
|
r.style = n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-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;
|
|
@@ -0,0 +1 @@
|
|
|
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;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
function d(t, o, c, u, n) {
|
|
2
|
+
const s = [];
|
|
3
|
+
return u && !o && s.push(`${t} is required.`), n && typeof o == "string" && o.length > n && s.push(`${t} must be at most ${n} characters.`), c === "email" && o && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(o.toString()) && s.push("Invalid email format."), s;
|
|
4
|
+
}
|
|
5
|
+
function y(t, o, c) {
|
|
6
|
+
const s = Array.from(c.querySelectorAll("eds-input-field")).filter((r) => {
|
|
7
|
+
var a, i;
|
|
8
|
+
return ((i = (a = r.shadowRoot) === null || a === void 0 ? void 0 : a.querySelectorAll(`input[name="${t}"]`)) === null || i === void 0 ? void 0 : i.length) > 0;
|
|
9
|
+
}).flatMap((r) => {
|
|
10
|
+
var a;
|
|
11
|
+
return Array.from(((a = r.shadowRoot) === null || a === void 0 ? void 0 : a.querySelectorAll(`input[name="${t}"]`)) || []);
|
|
12
|
+
}).some((r) => r.checked), e = [];
|
|
13
|
+
return o && !s && e.push(`At least one option in ${t} is required.`), e;
|
|
14
|
+
}
|
|
15
|
+
function f(t, o, c) {
|
|
16
|
+
var u;
|
|
17
|
+
const n = [], s = Array.from(c.querySelectorAll("eds-input-field")).find((r) => {
|
|
18
|
+
var a;
|
|
19
|
+
return (a = r.shadowRoot) === null || a === void 0 ? void 0 : a.querySelector(`[name="${t}"]`);
|
|
20
|
+
});
|
|
21
|
+
if (!s)
|
|
22
|
+
return o && n.push(`${t} is required.`), n;
|
|
23
|
+
const e = (u = s.shadowRoot) === null || u === void 0 ? void 0 : u.querySelector(`[name="${t}"]`);
|
|
24
|
+
return o && e && !e.checked && n.push(`${t} is required.`), n;
|
|
25
|
+
}
|
|
26
|
+
function h(t, o) {
|
|
27
|
+
const c = Array.from(t.querySelectorAll("eds-input-field"));
|
|
28
|
+
for (const u of c)
|
|
29
|
+
if (u.shadowRoot) {
|
|
30
|
+
const n = u.shadowRoot.querySelector(`[name="${o}"]`);
|
|
31
|
+
if (n)
|
|
32
|
+
return n;
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
function v(t, o, c, u) {
|
|
37
|
+
const n = {};
|
|
38
|
+
let s = !1;
|
|
39
|
+
return t.forEach((e) => {
|
|
40
|
+
if (!u(e, c)) {
|
|
41
|
+
delete n[e.name];
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
if (e.type !== "hidden")
|
|
45
|
+
if ((e.type === "checkbox" || e.type === "radio") && !e.options) {
|
|
46
|
+
const r = f(e.name, e.required, o);
|
|
47
|
+
r.length > 0 && (n[e.name] = r, s = !0);
|
|
48
|
+
} else if (e.options && (e.type === "checkbox" || e.type === "radio")) {
|
|
49
|
+
const r = y(e.name, e.required, o);
|
|
50
|
+
r.length > 0 && (n[e.name] = r, s = !0);
|
|
51
|
+
} else {
|
|
52
|
+
const r = h(o, e.name);
|
|
53
|
+
if (r) {
|
|
54
|
+
const a = r.value, i = d(e.name, a, e.type, e.required, e.maxlength);
|
|
55
|
+
i.length > 0 && (n[e.name] = i, s = !0);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}), { errors: n, hasError: s };
|
|
59
|
+
}
|
|
60
|
+
function q(t, o, c) {
|
|
61
|
+
return t.type === "checkbox" || t.type === "radio" ? t.options ? y(t.name, t.required, c) : f(t.name, t.required, c) : d(t.name, o, t.type, t.required, t.maxlength);
|
|
62
|
+
}
|
|
63
|
+
function A({ initData: t, parsedFields: o, currentValues: c, formEl: u, isFieldVisible: n }) {
|
|
64
|
+
const s = Object.assign({}, c);
|
|
65
|
+
return o.forEach((e) => {
|
|
66
|
+
const r = t[e.name];
|
|
67
|
+
r !== void 0 && (s[e.name] = r);
|
|
68
|
+
}), setTimeout(() => {
|
|
69
|
+
o.forEach((e) => {
|
|
70
|
+
if (n(e, s)) {
|
|
71
|
+
const r = t[e.name];
|
|
72
|
+
if (r !== void 0)
|
|
73
|
+
if (e.type === "checkbox" || e.type === "radio")
|
|
74
|
+
Array.from(u.querySelectorAll("eds-input-field")).forEach((i) => {
|
|
75
|
+
if (i.shadowRoot) {
|
|
76
|
+
const p = Array.from(i.shadowRoot.querySelectorAll(`[name="${e.name}"]`)), m = r.split(",").map((l) => l.trim());
|
|
77
|
+
p.forEach((l) => {
|
|
78
|
+
l.checked = m.includes(l.value);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
else {
|
|
83
|
+
const a = h(u, e.name);
|
|
84
|
+
a && (a.value = r);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}, 50), { updatedValues: s };
|
|
89
|
+
}
|
|
90
|
+
function g({ draftData: t, parsedFields: o, currentValues: c, formEl: u, isFieldVisible: n }) {
|
|
91
|
+
const s = Object.assign({}, c);
|
|
92
|
+
return o.forEach((e) => {
|
|
93
|
+
const r = t[e.name];
|
|
94
|
+
r !== void 0 && (s[e.name] = r);
|
|
95
|
+
}), setTimeout(() => {
|
|
96
|
+
o.forEach((e) => {
|
|
97
|
+
if (n(e, s)) {
|
|
98
|
+
const r = t[e.name];
|
|
99
|
+
if (r !== void 0)
|
|
100
|
+
if (e.type === "checkbox" || e.type === "radio")
|
|
101
|
+
Array.from(u.querySelectorAll("eds-input-field")).forEach((i) => {
|
|
102
|
+
if (i.shadowRoot) {
|
|
103
|
+
const p = Array.from(i.shadowRoot.querySelectorAll(`[name="${e.name}"]`)), m = r.split(",").map((l) => l.trim());
|
|
104
|
+
p.forEach((l) => {
|
|
105
|
+
l.checked = m.includes(l.value);
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
else {
|
|
110
|
+
const a = h(u, e.name);
|
|
111
|
+
a && (a.value = r);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
}, 50), { updatedValues: s };
|
|
116
|
+
}
|
|
117
|
+
export {
|
|
118
|
+
q as a,
|
|
119
|
+
g as b,
|
|
120
|
+
A as g,
|
|
121
|
+
v
|
|
122
|
+
};
|
|
@@ -10,8 +10,10 @@ export declare const EdsCardGeneric: import('vue').DefineSetupFnComponent<JSX.Ed
|
|
|
10
10
|
export declare const EdsCardSection: import('vue').DefineSetupFnComponent<JSX.EdsCardSection & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsCardSection & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
11
11
|
export declare const EdsCodeBlock: import('vue').DefineSetupFnComponent<JSX.EdsCodeBlock & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsCodeBlock & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
12
12
|
export declare const EdsDropdown: import('vue').DefineSetupFnComponent<JSX.EdsDropdown & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsDropdown & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
13
|
+
export declare const EdsFeedback: import('vue').DefineSetupFnComponent<JSX.EdsFeedback & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsFeedback & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
13
14
|
export declare const EdsFooter: import('vue').DefineSetupFnComponent<JSX.EdsFooter & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsFooter & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
14
15
|
export declare const EdsForm: import('vue').DefineSetupFnComponent<JSX.EdsForm & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsForm & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
16
|
+
export declare const EdsFormV2: import('vue').DefineSetupFnComponent<JSX.EdsFormV2 & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsFormV2 & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
15
17
|
export declare const EdsFrame: import('vue').DefineSetupFnComponent<JSX.EdsFrame & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsFrame & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
16
18
|
export declare const EdsFullscreenMenu: import('vue').DefineSetupFnComponent<JSX.EdsFullscreenMenu & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsFullscreenMenu & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
17
19
|
export declare const EdsHeader: import('vue').DefineSetupFnComponent<JSX.EdsHeader & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsHeader & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
@@ -29,6 +31,8 @@ export declare const EdsRating: import('vue').DefineSetupFnComponent<JSX.EdsRati
|
|
|
29
31
|
export declare const EdsSectionCore: import('vue').DefineSetupFnComponent<JSX.EdsSectionCore & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSectionCore & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
30
32
|
export declare const EdsSectionHeading: import('vue').DefineSetupFnComponent<JSX.EdsSectionHeading & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSectionHeading & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
31
33
|
export declare const EdsSocialNetworks: import('vue').DefineSetupFnComponent<JSX.EdsSocialNetworks & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSocialNetworks & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
34
|
+
export declare const EdsSpinner: import('vue').DefineSetupFnComponent<JSX.EdsSpinner & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSpinner & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
35
|
+
export declare const EdsSplashScreen: import('vue').DefineSetupFnComponent<JSX.EdsSplashScreen & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSplashScreen & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
32
36
|
export declare const EdsSteps: import('vue').DefineSetupFnComponent<JSX.EdsSteps & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSteps & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
33
37
|
export declare const EdsSwitch: import('vue').DefineSetupFnComponent<JSX.EdsSwitch & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSwitch & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
34
38
|
export declare const EdsTable: import('vue').DefineSetupFnComponent<JSX.EdsTable & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTable & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
@@ -36,7 +40,6 @@ export declare const EdsTabs: import('vue').DefineSetupFnComponent<JSX.EdsTabs &
|
|
|
36
40
|
export declare const EdsTag: import('vue').DefineSetupFnComponent<JSX.EdsTag & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTag & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
37
41
|
export declare const EdsTimeline: import('vue').DefineSetupFnComponent<JSX.EdsTimeline & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTimeline & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
38
42
|
export declare const EdsToast: import('vue').DefineSetupFnComponent<JSX.EdsToast & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsToast & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
39
|
-
export declare const EdsToastManager: import('vue').DefineSetupFnComponent<JSX.EdsToastManager & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsToastManager & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
40
43
|
export declare const EdsTooltip: import('vue').DefineSetupFnComponent<JSX.EdsTooltip & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTooltip & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
41
44
|
export declare const EdsUser: import('vue').DefineSetupFnComponent<JSX.EdsUser & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsUser & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
42
45
|
export declare const EdsVerticalStepper: import('vue').DefineSetupFnComponent<JSX.EdsVerticalStepper & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsVerticalStepper & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { r as c, h as e } from "./index-E1PpO1J3.mjs";
|
|
2
|
+
const s = [
|
|
3
|
+
{
|
|
4
|
+
background: "#9CE142"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
background: "#00C959"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
background: "#00A595"
|
|
11
|
+
}
|
|
12
|
+
], d = [
|
|
13
|
+
{
|
|
14
|
+
background: "#C461FF"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
background: "#5D3DF9"
|
|
18
|
+
}
|
|
19
|
+
], o = [
|
|
20
|
+
{
|
|
21
|
+
background: "#FFA543"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
background: "#FF4D68"
|
|
25
|
+
}
|
|
26
|
+
], r = [
|
|
27
|
+
{
|
|
28
|
+
background: "#3FA9F5"
|
|
29
|
+
},
|
|
30
|
+
...d,
|
|
31
|
+
...o
|
|
32
|
+
], n = class {
|
|
33
|
+
constructor(a) {
|
|
34
|
+
c(this, a);
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
return e("div", { key: "6906da67ca0b6e67545b0daac34d476e4c80c75f", class: "container" }, e("eds-alert", { key: "0930bacd11792156dd000b14ed7e82a1fa41012f", message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" }), e("div", { key: "da773bedfa3591351b2425e14d084213e5d90fdb", class: "flex" }, e("div", { key: "894b7e13066eb40ee1ea19a62bf7a059407313c7", class: "w-full" }, e("ul", { key: "fba6f9c9d34edd373841a9888971de7b08b6450d", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, s.map((a) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: a.background } }))))), e("div", { key: "af7e2036fbe979299f2657a7ab3472d7d4196db2", class: "w-full" }, e("ul", { key: "ad46e717be4200796424c6f72f022d6e163975ff", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, r.map((a) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: a.background } })))))));
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
n as incorrect_use_of_colors
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D4alMZtT.js"),c=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],d=[{background:"#C461FF"},{background:"#5D3DF9"}],o=[{background:"#FFA543"},{background:"#FF4D68"}],s=[{background:"#3FA9F5"},...d,...o],r=class{constructor(a){e.registerInstance(this,a)}render(){return e.h("div",{key:"6906da67ca0b6e67545b0daac34d476e4c80c75f",class:"container"},e.h("eds-alert",{key:"0930bacd11792156dd000b14ed7e82a1fa41012f",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"}),e.h("div",{key:"da773bedfa3591351b2425e14d084213e5d90fdb",class:"flex"},e.h("div",{key:"894b7e13066eb40ee1ea19a62bf7a059407313c7",class:"w-full"},e.h("ul",{key:"fba6f9c9d34edd373841a9888971de7b08b6450d",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},c.map(a=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:a.background}}))))),e.h("div",{key:"af7e2036fbe979299f2657a7ab3472d7d4196db2",class:"w-full"},e.h("ul",{key:"ad46e717be4200796424c6f72f022d6e163975ff",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},s.map(a=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:a.background}})))))))}};exports.incorrect_use_of_colors=r;
|