@ebrains/vue 0.4.0-alpha.0 → 0.6.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-44b1416b-3vYuu4Xs.mjs +28 -0
- package/analytics-44b1416b-ol77SdQE.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-BJGrNiKE.mjs} +21 -21
- package/color-primary-palette_6.entry-CYSEDId9.js +1 -0
- package/correct-use-of-colors.entry-B36yaMb6.js +1 -0
- package/correct-use-of-colors.entry-C2K5ii07.mjs +59 -0
- package/eds-accordion_13.entry-BwXBZQ7p.mjs +8044 -0
- package/eds-accordion_13.entry-DuX3jvBd.js +7375 -0
- package/eds-alert.entry-B9K7jZdM.mjs +688 -0
- package/eds-alert.entry-HNjGFpMQ.js +608 -0
- package/eds-block-break.entry-1HfuhJmn.mjs +13 -0
- package/eds-block-break.entry-DQDjLThR.js +1 -0
- package/eds-breadcrumb.entry-Oe7Iu_rp.js +1 -0
- package/eds-breadcrumb.entry-nSQcSQxS.mjs +110 -0
- package/{eds-card-project.entry-C3eyu1U0.mjs → eds-card-project.entry-BMRVlg7J.mjs} +12 -11
- package/eds-card-project.entry-BQKGTSJB.js +1 -0
- package/eds-card-tags.entry-BjvxuQg1.mjs +13 -0
- package/{eds-card-tags.entry-YPPBWdFq.js → eds-card-tags.entry-DAkoUUin.js} +1 -1
- package/eds-card-tool.entry-B0rDGNdA.js +1 -0
- package/{eds-card-tool.entry-1_RNWh8n.mjs → eds-card-tool.entry-BPrlMiqY.mjs} +7 -7
- package/{eds-card-wrapper.entry-C4pNRjIj.mjs → eds-card-wrapper.entry-Ba4ljzon.mjs} +4 -4
- package/{eds-card-wrapper.entry-BfCDGeFs.js → eds-card-wrapper.entry-DyPmlYoI.js} +1 -1
- package/{eds-code-block.entry-DQEDpAjn.js → eds-code-block.entry-B3RL-q6l.js} +3 -3
- package/{eds-code-block.entry-B2xATQ7r.mjs → eds-code-block.entry-zX5MUsAS.mjs} +47 -47
- package/{eds-components-section.entry-D08woahG.js → eds-components-section.entry-BsmIIcun.js} +45 -36
- package/{eds-components-section.entry-DR-984-3.mjs → eds-components-section.entry-xnXY70G_.mjs} +56 -37
- package/eds-cookies-preference.entry-DAQEpE8v.mjs +20 -0
- package/eds-cookies-preference.entry-MAmSehJX.js +1 -0
- package/{eds-docs-palettes.entry-qKOj3XU9.js → eds-docs-palettes.entry-BiC_mzap.js} +1 -1
- package/{eds-docs-palettes.entry-B0yU2ZpL.mjs → eds-docs-palettes.entry-CFIZWB7Y.mjs} +2 -2
- package/{eds-docs-tokens.entry-BtRXzjrp.js → eds-docs-tokens.entry-CCwf01ke.js} +1 -1
- package/{eds-docs-tokens.entry-BVHiM7cK.mjs → eds-docs-tokens.entry-ClVBrRzm.mjs} +2 -2
- package/eds-dropdown_2.entry-Dhtc1LQe.js +1 -0
- package/eds-dropdown_2.entry-Ds54Abix.mjs +115 -0
- package/eds-footer.entry-CKr0MOpU.mjs +22 -0
- package/eds-footer.entry-DuNEl6BR.js +1 -0
- package/eds-form.entry-gO7sMMVG.js +7153 -0
- package/eds-form.entry-znKH1sqi.mjs +7340 -0
- package/eds-frame.entry-BE9_G-56.js +1 -0
- package/eds-frame.entry-COwMtc5z.mjs +74 -0
- package/eds-fullscreen-menu.entry-CRIb_lLm.js +1 -0
- package/eds-fullscreen-menu.entry-DdO0Nwbq.mjs +74 -0
- package/eds-header.entry-38uAVZoC.js +2 -0
- package/eds-header.entry-C0qfjzDY.mjs +75 -0
- package/eds-icon-arrow-diagonal.entry-BTLKc1cS.js +1 -0
- package/eds-icon-arrow-diagonal.entry-C7CZIqBn.mjs +13 -0
- package/eds-icon-arrow-right.entry-Bv_6skZy.js +1 -0
- package/eds-icon-arrow-right.entry-DNkmpAdY.mjs +13 -0
- package/eds-icon-bluesky.entry-B_WksyEk.mjs +13 -0
- package/{eds-icon-bluesky.entry-Dppj9cuC.js → eds-icon-bluesky.entry-BfYrb4Uv.js} +1 -1
- package/eds-icon-chevron-down.entry-DGjMxTKO.mjs +13 -0
- package/{eds-icon-chevron-down.entry-CidjiGQS.js → eds-icon-chevron-down.entry-OPmfChgp.js} +1 -1
- package/eds-icon-chevron-left.entry-CRr4AWkS.mjs +13 -0
- package/eds-icon-chevron-left.entry-_zMMz-c9.js +1 -0
- package/eds-icon-chevron-right.entry-0FshDV46.js +1 -0
- package/{eds-icon-chevron-right.entry-iy6d6tux.mjs → eds-icon-chevron-right.entry-YLnmNxjo.mjs} +2 -2
- package/eds-icon-chevron-up.entry-DGt49ffi.js +1 -0
- package/eds-icon-chevron-up.entry-NPODej6j.mjs +13 -0
- package/eds-icon-close.entry-BQULA4ki.mjs +13 -0
- package/{eds-icon-close.entry-CE-Nory7.js → eds-icon-close.entry-BSSS65tZ.js} +1 -1
- package/eds-icon-copy.entry-Di_H0U8v.mjs +13 -0
- package/{eds-icon-copy.entry-Bpe3I5b6.js → eds-icon-copy.entry-PvAtojYn.js} +1 -1
- package/eds-icon-eu.entry-BTzpJByN.mjs +13 -0
- package/eds-icon-eu.entry-D77vjTJ9.js +1 -0
- package/eds-icon-facebook.entry-CKmUhO4W.mjs +13 -0
- package/eds-icon-facebook.entry-DsPVhA3Z.js +1 -0
- package/eds-icon-gitlab.entry-D6VEWpO6.mjs +13 -0
- package/eds-icon-gitlab.entry-Dzq7ViR-.js +1 -0
- package/{eds-icon-linkedin.entry-CstoPbTS.js → eds-icon-linkedin.entry-7PCeoMEi.js} +1 -1
- package/eds-icon-linkedin.entry-BI2sjTDa.mjs +13 -0
- package/eds-icon-loader.entry-BoQTR6PV.mjs +13 -0
- package/{eds-icon-loader.entry-CaGFh0gM.js → eds-icon-loader.entry-Bp-ZxeW7.js} +1 -1
- package/eds-icon-mastodon.entry-Cm8XCAqa.mjs +13 -0
- package/eds-icon-mastodon.entry-DsU7dMbW.js +1 -0
- package/eds-icon-menu.entry-C7HmF2n5.mjs +13 -0
- package/eds-icon-menu.entry-DRd13IcH.js +1 -0
- package/{eds-icon-more.entry-68jT9AEw.js → eds-icon-more.entry-BOWM2H9H.js} +1 -1
- package/eds-icon-more.entry-CqvnBXDu.mjs +13 -0
- package/eds-icon-search.entry-BrANR30M.mjs +13 -0
- package/eds-icon-search.entry-CubLvPO7.js +1 -0
- package/{eds-icon-success.entry-CACuZjP6.js → eds-icon-success.entry-CDwqLyts.js} +1 -1
- package/eds-icon-success.entry-CtMWWFTW.mjs +13 -0
- package/eds-icon-twitter.entry-BnhBJxrn.js +1 -0
- package/eds-icon-twitter.entry-DHTwTPKu.mjs +13 -0
- package/eds-icon-user.entry-GYJBVLsU.js +1 -0
- package/eds-icon-user.entry-LTXtb_m4.mjs +13 -0
- package/eds-icon-youtube.entry-BluzizaX.js +1 -0
- package/eds-icon-youtube.entry-BqP_g-Pb.mjs +13 -0
- package/eds-input_7.entry-Bo9-yfaP.js +7167 -0
- package/eds-input_7.entry-CCX6iGUA.mjs +7373 -0
- package/eds-link.entry-B_t5O_EC.js +7288 -0
- package/eds-link.entry-D4lqKj64.mjs +7454 -0
- package/eds-login.entry-CB_gy86p.mjs +58 -0
- package/eds-login.entry-CDj80EGl.js +1 -0
- package/eds-logo-variations.entry-AbwI_N4g.mjs +22 -0
- package/{eds-logo-variations.entry-CUD-M_Fd.js → eds-logo-variations.entry-B7BEqih8.js} +1 -1
- package/eds-logo.entry-C4YV268f.mjs +61 -0
- package/eds-logo.entry-D-2GjdZl.js +1 -0
- package/eds-modal.entry-2mm8jzwO.mjs +84 -0
- package/eds-modal.entry-N0Zu-2yI.js +1 -0
- package/{eds-navigator.entry-BJTqtqld.js → eds-navigator.entry-Bd0BYBJE.js} +1 -1
- package/{eds-navigator.entry-DdzcXSRW.mjs → eds-navigator.entry-DJHFUppb.mjs} +2 -2
- package/eds-pagination_2.entry-N7stHjY-.js +1 -0
- package/{eds-pagination_2.entry-B5PLo2Uu.mjs → eds-pagination_2.entry-T_lnxySd.mjs} +9 -9
- package/{eds-progress-bar.entry-DdqH0plT.mjs → eds-progress-bar.entry-BpqT4TGP.mjs} +5 -5
- package/{eds-progress-bar.entry-BBFsASiy.js → eds-progress-bar.entry-C-qHC2dN.js} +1 -1
- package/eds-rating.entry-C1djorgY.js +1 -0
- package/eds-rating.entry-DJbkld-l.mjs +48 -0
- package/{eds-section-core_2.entry-D3HYngR_.mjs → eds-section-core_2.entry-BwoSUszo.mjs} +6 -6
- package/{eds-section-core_2.entry-D_nLUa29.js → eds-section-core_2.entry-JyCa51Zs.js} +1 -1
- package/eds-social-networks.entry-CWw8CODU.mjs +50 -0
- package/eds-social-networks.entry-CveQgGlC.js +1 -0
- package/eds-steps.entry-NC8mexCJ.js +1 -0
- package/eds-steps.entry-gPHX8t5y.mjs +37 -0
- package/{eds-svg-repository.entry-in72TP_1.js → eds-svg-repository.entry-BhAWpTfJ.js} +2 -2
- package/{eds-svg-repository.entry-C-kayEdW.mjs → eds-svg-repository.entry-DeKbE1sw.mjs} +2 -2
- package/eds-switch.entry-6C-fiD1f.js +1 -0
- package/eds-switch.entry-LXqTebs4.mjs +20 -0
- package/{eds-tab.entry-BKYSiEkl.mjs → eds-tab.entry-7_C7zAnd.mjs} +2 -2
- package/{eds-tab.entry-BUzZWKac.js → eds-tab.entry-BI3X5Amp.js} +1 -1
- package/{eds-tabs-content.entry-3cyCQAth.mjs → eds-tabs-content.entry-BYK_ciTB.mjs} +6 -6
- package/eds-tabs-content.entry-FqonRXn9.js +1 -0
- package/{eds-tabs.entry-B8q09in2.mjs → eds-tabs.entry-CCGBUoii.mjs} +7 -7
- package/eds-tabs.entry-VauMxz1h.js +1 -0
- package/{eds-timeline.entry-DhHSQScv.mjs → eds-timeline.entry-B-eABvy-.mjs} +2 -2
- package/{eds-timeline.entry-DEcov8mq.js → eds-timeline.entry-UjKckHoD.js} +1 -1
- package/{eds-tooltip.entry-BTunlfGS.mjs → eds-tooltip.entry-BSd2vlEo.mjs} +3 -3
- package/eds-tooltip.entry-D9pRQyxl.js +1 -0
- package/{eds-trl.entry-Bt28XH55.mjs → eds-trl.entry-C1CKXjzi.mjs} +8 -8
- package/{eds-trl.entry-BHrlC_5O.js → eds-trl.entry-DdPaX9aY.js} +1 -1
- package/eds-user.entry-BX3nKCHB.mjs +66 -0
- package/eds-user.entry-CyEG-Wtm.js +1 -0
- package/eds-vertical-stepper.entry-CdmDXaW2.mjs +27 -0
- package/eds-vertical-stepper.entry-DphlSSa0.js +1 -0
- package/generated/components.d.ts +3 -0
- package/incorrect-use-of-colors.entry-BhygRTdu.js +1 -0
- package/incorrect-use-of-colors.entry-QkMrxvFS.mjs +42 -0
- package/{index-I5Asbjce.mjs → index-Df31uHzU.mjs} +609 -510
- package/index-DvG3cC-8.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-GnVq-srD.mjs → logo-space.entry-CChbx8AS.mjs} +7 -7
- package/{logo-space.entry-DsM5jXgX.js → logo-space.entry-q9Uznxi3.js} +1 -1
- package/logo-variations-horizontal_2.entry-DA_yMnFa.mjs +29 -0
- package/logo-variations-horizontal_2.entry-G3ih093R.js +7 -0
- package/logo-wrong-usage.entry-BoBmwzLl.mjs +14 -0
- package/logo-wrong-usage.entry-l4pJC0KB.js +1 -0
- package/package.json +1 -1
- package/{token-list_3.entry-DaIOT7_R.js → token-list_3.entry-B4bQ3_yz.js} +1 -1
- package/{token-list_3.entry-CReCwFzO.mjs → token-list_3.entry-CJXI55T0.mjs} +4 -4
- package/{token-ratios.entry-Dh8kvz8R.mjs → token-ratios.entry-LNQoHORe.mjs} +2 -2
- package/token-ratios.entry-hdef-MAq.js +1 -0
- package/token-spacing.entry-YXQwnYx0.mjs +12 -0
- package/token-spacing.entry-xhNHm9Tw.js +1 -0
- package/{token-typography.entry-DG-4k5gY.js → token-typography.entry-DddK_fiy.js} +1 -1
- package/{token-typography.entry-CIETKadf.mjs → token-typography.entry-qTyV0EeH.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-section.entry-DU-1TB0I.js +0 -1
- package/eds-card-section.entry-Dxk-Ob_Y.mjs +0 -39
- 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-matomo-notice.entry-kSuLDx9K.mjs +0 -91
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-DvG3cC-8.js"),n=".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:24px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-error{color:var(--red-700)}.text-extra-light{color:var(--grey-300)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.mb-28{margin-bottom:1.75rem}",o=n,r=class{constructor(e){t.registerInstance(this,e),this.stepClick=t.createEvent(this,"stepClick",7),this.handleNext=()=>{this.activeStep<this.parsedSteps.length&&(this.activeStep=this.activeStep+1)},this.handleBack=()=>{this.activeStep>0&&(this.activeStep=this.activeStep-1)},this.steps=[],this.type="static",this.activeStep=0}handleStepClick(e){this.stepClick.emit(e),this.type==="linear"&&(this.activeStep=e)}get parsedSteps(){if(typeof this.steps=="string")try{const e=this.steps;return JSON.parse(e)}catch{return[]}return this.steps}render(){const e=this.parsedSteps;return this.type==="linear"?t.h("div",null,t.h("div",{class:"steps"},e.map((s,i)=>t.h("div",{class:"step mb-28",key:i},t.h("h3",{onClick:()=>this.handleStepClick(i)},s.title),this.activeStep===i&&t.h("div",{class:"content"},t.h("div",{class:"f-body-02 text-lighter my-16"},s.content),t.h("eds-button",{label:i===e.length-1?"Finish":"Continue",intent:"primary",class:"next-btn",onClick:this.handleNext}),t.h("eds-button",{label:"Back",intent:"ghostInverse",onClick:this.handleBack,disabled:i===0,"extra-class":i===0?"hidden":"ml-8 block"}))))),this.activeStep===e.length&&t.h("div",{class:"completed"},t.h("eds-alert",{intent:"success",message:"All steps completed - you're finished!"}))):t.h("div",{class:"steps"},e.map((s,i)=>t.h("div",{class:"step mb-28",key:i},t.h("h3",null,s.title),t.h("div",{class:"content"},t.h("div",{class:"f-body-02 text-lighter my-16"},s.content)))))}};r.style=o;exports.eds_steps=r;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { r, c as o, h as t } from "./index-Df31uHzU.mjs";
|
|
2
|
+
const n = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:24px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-error{color:var(--red-700)}.text-extra-light{color:var(--grey-300)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.mb-28{margin-bottom:1.75rem}", a = n, l = class {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
r(this, e), this.stepClick = o(this, "stepClick", 7), 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.steps = [], this.type = "static", this.activeStep = 0;
|
|
9
|
+
}
|
|
10
|
+
handleStepClick(e) {
|
|
11
|
+
this.stepClick.emit(e), this.type === "linear" && (this.activeStep = e);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Parse the JSON string into an array of steps.
|
|
15
|
+
*/
|
|
16
|
+
get parsedSteps() {
|
|
17
|
+
if (typeof this.steps == "string")
|
|
18
|
+
try {
|
|
19
|
+
const e = this.steps;
|
|
20
|
+
return JSON.parse(e);
|
|
21
|
+
} catch {
|
|
22
|
+
return [];
|
|
23
|
+
}
|
|
24
|
+
return this.steps;
|
|
25
|
+
}
|
|
26
|
+
/*private handleReset = () => {
|
|
27
|
+
this.activeStep = 0;
|
|
28
|
+
};*/
|
|
29
|
+
render() {
|
|
30
|
+
const e = this.parsedSteps;
|
|
31
|
+
return this.type === "linear" ? t("div", null, t("div", { class: "steps" }, e.map((s, i) => t("div", { class: "step mb-28", key: i }, t("h3", { onClick: () => this.handleStepClick(i) }, s.title), this.activeStep === i && t("div", { class: "content" }, t("div", { class: "f-body-02 text-lighter my-16" }, s.content), t("eds-button", { label: i === e.length - 1 ? "Finish" : "Continue", intent: "primary", class: "next-btn", onClick: this.handleNext }), t("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: i === 0, "extra-class": i === 0 ? "hidden" : "ml-8 block" }))))), this.activeStep === e.length && t("div", { class: "completed" }, t("eds-alert", { intent: "success", message: "All steps completed - you're finished!" }))) : t("div", { class: "steps" }, e.map((s, i) => t("div", { class: "step mb-28", key: i }, t("h3", null, s.title), t("div", { class: "content" }, t("div", { class: "f-body-02 text-lighter my-16" }, s.content)))));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
l.style = a;
|
|
35
|
+
export {
|
|
36
|
+
l as eds_steps
|
|
37
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-DvG3cC-8.js"),i=require("./eu-9ddde93a-BFtIQw9B.js"),l=require("./logo-color-7f1fd803-DRD3vZVn.js"),e=require("./logo-white-no-bg-f382f86f-DXYn3NwV.js"),n=require("./logo-color-margins-ff8ce71b-Dk06zr1Z.js"),s=require("./mono-53f70232-DgAsWvoQ.js"),c=require("./chevron-up-c66bd477-ByW7R48t.js"),h=require("./chevron-down-6144c823-D_8976Ke.js"),C=require("./chevron-right-b88ed2d4-C7dkTMvP.js"),g=require("./chevron-left-ca6c66e1-uCH5SUhm.js"),d=require("./arrow-diagonal-black-8f0494c3-DqsB6ni-.js"),a=require("./arrow-right-9322ba8a-DBcxNU_p.js"),w=require("./twitter-ac21b505-DDdHS4hB.js"),u=require("./linkedin-e8650abb-BkDrkjzY.js"),v=require("./facebook-9cb5c17f-Y_gvQ682.js"),f=require("./youtube-efbfbdc4-BLTH1Jl9.js"),p=require("./mastodon-3703ec61-C9v6Olc-.js"),L=require("./bluesky-cc5edd2d-DaFQc-pr.js"),k=require("./search-fbcd79c2-BMxCaeEk.js"),M=require("./loader-c9628637-Vj8Wt1e8.js"),b=require("./success-443809da-BUEhLsAD.js"),m=require("./close-87fc0d63-Cbd-ScJr.js"),x=require("./menu-340ea948-ZdelWVw3.js"),q=require("./more-4449d549-D4HA1cRq.js"),B=require("./user-71ebdc15-BBKQbcQD.js"),Z=require("./copy-03b72cb6-CZAFAegx.js"),y=` <svg width="20" height="20" viewBox="0 0 36 36">
|
|
2
2
|
<path fill="#e24329" d="M2 14l9.38 9v-9l-4-12.28c-.205-.632-1.176-.632-1.38 0z"></path>
|
|
3
3
|
<path fill="#e24329" d="M34 14l-9.38 9v-9l4-12.28c.205-.632 1.176-.632 1.38 0z"></path>
|
|
4
4
|
<path fill="#e24329" d="M18,34.38 3,14 33,14 Z"></path>
|
|
@@ -189,4 +189,4 @@ xmlns="http://www.w3.org/2000/svg"
|
|
|
189
189
|
d="M8.78976 12.086V11.9135C8.79306 11.3215 8.8442 10.8495 8.94319 10.4977C9.04547 10.1458 9.19395 9.86167 9.38863 9.64515C9.5833 9.42864 9.81757 9.23242 10.0914 9.0565C10.296 8.92118 10.4791 8.78078 10.6408 8.63531C10.8025 8.48984 10.9312 8.32915 11.0268 8.15323C11.1225 7.97392 11.1704 7.77433 11.1704 7.55443C11.1704 7.321 11.1159 7.11632 11.0071 6.9404C10.8982 6.76448 10.7513 6.62916 10.5666 6.53444C10.3851 6.43971 10.1838 6.39235 9.96275 6.39235C9.74828 6.39235 9.54536 6.4414 9.35398 6.53951C9.16261 6.63424 9.00588 6.77632 8.8838 6.96578C8.76171 7.15184 8.69572 7.38358 8.68582 7.66099H6.6665C6.683 6.98438 6.84138 6.42618 7.14164 5.98638C7.4419 5.5432 7.83949 5.21336 8.33442 4.99684C8.82935 4.77694 9.37543 4.66699 9.97265 4.66699C10.6293 4.66699 11.21 4.77863 11.7148 5.00191C12.2196 5.22181 12.6156 5.54151 12.9026 5.96101C13.1897 6.38051 13.3332 6.88627 13.3332 7.47831C13.3332 7.87412 13.2689 8.22596 13.1402 8.53382C13.0148 8.83829 12.8383 9.10894 12.6106 9.34575C12.383 9.57918 12.114 9.79062 11.8039 9.98007C11.5432 10.1391 11.3288 10.3048 11.1605 10.4774C10.9955 10.6499 10.8718 10.8495 10.7893 11.0762C10.7101 11.3028 10.6688 11.5819 10.6655 11.9135V12.086H8.78976ZM9.76972 15.3338C9.43977 15.3338 9.15766 15.2153 8.92339 14.9785C8.69242 14.7383 8.57859 14.4508 8.58189 14.1159C8.57859 13.7843 8.69242 13.5001 8.92339 13.2633C9.15766 13.0265 9.43977 12.9081 9.76972 12.9081C10.0832 12.9081 10.3587 13.0265 10.5963 13.2633C10.8338 13.5001 10.9543 13.7843 10.9576 14.1159C10.9543 14.3391 10.8965 14.5438 10.7843 14.7299C10.6754 14.9126 10.5319 15.0597 10.3537 15.1714C10.1756 15.2796 9.98089 15.3338 9.76972 15.3338Z"
|
|
190
190
|
fill="currentColor"
|
|
191
191
|
/>
|
|
192
|
-
</svg>`,j=Object.freeze({__proto__:null,twitter:w.twitter,linkedin:u.linkedin,facebook:v.facebook,youtube:f.youtube,mastodon:p.mastodon,bluesky:L.bluesky,euSvg:i.euSvg,arrowRight:a.arrowRight,arrowDiagonal:d.arrowDiagonal,chevronUp:c.chevronUp,chevronDown:h.chevronDown,chevronRight:C.chevronRight,chevronLeft:g.chevronLeft,check:E,clear:S,close:m.close,completed:H,copy:Z.copy,documentation:N,download:R,error:W,gitlabColor:y,gitlabBlack:s.gitlabBlack,loader:M.loader,hLogoColor:l.hLogoColor,hLogoBlack:e.hLogoBlack,hLogoColorWhite:e.hLogoColorWhite,hLogoWhite:e.hLogoWhite,hLogoWhiteNoBg:e.hLogoWhiteNoBg,vLogoColor:e.vLogoColor,vLogoBlack:e.vLogoBlack,vLogoColorWhite:e.vLogoColorWhite,vLogoWhite:e.vLogoWhite,vLogoWhiteNoBg:e.vLogoWhiteNoBg,vLogoMargins:n.vLogoMargins,menu:x.menu,more:q.more,failed:V,filter:_,group:z,user:B.user,search:k.search,success:b.success,warning:D,unknown:O}),F=class{constructor(o){r.registerInstance(this,o)}getSvgData(){return Object.entries(j).filter(([o])=>!o.toLowerCase().includes("logo")&&!o.toLowerCase().includes("eu")).map(([o,t])=>({name:o,icon:t}))}get hostWidth(){return this.hostEl.parentElement?this.hostEl.parentElement.offsetWidth:400}render(){const o=this.getSvgData(),t={icon:{format:"svg"},name:{format:"bold"}};return r.h("eds-table",{key:"
|
|
192
|
+
</svg>`,j=Object.freeze({__proto__:null,twitter:w.twitter,linkedin:u.linkedin,facebook:v.facebook,youtube:f.youtube,mastodon:p.mastodon,bluesky:L.bluesky,euSvg:i.euSvg,arrowRight:a.arrowRight,arrowDiagonal:d.arrowDiagonal,chevronUp:c.chevronUp,chevronDown:h.chevronDown,chevronRight:C.chevronRight,chevronLeft:g.chevronLeft,check:E,clear:S,close:m.close,completed:H,copy:Z.copy,documentation:N,download:R,error:W,gitlabColor:y,gitlabBlack:s.gitlabBlack,loader:M.loader,hLogoColor:l.hLogoColor,hLogoBlack:e.hLogoBlack,hLogoColorWhite:e.hLogoColorWhite,hLogoWhite:e.hLogoWhite,hLogoWhiteNoBg:e.hLogoWhiteNoBg,vLogoColor:e.vLogoColor,vLogoBlack:e.vLogoBlack,vLogoColorWhite:e.vLogoColorWhite,vLogoWhite:e.vLogoWhite,vLogoWhiteNoBg:e.vLogoWhiteNoBg,vLogoMargins:n.vLogoMargins,menu:x.menu,more:q.more,failed:V,filter:_,group:z,user:B.user,search:k.search,success:b.success,warning:D,unknown:O}),F=class{constructor(o){r.registerInstance(this,o)}getSvgData(){return Object.entries(j).filter(([o])=>!o.toLowerCase().includes("logo")&&!o.toLowerCase().includes("eu")).map(([o,t])=>({name:o,icon:t}))}get hostWidth(){return this.hostEl.parentElement?this.hostEl.parentElement.offsetWidth:400}render(){const o=this.getSvgData(),t={icon:{format:"svg"},name:{format:"bold"}};return r.h("eds-table",{key:"a7d7fa426da72e174880a300202390c1016b74df",data:JSON.stringify(o),config:JSON.stringify(t),"rows-per-page":10,"search-enabled":!0,"pagination-enabled":!0,"host-width":this.hostWidth})}get hostEl(){return r.getElement(this)}};exports.eds_svg_repository=F;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as e, g as i } from "./index-
|
|
1
|
+
import { r, h as e, g as i } from "./index-Df31uHzU.mjs";
|
|
2
2
|
import { e as s } from "./eu-9ddde93a-ft4szvR5.mjs";
|
|
3
3
|
import { h as l } from "./logo-color-7f1fd803-CFgbXdt8.mjs";
|
|
4
4
|
import { h, a as n, b as a, c as C, v as c, d as g, e as d, f as w, g as p } from "./logo-white-no-bg-f382f86f-YhfmNmGG.mjs";
|
|
@@ -282,7 +282,7 @@ xmlns="http://www.w3.org/2000/svg"
|
|
|
282
282
|
icon: { format: "svg" },
|
|
283
283
|
name: { format: "bold" }
|
|
284
284
|
};
|
|
285
|
-
return e("eds-table", { key: "
|
|
285
|
+
return e("eds-table", { key: "a7d7fa426da72e174880a300202390c1016b74df", data: JSON.stringify(o), config: JSON.stringify(t), "rows-per-page": 10, "search-enabled": !0, "pagination-enabled": !0, "host-width": this.hostWidth });
|
|
286
286
|
}
|
|
287
287
|
get hostEl() {
|
|
288
288
|
return i(this);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.js"),i=":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-size:14px;margin:0 8px}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch:focus{outline:none;box-shadow:0 0 0 2px #007aff}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}",c=i,s=class{constructor(t){e.registerInstance(this,t),this.change=e.createEvent(this,"change",7),this.toggleSwitch=()=>{this.disabled||(this.checked=!this.checked,this.change.emit(this.checked))},this.checked=!1,this.disabled=!1,this.labelOn="",this.labelOff=""}render(){const t=this.labelOn||this.labelOff?this.checked?this.labelOn:this.labelOff:"Toggle switch";return e.h("div",{key:"d4c727cbb562921b2bcba269e84f25c359c7061b",class:"switch-container"},this.labelOff&&e.h("span",{key:"90b18fff27bd21501466deb5879e5fe6ff607043",class:"switch-label switch-label--off"},this.labelOff),e.h("button",{key:"8675f5d9f972d3932710fa7f9b28f74f95a83003",type:"button",role:"switch","aria-checked":this.checked?"true":"false","aria-disabled":this.disabled?"true":"false","aria-label":t,class:{switch:!0,"switch--checked":this.checked,"switch--disabled":this.disabled},onClick:this.toggleSwitch,disabled:this.disabled},e.h("span",{key:"26aa30a01b10419c1665b1fd58b5696a02d1504a",class:"switch-handle"})),this.labelOn&&e.h("span",{key:"3680d67555e9193a97e129c0639b411263e070a8",class:"switch-label switch-label--on"},this.labelOn))}};s.style=c;exports.eds_switch=s;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { r as s, c as i, h as e } from "./index-Df31uHzU.mjs";
|
|
2
|
+
const c = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-size:14px;margin:0 8px}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch:focus{outline:none;box-shadow:0 0 0 2px #007aff}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}", a = c, l = class {
|
|
3
|
+
constructor(t) {
|
|
4
|
+
s(this, t), this.change = i(this, "change", 7), this.toggleSwitch = () => {
|
|
5
|
+
this.disabled || (this.checked = !this.checked, this.change.emit(this.checked));
|
|
6
|
+
}, this.checked = !1, this.disabled = !1, this.labelOn = "", this.labelOff = "";
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
const t = this.labelOn || this.labelOff ? this.checked ? this.labelOn : this.labelOff : "Toggle switch";
|
|
10
|
+
return e("div", { key: "d4c727cbb562921b2bcba269e84f25c359c7061b", class: "switch-container" }, this.labelOff && e("span", { key: "90b18fff27bd21501466deb5879e5fe6ff607043", class: "switch-label switch-label--off" }, this.labelOff), e("button", { key: "8675f5d9f972d3932710fa7f9b28f74f95a83003", type: "button", role: "switch", "aria-checked": this.checked ? "true" : "false", "aria-disabled": this.disabled ? "true" : "false", "aria-label": t, class: {
|
|
11
|
+
switch: !0,
|
|
12
|
+
"switch--checked": this.checked,
|
|
13
|
+
"switch--disabled": this.disabled
|
|
14
|
+
}, onClick: this.toggleSwitch, disabled: this.disabled }, e("span", { key: "26aa30a01b10419c1665b1fd58b5696a02d1504a", class: "switch-handle" })), this.labelOn && e("span", { key: "3680d67555e9193a97e129c0639b411263e070a8", class: "switch-label switch-label--on" }, this.labelOn));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
l.style = a;
|
|
18
|
+
export {
|
|
19
|
+
l as eds_switch
|
|
20
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, h as t } from "./index-
|
|
1
|
+
import { r as e, h as t } from "./index-Df31uHzU.mjs";
|
|
2
2
|
import { c as r } from "./index-39c58238-BwYCDOHZ.mjs";
|
|
3
3
|
const n = class {
|
|
4
4
|
constructor(a) {
|
|
@@ -23,7 +23,7 @@ const n = class {
|
|
|
23
23
|
}), this.label = void 0, this.url = void 0, this.active = !1, this.ariaLabel = void 0;
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return t("a", { key: "
|
|
26
|
+
return t("a", { key: "a55be2a07e554ab13a0d7e913710382d6126da57", "aria-label": this.label, "aria-current": this.active, class: this.tabCva({ active: this.active }) }, this.label);
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
export {
|
|
@@ -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-DvG3cC-8.js"),a=require("./index-39c58238-SQ-JC-LH.js"),i=class{constructor(t){e.registerInstance(this,t),this.tabCva=a.cva(["cursor-pointer","text-gray-700","hover:text-black","focus:outline-none","focus-visible:ring"],{variants:{active:{true:"border-blue-500 font-bold text-blue-600",false:"border-transparent"}},defaultVariants:{active:!1}}),this.label=void 0,this.url=void 0,this.active=!1,this.ariaLabel=void 0}render(){return e.h("a",{key:"a55be2a07e554ab13a0d7e913710382d6126da57","aria-label":this.label,"aria-current":this.active,class:this.tabCva({active:this.active})},this.label)}};exports.eds_tab=i;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r, c as n, h as s, g as o } from "./index-
|
|
2
|
-
import { s as l } from "./
|
|
3
|
-
import { c
|
|
1
|
+
import { r, c as n, h as s, g as o } from "./index-Df31uHzU.mjs";
|
|
2
|
+
import { s as l } from "./analytics-44b1416b-3vYuu4Xs.mjs";
|
|
3
|
+
import { c } from "./index-39c58238-BwYCDOHZ.mjs";
|
|
4
4
|
const h = class {
|
|
5
5
|
constructor(e) {
|
|
6
|
-
r(this, e), this.tabContentChange = n(this, "tabContentChange", 7), this.tabCva =
|
|
6
|
+
r(this, e), this.tabContentChange = n(this, "tabContentChange", 7), this.tabCva = c([
|
|
7
7
|
"relative px-16 py-12",
|
|
8
8
|
"f-ui-03 whitespace-nowrap",
|
|
9
9
|
"effect-color",
|
|
@@ -87,10 +87,10 @@ const h = class {
|
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return s("div", { key: "
|
|
90
|
+
return s("div", { key: "d94df79c55522088de5445587758a5eea028b313", class: "after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, s("div", { key: "e7d01a2e6b424c25749c0d70305fb1c8c55bef74", class: "scroller-x max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, s("nav", { key: "ef8ff8a02e570dfcf8143997ace793a65917e6ca", ref: (e) => this.tabContainer = e, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((e, t) => {
|
|
91
91
|
const a = this.getTabOptions(e.active, t);
|
|
92
92
|
return s("eds-tab", Object.assign({}, a, { label: e.label, url: e.url, active: t === this.activeIndex, ariaLabel: e.ariaLabel, onClick: () => this.handleTabClick(t, e.label) }));
|
|
93
|
-
})), s("slot", { key: "
|
|
93
|
+
})), s("slot", { key: "8f014081c3bc2a8a3013aea3aff32690d6f71c85" })));
|
|
94
94
|
}
|
|
95
95
|
get el() {
|
|
96
96
|
return o(this);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-DvG3cC-8.js"),r=require("./analytics-44b1416b-ol77SdQE.js"),n=require("./index-39c58238-SQ-JC-LH.js"),o=class{constructor(e){i.registerInstance(this,e),this.tabContentChange=i.createEvent(this,"tabContentChange",7),this.tabCva=n.cva(["relative px-16 py-12","f-ui-03 whitespace-nowrap","effect-color","focus-visible:text-default hover:text-default","border-2","after:content-[''] after:absolute after:inset-0 after:rounded-t-lg after:border-3 after:border-accent after:opacity-0","outline-none focus:outline-none focus-visible:outline-none focus-visible:after:opacity-100"],{variants:{position:{left:"rounded-tl-lg border-r-0 pr-28 -mr-16 after:right-16",right:"rounded-tr-lg border-l-0 pl-28 -ml-16 after:left-16",center:"",first:"rounded-t-lg"},active:{false:"text-lighter bg-dark hover:bg-darker border-softest",true:["bg-default text-default z-99","rounded-t-lg","before:content-[''] before:absolute before:-bottom-2 z-1 before:inset-x-0 before:h-3 before:bg-default","border-[#d2d2d2]"]}}}),this.navAriaLabel="Tabs",this.tabs=void 0,this.parsedTabs=[],this.activeIndex=-1}componentWillLoad(){this.parseTabs(),this.setActiveIndex()}parseTabs(){try{this.parsedTabs=JSON.parse(this.tabs)}catch{this.parsedTabs=[]}}componentDidLoad(){this.initializeTabContentVisibility(),this.el.addEventListener("tabContentChange",e=>{this.updateTabContentVisibility(e.detail.index)}),this.scrollToActiveTab()}initializeTabContentVisibility(){this.el.querySelectorAll(".tab-content").forEach((t,a)=>{t.setAttribute("style",`display: ${a===this.activeIndex?"block":"none"}`)})}updateTabContentVisibility(e){this.el.querySelectorAll(".tab-content").forEach((a,s)=>{a.setAttribute("style",`display: ${s===e?"block":"none"}`)})}setActiveIndex(){this.activeIndex=this.parsedTabs.findIndex(e=>e.active)}scrollToActiveTab(){var e;const t=(e=this.tabContainer)===null||e===void 0?void 0:e.querySelector("[data-tab-active]");t&&setTimeout(()=>{t.scrollIntoView({inline:"center",block:"nearest"})},316)}getTabOptions(e,t){const a=e?"center":this.activeIndex===-1&&t===0?"first":t<this.activeIndex?"left":"right";return Object.assign({class:this.tabCva({active:e,position:a}),style:{zIndex:`${e?this.parsedTabs.length+99:a==="left"?t:this.parsedTabs.length+1-t}`}},e?{"data-tab-active":"true"}:{})}handleTabClick(e,t){this.activeIndex=e,this.parsedTabs=this.parsedTabs.map((a,s)=>Object.assign(Object.assign({},a),{active:s===e})),this.tabContentChange.emit({index:e,name:t}),r.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:(t==null?void 0:t.toLowerCase())||"",action:"click"})}render(){return i.h("div",{key:"d94df79c55522088de5445587758a5eea028b313",class:"after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']"},i.h("div",{key:"e7d01a2e6b424c25749c0d70305fb1c8c55bef74",class:"scroller-x max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28"},i.h("nav",{key:"ef8ff8a02e570dfcf8143997ace793a65917e6ca",ref:e=>this.tabContainer=e,class:"inline-flex","aria-label":this.navAriaLabel},this.parsedTabs.map((e,t)=>{const a=this.getTabOptions(e.active,t);return i.h("eds-tab",Object.assign({},a,{label:e.label,url:e.url,active:t===this.activeIndex,ariaLabel:e.ariaLabel,onClick:()=>this.handleTabClick(t,e.label)}))})),i.h("slot",{key:"8f014081c3bc2a8a3013aea3aff32690d6f71c85"})))}get el(){return i.getElement(this)}static get watchers(){return{tabs:["parseTabs"]}}};exports.eds_tabs_content=o;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as i, c as o, h as s, g as n } from "./index-
|
|
2
|
-
import { s as b } from "./
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
1
|
+
import { r as i, c as o, h as s, g as n } from "./index-Df31uHzU.mjs";
|
|
2
|
+
import { s as b } from "./analytics-44b1416b-3vYuu4Xs.mjs";
|
|
3
|
+
import { c as d } from "./index-39c58238-BwYCDOHZ.mjs";
|
|
4
|
+
const l = "", c = l, f = class {
|
|
5
5
|
constructor(e) {
|
|
6
|
-
i(this, e), this.tabChange = o(this, "tabChange", 7), this.tabCva =
|
|
6
|
+
i(this, e), this.tabChange = o(this, "tabChange", 7), this.tabCva = d([
|
|
7
7
|
"relative px-16 py-12",
|
|
8
8
|
"f-ui-03 whitespace-nowrap",
|
|
9
9
|
"effect-color",
|
|
@@ -92,7 +92,7 @@ const c = "", d = c, f = class {
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return s("div", { key: "
|
|
95
|
+
return s("div", { key: "5a0c7dbdd059b2a1efdf31e91725dd1d49c88bd4", id: `${this.id}`, class: "after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, s("div", { key: "74bb7e66b88d845359caf285430fca079abfab03", class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, s("nav", { key: "71ca3465da106b2d1ed59eca28eabfe60a1ac0fc", ref: (e) => this.tabContainer = e, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((e, t) => {
|
|
96
96
|
const a = this.getTabOptions(e.active, t);
|
|
97
97
|
return s("eds-tab", Object.assign({}, a, { label: e.label || e.ariaLabel, url: e.url, active: t === this.activeIndex, onClick: () => this.handleTabClick(t, e.label) }));
|
|
98
98
|
}))));
|
|
@@ -106,7 +106,7 @@ const c = "", d = c, f = class {
|
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
|
-
f.style =
|
|
109
|
+
f.style = c;
|
|
110
110
|
export {
|
|
111
111
|
f as eds_tabs
|
|
112
112
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-DvG3cC-8.js"),o=require("./analytics-44b1416b-ol77SdQE.js"),n=require("./index-39c58238-SQ-JC-LH.js"),b="",d=b,r=class{constructor(e){a.registerInstance(this,e),this.tabChange=a.createEvent(this,"tabChange",7),this.tabCva=n.cva(["relative px-16 py-12","f-ui-03 whitespace-nowrap","effect-color","focus-visible:text-default hover:text-default","border-2","after:content-[''] after:absolute after:inset-0 after:rounded-t-lg after:border-3 after:border-accent after:opacity-0","outline-none focus:outline-none focus-visible:outline-none focus-visible:after:opacity-100"],{variants:{position:{left:"rounded-tl-lg border-r-0 pr-28 -mr-16 after:right-16",right:"rounded-tr-lg border-l-0 pl-28 -ml-16 after:left-16",center:"",first:"rounded-t-lg"},active:{false:"text-lighter bg-dark hover:bg-darker border-softest",true:["bg-default text-default z-99","rounded-t-lg","before:content-[''] before:absolute before:-bottom-2 z-1 before:inset-x-0 before:h-3 before:bg-default","border-[#d2d2d2]"]}}}),this.id=void 0,this.navAriaLabel="Tabs",this.tabs=void 0,this.parsedTabs=[],this.activeIndex=-1}componentWillLoad(){this.parseTabs(),this.setActiveIndex(),this.tabChange.emit({tabId:this.id,index:0})}parseTabs(){if(Array.isArray(this.tabs))this.parsedTabs=this.tabs;else if(typeof this.tabs=="string")try{this.parsedTabs=JSON.parse(this.tabs)}catch{this.parsedTabs=[]}else this.parsedTabs=[]}componentDidLoad(){this.scrollToActiveTab()}setActiveIndex(){this.activeIndex=this.parsedTabs.findIndex(e=>e.active)}scrollToActiveTab(){var e;const t=(e=this.tabContainer)===null||e===void 0?void 0:e.querySelector("[data-tab-active]");t&&setTimeout(()=>{t.scrollIntoView({inline:"center",block:"nearest"})},316)}getTabOptions(e,t){const s=e?"center":this.activeIndex===-1&&t===0?"first":t<this.activeIndex?"left":"right";return Object.assign({class:this.tabCva({active:e,position:s}),style:{zIndex:`${e?this.parsedTabs.length+99:s==="left"?t:this.parsedTabs.length+1-t}`}},e?{"data-tab-active":"true"}:{})}handleTabClick(e,t){this.activeIndex=e,this.parsedTabs=this.parsedTabs.map((s,i)=>Object.assign(Object.assign({},s),{active:i===e})),this.tabChange.emit({tabId:this.id,index:e,name:t}),o.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:(t==null?void 0:t.toLowerCase())||"",action:"click"})}render(){return a.h("div",{key:"5a0c7dbdd059b2a1efdf31e91725dd1d49c88bd4",id:`${this.id}`,class:"after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']"},a.h("div",{key:"74bb7e66b88d845359caf285430fca079abfab03",class:"scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28"},a.h("nav",{key:"71ca3465da106b2d1ed59eca28eabfe60a1ac0fc",ref:e=>this.tabContainer=e,class:"inline-flex","aria-label":this.navAriaLabel},this.parsedTabs.map((e,t)=>{const s=this.getTabOptions(e.active,t);return a.h("eds-tab",Object.assign({},s,{label:e.label||e.ariaLabel,url:e.url,active:t===this.activeIndex,onClick:()=>this.handleTabClick(t,e.label)}))}))))}get el(){return a.getElement(this)}static get watchers(){return{tabs:["parseTabs"]}}};r.style=d;exports.eds_tabs=r;
|
|
@@ -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-Df31uHzU.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 +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-DvG3cC-8.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,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-Df31uHzU.mjs";
|
|
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
|
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-DvG3cC-8.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,c=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,p=a.offsetHeight;let r=0,l=0;switch(this.position){case"above":r=window.scrollY-p-8,l=e.left+e.width/2-d/2;break;case"below":r=p-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)}};c.style=v;exports.eds_tooltip=c;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as i, h as
|
|
2
|
-
const
|
|
1
|
+
import { r as i, h as e } from "./index-Df31uHzU.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-DvG3cC-8.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,66 @@
|
|
|
1
|
+
import { r as i, c as r, h as t, g as l } from "./index-Df31uHzU.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 f = 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: "8fe0aaf06ed421d8ca6e512247b4d15b092c895f", 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
|
+
f as eds_user
|
|
66
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DvG3cC-8.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:"8fe0aaf06ed421d8ca6e512247b4d15b092c895f",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,27 @@
|
|
|
1
|
+
import { r as i, h as e } from "./index-Df31uHzU.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-DvG3cC-8.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-DvG3cC-8.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-Df31uHzU.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
|
+
};
|