@ebrains/vue 0.4.0-alpha.0 → 0.5.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/analytics-1cde8e4a-BDRcCMlV.mjs +24 -0
- package/analytics-1cde8e4a-B_MD-9qW.js +1 -0
- package/color-2554aad6-CCcV5UJZ.mjs +131 -0
- package/color-2554aad6-D1hFGX4H.js +1 -0
- package/{color-primary-palette_6.entry-CSDWEKLH.mjs → color-primary-palette_6.entry-CgeStD0V.mjs} +21 -21
- package/color-primary-palette_6.entry-c_K7930i.js +1 -0
- package/correct-use-of-colors.entry-De5Tcxdm.mjs +59 -0
- package/correct-use-of-colors.entry-DpmXW_CD.js +1 -0
- package/eds-accordion.entry-B8TjhnWX.mjs +49 -0
- package/eds-accordion.entry-BySfMYU2.js +4 -0
- package/eds-alert_17.entry-BfpBSBVW.js +14999 -0
- package/eds-alert_17.entry-IJq6baZd.mjs +16075 -0
- package/eds-avatar_4.entry-B7CV7v_n.mjs +283 -0
- package/eds-avatar_4.entry-D1CDRW_R.js +149 -0
- package/eds-card-generic.entry-BhLK-nyp.js +1 -0
- package/eds-card-generic.entry-DIHPUjbI.mjs +63 -0
- package/{eds-card-project.entry-C3eyu1U0.mjs → eds-card-project.entry-C2dWgXXW.mjs} +12 -11
- package/eds-card-project.entry-CunHqbYK.js +1 -0
- package/{eds-card-section.entry-DU-1TB0I.js → eds-card-section.entry-0n2V-MH6.js} +1 -1
- package/{eds-card-section.entry-Dxk-Ob_Y.mjs → eds-card-section.entry-Ccjil38X.mjs} +4 -4
- package/eds-card-tags.entry-C6jjLiGA.mjs +13 -0
- package/{eds-card-tags.entry-YPPBWdFq.js → eds-card-tags.entry-CQS5AtAg.js} +1 -1
- package/{eds-card-tool.entry-1_RNWh8n.mjs → eds-card-tool.entry-Bi8w0xds.mjs} +7 -7
- package/eds-card-tool.entry-DJA23zJf.js +1 -0
- package/{eds-card-wrapper.entry-BfCDGeFs.js → eds-card-wrapper.entry-BKPCc7ci.js} +1 -1
- package/{eds-card-wrapper.entry-C4pNRjIj.mjs → eds-card-wrapper.entry-UPnkq2JI.mjs} +4 -4
- package/{eds-code-block.entry-B2xATQ7r.mjs → eds-code-block.entry-BZTLGjqq.mjs} +47 -47
- package/{eds-code-block.entry-DQEDpAjn.js → eds-code-block.entry-Ckb3jisn.js} +3 -3
- package/{eds-components-section.entry-D08woahG.js → eds-components-section.entry-B3WrdIfL.js} +45 -36
- package/{eds-components-section.entry-DR-984-3.mjs → eds-components-section.entry-D1ovrn93.mjs} +56 -37
- package/{eds-docs-palettes.entry-qKOj3XU9.js → eds-docs-palettes.entry-Bk77Xn04.js} +1 -1
- package/{eds-docs-palettes.entry-B0yU2ZpL.mjs → eds-docs-palettes.entry-lpT0ypSs.mjs} +2 -2
- package/{eds-docs-tokens.entry-BVHiM7cK.mjs → eds-docs-tokens.entry-Bi35zxEM.mjs} +2 -2
- package/{eds-docs-tokens.entry-BtRXzjrp.js → eds-docs-tokens.entry-DCHw-jrS.js} +1 -1
- package/eds-dropdown_2.entry-Bamjbo1o.mjs +115 -0
- package/eds-dropdown_2.entry-YEBzyKJu.js +1 -0
- package/eds-form.entry-a52cYx3b.js +7153 -0
- package/eds-form.entry-xm937wbh.mjs +7340 -0
- package/eds-frame.entry-BnT9nQwa.js +1 -0
- package/eds-frame.entry-CU7GoLj6.mjs +74 -0
- package/eds-icon-arrow-diagonal.entry-fzsCJiPP.js +1 -0
- package/eds-icon-arrow-diagonal.entry-kClkB8LF.mjs +13 -0
- package/eds-icon-arrow-right.entry-B75Ra6OD.js +1 -0
- package/eds-icon-arrow-right.entry-DX6A-VKL.mjs +13 -0
- package/{eds-icon-bluesky.entry-Dppj9cuC.js → eds-icon-bluesky.entry-7tzCZSoL.js} +1 -1
- package/eds-icon-bluesky.entry-BNSdVu2K.mjs +13 -0
- package/eds-icon-chevron-down.entry-BLvZ3e_N.mjs +13 -0
- package/{eds-icon-chevron-down.entry-CidjiGQS.js → eds-icon-chevron-down.entry-BUG6E9eR.js} +1 -1
- package/eds-icon-chevron-left.entry-BT-KYjSo.js +1 -0
- package/eds-icon-chevron-left.entry-Vq-R3b59.mjs +13 -0
- package/{eds-icon-chevron-right.entry-iy6d6tux.mjs → eds-icon-chevron-right.entry-B1qzmGrD.mjs} +2 -2
- package/eds-icon-chevron-right.entry-BmU_I0Y1.js +1 -0
- package/eds-icon-chevron-up.entry-DXXRgw1V.js +1 -0
- package/eds-icon-chevron-up.entry-DuySJU_i.mjs +13 -0
- package/eds-icon-close.entry-DDxUAr21.mjs +13 -0
- package/{eds-icon-close.entry-CE-Nory7.js → eds-icon-close.entry-DS7BLTzl.js} +1 -1
- package/eds-icon-copy.entry-DNa1wI4F.mjs +13 -0
- package/{eds-icon-copy.entry-Bpe3I5b6.js → eds-icon-copy.entry-Nz_P5A7p.js} +1 -1
- package/eds-icon-eu.entry-CLQcoimB.js +1 -0
- package/eds-icon-eu.entry-DTdf6Skc.mjs +13 -0
- package/eds-icon-facebook.entry-B9szoikj.mjs +13 -0
- package/eds-icon-facebook.entry-knUdck2t.js +1 -0
- package/eds-icon-gitlab.entry-IO7f4hgL.mjs +13 -0
- package/eds-icon-gitlab.entry-pKxaKA0B.js +1 -0
- package/{eds-icon-linkedin.entry-CstoPbTS.js → eds-icon-linkedin.entry-BD__kbDV.js} +1 -1
- package/eds-icon-linkedin.entry-CryUW1Er.mjs +13 -0
- package/{eds-icon-loader.entry-CaGFh0gM.js → eds-icon-loader.entry-B_3Sd6PB.js} +1 -1
- package/eds-icon-loader.entry-CxizdRT8.mjs +13 -0
- package/eds-icon-mastodon.entry-7152lwgd.js +1 -0
- package/eds-icon-mastodon.entry-MyM74vvm.mjs +13 -0
- package/eds-icon-menu.entry-5RRmRTxa.mjs +13 -0
- package/eds-icon-menu.entry-BVU8htgo.js +1 -0
- package/eds-icon-more.entry-KE6_EsAg.mjs +13 -0
- package/{eds-icon-more.entry-68jT9AEw.js → eds-icon-more.entry-lossstHZ.js} +1 -1
- package/eds-icon-search.entry-Dg0wabdP.mjs +13 -0
- package/eds-icon-search.entry-DiYaxnYX.js +1 -0
- package/{eds-icon-success.entry-CACuZjP6.js → eds-icon-success.entry-CRu9Ssdi.js} +1 -1
- package/eds-icon-success.entry-_fWfddhX.mjs +13 -0
- package/eds-icon-twitter.entry-B4xPE3Vz.js +1 -0
- package/eds-icon-twitter.entry-DHFpeStb.mjs +13 -0
- package/eds-icon-user.entry-BOv2lInW.mjs +13 -0
- package/eds-icon-user.entry-DkRLDrdp.js +1 -0
- package/eds-icon-youtube.entry-CRRGbDsw.mjs +13 -0
- package/eds-icon-youtube.entry-DL5fWU8k.js +1 -0
- package/eds-input_7.entry-BZ9afXqe.js +7167 -0
- package/eds-input_7.entry-WvoE_Mue.mjs +7373 -0
- package/eds-login.entry-BRWK6otG.js +1 -0
- package/eds-login.entry-C0eOhlEq.mjs +58 -0
- package/{eds-logo-variations.entry-CUD-M_Fd.js → eds-logo-variations.entry-BnB25dDH.js} +1 -1
- package/eds-logo-variations.entry-Cw44vuQE.mjs +22 -0
- package/eds-matomo-notice.entry-BpwE1vQ3.js +1 -0
- package/{eds-matomo-notice.entry-kSuLDx9K.mjs → eds-matomo-notice.entry-DsLbzeqQ.mjs} +2 -2
- package/eds-modal.entry-B9gXEOjT.js +1 -0
- package/eds-modal.entry-CCy9SRVR.mjs +84 -0
- package/{eds-navigator.entry-BJTqtqld.js → eds-navigator.entry-B9scz8p_.js} +1 -1
- package/{eds-navigator.entry-DdzcXSRW.mjs → eds-navigator.entry-Dk-4UW_d.mjs} +2 -2
- package/eds-pagination_2.entry-D_sngThL.js +1 -0
- package/{eds-pagination_2.entry-B5PLo2Uu.mjs → eds-pagination_2.entry-M3CLFGN_.mjs} +9 -9
- package/{eds-progress-bar.entry-DdqH0plT.mjs → eds-progress-bar.entry-BtI2_94Z.mjs} +5 -5
- package/{eds-progress-bar.entry-BBFsASiy.js → eds-progress-bar.entry-D56TNSGj.js} +1 -1
- package/{eds-section-core_2.entry-D_nLUa29.js → eds-section-core_2.entry-BmbK_RfT.js} +1 -1
- package/{eds-section-core_2.entry-D3HYngR_.mjs → eds-section-core_2.entry-pmUkAIz7.mjs} +6 -6
- package/{eds-svg-repository.entry-C-kayEdW.mjs → eds-svg-repository.entry-B3xCCFOp.mjs} +2 -2
- package/{eds-svg-repository.entry-in72TP_1.js → eds-svg-repository.entry-DZ1FMRrQ.js} +2 -2
- package/{eds-tab.entry-BKYSiEkl.mjs → eds-tab.entry-Bpv6R_M0.mjs} +2 -2
- package/{eds-tab.entry-BUzZWKac.js → eds-tab.entry-DjpVgaDN.js} +1 -1
- package/eds-tabs-content.entry-Bj5wNmkr.js +1 -0
- package/{eds-tabs-content.entry-3cyCQAth.mjs → eds-tabs-content.entry-CzwoLZzR.mjs} +4 -4
- package/{eds-tabs.entry-B8q09in2.mjs → eds-tabs.entry-BYBPkYRs.mjs} +5 -5
- package/eds-tabs.entry-Cbc9yhHL.js +1 -0
- package/{eds-timeline.entry-DEcov8mq.js → eds-timeline.entry-Bq-eo4Og.js} +1 -1
- package/{eds-timeline.entry-DhHSQScv.mjs → eds-timeline.entry-DJYcN7rN.mjs} +2 -2
- package/{eds-tooltip.entry-BTunlfGS.mjs → eds-tooltip.entry-CTCdKTKM.mjs} +3 -3
- package/eds-tooltip.entry-eiFlYpfl.js +1 -0
- package/{eds-trl.entry-Bt28XH55.mjs → eds-trl.entry-8BXrp9SK.mjs} +8 -8
- package/{eds-trl.entry-BHrlC_5O.js → eds-trl.entry-DtffM-e5.js} +1 -1
- package/eds-user.entry-DfBE6LuF.js +1 -0
- package/eds-user.entry-ybggwcts.mjs +66 -0
- package/eds-vertical-stepper.entry-DpcwvOst.mjs +27 -0
- package/eds-vertical-stepper.entry-O_GJNo8B.js +1 -0
- package/generated/components.d.ts +3 -0
- package/incorrect-use-of-colors.entry-CDHLoNBa.js +1 -0
- package/incorrect-use-of-colors.entry-DbwiJCH0.mjs +42 -0
- package/{index-I5Asbjce.mjs → index-C-Gy1Lax.mjs} +555 -497
- package/index-D_kZU_4I.js +21 -0
- package/index.js +1 -1
- package/index.mjs +30 -27
- package/{keycloak-13893af6-BLzE1H6E.mjs → keycloak-d502ec16-Ce0iGqyk.mjs} +259 -247
- package/keycloak-d502ec16-m7LwS-Gh.js +9 -0
- package/{logo-space.entry-DsM5jXgX.js → logo-space.entry-D56IaLNE.js} +1 -1
- package/{logo-space.entry-GnVq-srD.mjs → logo-space.entry-DERJLkyL.mjs} +7 -7
- package/logo-variations-horizontal_2.entry-OY3Zka_7.js +7 -0
- package/logo-variations-horizontal_2.entry-wp9D1MMl.mjs +29 -0
- package/logo-wrong-usage.entry-BniBpQrN.js +1 -0
- package/logo-wrong-usage.entry-RgKFDObE.mjs +14 -0
- package/package.json +1 -1
- package/{token-list_3.entry-DaIOT7_R.js → token-list_3.entry-C0Tohj1W.js} +1 -1
- package/{token-list_3.entry-CReCwFzO.mjs → token-list_3.entry-Zgzwbhio.mjs} +4 -4
- package/{token-ratios.entry-Dh8kvz8R.mjs → token-ratios.entry-B7ZwRluK.mjs} +2 -2
- package/token-ratios.entry-bO5CkZ9D.js +1 -0
- package/token-spacing.entry-BTYazF9c.js +1 -0
- package/token-spacing.entry-_yyMlwbO.mjs +12 -0
- package/{token-typography.entry-DG-4k5gY.js → token-typography.entry-D-PPtDvs.js} +1 -1
- package/{token-typography.entry-CIETKadf.mjs → token-typography.entry-D4bxbB2m.mjs} +2 -2
- package/color-bb472c37-CKu54kOY.js +0 -1
- package/color-bb472c37-DDERsxdk.mjs +0 -207
- package/color-primary-palette_6.entry-BB6740d4.js +0 -1
- package/correct-use-of-colors.entry-LuyuqIQ9.js +0 -1
- package/correct-use-of-colors.entry-hvZ1z3tc.mjs +0 -59
- package/eds-accordion_33.entry-DFgdjlJE.mjs +0 -31360
- package/eds-accordion_33.entry-DlnbmQ6R.js +0 -29468
- package/eds-card-project.entry-BQ-dH8vM.js +0 -1
- package/eds-card-tags.entry-CIu6lD0P.mjs +0 -13
- package/eds-card-tool.entry-DgBqQucY.js +0 -1
- package/eds-icon-arrow-diagonal.entry-DjDB--sU.js +0 -1
- package/eds-icon-arrow-diagonal.entry-E5xC3m8H.mjs +0 -13
- package/eds-icon-arrow-right.entry-DaXIkUew.mjs +0 -13
- package/eds-icon-arrow-right.entry-odZ8U-W2.js +0 -1
- package/eds-icon-bluesky.entry-B3yW2mUC.mjs +0 -13
- package/eds-icon-chevron-down.entry-xWODzTE-.mjs +0 -13
- package/eds-icon-chevron-left.entry-CJyHE01I.mjs +0 -13
- package/eds-icon-chevron-left.entry-DjJj-hmG.js +0 -1
- package/eds-icon-chevron-right.entry-D8RyOADq.js +0 -1
- package/eds-icon-chevron-up.entry-TKCdY_T3.mjs +0 -13
- package/eds-icon-chevron-up.entry-ezV-v92v.js +0 -1
- package/eds-icon-close.entry-Brv3Uxu1.mjs +0 -13
- package/eds-icon-copy.entry-DQioS3t7.mjs +0 -13
- package/eds-icon-eu.entry-BzmYOiKL.js +0 -1
- package/eds-icon-eu.entry-KylDo55P.mjs +0 -13
- package/eds-icon-facebook.entry-DWZ02rD5.js +0 -1
- package/eds-icon-facebook.entry-DpS2m4v2.mjs +0 -13
- package/eds-icon-gitlab.entry-D8PM12SK.js +0 -1
- package/eds-icon-gitlab.entry-JX-5azIw.mjs +0 -13
- package/eds-icon-linkedin.entry-BylIVu8G.mjs +0 -13
- package/eds-icon-loader.entry-DZyUa8Na.mjs +0 -13
- package/eds-icon-mastodon.entry-BIckHn_q.mjs +0 -13
- package/eds-icon-mastodon.entry-DxNG__-Y.js +0 -1
- package/eds-icon-menu.entry-C9N6s8Oa.mjs +0 -13
- package/eds-icon-menu.entry-DwN-ZAWi.js +0 -1
- package/eds-icon-more.entry-MUkUL_e2.mjs +0 -13
- package/eds-icon-search.entry-CcwwFnns.mjs +0 -13
- package/eds-icon-search.entry-CrfMqbyi.js +0 -1
- package/eds-icon-success.entry-BUzsze9h.mjs +0 -13
- package/eds-icon-twitter.entry-B1Iw69NW.mjs +0 -13
- package/eds-icon-twitter.entry-BbStwaGv.js +0 -1
- package/eds-icon-user.entry-CNo6pger.mjs +0 -13
- package/eds-icon-user.entry-vYVsxfK7.js +0 -1
- package/eds-icon-youtube.entry-CBU7Dvkh.mjs +0 -13
- package/eds-icon-youtube.entry-CmCAFp7D.js +0 -1
- package/eds-login.entry-Bfztcsrc.js +0 -1
- package/eds-login.entry-XqWPWCDL.mjs +0 -46
- package/eds-logo-variations.entry-Cy_fbJLx.mjs +0 -22
- package/eds-matomo-notice.entry-CytVSgYS.js +0 -1
- package/eds-pagination_2.entry-DUsG8tcv.js +0 -1
- package/eds-rating.entry-CErokyKU.mjs +0 -38
- package/eds-rating.entry-p9oWKCkQ.js +0 -1
- package/eds-tabs-content.entry-Cg7U8c5D.js +0 -1
- package/eds-tabs.entry-DS6qBEo7.js +0 -1
- package/eds-tooltip.entry-sjwuhdKF.js +0 -1
- package/incorrect-use-of-colors.entry-DkY89xG1.mjs +0 -42
- package/incorrect-use-of-colors.entry-e4VhTVHS.js +0 -1
- package/index-D2H_BflF.js +0 -21
- package/keycloak-13893af6-NiM3zoVg.js +0 -9
- package/logo-variations-horizontal_2.entry-BeQ_r9Li.js +0 -7
- package/logo-variations-horizontal_2.entry-CC7tj8Hr.mjs +0 -29
- package/logo-wrong-usage.entry-Ct1Ae63m.mjs +0 -14
- package/logo-wrong-usage.entry-DkqcMaqp.js +0 -1
- package/token-ratios.entry-aBiRsmfr.js +0 -1
- package/token-spacing.entry-C5HX4qPq.mjs +0 -12
- package/token-spacing.entry-DDiMRsNO.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-D_kZU_4I.js"),l=class{constructor(e){s.registerInstance(this,e),this.events=void 0,this.selectedEvent=null,this.parsedEvents=[]}parseEvents(e){let t;if(typeof e=="string")try{t=JSON.parse(e)}catch(i){console.error("Error parsing timeline events JSON",i),t=[]}else Array.isArray(e)?t=e:t=[];this.parsedEvents=Array.isArray(t)?t.map(i=>Object.assign(Object.assign({},i),{completed:i.completed==="true"||i.completed===!0})):[]}componentWillLoad(){this.parseEvents(this.events)}componentDidLoad(){this.el.querySelectorAll("eds-card-generic").forEach(t=>{this.emitContext(t)})}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}handleEventClick(e){this.selectedEvent=e,this.modalRef&&typeof this.modalRef.open=="function"&&this.modalRef.open()}render(){return s.h("div",{key:"1ba4a93ce518b52f5821af75ae0587c44db92c6d",class:"max-w-sidebar mx-auto px-4 py-8"},s.h("div",{key:"3e019420ddd4bfab7800567c7130299ea47205c6",class:"relative"},s.h("div",{key:"df99ce8fb08232c46449d7485dd7cffcd04b64d6",class:"absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0"}),s.h("div",{key:"1b52694d2e8c3656910c02680aa8ce2e78b02997",class:"space-y-16"},this.parsedEvents.map((e,t)=>s.h("div",{class:"relative flex"},s.h("div",{class:`w-1/2 ${t%2===0?"pr-4":""}`},t%2===0&&s.h("eds-card-generic",{cardTitle:e.title,url:"#",description:e.description,"heading-level":"h2",tiny:!0,bg:!e.completed,"with-hover":"false",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})),s.h("div",{class:"flex items-center justify-center relative"},e.completed?s.h("div",{class:"w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center"}):s.h("div",{class:"w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center"})),s.h("div",{class:`w-1/2 ${t%2!==0?"pl-4":""}`},t%2!==0&&s.h("eds-card-generic",{cardTitle:e.title,url:"#",description:e.description,"heading-level":"h2",tiny:!0,bg:!e.completed,"with-hover":"false",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})))))))}get el(){return s.getElement(this)}static get watchers(){return{events:["parseEvents"]}}};exports.eds_timeline=l;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as l, h as s, g as a } from "./index-
|
|
1
|
+
import { r as l, h as s, g as a } from "./index-C-Gy1Lax.mjs";
|
|
2
2
|
const c = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
l(this, e), this.events = void 0, this.selectedEvent = null, this.parsedEvents = [];
|
|
@@ -35,7 +35,7 @@ const c = class {
|
|
|
35
35
|
this.selectedEvent = e, this.modalRef && typeof this.modalRef.open == "function" && this.modalRef.open();
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return s("div", { key: "
|
|
38
|
+
return s("div", { key: "1ba4a93ce518b52f5821af75ae0587c44db92c6d", class: "max-w-sidebar mx-auto px-4 py-8" }, s("div", { key: "3e019420ddd4bfab7800567c7130299ea47205c6", class: "relative" }, s("div", { key: "df99ce8fb08232c46449d7485dd7cffcd04b64d6", class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), s("div", { key: "1b52694d2e8c3656910c02680aa8ce2e78b02997", class: "space-y-16" }, this.parsedEvents.map((e, t) => s("div", { class: "relative flex" }, s("div", { class: `w-1/2 ${t % 2 === 0 ? "pr-4" : ""}` }, t % 2 === 0 && s("eds-card-generic", { cardTitle: e.title, url: "#", description: e.description, "heading-level": "h2", tiny: !0, bg: !e.completed, "with-hover": "false", tags: JSON.stringify(e.completed ? [{ label: "completed", style: "accent" }] : [{ label: "pending", style: "default" }]), onClick: () => this.handleEventClick(e) })), s("div", { class: "flex items-center justify-center relative" }, e.completed ? s("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" }) : s("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" })), s("div", { class: `w-1/2 ${t % 2 !== 0 ? "pl-4" : ""}` }, t % 2 !== 0 && s("eds-card-generic", { cardTitle: e.title, url: "#", description: e.description, "heading-level": "h2", tiny: !0, bg: !e.completed, "with-hover": "false", tags: JSON.stringify(e.completed ? [{ label: "completed", style: "accent" }] : [{ label: "pending", style: "default" }]), onClick: () => this.handleEventClick(e) })))))));
|
|
39
39
|
}
|
|
40
40
|
get el() {
|
|
41
41
|
return a(this);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as f, h as l, g as c } from "./index-
|
|
2
|
-
import { s as h } from "./
|
|
1
|
+
import { r as f, h as l, g as c } from "./index-C-Gy1Lax.mjs";
|
|
2
|
+
import { s as h } from "./analytics-1cde8e4a-BDRcCMlV.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
|
f(this, t), this.content = void 0, this.position = "above", this.isVisible = !1, this.isPositioned = !1, this.tooltipStyle = { top: "0px", left: "0px", transform: "" };
|
|
@@ -61,7 +61,7 @@ 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: "1635b034319df4827a62ed58267d81db277ad19d", class: "relative" }, l("slot", { key: "6cdfd0f6d456b984464c5091a2829cdba69ba895" }), this.isVisible && this.isPositioned && this.content && l("div", { key: "7e736731dc700e0273fdfe15202426d2db086aef", 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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-D_kZU_4I.js"),f=require("./analytics-1cde8e4a-B_MD-9qW.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:"1635b034319df4827a62ed58267d81db277ad19d",class:"relative"},i.h("slot",{key:"6cdfd0f6d456b984464c5091a2829cdba69ba895"}),this.isVisible&&this.isPositioned&&this.content&&i.h("div",{key:"7e736731dc700e0273fdfe15202426d2db086aef",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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as i, h as
|
|
2
|
-
const
|
|
1
|
+
import { r as i, h as e } from "./index-C-Gy1Lax.mjs";
|
|
2
|
+
const o = class {
|
|
3
3
|
constructor(a) {
|
|
4
4
|
i(this, a), this.applications = void 0;
|
|
5
5
|
}
|
|
@@ -8,8 +8,8 @@ const c = class {
|
|
|
8
8
|
if (typeof this.applications == "string")
|
|
9
9
|
try {
|
|
10
10
|
a = JSON.parse(this.applications || "[]");
|
|
11
|
-
} catch (
|
|
12
|
-
console.error("Invalid applications trl JSON",
|
|
11
|
+
} catch (t) {
|
|
12
|
+
console.error("Invalid applications trl JSON", t), a = [];
|
|
13
13
|
}
|
|
14
14
|
else Array.isArray(this.applications) && (a = this.applications);
|
|
15
15
|
return a;
|
|
@@ -18,17 +18,17 @@ const c = class {
|
|
|
18
18
|
return Math.ceil(a / 9 * 100);
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
const
|
|
21
|
+
const t = this.getParsedApplications().map((r) => ({
|
|
22
22
|
Application: r.name,
|
|
23
23
|
"Current TRL Stage": `TRL ${r.currentTrl}`,
|
|
24
|
-
Progress:
|
|
24
|
+
Progress: e("div", { class: "w-[200px]" }, e("eds-progress-bar", { value: this.calculateProgress(r.currentTrl) }))
|
|
25
25
|
})), s = {
|
|
26
26
|
Application: { format: "code" },
|
|
27
27
|
"Current TRL Stage": { format: "text" }
|
|
28
28
|
};
|
|
29
|
-
return
|
|
29
|
+
return e("div", { key: "a329a001d6275fcfe7df9bddf83bd289effe4151", class: "container mx-auto px-4 py-8" }, e("eds-table", { key: "93aebfd840b16416789b15eec0daa16d9126aa9f", data: JSON.stringify(t), config: JSON.stringify(s), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" }));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
o as eds_trl
|
|
34
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-D_kZU_4I.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(a){console.error("Invalid applications trl JSON",a),e=[]}else Array.isArray(this.applications)&&(e=this.applications);return e}calculateProgress(e){return Math.ceil(e/9*100)}render(){const a=this.getParsedApplications().map(r=>({Application:r.name,"Current TRL Stage":`TRL ${r.currentTrl}`,Progress:t.h("div",{class:"w-[200px]"},t.h("eds-progress-bar",{value:this.calculateProgress(r.currentTrl)}))})),s={Application:{format:"code"},"Current TRL Stage":{format:"text"}};return t.h("div",{key:"a329a001d6275fcfe7df9bddf83bd289effe4151",class:"container mx-auto px-4 py-8"},t.h("eds-table",{key:"93aebfd840b16416789b15eec0daa16d9126aa9f",data:JSON.stringify(a),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-D_kZU_4I.js"),a=require("./keycloak-d502ec16-m7LwS-Gh.js"),s=require("./toastManager-d9eee791-DvR_vUPI.js"),r=class{constructor(t){e.registerInstance(this,t),this.authStatusChanged=e.createEvent(this,"authStatusChanged",7),this.handleLogin=()=>{if(!this.authenticated)try{a.login()}catch(i){s.toast.show(i.message,"error")}},this.handleLogout=async()=>{try{await a.logout()}catch(i){s.toast.show(i.message,"error")}this.authenticated=!1,this.user=null},this.keycloakUrl=void 0,this.keycloakRealm=void 0,this.keycloakClientId=void 0,this.user=null,this.authenticated=!1,this.username="",this.serverAvailable=!1}async componentWillLoad(){if(!this.keycloakUrl||!this.keycloakRealm||!this.keycloakClientId){console.error("Keycloak configuration props are missing.");return}if(this.serverAvailable=await a.checkServerAvailability(`${this.keycloakUrl}/realms/${this.keycloakRealm}`),!this.serverAvailable){s.toast.show("Keycloak server is unavailable.","error");return}await this.initAuth()}async initAuth(){try{await a.initKeycloak({url:this.keycloakUrl,realm:this.keycloakRealm,clientId:this.keycloakClientId},!0),a.isAuthenticated()&&(this.user=a.getUser(),this.authenticated=!0,this.authStatusChanged.emit({authenticated:this.authenticated,user:this.user}))}catch(t){s.toast.show(t.message,"error")}}render(){var t;return e.h("div",{key:"22ee744979511dd2f8a1e1a15bb99215eadd535b",class:"block"},this.authenticated?e.h("div",{class:"flex items-center"},e.h("eds-dropdown",{label:`Welcome, ${(t=this.user)===null||t===void 0?void 0:t.username}`,intent:"tertiary","aria-label":"User Menu","dropdown-pos":"right","dropdown-offset":"false",icon:"chevron-down",class:"text-default"},e.h("eds-user-modal",{user:JSON.stringify(this.user),onLogout:this.handleLogout.bind(this)}))):e.h("eds-button",{label:"Login",intent:"primary",onClick:this.handleLogin,"extra-class":"text-default"}))}get hostEl(){return e.getElement(this)}};exports.eds_user=r;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { r as i, c as r, h as t, g as l } from "./index-C-Gy1Lax.mjs";
|
|
2
|
+
import { l as o, a as n, c as h, i as c, b as u, g as d } from "./keycloak-d502ec16-Ce0iGqyk.mjs";
|
|
3
|
+
import { t as a } from "./toastManager-d9eee791-CEYNwx25.mjs";
|
|
4
|
+
const g = class {
|
|
5
|
+
constructor(e) {
|
|
6
|
+
i(this, e), this.authStatusChanged = r(this, "authStatusChanged", 7), this.handleLogin = () => {
|
|
7
|
+
if (!this.authenticated)
|
|
8
|
+
try {
|
|
9
|
+
o();
|
|
10
|
+
} catch (s) {
|
|
11
|
+
a.show(s.message, "error");
|
|
12
|
+
}
|
|
13
|
+
}, this.handleLogout = async () => {
|
|
14
|
+
try {
|
|
15
|
+
await n();
|
|
16
|
+
} catch (s) {
|
|
17
|
+
a.show(s.message, "error");
|
|
18
|
+
}
|
|
19
|
+
this.authenticated = !1, this.user = null;
|
|
20
|
+
}, this.keycloakUrl = void 0, this.keycloakRealm = void 0, this.keycloakClientId = void 0, this.user = null, this.authenticated = !1, this.username = "", this.serverAvailable = !1;
|
|
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
|
+
if (this.serverAvailable = await h(`${this.keycloakUrl}/realms/${this.keycloakRealm}`), !this.serverAvailable) {
|
|
32
|
+
a.show("Keycloak server is unavailable.", "error");
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
await this.initAuth();
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Initializes the Keycloak authentication by configuring Keycloak with the provided props.
|
|
39
|
+
* Sets the `authenticated` state and `user` data if the user is authenticated.
|
|
40
|
+
* Emits `authStatusChanged` event with the authentication status.
|
|
41
|
+
*/
|
|
42
|
+
async initAuth() {
|
|
43
|
+
try {
|
|
44
|
+
await c({
|
|
45
|
+
url: this.keycloakUrl,
|
|
46
|
+
realm: this.keycloakRealm,
|
|
47
|
+
clientId: this.keycloakClientId
|
|
48
|
+
}, !0), u() && (this.user = d(), this.authenticated = !0, this.authStatusChanged.emit({
|
|
49
|
+
authenticated: this.authenticated,
|
|
50
|
+
user: this.user
|
|
51
|
+
}));
|
|
52
|
+
} catch (e) {
|
|
53
|
+
a.show(e.message, "error");
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
render() {
|
|
57
|
+
var e;
|
|
58
|
+
return t("div", { key: "22ee744979511dd2f8a1e1a15bb99215eadd535b", class: "block" }, this.authenticated ? t("div", { class: "flex items-center" }, t("eds-dropdown", { label: `Welcome, ${(e = this.user) === null || e === void 0 ? void 0 : e.username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, t("eds-user-modal", { user: JSON.stringify(this.user), onLogout: this.handleLogout.bind(this) }))) : t("eds-button", { label: "Login", intent: "primary", onClick: this.handleLogin, "extra-class": "text-default" }));
|
|
59
|
+
}
|
|
60
|
+
get hostEl() {
|
|
61
|
+
return l(this);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
export {
|
|
65
|
+
g as eds_user
|
|
66
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { r as i, h as e } from "./index-C-Gy1Lax.mjs";
|
|
2
|
+
const p = ":host{display:block}.stepper-container{margin:0 auto}.stepper{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:24px;counter-reset:step}.step{margin-bottom:24px}.step-label{counter-increment:step;font-size:1.25rem;font-weight:600;position:relative;margin-top:1em;margin-bottom:1em}.step-label::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.optional{font-size:0.8rem;color:#888;margin-left:8px}.step-content{margin-top:8px}.step-buttons{margin-top:12px}.step-buttons button{margin-right:8px;padding:6px 12px;font-size:0.875rem}.completed{padding:16px;border:1px solid #ddd;margin-top:16px;text-align:center}", n = p, r = class {
|
|
3
|
+
constructor(t) {
|
|
4
|
+
i(this, t), this.handleNext = () => {
|
|
5
|
+
this.activeStep < this.parsedSteps.length && (this.activeStep = this.activeStep + 1);
|
|
6
|
+
}, this.handleBack = () => {
|
|
7
|
+
this.activeStep > 0 && (this.activeStep = this.activeStep - 1);
|
|
8
|
+
}, this.handleReset = () => {
|
|
9
|
+
this.activeStep = 0;
|
|
10
|
+
}, this.steps = "[]", this.activeStep = 0;
|
|
11
|
+
}
|
|
12
|
+
get parsedSteps() {
|
|
13
|
+
try {
|
|
14
|
+
return JSON.parse(this.steps);
|
|
15
|
+
} catch {
|
|
16
|
+
return [];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
const t = this.parsedSteps;
|
|
21
|
+
return e("div", { key: "08fa2f85c49dbe217b2f9d068bee486e432f5315", class: "stepper-container" }, e("div", { key: "6f7e0a0ccaa2882794a6be0216201d1bf924e2b2", class: "stepper" }, t.map((a, s) => e("div", { class: "step", key: s }, e("div", { class: "step-label" }, e("span", null, a.label), s === t.length - 1 && e("span", { class: "f-ui-03 text-lightest ml-4" }, "(Last step)")), this.activeStep === s && e("div", { class: "step-content" }, e("p", null, a.description), e("div", { class: "step-buttons" }, e("eds-button", { label: s === t.length - 1 ? "Finish" : "Continue", class: "next-btn", onClick: this.handleNext }), e("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("div", { key: "8a5ebfed582b25d828758e1762a063df6c745093", class: "" }, e("eds-alert", { key: "a142fb50b8df533dd97f770aeaa453f2379ea7cb", intent: "success", message: "All steps completed - you're finished!" }), e("eds-button", { key: "5cfba059c9a152f179e7c31fa5d7a222c00defe2", label: "Start again", onClick: this.handleReset, "extra-class": "mt-4" })));
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
r.style = n;
|
|
25
|
+
export {
|
|
26
|
+
r as eds_vertical_stepper
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.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,i=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:"08fa2f85c49dbe217b2f9d068bee486e432f5315",class:"stepper-container"},e.h("div",{key:"6f7e0a0ccaa2882794a6be0216201d1bf924e2b2",class:"stepper"},t.map((a,s)=>e.h("div",{class:"step",key:s},e.h("div",{class:"step-label"},e.h("span",null,a.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,a.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:"8a5ebfed582b25d828758e1762a063df6c745093",class:""},e.h("eds-alert",{key:"a142fb50b8df533dd97f770aeaa453f2379ea7cb",intent:"success",message:"All steps completed - you're finished!"}),e.h("eds-button",{key:"5cfba059c9a152f179e7c31fa5d7a222c00defe2",label:"Start again",onClick:this.handleReset,"extra-class":"mt-4"})))}};i.style=p;exports.eds_vertical_stepper=i;
|
|
@@ -29,6 +29,8 @@ export declare const EdsRating: import('vue').DefineSetupFnComponent<JSX.EdsRati
|
|
|
29
29
|
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
30
|
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
31
|
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>;
|
|
32
|
+
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
|
+
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>;
|
|
32
34
|
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>;
|
|
33
35
|
export declare const EdsTabs: import('vue').DefineSetupFnComponent<JSX.EdsTabs & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTabs & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
34
36
|
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,3 +39,4 @@ export declare const EdsToast: import('vue').DefineSetupFnComponent<JSX.EdsToast
|
|
|
37
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>;
|
|
38
40
|
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>;
|
|
39
41
|
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
|
+
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 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),a=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],d=[{background:"#C461FF"},{background:"#5D3DF9"}],o=[{background:"#FFA543"},{background:"#FF4D68"}],s=[{background:"#3FA9F5"},...d,...o],r=class{constructor(c){e.registerInstance(this,c)}render(){return e.h("div",{key:"cb22d37293f3b3b5fe3772cfe83234a5d81e1094",class:"container"},e.h("eds-alert",{key:"9aa7a510440c32f92242b3e09f9e818cd2509b06",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"}),e.h("div",{key:"4d22cba75b7dd45a5a9a7d2b2eba5404875f1403",class:"flex"},e.h("div",{key:"c7f08b3e4ef2692c545edd4185a005ddd6526a23",class:"w-full"},e.h("ul",{key:"28561abcdc93a4899a5d7481fdd47c439f734ff6",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(c=>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:c.background}}))))),e.h("div",{key:"f8836d4805fdd416ee75712f749d5cee3f612559",class:"w-full"},e.h("ul",{key:"5842acd55d3a827355f2814c709d057676fb5d0f",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},s.map(c=>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:c.background}})))))))}};exports.incorrect_use_of_colors=r;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { r as a, h as e } from "./index-C-Gy1Lax.mjs";
|
|
2
|
+
const d = [
|
|
3
|
+
{
|
|
4
|
+
background: "#9CE142"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
background: "#00C959"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
background: "#00A595"
|
|
11
|
+
}
|
|
12
|
+
], s = [
|
|
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
|
+
...s,
|
|
31
|
+
...o
|
|
32
|
+
], n = class {
|
|
33
|
+
constructor(c) {
|
|
34
|
+
a(this, c);
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
return e("div", { key: "cb22d37293f3b3b5fe3772cfe83234a5d81e1094", class: "container" }, e("eds-alert", { key: "9aa7a510440c32f92242b3e09f9e818cd2509b06", message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" }), e("div", { key: "4d22cba75b7dd45a5a9a7d2b2eba5404875f1403", class: "flex" }, e("div", { key: "c7f08b3e4ef2692c545edd4185a005ddd6526a23", class: "w-full" }, e("ul", { key: "28561abcdc93a4899a5d7481fdd47c439f734ff6", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, d.map((c) => 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: c.background } }))))), e("div", { key: "f8836d4805fdd416ee75712f749d5cee3f612559", class: "w-full" }, e("ul", { key: "5842acd55d3a827355f2814c709d057676fb5d0f", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, r.map((c) => 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: c.background } })))))));
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
n as incorrect_use_of_colors
|
|
42
|
+
};
|