@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 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),a=require("./color-bb472c37-CKu54kOY.js"),c=class{constructor(t){e.registerInstance(this,t),this.image=void 0,this.editorialTitle=void 0,this.headingLevel="h3",this.categoryTitle=void 0,this.color=void 0,this.bgOnHover=!1,this.vertical=!1,this.titleProject=void 0,this.url=void 0,this.parsedImage=null}componentWillLoad(){if(this.image)try{this.parsedImage=JSON.parse(this.image)}catch{}}handleClick(t){var i;t.preventDefault(),a.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:((i=this.titleProject)===null||i===void 0?void 0:i.toLowerCase())||"",action:"click"})}render(){var t;const i=["min-h-156 border-inside after:border-softest @container overflow-hidden border-0 after:rounded-lg",this.color?a.gradientBGColorVariants({color:this.color,hover:this.bgOnHover,class:"before:border-2 before:rounded-lg before:border-softest"}):"bg-default",this.bgOnHover&&this.color?"effect-background bg-default focus-within:bg-transparent hover:bg-transparent":"effect-background hover:bg-default",this.vertical?"flex-col gap-y-16":"flex-col gap-x-16 gap-y-12 lg:flex-row"].join(" "),s=this.vertical?"":"max-w-120 @md:max-w-192 order-first w-full lg:order-last";return e.h("article",{key:"6af49754300ded8748ac3f40175e262480054969",class:i,onClick:r=>this.handleClick(r)},e.h("div",{key:"91e8501312957c44d9dc075f2ec3a9e5a5d425cb",class:`flex grow flex-col ${this.vertical?"min-h-156":""}`},e.h("div",{key:"44e3cf2d67255bb5669b6c721741ed060ba599e7",class:"lg:max-w-[720px]"},e.h("eds-card-title",{key:"0cf1d124b975e4d7223bab58db0d5861d348ceb2","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.titleProject,url:this.url}),this.editorialTitle&&e.h("span",{key:"85e1158691ae876bc0f3c6d0c5557f394ae935cb",class:`block ${this.vertical?"f-ui-02":"mt-4 f-heading-06"}`},this.editorialTitle)),this.categoryTitle&&e.h("div",{key:"9ffdc9f14709600b623c3a5f878b2700864ced79",class:"mt-auto flex items-center gap-x-12 pt-12"},((t=this.categoryTitle)===null||t===void 0?void 0:t.length)&&e.h("eds-tag",{key:"ecc5e55430df355c13420add9969855d1d54c27f",label:this.categoryTitle}))),this.parsedImage&&e.h("div",{key:"97de7a06a13d9843cb18fe4eb19303f436e2ce16",class:s},e.h("div",{key:"532d3c8252316a68976b4587c3d5b63167c0c598",class:"aspect-1x1 w-full"},e.h("eds-img",Object.assign({key:"37ee3dbbc99ec8c9139b0a89f9c725768eac5f6d",sizes:this.vertical?this.parsedImage.sizes||"":"192px"},this.parsedImage)))))}get el(){return e.getElement(this)}};exports.eds_card_project=c;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as t, h as s } from "./index-I5Asbjce.mjs";
|
|
2
|
-
const r = ".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}", c = r, d = class {
|
|
3
|
-
constructor(a) {
|
|
4
|
-
t(this, a), this.accent = !1, this.tags = [];
|
|
5
|
-
}
|
|
6
|
-
render() {
|
|
7
|
-
return s("div", { key: "60a129de62d45736eba0884cc24c9738f3a0f55c", class: "flex flex-wrap gap-y-4" }, this.tags.map((a, e) => s("eds-tag", { key: e, intent: this.accent ? "accent" : "default", label: a })));
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
d.style = c;
|
|
11
|
-
export {
|
|
12
|
-
d as eds_card_tags
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-D2H_BflF.js"),s=require("./color-bb472c37-CKu54kOY.js"),o=".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}",a=o,i=class{constructor(e){t.registerInstance(this,e),this.cardTitle=void 0,this.url=void 0,this.description=void 0,this.image=void 0,this.avatar=void 0,this.shortAbbreviation=void 0,this.headingLevel="h5",this.tags="",this.tiny=!1,this.bg=!0,this.withHover=!0,this.external=!1,this.hierarchy=!0}get parsedTags(){if(typeof this.tags=="object")return this.tags;if(typeof this.tags=="string")try{return JSON.parse(this.tags)}catch(e){return console.error("Error parsing links prop:",e),[]}return[]}componentWillLoad(){}parseTags(){return this.tags.split(",")}articleClasses(){return[this.tiny?"min-h-120":"min-h-156",this.bg?"bg-inverse":"bg-default",this.withHover?"effect-shadow hover:shadow-hover cursor-pointer":"","border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16"].join(" ")}handleClick(){var e;s.sendAnalytics({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:((e=this.cardTitle)===null||e===void 0?void 0:e.toLowerCase())||"",action:"click"})}render(){return t.h("article",{key:"b46c0464688e45ab29f5b58b6cd2e22ed28e1034",class:`${this.el.tagName.toLowerCase()} ${this.articleClasses()}`,onClick:()=>this.handleClick()},t.h("eds-card-title",{key:"a4da791280db14754b445b1a52e33cc9a25f765e","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.cardTitle,url:this.url,"external-link":this.external,hierarchy:this.hierarchy}),this.description&&t.h("eds-card-desc",{key:"86f7c6c80b83f244ba7d07d820d5793e1dda2933",class:"mt-8","truncate-lines":"3",description:this.description}),this.image?t.h("eds-img",{src:this.image,alt:"Sample Image",width:200,height:150}):this.avatar||this.shortAbbreviation?t.h("eds-avatar",{class:"order-first mb-12",picture:this.avatar,initials:this.shortAbbreviation}):null,t.h("div",{key:"46307b57160f908aa7066b2a636c4db38e0e7a8e",class:"flex flex-wrap gap-y-4"},this.parsedTags.map((e,r)=>t.h("eds-tag",{key:r,intent:e.style,label:e.label}))))}get el(){return t.getElement(this)}};i.style=a;exports.eds_card_tool=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),a=require("./arrow-diagonal-black-8f0494c3-DqsB6ni-.js"),s=class{constructor(r){e.registerInstance(this,r),this.addClass=""}render(){return e.h("span",{key:"08ebdce5cfbe75bf4bfab8f72493e2178be55c3c",class:this.addClass,innerHTML:a.arrowDiagonal})}};exports.eds_icon_arrow_diagonal=s;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as s } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { a as o } from "./arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs";
|
|
3
|
-
const c = class {
|
|
4
|
-
constructor(a) {
|
|
5
|
-
r(this, a), this.addClass = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return s("span", { key: "08ebdce5cfbe75bf4bfab8f72493e2178be55c3c", class: this.addClass, innerHTML: o });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
c as eds_icon_arrow_diagonal
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as s, h as a } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { a as t } from "./arrow-right-9322ba8a-DHq-_PPe.mjs";
|
|
3
|
-
const e = class {
|
|
4
|
-
constructor(r) {
|
|
5
|
-
s(this, r), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return a("span", { key: "6d704324784e6c3d9c221dcaf83bd86a8a6a94ab", class: this.class, innerHTML: t });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
e as eds_icon_arrow_right
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-D2H_BflF.js"),s=require("./arrow-right-9322ba8a-DBcxNU_p.js"),t=class{constructor(e){r.registerInstance(this,e),this.class=""}render(){return r.h("span",{key:"6d704324784e6c3d9c221dcaf83bd86a8a6a94ab",class:this.class,innerHTML:s.arrowRight})}};exports.eds_icon_arrow_right=t;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as r } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { b as c } from "./bluesky-cc5edd2d-DfuDDO5h.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "8b5d4cfeedf6d7e9bea48d7ba892527d484c858d", class: this.class, innerHTML: c });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_bluesky
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as r } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { c as n } from "./chevron-down-6144c823-DWGlv9eV.mjs";
|
|
3
|
-
const t = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "bc01e9e10033245e02403b6b919911018eef9919", class: this.class, innerHTML: n });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
t as eds_icon_chevron_down
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as e } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { c } from "./chevron-left-ca6c66e1-DANhLw_T.mjs";
|
|
3
|
-
const o = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "d74bd0b2ddfd5bd61c97309aebb71d7c29f0cf43", class: this.class, innerHTML: c });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
o as eds_icon_chevron_left
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),c=require("./chevron-left-ca6c66e1-uCH5SUhm.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"d74bd0b2ddfd5bd61c97309aebb71d7c29f0cf43",class:this.class,innerHTML:c.chevronLeft})}};exports.eds_icon_chevron_left=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),s=require("./chevron-right-b88ed2d4-C7dkTMvP.js"),t=class{constructor(r){e.registerInstance(this,r),this.class=""}render(){return e.h("span",{key:"998491aed74bd3edd1fb8545f85ab52cf2703b3f",class:this.class,innerHTML:s.chevronRight})}};exports.eds_icon_chevron_right=t;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as c } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { c as e } from "./chevron-up-c66bd477-CETJkshq.mjs";
|
|
3
|
-
const o = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return c("span", { key: "d0723afa766fc6dac454ec84602bd50ba4e49950", class: this.class, innerHTML: e });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
o as eds_icon_chevron_up
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),r=require("./chevron-up-c66bd477-ByW7R48t.js"),c=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"d0723afa766fc6dac454ec84602bd50ba4e49950",class:this.class,innerHTML:r.chevronUp})}};exports.eds_icon_chevron_up=c;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as c, h as e } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { c as r } from "./close-87fc0d63-DtDU2HIU.mjs";
|
|
3
|
-
const t = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
c(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "365ad476b1be9c708e73598cad1dd42a908fa1cd", class: this.class, innerHTML: r });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
t as eds_icon_close
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as c, h as e } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { c as r } from "./copy-03b72cb6-B_WCNQrG.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
c(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "770c34b98ec0e0a7e16de4d7b5b41b4afec9911e", class: this.class, innerHTML: r });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_copy
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),r=require("./eu-9ddde93a-BFtIQw9B.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"cc6e5f7d7333ff7ed4a6f716e0ee90806fa782f9",class:this.class,innerHTML:r.euSvg})}};exports.eds_icon_eu=t;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as r } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { e as c } from "./eu-9ddde93a-ft4szvR5.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "cc6e5f7d7333ff7ed4a6f716e0ee90806fa782f9", class: this.class, innerHTML: c });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_eu
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),c=require("./facebook-9cb5c17f-Y_gvQ682.js"),o=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"f859db4f8b6679e138e6d72d1d0f5e5bd1bcf997",class:this.class,innerHTML:c.facebook})}};exports.eds_icon_facebook=o;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as o } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { f as r } from "./facebook-9cb5c17f-BcUhbrj6.mjs";
|
|
3
|
-
const t = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return o("span", { key: "f859db4f8b6679e138e6d72d1d0f5e5bd1bcf997", class: this.class, innerHTML: r });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
t as eds_icon_facebook
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),s=require("./mono-53f70232-DgAsWvoQ.js"),t=class{constructor(c){e.registerInstance(this,c),this.class=""}render(){return e.h("span",{key:"5a91cfc15c4dec2b50ce57fb0f1d6cc8f57b03e8",class:this.class,innerHTML:s.gitlabBlack})}};exports.eds_icon_gitlab=t;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as c, h as r } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { g as t } from "./mono-53f70232-DGi2XDlR.mjs";
|
|
3
|
-
const i = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
c(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "5a91cfc15c4dec2b50ce57fb0f1d6cc8f57b03e8", class: this.class, innerHTML: t });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
i as eds_icon_gitlab
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as n, h as r } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { l as e } from "./linkedin-e8650abb-DYMdsale.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
n(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "b8e0661a74a92c72b6db109cb48db12da48dcf92", class: this.class, innerHTML: e });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_linkedin
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as e } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { l as a } from "./loader-c9628637-ChpnbJkv.mjs";
|
|
3
|
-
const t = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "260c4eeb69ff79d943571c1461346b9019ea513a", class: this.class, innerHTML: a });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
t as eds_icon_loader
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as o, h as c } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { m as r } from "./mastodon-3703ec61-C7iI4Hk0.mjs";
|
|
3
|
-
const e = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
o(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return c("span", { key: "902598891dfe926f92ce5d30dc135896c6eccd43", class: this.class, innerHTML: r });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
e as eds_icon_mastodon
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-D2H_BflF.js"),t=require("./mastodon-3703ec61-C9v6Olc-.js"),c=class{constructor(e){s.registerInstance(this,e),this.class=""}render(){return s.h("span",{key:"902598891dfe926f92ce5d30dc135896c6eccd43",class:this.class,innerHTML:t.mastodon})}};exports.eds_icon_mastodon=c;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as r } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { m as n } from "./menu-340ea948-BpnYX3gY.mjs";
|
|
3
|
-
const c = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "9d15be28017eb074a69846a2a639861de997130b", class: this.class, innerHTML: n });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
c as eds_icon_menu
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),n=require("./menu-340ea948-ZdelWVw3.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"9d15be28017eb074a69846a2a639861de997130b",class:this.class,innerHTML:n.menu})}};exports.eds_icon_menu=r;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as c } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { m as e } from "./more-4449d549-rI9hOpEp.mjs";
|
|
3
|
-
const t = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return c("span", { key: "0f7d61104f8f2b0a83c5b60a6ce81c6ab91ecb9c", class: this.class, innerHTML: e });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
t as eds_icon_more
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as a } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { s as c } from "./search-fbcd79c2-rfV0PlHP.mjs";
|
|
3
|
-
const n = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return a("span", { key: "6795d973d3a1fff27c2fd6181235d0284abaf3b7", class: this.class, innerHTML: c });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
n as eds_icon_search
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),c=require("./search-fbcd79c2-BMxCaeEk.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"6795d973d3a1fff27c2fd6181235d0284abaf3b7",class:this.class,innerHTML:c.search})}};exports.eds_icon_search=r;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as c, h as e } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { s as r } from "./success-443809da-BD23vltm.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
c(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return e("span", { key: "15e428fd72496249adfe372847d5c683cd3412b1", class: this.class, innerHTML: r });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_success
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as t, h as r } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { t as e } from "./twitter-ac21b505-CGWVGWM9.mjs";
|
|
3
|
-
const i = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
t(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "cfa2d903e79d5a17fb7511e078c0d26bd6d3abd6", class: this.class, innerHTML: e });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
i as eds_icon_twitter
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-D2H_BflF.js"),s=require("./twitter-ac21b505-DDdHS4hB.js"),r=class{constructor(e){t.registerInstance(this,e),this.class=""}render(){return t.h("span",{key:"cfa2d903e79d5a17fb7511e078c0d26bd6d3abd6",class:this.class,innerHTML:s.twitter})}};exports.eds_icon_twitter=r;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r, h as c } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { u as e } from "./user-71ebdc15-CoHlCtJg.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
r(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return c("span", { key: "dc06f1a54b9542cb2c0165fb3bdff960ecd81cc0", class: this.class, innerHTML: e });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_user
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),c=require("./user-71ebdc15-BBKQbcQD.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"dc06f1a54b9542cb2c0165fb3bdff960ecd81cc0",class:this.class,innerHTML:c.user})}};exports.eds_icon_user=r;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as e, h as r } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { y as t } from "./youtube-efbfbdc4-BfySbfjR.mjs";
|
|
3
|
-
const a = class {
|
|
4
|
-
constructor(s) {
|
|
5
|
-
e(this, s), this.class = "";
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return r("span", { key: "ecd12a21c5797f93f7d8abe67803b27862967b2f", class: this.class, innerHTML: t });
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as eds_icon_youtube
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D2H_BflF.js"),t=require("./youtube-efbfbdc4-BLTH1Jl9.js"),c=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"ecd12a21c5797f93f7d8abe67803b27862967b2f",class:this.class,innerHTML:t.youtube})}};exports.eds_icon_youtube=c;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-D2H_BflF.js"),e=require("./keycloak-13893af6-NiM3zoVg.js"),a=class{constructor(t){i.registerInstance(this,t),this.authStatusChanged=i.createEvent(this,"authStatusChanged",7),this.handleLogout=()=>{e.logout(),this.authenticated=!1},this.keycloakUrl="",this.keycloakRealm="",this.keycloakClientId="",this.authenticated=!1,this.user=null}async componentWillLoad(){await this.checkAuthentication()}async checkAuthentication(){try{const t={url:this.keycloakUrl,realm:this.keycloakRealm,clientId:this.keycloakClientId};await e.initKeycloak(t),this.authenticated=e.isAuthenticated(),this.authenticated&&(this.user=e.getUser()),this.authStatusChanged.emit({authenticated:this.authenticated,user:this.user})}catch(t){console.error("Keycloak initialization or login check failed:",t)}}async handleLogin(){try{this.authenticated||e.login()}catch(t){console.error("Login failed:",t)}}getBtnLabel(){return this.authenticated?"Logout":"Login"}render(){return i.h("eds-button",{key:"35f298ecf951d5b1087f988262ae7d312c5e2d38",label:this.getBtnLabel(),intent:"primary","extra-class":"text-default","aria-label":this.getBtnLabel(),triggerClick:this.authenticated?this.handleLogout:this.handleLogin.bind(this)})}};exports.eds_login=a;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { r as e, c as a, h as i } from "./index-I5Asbjce.mjs";
|
|
2
|
-
import { a as s, i as n, b as h, g as o, l as c } from "./keycloak-13893af6-BLzE1H6E.mjs";
|
|
3
|
-
const u = class {
|
|
4
|
-
constructor(t) {
|
|
5
|
-
e(this, t), this.authStatusChanged = a(this, "authStatusChanged", 7), this.handleLogout = () => {
|
|
6
|
-
s(), this.authenticated = !1;
|
|
7
|
-
}, this.keycloakUrl = "", this.keycloakRealm = "", this.keycloakClientId = "", this.authenticated = !1, this.user = null;
|
|
8
|
-
}
|
|
9
|
-
// Lifecycle method to check authentication status before the component loads
|
|
10
|
-
async componentWillLoad() {
|
|
11
|
-
await this.checkAuthentication();
|
|
12
|
-
}
|
|
13
|
-
// Method to initialize Keycloak and check if the user is authenticated
|
|
14
|
-
async checkAuthentication() {
|
|
15
|
-
try {
|
|
16
|
-
const t = {
|
|
17
|
-
url: this.keycloakUrl,
|
|
18
|
-
realm: this.keycloakRealm,
|
|
19
|
-
clientId: this.keycloakClientId
|
|
20
|
-
};
|
|
21
|
-
await n(t), this.authenticated = h(), this.authenticated && (this.user = o()), this.authStatusChanged.emit({
|
|
22
|
-
authenticated: this.authenticated,
|
|
23
|
-
user: this.user
|
|
24
|
-
});
|
|
25
|
-
} catch (t) {
|
|
26
|
-
console.error("Keycloak initialization or login check failed:", t);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
// Method to handle user login
|
|
30
|
-
async handleLogin() {
|
|
31
|
-
try {
|
|
32
|
-
this.authenticated || c();
|
|
33
|
-
} catch (t) {
|
|
34
|
-
console.error("Login failed:", t);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
getBtnLabel() {
|
|
38
|
-
return this.authenticated ? "Logout" : "Login";
|
|
39
|
-
}
|
|
40
|
-
render() {
|
|
41
|
-
return i("eds-button", { key: "35f298ecf951d5b1087f988262ae7d312c5e2d38", label: this.getBtnLabel(), intent: "primary", "extra-class": "text-default", "aria-label": this.getBtnLabel(), triggerClick: this.authenticated ? this.handleLogout : this.handleLogin.bind(this) });
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
export {
|
|
45
|
-
u as eds_login
|
|
46
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { r as n, h as e } from "./index-I5Asbjce.mjs";
|
|
2
|
-
const a = class {
|
|
3
|
-
constructor(t) {
|
|
4
|
-
n(this, t), this.tabIndex = void 0;
|
|
5
|
-
}
|
|
6
|
-
renderContent() {
|
|
7
|
-
switch (this.tabIndex) {
|
|
8
|
-
case 0:
|
|
9
|
-
return e("logo-variations-horizontal", null);
|
|
10
|
-
case 1:
|
|
11
|
-
return e("logo-variations-vertical", null);
|
|
12
|
-
default:
|
|
13
|
-
return e("p", null, "Content not available.");
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
return e("div", { key: "9d6ce0e75030d6e636aab423181b0ce999f6f1b0", class: "container" }, this.renderContent());
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
export {
|
|
21
|
-
a as eds_logo_variations
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-D2H_BflF.js"),a=require("./toastManager-d9eee791-DvR_vUPI.js"),n=require("./color-bb472c37-CKu54kOY.js"),i=".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%}.bottom-0{bottom:0rem}.bottom-4{bottom:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.z-10{z-index:10}.left-0{left:0rem}.left-1\\/2{left:50%}.grow{flex-grow:1}.-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))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex{display:flex}.gap-12{gap:0.75rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-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))}.md\\:-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))}}",l=i,o=class{constructor(e){t.registerInstance(this,e),this.title="Analytics Consent",this.description="We use anonymous analytics to improve our services. No personal data is collected unless you give your consent.",this.showNotice=!0}componentWillLoad(){this.checkConsentCookie()}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach(s=>{this.emitContext(s)})}emitContext(e){const s=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(s)}checkConsentCookie(){const e=document.cookie.split("; ").find(r=>r.startsWith("mtm_consent=")),s=sessionStorage.getItem("matomo-deferred");this.showNotice=!e&&!s}optInAnalytics(){n.matomoOptIn(),a.toast.show("You have opted in to analytics.","success"),this.hideNotice()}deferDecision(){sessionStorage.setItem("matomo-deferred","true"),a.toast.show("You can decide later.","warning"),this.hideNotice()}hideNotice(){this.showNotice=!1}render(){return this.showNotice?t.h("div",{class:"fixed bottom-0 p-8 z-10 grow md:left-1/2 md:-translate-x-1/2 md:-translate-y-1/2 justify-center"},t.h("eds-accordion",{title:this.title,description:this.description,switchBg:!0,expanded:!0},t.h("div",{class:"flex items-center gap-4"},t.h("eds-button",{intent:"primary",label:"Yes, I agree","aria-label":"Opt-in for analytics",onClick:()=>this.optInAnalytics()}),t.h("eds-button",{intent:"ghost",label:"Ask me later","aria-label":"Defer analytics decision",onClick:()=>this.deferDecision()})))):null}get el(){return t.getElement(this)}};o.style=l;exports.eds_matomo_notice=o;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-D2H_BflF.js"),d=require("./color-bb472c37-CKu54kOY.js"),c="ul,menu{list-style:none;margin:0;padding:0}.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)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}",f=c,h=class{constructor(t){i.registerInstance(this,t),this.currentPage=void 0,this.lastPage=void 0,this.perPage=10,this.total=0,this.url="",this.mode="default",this.prevLabel="Prev",this.nextLabel="Next",this.prevUrl="",this.nextUrl="",this.links=[]}componentWillLoad(){this.mode==="default"&&this.generateLinks()}componentDidLoad(){this.hostEl.shadowRoot.querySelectorAll("eds-link").forEach(e=>{this.emitContext(e)})}emitContext(t){const e=new CustomEvent("parentContext",{detail:{componentName:this.hostEl.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(e)}onPageOrLastPageChange(){this.mode==="default"&&this.generateLinks()}isFirstPage(){return this.currentPage===1}isLastPage(){return this.currentPage===this.lastPage}generateLink(t){const e=this.url.includes("?");return{ariaLabel:`Page ${t}`,url:`${this.url}${e?"&":"?"}page=${t}`,label:t.toString(),current:this.currentPage===t,disabled:!1}}generateLinks(){this.lastPage&&this.lastPage>5?this.links=this.getPaginationGenerator(this.currentPage||1,this.lastPage).map(t=>typeof t=="number"?this.generateLink(t):t):this.lastPage&&(this.links=Array.from({length:this.lastPage}).map((t,e)=>this.generateLink(e+1)))}getPaginationGenerator(t,e){const a=[];if(e<=5)for(let n=1;n<=e;n++)a.push(n);else{a.push(1),t-1>2&&a.push("...");for(let n=Math.max(2,t-1);n<=Math.min(e-1,t+1);n++)a.push(n);t+1<e-1&&a.push("..."),a.push(e)}return a}pageResults(){return this.total>0?this.total>this.perPage?`${this.perPage*((this.currentPage||1)-1)+1} - ${this.perPage*(this.currentPage||1)>=this.total?this.total:this.perPage*(this.currentPage||1)} of ${this.total}`:`${this.total}`:""}handlePageClick(t,e){if(this.mode!=="navigator"&&(t.preventDefault(),e!==this.currentPage)){this.links=this.links.map(a=>typeof a=="object"?Object.assign(Object.assign({},a),{current:parseInt(a.label)===e}):a);const s=new CustomEvent("pageChange",{detail:e,bubbles:!0,composed:!0});this.hostEl.dispatchEvent(s),this.currentPage=e}}render(){return i.h("div",{key:"584e0918b070eac25a7c4bfceff59b000b60076c"},this.total>0&&this.mode==="default"&&i.h("p",{key:"c688bd8e1f1d15904fc274454093f03213f59e38",class:"f-ui-03 text-lightest mb-28 w-full text-center"},i.h("span",{key:"c2472919bad41f76e26d518da27509e545ed9db6",class:"sr-only"},"Results:"),this.pageResults()),this.mode==="navigator"||this.lastPage&&this.lastPage>1?i.h("nav",{"aria-label":"Pagination"},i.h("ul",{class:"flex items-center justify-center gap-x-8"},i.h("li",{class:"mr-auto"},i.h("eds-link",{label:this.prevLabel,url:this.mode==="navigator"?this.prevUrl||"#":this.isFirstPage()?"#":this.generateLink(this.currentPage-1).url,disabled:this.mode==="navigator"?!this.prevUrl:this.isFirstPage(),"aria-label":"Previous page",icon:"chevron-left","icon-pos":"left",size:"small","icon-small":"true",intent:"strong","hide-label-on-small-screen":!0,class:"!p-8 lg:!pr-12",onClick:t=>{this.mode==="default"&&(this.isFirstPage()?t.preventDefault():this.handlePageClick(t,(this.currentPage||1)-1))}})),this.mode==="default"&&this.links.map((t,e)=>i.h("li",{key:e,class:"f-ui-02 flex h-36 items-center justify-center"},typeof t=="string"?i.h("span",{class:"flex items-center justify-center"},t):i.h("eds-link",{url:t.url,"aria-label":t.ariaLabel,label:t.label,current:t.current,size:"small",class:"!p-8",intent:t.current?"secondary":"ghost",onClick:s=>this.handlePageClick(s,parseInt(t.label))}))),i.h("li",{class:"ml-auto"},i.h("eds-link",{label:this.nextLabel,url:this.mode==="navigator"?this.nextUrl||"#":this.isLastPage()?"#":this.generateLink(this.currentPage+1).url,disabled:this.mode==="navigator"?!this.nextUrl:this.isLastPage(),"aria-label":"Next page",size:"small","icon-small":"true",icon:"chevron-right",intent:"strong","hide-label-on-small-screen":!0,class:"!p-8 lg:!pl-12 flex items-center gap-1 py-4 transition-colors",onClick:t=>{this.mode==="default"&&(this.isLastPage()?t.preventDefault():this.handlePageClick(t,(this.currentPage||1)+1))}})))):null)}get hostEl(){return i.getElement(this)}static get watchers(){return{currentPage:["onPageOrLastPageChange"],lastPage:["onPageOrLastPageChange"]}}};h.style=f;const u="table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.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)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}",p=u,g=class{constructor(t){i.registerInstance(this,t),this.data=null,this.endpoint=null,this.config={},this.rowsPerPage=10,this.paginationEnabled=!0,this.searchEnabled=!1,this.hostWidth=void 0,this.columnSize="default",this.tableData=[],this.columns=[],this.currentPage=1,this.parsedConfig={},this.totalRows=0,this.searchQuery=""}handleDataChange(){this.parseData()}handleConfigChange(){this.parseConfig()}componentWillLoad(){this.parseConfig(),this.data?this.parseData():this.endpoint&&this.fetchData()}componentDidLoad(){this.setupPaginationListener()}componentDidUpdate(){this.setupPaginationListener()}parseData(){try{this.tableData=typeof this.data=="string"?JSON.parse(this.data):this.data||[],this.totalRows=this.tableData.length,this.updateColumns(),this.currentPage=1}catch(t){console.error("Failed to parse data:",t),this.tableData=[]}}parseConfig(){try{this.parsedConfig=typeof this.config=="string"?JSON.parse(this.config):this.config}catch(t){console.error("Failed to parse config:",t),this.parsedConfig={}}}async fetchData(){try{const e=await(await fetch(this.endpoint)).json();this.data=e}catch(t){console.error("Failed to fetch data:",t)}}setupPaginationListener(){if(!this.shouldEnablePagination())return;const t=this.hostEl.shadowRoot.querySelector("eds-pagination");t&&!t.hasAttribute("listener-attached")&&(t.addEventListener("pageChange",e=>this.handlePageChange(e.detail)),t.setAttribute("listener-attached","true"))}getFilteredRows(){return this.tableData.filter(t=>Object.values(t).some(e=>e.toString().toLowerCase().includes(this.searchQuery.toLowerCase())))}getPaginatedRows(){const t=this.getFilteredRows();this.totalRows=t.length;const e=(this.currentPage-1)*this.rowsPerPage;return t.slice(e,e+this.rowsPerPage)}handlePageChange(t){this.currentPage=t,d.sendAnalytics({category:"ui-component",parentContext:null,tag:`${this.hostEl.tagName.toLowerCase()}/eds-pagination`,name:`${t}`||"",action:"page"})}handleSearch(t){this.searchQuery=t.target.value,this.currentPage=1}renderCell(t,e){var s;const a=(s=this.parsedConfig[e])===null||s===void 0?void 0:s.format;return a==="uppercase"?t==null?void 0:t.toString().toUpperCase():a==="svg"?i.h("div",{innerHTML:t}):a==="bold"?i.h("strong",null,t):a==="code"?i.h("code",null,t):t}shouldEnablePagination(){return this.paginationEnabled&&this.totalRows>this.rowsPerPage}updateColumns(){this.columns=this.tableData.length>0?Object.keys(this.tableData[0]):[]}getVisibleColumnsCount(){return this.columns.filter(t=>{var e;return!(!((e=this.parsedConfig[t])===null||e===void 0)&&e.hidden)}).length}divisionFactor(){let t=1;return this.columnSize==="medium"?t=2:this.columnSize==="large"&&(t=4),t}render(){const t=this.getPaginatedRows(),e=Math.ceil(this.totalRows/this.rowsPerPage),s=this.getVisibleColumnsCount(),a=this.hostWidth&&this.hostWidth.trim()!==""?Number(this.hostWidth):this.hostEl.parentElement instanceof HTMLElement?this.hostEl.parentElement.getBoundingClientRect().width:this.hostEl.getRootNode().host instanceof HTMLElement?this.hostEl.getRootNode().host.getBoundingClientRect().width:400,n=s>0?Math.floor(a/s*this.divisionFactor()):100;return i.h("div",{key:"69fd87330d2049eeb91751c781c7aa753fa89883"},this.searchEnabled&&i.h("div",{key:"2f9680dd17b852b140fe560f7979e1dd58236c5a"},i.h("eds-input-field",{key:1,name:"search","aria-label":"Search",type:"text",placeholder:"Search...",onInput:o=>this.handleSearch(o)})),i.h("div",{key:"d67edb24308e526a3e860a90250d58cf8bfee9c8",class:"mt-20"},i.h("table",{key:"9a2ef219110e459ac670a0f9c2e62c600f6b5acd",class:"block overflow-x-auto mt-6 p-0"},i.h("thead",{key:"81bae222447e805d06642dda19903d5bf99f2b01"},i.h("tr",{key:"582d7ea661823b81ccdf3adc9769fe53cf56f04c",class:"m-0 p-0 border border-softer even:bg-inverse-softer"},this.columns.map(o=>{var r;return!(!((r=this.parsedConfig[o])===null||r===void 0)&&r.hidden)&&i.h("th",{class:"m-0 py-8 border border-softer f-ui-02 break-words",style:{minWidth:`${n}px`}},o)}))),i.h("tbody",{key:"ce7f87e665c394c5e9f2201ef2658e888ea07948"},t.map(o=>i.h("tr",{class:"m-0 p-0 border border-softer even:bg-inverse-softer"},this.columns.map(r=>{var l;return!(!((l=this.parsedConfig[r])===null||l===void 0)&&l.hidden)&&i.h("td",{class:"text-center border border-softer m-0 py-8 f-ui-2 break-words",style:{minWidth:`${n}px`}},this.renderCell(o[r],r))})))))),this.shouldEnablePagination()&&i.h("div",{key:"0fe6aed0d03c3aa491cd1bb17cd3bdc1e35372a0",class:"mt-20"},i.h("eds-pagination",{key:"5192f3f4b2ee93d5864d1afed3341a122c826d97",currentPage:this.currentPage,lastPage:e,perPage:this.rowsPerPage,total:this.totalRows,mode:"default"})))}get hostEl(){return i.getElement(this)}static get watchers(){return{data:["handleDataChange","parseData"],config:["handleConfigChange"]}}};g.style=p;exports.eds_pagination=h;exports.eds_table=g;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { r as a, c as r, h as t } from "./index-I5Asbjce.mjs";
|
|
2
|
-
const s = ":host{display:inline-block;font-size:2rem}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.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-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}", n = s, l = class {
|
|
3
|
-
constructor(e) {
|
|
4
|
-
a(this, e), this.ratingChange = r(this, "ratingChange", 7), this.stars = 5, this.label = "Rate your experience", this.textMapping = ["Very Poor", "Poor", "Average", "Good", "Excellent"], this.selectedRating = 0;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Parses the `textMapping` prop into an array of strings.
|
|
8
|
-
* Returns an empty array if parsing fails.
|
|
9
|
-
*/
|
|
10
|
-
get parsedMappings() {
|
|
11
|
-
if (typeof this.textMapping == "object")
|
|
12
|
-
return this.textMapping;
|
|
13
|
-
if (typeof this.textMapping == "string")
|
|
14
|
-
try {
|
|
15
|
-
return JSON.parse(this.textMapping);
|
|
16
|
-
} catch (e) {
|
|
17
|
-
return console.error("Error parsing textMapping prop:", e), [];
|
|
18
|
-
}
|
|
19
|
-
return [];
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Handles the click event on a star.
|
|
23
|
-
* @param rating - The selected rating value.
|
|
24
|
-
*/
|
|
25
|
-
handleClick(e) {
|
|
26
|
-
this.selectedRating = e, this.ratingChange.emit(e);
|
|
27
|
-
}
|
|
28
|
-
render() {
|
|
29
|
-
return t("div", { key: "c9147c2635f091d93f329d2b56a5fee8dce9126c", class: "relative w-full flex flex-col" }, t("span", { key: "39a84bc3d9bcd4b729a35737c883eca7144d13ac", class: "f-body-01" }, this.label), t("div", { key: "3cb84acf399cac0b23393c71df2f2b36aab4f43e", class: "stars" }, Array.from({ length: this.stars }, (e, i) => t("span", { class: {
|
|
30
|
-
star: !0,
|
|
31
|
-
filled: i < this.selectedRating
|
|
32
|
-
}, onClick: () => this.handleClick(i + 1) }, "★"))), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && t("span", { key: "60605ec21b542825da0dad629fc1618d9cf63b25", class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]));
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
l.style = n;
|
|
36
|
-
export {
|
|
37
|
-
l as eds_rating
|
|
38
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-D2H_BflF.js"),r=":host{display:inline-block;font-size:2rem}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.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-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}",s=r,a=class{constructor(e){t.registerInstance(this,e),this.ratingChange=t.createEvent(this,"ratingChange",7),this.stars=5,this.label="Rate your experience",this.textMapping=["Very Poor","Poor","Average","Good","Excellent"],this.selectedRating=0}get parsedMappings(){if(typeof this.textMapping=="object")return this.textMapping;if(typeof this.textMapping=="string")try{return JSON.parse(this.textMapping)}catch(e){return console.error("Error parsing textMapping prop:",e),[]}return[]}handleClick(e){this.selectedRating=e,this.ratingChange.emit(e)}render(){return t.h("div",{key:"c9147c2635f091d93f329d2b56a5fee8dce9126c",class:"relative w-full flex flex-col"},t.h("span",{key:"39a84bc3d9bcd4b729a35737c883eca7144d13ac",class:"f-body-01"},this.label),t.h("div",{key:"3cb84acf399cac0b23393c71df2f2b36aab4f43e",class:"stars"},Array.from({length:this.stars},(e,i)=>t.h("span",{class:{star:!0,filled:i<this.selectedRating},onClick:()=>this.handleClick(i+1)},"★"))),this.selectedRating>0&&this.parsedMappings[this.selectedRating-1]&&t.h("span",{key:"60605ec21b542825da0dad629fc1618d9cf63b25",class:"f-ui-04 text-lighter"},this.parsedMappings[this.selectedRating-1]))}};a.style=s;exports.eds_rating=a;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-D2H_BflF.js"),r=require("./color-bb472c37-CKu54kOY.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:"7bc954d9251bd15b5e3a49d5c74b83805f802b07",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:"1bfda380604f1eae1cc5be147a5e3e6b537e0396",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:"b2ed26b52fd629ec99b01c7dc8e612eae4f3886d",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:"5072b877786a23358d540d6d242d5fbdb3c63d7f"})))}get el(){return i.getElement(this)}static get watchers(){return{tabs:["parseTabs"]}}};exports.eds_tabs_content=o;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-D2H_BflF.js"),o=require("./color-bb472c37-CKu54kOY.js"),n=require("./index-39c58238-SQ-JC-LH.js"),b="",l=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:"540bb667084b36ae2151ec39ef6b54a9ac6a4c4a",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:"f0266d39c943b82725ded757cce0b35fb85fa874",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:"fcedf94e6f6c14635291d9c8e6d672efc8055433",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=l;exports.eds_tabs=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-D2H_BflF.js"),f=require("./color-bb472c37-CKu54kOY.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,s;const o=(t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelector("slot");if(!o)return;const n=((o==null?void 0:o.assignedNodes({flatten:!0}))||[]).find(e=>e instanceof HTMLElement);if(n){const e=n.getBoundingClientRect(),a=(s=this.el.shadowRoot)===null||s===void 0?void 0:s.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:"673ab0ee31378410f9c83bb5fd37b27d00a7b018",class:"relative"},i.h("slot",{key:"0c0138dfdf9aafecc1e0e925c84d4b0ca957f82d"}),this.isVisible&&this.isPositioned&&this.content&&i.h("div",{key:"798d01cf631f2e5b3af9d9bb11a847041a6ee2ba",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;
|