@ebrains/vue 0.0.1-alpha.0 → 0.2.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/arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs +4 -0
- package/arrow-diagonal-black-8f0494c3-DqsB6ni-.js +1 -0
- package/arrow-right-9322ba8a-DBcxNU_p.js +3 -0
- package/arrow-right-9322ba8a-DHq-_PPe.mjs +6 -0
- package/bluesky-cc5edd2d-DaFQc-pr.js +12 -0
- package/bluesky-cc5edd2d-DfuDDO5h.mjs +15 -0
- package/chevron-down-6144c823-DWGlv9eV.mjs +13 -0
- package/chevron-down-6144c823-D_8976Ke.js +10 -0
- package/chevron-left-ca6c66e1-DANhLw_T.mjs +12 -0
- package/chevron-left-ca6c66e1-uCH5SUhm.js +9 -0
- package/chevron-right-b88ed2d4-C7dkTMvP.js +3 -0
- package/chevron-right-b88ed2d4-CgEZBvy7.mjs +6 -0
- package/chevron-up-c66bd477-ByW7R48t.js +10 -0
- package/chevron-up-c66bd477-CETJkshq.mjs +13 -0
- package/close-87fc0d63-Cbd-ScJr.js +3 -0
- package/close-87fc0d63-DtDU2HIU.mjs +6 -0
- package/color-0ba8ed56-BVeDdJAE.js +1 -0
- package/color-0ba8ed56-D-UJpBQL.mjs +207 -0
- package/color-primary-palette_6.entry-CfqMCd3g.mjs +300 -0
- package/color-primary-palette_6.entry-CoXWiKJ3.js +1 -0
- package/copy-03b72cb6-B_WCNQrG.mjs +6 -0
- package/copy-03b72cb6-CZAFAegx.js +3 -0
- package/correct-use-of-colors.entry-CfXsWbhB.js +1 -0
- package/correct-use-of-colors.entry-CotQESQa.mjs +59 -0
- package/eds-accordion.entry-BsT7Ved4.mjs +58 -0
- package/eds-accordion.entry-BvDNoDvv.js +4 -0
- package/eds-alert_28.entry-Ctl9tHqr.js +29465 -0
- package/eds-alert_28.entry-DbTB72ow.mjs +30921 -0
- package/eds-block-break.entry-B8gP4ig9.mjs +13 -0
- package/eds-block-break.entry-L9LG-PtO.js +1 -0
- package/eds-breadcrumb.entry-C6mAAYNs.js +1 -0
- package/eds-breadcrumb.entry-Dio_2hx4.mjs +114 -0
- package/eds-card-project.entry-CKYhNPPH.mjs +43 -0
- package/eds-card-project.entry-XK15egnP.js +1 -0
- package/eds-card-section.entry-B7jR75ty.js +1 -0
- package/eds-card-section.entry-x8CPk5NZ.mjs +33 -0
- package/eds-card-tags.entry-Bvn8dDXI.mjs +13 -0
- package/eds-card-tags.entry-CndclGXB.js +1 -0
- package/eds-card-tool.entry-DFuXjfhh.mjs +56 -0
- package/eds-card-tool.entry-DZqHML8u.js +1 -0
- package/eds-card-wrapper.entry-C_r0u0Fd.js +1 -0
- package/eds-card-wrapper.entry-DNnlCvMe.mjs +24 -0
- package/eds-code-block.entry-ClmjgThG.js +9 -0
- package/eds-code-block.entry-DwfHDe4j.mjs +1582 -0
- package/eds-components-section.entry-8sEheaoX.js +130 -0
- package/eds-components-section.entry-BSRNSdwF.mjs +244 -0
- package/eds-docs-palettes.entry-BlQEI2Bl.mjs +22 -0
- package/eds-docs-palettes.entry-Gi9kzOYC.js +1 -0
- package/eds-docs-tokens.entry-Bxzd9uSz.mjs +30 -0
- package/eds-docs-tokens.entry-G6O1zRxS.js +1 -0
- package/eds-footer.entry-9xXgg22T.mjs +29 -0
- package/eds-footer.entry-DqnRHQ32.js +1 -0
- package/eds-frame.entry-Bz-23eT7.js +1 -0
- package/eds-frame.entry-YVbNIAAz.mjs +74 -0
- package/eds-fullscreen-menu.entry-4kxB1p-j.mjs +74 -0
- package/eds-fullscreen-menu.entry-DwOubHgX.js +1 -0
- package/eds-icon-arrow-diagonal.entry-C06V6TIW.js +1 -0
- package/eds-icon-arrow-diagonal.entry-Ky6NoFbS.mjs +13 -0
- package/eds-icon-arrow-right.entry-BPHnm7pX.mjs +13 -0
- package/eds-icon-arrow-right.entry-Dv17zi29.js +1 -0
- package/eds-icon-bluesky.entry-7_AzEVLl.mjs +13 -0
- package/eds-icon-bluesky.entry-DQshm0EA.js +1 -0
- package/eds-icon-chevron-down.entry-BlnVbI1I.js +1 -0
- package/eds-icon-chevron-down.entry-DkcBkTRK.mjs +13 -0
- package/eds-icon-chevron-left.entry-BTxaVVnF.js +1 -0
- package/eds-icon-chevron-left.entry-BwhZiPKE.mjs +13 -0
- package/eds-icon-chevron-right.entry-BPKLFXW0.mjs +13 -0
- package/eds-icon-chevron-right.entry-c4irNhqS.js +1 -0
- package/eds-icon-chevron-up.entry-CFiZyc6u.js +1 -0
- package/eds-icon-chevron-up.entry-oja5yYhS.mjs +13 -0
- package/eds-icon-close.entry-5BdzrFmk.mjs +13 -0
- package/eds-icon-close.entry-DQD_dDo5.js +1 -0
- package/eds-icon-copy.entry-CQ237xrq.js +1 -0
- package/eds-icon-copy.entry-jpUaAQ7k.mjs +13 -0
- package/eds-icon-eu.entry-CjCnJWwP.js +1 -0
- package/eds-icon-eu.entry-gJ234Xni.mjs +13 -0
- package/eds-icon-facebook.entry-BHUSe9LK.js +1 -0
- package/eds-icon-facebook.entry-Ch94iA-s.mjs +13 -0
- package/eds-icon-gitlab.entry-B06LmNCU.mjs +13 -0
- package/eds-icon-gitlab.entry-j6RBYOBc.js +1 -0
- package/eds-icon-linkedin.entry-CMW1rKpG.mjs +13 -0
- package/eds-icon-linkedin.entry-DouHzclR.js +1 -0
- package/eds-icon-loader.entry-BlGbpEzt.js +1 -0
- package/eds-icon-loader.entry-Cx_ffiBq.mjs +13 -0
- package/eds-icon-mastodon.entry-C4ITVPfN.mjs +13 -0
- package/eds-icon-mastodon.entry-Cpl3lSng.js +1 -0
- package/eds-icon-menu.entry-BcPeEfV2.js +1 -0
- package/eds-icon-menu.entry-DvQARmJU.mjs +13 -0
- package/eds-icon-more.entry-BoAVOpyT.mjs +13 -0
- package/eds-icon-more.entry-m61loZHO.js +1 -0
- package/eds-icon-search.entry-BJMtVlnR.js +1 -0
- package/eds-icon-search.entry-D-nQvhug.mjs +13 -0
- package/eds-icon-success.entry-D8S7QlRm.mjs +13 -0
- package/eds-icon-success.entry-DvIchNgX.js +1 -0
- package/eds-icon-twitter.entry-CD1nT3iI.js +1 -0
- package/eds-icon-twitter.entry-DD48tnaV.mjs +13 -0
- package/eds-icon-user.entry-DDRH46_Z.js +1 -0
- package/eds-icon-user.entry-DSPBBAZa.mjs +13 -0
- package/eds-icon-youtube.entry-BRyOsCV-.mjs +13 -0
- package/eds-icon-youtube.entry-CfpQHgDF.js +1 -0
- package/eds-login.entry-CY0ZugpF.js +1 -0
- package/eds-login.entry-bC6f6bvF.mjs +46 -0
- package/eds-matomo-notice.entry-DGHq-ICP.mjs +91 -0
- package/eds-matomo-notice.entry-DanLI8VZ.js +1 -0
- package/eds-modal.entry-Bikh63fB.mjs +65 -0
- package/eds-modal.entry-TMxTmjgT.js +1 -0
- package/eds-navigator.entry-CUAf3hTM.js +1 -0
- package/eds-navigator.entry-D-fIKqub.mjs +33 -0
- package/eds-pagination.entry-C8g4pxcm.js +1 -0
- package/eds-pagination.entry-D6iJH84k.mjs +128 -0
- package/eds-rating.entry-B2lhi19L.mjs +40 -0
- package/eds-rating.entry-BdE-bKae.js +1 -0
- package/eds-section-core_2.entry-BRNJshCh.js +1 -0
- package/eds-section-core_2.entry-CqFyAWoq.mjs +39 -0
- package/eds-social-networks.entry-6VfWBLuR.js +1 -0
- package/eds-social-networks.entry-BgiRVGXx.mjs +50 -0
- package/eds-svg-repository.entry-BdZya_DA.js +192 -0
- package/eds-svg-repository.entry-qaL9fhLI.mjs +287 -0
- package/eds-tab.entry-BqqMdTQv.mjs +31 -0
- package/eds-tab.entry-C6q7naM_.js +1 -0
- package/eds-table.entry-BojRZdP2.mjs +112 -0
- package/eds-table.entry-ShWS4LWJ.js +1 -0
- package/eds-tabs-content.entry-D9b289Td.mjs +106 -0
- package/eds-tabs-content.entry-H__1SNbo.js +1 -0
- package/eds-tabs.entry-DGHlnSwh.js +1 -0
- package/eds-tabs.entry-KsWwc6xS.mjs +95 -0
- package/eds-tooltip.entry-BI1EvTiw.js +1 -0
- package/eds-tooltip.entry-ByxJjA_6.mjs +69 -0
- package/eu-9ddde93a-BFtIQw9B.js +28 -0
- package/eu-9ddde93a-ft4szvR5.mjs +31 -0
- package/facebook-9cb5c17f-BcUhbrj6.mjs +15 -0
- package/facebook-9cb5c17f-Y_gvQ682.js +12 -0
- package/generated/components.d.ts +0 -1
- package/incorrect-use-of-colors.entry-C7xABbpE.js +1 -0
- package/incorrect-use-of-colors.entry-DNOV6p4p.mjs +42 -0
- package/index-39c58238-BwYCDOHZ.mjs +44 -0
- package/index-39c58238-SQ-JC-LH.js +1 -0
- package/index-BGGkUjck.js +21 -0
- package/index-DQrtrXyM.mjs +3529 -0
- package/index.js +1 -21
- package/index.mjs +38 -2363
- package/keycloak-13893af6-BLzE1H6E.mjs +878 -0
- package/keycloak-13893af6-NiM3zoVg.js +9 -0
- package/linkedin-e8650abb-BkDrkjzY.js +26 -0
- package/linkedin-e8650abb-DYMdsale.mjs +29 -0
- package/loader-c9628637-ChpnbJkv.mjs +31 -0
- package/loader-c9628637-Vj8Wt1e8.js +28 -0
- package/logo-color-7f1fd803-CFgbXdt8.mjs +116 -0
- package/logo-color-7f1fd803-DRD3vZVn.js +113 -0
- package/logo-color-margins-ff8ce71b-B9nMsY9Q.mjs +119 -0
- package/logo-color-margins-ff8ce71b-Dk06zr1Z.js +116 -0
- package/logo-space.entry-DpgwdyOK.js +1 -0
- package/logo-space.entry-OauRHmO8.mjs +14 -0
- package/logo-variations-horizontal.entry-BG8fM5Bs.js +4 -0
- package/logo-variations-horizontal.entry-BicKkgRN.mjs +16 -0
- package/logo-variations-vertical.entry-CXVFf9-0.mjs +16 -0
- package/logo-variations-vertical.entry-DJ-IpAyZ.js +4 -0
- package/logo-white-no-bg-f382f86f-DXYn3NwV.js +1011 -0
- package/logo-white-no-bg-f382f86f-YhfmNmGG.mjs +1022 -0
- package/logo-wrong-usage.entry-7MfyIkPp.js +1 -0
- package/logo-wrong-usage.entry-CH7JMqbI.mjs +14 -0
- package/mastodon-3703ec61-C7iI4Hk0.mjs +15 -0
- package/mastodon-3703ec61-C9v6Olc-.js +12 -0
- package/menu-340ea948-BpnYX3gY.mjs +12 -0
- package/menu-340ea948-ZdelWVw3.js +9 -0
- package/mono-53f70232-DGi2XDlR.mjs +12 -0
- package/mono-53f70232-DgAsWvoQ.js +9 -0
- package/more-4449d549-D4HA1cRq.js +11 -0
- package/more-4449d549-rI9hOpEp.mjs +14 -0
- package/package.json +2 -3
- package/search-fbcd79c2-BMxCaeEk.js +10 -0
- package/search-fbcd79c2-rfV0PlHP.mjs +13 -0
- package/success-443809da-BD23vltm.mjs +19 -0
- package/success-443809da-BUEhLsAD.js +16 -0
- package/toastManager-d9eee791-CEYNwx25.mjs +30 -0
- package/toastManager-d9eee791-DvR_vUPI.js +1 -0
- package/token-list_3.entry-CVZDegic.js +1 -0
- package/token-list_3.entry-Ca9muGhp.mjs +247 -0
- package/token-ratios.entry-D3JWYlHy.mjs +25 -0
- package/token-ratios.entry-DGMJ2vJj.js +1 -0
- package/token-spacing.entry-CdrdqAOb.js +1 -0
- package/token-spacing.entry-CjITQ8pH.mjs +12 -0
- package/token-typography.entry-C8CdhyIM.js +2 -0
- package/token-typography.entry-DwUOTznz.mjs +213 -0
- package/twitter-ac21b505-CGWVGWM9.mjs +15 -0
- package/twitter-ac21b505-DDdHS4hB.js +12 -0
- package/user-71ebdc15-BBKQbcQD.js +14 -0
- package/user-71ebdc15-CoHlCtJg.mjs +17 -0
- package/youtube-efbfbdc4-BLTH1Jl9.js +12 -0
- package/youtube-efbfbdc4-BfySbfjR.mjs +15 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BGGkUjck.js"),i=".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.top-1\\/2{top: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}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}",n=i,r=class{constructor(t){e.registerInstance(this,t),this.isOpen=!1,this.title="",this.truncate=!0,this.truncateLines="1"}getTruncateClass(){return this.truncate&&this.truncateLines?`line-clamp-${this.truncateLines}`:""}async open(){this.isOpen=!0}async close(){this.isOpen=!1}async toggle(){this.isOpen=!this.isOpen}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach(a=>{this.emitContext(a)})}emitContext(t){const a=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(a)}render(){return e.h("div",{key:"00816ecb900bd9b68b31fdf6e48bef0223f9e10a",class:`${this.isOpen?"block":"hidden"} fixed inset-0 z-50 flex`},this.isOpen&&e.h("div",{key:"570fa8625f9ad4b1ea82633f11e2b289ab01b853",class:"fixed inset-0 bg-dark bg-opacity-90",onClick:()=>this.close()}),e.h("div",{key:"ff658c763e3fbc98123f13483076399966b10515",class:"max-w-full absolute px-20 py-20 bg-inverse rounded-lg shadow-lg z-10 left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center "},e.h("div",{key:"d8b72acd90cc59ab1f82384aee4e311319f75aa9",class:"flex justify-between items-center border-b-2 border-softer pb-8"},e.h("span",{key:"ee61fc505c5a3eb93541d3762d37f28a5a788bae",class:`f-heading-04 text-lighter ${this.getTruncateClass()}`},this.title),e.h("eds-button",{key:"3832772417d05a162eb5f2c4d0733f0ee845ed1c",intent:"tertiary",icon:"close","aria-label":"Close modal",onClick:()=>this.close(),"extra-class":"ml-8"})),e.h("div",{key:"f71b38be8284a37d0d198df0a9858c64202b3d91",class:"pt-8"},e.h("slot",{key:"1f80948334e5b4e9fc00a3bf01c6fc402d8220c3"}))))}get el(){return e.getElement(this)}};r.style=n;exports.eds_modal=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BGGkUjck.js"),n=class{constructor(t){e.registerInstance(this,t),this.prevLabel=void 0,this.nextLabel=void 0,this.prevUrl=void 0,this.nextUrl=void 0,this.linkSize="small",this.linkIntent="tertiary"}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach(i=>{this.emitContext(i)})}emitContext(t){const i=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(i)}render(){return e.h("ul",{key:"1ab60197bbc9ee86d77134138744dce39df2aaa7",class:"flex lg:flex grow items-center justify-center gap-x-8"},this.prevLabel&&e.h("eds-link",{key:"b29fd121d33c1e919d24a5d460d8d6864f1ff9db",label:this.prevLabel,url:this.prevUrl||void 0,disabled:!this.prevUrl,"aria-label":this.prevLabel,size:this.linkSize,intent:this.linkIntent,class:"mr-auto !p-8 lg:!pr-12"},e.h("eds-icon-wrapper",{key:"64620ccfaf2e006a6414bcd7e874a352b9d2d56b",icon:"chevron-left"}),this.prevLabel),this.nextLabel&&e.h("eds-link",{key:"ae6425f0f01c8f5bcbdae27d9bea9dc3a5b09d3b",label:this.nextLabel,url:this.nextUrl||void 0,disabled:!this.nextUrl,"aria-label":this.nextLabel,size:this.linkSize,intent:this.linkIntent,class:"ml-auto !p-8 lg:!pl-12"},this.nextLabel,e.h("eds-icon-wrapper",{key:"d286fc26f17ee6cf6828990e98df7865fbbfd352",icon:"chevron-right",class:"w-20 h-20"})))}get el(){return e.getElement(this)}};exports.eds_navigator=n;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { r as n, h as e, g as l } from "./index-DQrtrXyM.mjs";
|
|
2
|
+
const a = class {
|
|
3
|
+
constructor(t) {
|
|
4
|
+
n(this, t), this.prevLabel = void 0, this.nextLabel = void 0, this.prevUrl = void 0, this.nextUrl = void 0, this.linkSize = "small", this.linkIntent = "tertiary";
|
|
5
|
+
}
|
|
6
|
+
componentDidLoad() {
|
|
7
|
+
this.el.querySelectorAll("eds-link").forEach((i) => {
|
|
8
|
+
this.emitContext(i);
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Emits a custom event 'parentContext' for a given link element with the component's context.
|
|
13
|
+
* @param linkElement - The eds-link element to emit the event for.
|
|
14
|
+
*/
|
|
15
|
+
emitContext(t) {
|
|
16
|
+
const i = new CustomEvent("parentContext", {
|
|
17
|
+
detail: {
|
|
18
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
19
|
+
identifier: null
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
t.dispatchEvent(i);
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
return e("ul", { key: "1ab60197bbc9ee86d77134138744dce39df2aaa7", class: "flex lg:flex grow items-center justify-center gap-x-8" }, this.prevLabel && e("eds-link", { key: "b29fd121d33c1e919d24a5d460d8d6864f1ff9db", label: this.prevLabel, url: this.prevUrl || void 0, disabled: !this.prevUrl, "aria-label": this.prevLabel, size: this.linkSize, intent: this.linkIntent, class: "mr-auto !p-8 lg:!pr-12" }, e("eds-icon-wrapper", { key: "64620ccfaf2e006a6414bcd7e874a352b9d2d56b", icon: "chevron-left" }), this.prevLabel), this.nextLabel && e("eds-link", { key: "ae6425f0f01c8f5bcbdae27d9bea9dc3a5b09d3b", label: this.nextLabel, url: this.nextUrl || void 0, disabled: !this.nextUrl, "aria-label": this.nextLabel, size: this.linkSize, intent: this.linkIntent, class: "ml-auto !p-8 lg:!pl-12" }, this.nextLabel, e("eds-icon-wrapper", { key: "d286fc26f17ee6cf6828990e98df7865fbbfd352", icon: "chevron-right", class: "w-20 h-20" })));
|
|
26
|
+
}
|
|
27
|
+
get el() {
|
|
28
|
+
return l(this);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
a as eds_navigator
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-BGGkUjck.js"),l="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}}",h=l,r=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(){const t=this.hostEl.shadowRoot.querySelectorAll("eds-link");t.length>0&&(this.emitContext(t[0]),t.length>1&&this.emitContext(t[t.length-1]))}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 s=1;s<=e;s++)a.push(s);else{a.push(1),t-1>2&&a.push("...");for(let s=Math.max(2,t-1);s<=Math.min(e-1,t+1);s++)a.push(s);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 n=new CustomEvent("pageChange",{detail:e,bubbles:!0,composed:!0});this.hostEl.dispatchEvent(n),this.currentPage=e}}render(){return i.h("div",{key:"2385b59b0a8b2bbdc40bfc5032b846c0ec20065e"},this.total>0&&this.mode==="default"&&i.h("p",{key:"6aea281a4df247874f354469bbabae039424ad9e",class:"f-ui-03 text-lightest mb-28 w-full text-center"},i.h("span",{key:"eeb5f0ea902505c3853a30d51026cef9d9785e48",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:n=>this.handlePageClick(n,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"]}}};r.style=h;exports.eds_pagination=r;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { r, h as a, g as l } from "./index-DQrtrXyM.mjs";
|
|
2
|
+
const h = "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}}", o = h, g = class {
|
|
3
|
+
constructor(t) {
|
|
4
|
+
r(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 = [];
|
|
5
|
+
}
|
|
6
|
+
/** Lifecycle hook to generate pagination links on component load */
|
|
7
|
+
componentWillLoad() {
|
|
8
|
+
this.mode === "default" && this.generateLinks();
|
|
9
|
+
}
|
|
10
|
+
componentDidLoad() {
|
|
11
|
+
const t = this.hostEl.shadowRoot.querySelectorAll("eds-link");
|
|
12
|
+
t.length > 0 && (this.emitContext(t[0]), t.length > 1 && this.emitContext(t[t.length - 1]));
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Emits a custom event called `parentContext` for a given link element.
|
|
16
|
+
* This event provides context information about the breadcrumb component.
|
|
17
|
+
*
|
|
18
|
+
* @param linkElement - The link element to which the event will be dispatched.
|
|
19
|
+
*/
|
|
20
|
+
emitContext(t) {
|
|
21
|
+
const e = new CustomEvent("parentContext", {
|
|
22
|
+
detail: {
|
|
23
|
+
componentName: this.hostEl.tagName.toLowerCase(),
|
|
24
|
+
identifier: null
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
t.dispatchEvent(e);
|
|
28
|
+
}
|
|
29
|
+
onPageOrLastPageChange() {
|
|
30
|
+
this.mode === "default" && this.generateLinks();
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Checks if the current page is the first page
|
|
34
|
+
* @returns {boolean} - true if current page is the first page
|
|
35
|
+
*/
|
|
36
|
+
isFirstPage() {
|
|
37
|
+
return this.currentPage === 1;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Checks if the current page is the last page
|
|
41
|
+
* @returns {boolean} - true if current page is the last page
|
|
42
|
+
*/
|
|
43
|
+
isLastPage() {
|
|
44
|
+
return this.currentPage === this.lastPage;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Generates a pagination link object
|
|
48
|
+
* @param {number} page - Page number for the link
|
|
49
|
+
* @returns {Link} - Link object with page details
|
|
50
|
+
*/
|
|
51
|
+
generateLink(t) {
|
|
52
|
+
const e = this.url.includes("?");
|
|
53
|
+
return {
|
|
54
|
+
ariaLabel: `Page ${t}`,
|
|
55
|
+
url: `${this.url}${e ? "&" : "?"}page=${t}`,
|
|
56
|
+
label: t.toString(),
|
|
57
|
+
current: this.currentPage === t,
|
|
58
|
+
disabled: !1
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
/** Generates pagination links based on the last page and current page */
|
|
62
|
+
generateLinks() {
|
|
63
|
+
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)));
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Creates a pagination range based on delta, current, and total pages
|
|
67
|
+
* @param {number} current - Current page number
|
|
68
|
+
* @param {number} total - Total number of pages
|
|
69
|
+
* @param {number} delta - Range of pages to display around the current page
|
|
70
|
+
* @returns {(number | string)[]} - Range of page numbers or ellipses
|
|
71
|
+
*/
|
|
72
|
+
getPaginationGenerator(t, e) {
|
|
73
|
+
const i = [];
|
|
74
|
+
if (e <= 5)
|
|
75
|
+
for (let s = 1; s <= e; s++)
|
|
76
|
+
i.push(s);
|
|
77
|
+
else {
|
|
78
|
+
i.push(1), t - 1 > 2 && i.push("...");
|
|
79
|
+
for (let s = Math.max(2, t - 1); s <= Math.min(e - 1, t + 1); s++)
|
|
80
|
+
i.push(s);
|
|
81
|
+
t + 1 < e - 1 && i.push("..."), i.push(e);
|
|
82
|
+
}
|
|
83
|
+
return i;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Formats the current page results information for display
|
|
87
|
+
* @returns {string} - Formatted page result information
|
|
88
|
+
*/
|
|
89
|
+
pageResults() {
|
|
90
|
+
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}` : "";
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Handles a page click event, updating the current page and dispatching an event
|
|
94
|
+
* @param {MouseEvent} event - Click event
|
|
95
|
+
* @param {number} newPage - New page number
|
|
96
|
+
*/
|
|
97
|
+
handlePageClick(t, e) {
|
|
98
|
+
if (this.mode !== "navigator" && (t.preventDefault(), e !== this.currentPage)) {
|
|
99
|
+
this.links = this.links.map((i) => typeof i == "object" ? Object.assign(Object.assign({}, i), { current: parseInt(i.label) === e }) : i);
|
|
100
|
+
const n = new CustomEvent("pageChange", {
|
|
101
|
+
detail: e,
|
|
102
|
+
bubbles: !0,
|
|
103
|
+
composed: !0
|
|
104
|
+
});
|
|
105
|
+
this.hostEl.dispatchEvent(n), this.currentPage = e;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
render() {
|
|
109
|
+
return a("div", { key: "2385b59b0a8b2bbdc40bfc5032b846c0ec20065e" }, this.total > 0 && this.mode === "default" && a("p", { key: "6aea281a4df247874f354469bbabae039424ad9e", class: "f-ui-03 text-lightest mb-28 w-full text-center" }, a("span", { key: "eeb5f0ea902505c3853a30d51026cef9d9785e48", class: "sr-only" }, "Results:"), this.pageResults()), this.mode === "navigator" || this.lastPage && this.lastPage > 1 ? a("nav", { "aria-label": "Pagination" }, a("ul", { class: "flex items-center justify-center gap-x-8" }, a("li", { class: "mr-auto" }, a("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) => {
|
|
110
|
+
this.mode === "default" && (this.isFirstPage() ? t.preventDefault() : this.handlePageClick(t, (this.currentPage || 1) - 1));
|
|
111
|
+
} })), this.mode === "default" && this.links.map((t, e) => a("li", { key: e, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof t == "string" ? a("span", { class: "flex items-center justify-center" }, t) : a("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: (n) => this.handlePageClick(n, parseInt(t.label)) }))), a("li", { class: "ml-auto" }, a("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) => {
|
|
112
|
+
this.mode === "default" && (this.isLastPage() ? t.preventDefault() : this.handlePageClick(t, (this.currentPage || 1) + 1));
|
|
113
|
+
} })))) : null);
|
|
114
|
+
}
|
|
115
|
+
get hostEl() {
|
|
116
|
+
return l(this);
|
|
117
|
+
}
|
|
118
|
+
static get watchers() {
|
|
119
|
+
return {
|
|
120
|
+
currentPage: ["onPageOrLastPageChange"],
|
|
121
|
+
lastPage: ["onPageOrLastPageChange"]
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
g.style = o;
|
|
126
|
+
export {
|
|
127
|
+
g as eds_pagination
|
|
128
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { r as a, c as r, h as t } from "./index-DQrtrXyM.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 `links` prop into an array of link objects.
|
|
8
|
+
* Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
|
|
9
|
+
*
|
|
10
|
+
* @returns {any[]} Array of parsed link objects
|
|
11
|
+
*/
|
|
12
|
+
get parsedMappings() {
|
|
13
|
+
if (typeof this.textMapping == "object")
|
|
14
|
+
return this.textMapping;
|
|
15
|
+
if (typeof this.textMapping == "string")
|
|
16
|
+
try {
|
|
17
|
+
return JSON.parse(this.textMapping);
|
|
18
|
+
} catch (e) {
|
|
19
|
+
return console.error("Error parsing links prop:", e), [];
|
|
20
|
+
}
|
|
21
|
+
return [];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Handles the click event on a star.
|
|
25
|
+
* @param rating - The selected rating value.
|
|
26
|
+
*/
|
|
27
|
+
handleClick(e) {
|
|
28
|
+
this.selectedRating = e, this.ratingChange.emit(e);
|
|
29
|
+
}
|
|
30
|
+
render() {
|
|
31
|
+
return t("div", { key: "4ca6d5e0fb35d8ebce1acd5c1a7c6c857ba4f463", class: "relative w-full flex flex-col" }, t("span", { key: "784b77f84098b8d88cd3872004b0208a4437c51b", class: "f-body-01" }, this.label), t("div", { key: "6780db58d3c96046a99d383518cfe1db1e3f1c68", class: "stars" }, Array.from({ length: this.stars }, (e, i) => t("span", { class: {
|
|
32
|
+
star: !0,
|
|
33
|
+
filled: i < this.selectedRating
|
|
34
|
+
}, onClick: () => this.handleClick(i + 1) }, "★"))), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && t("span", { key: "ce0eec3c29cf27bff86e3307a29a2c39c2167087", class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]));
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
l.style = n;
|
|
38
|
+
export {
|
|
39
|
+
l as eds_rating
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-BGGkUjck.js"),a=":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=a,r=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 links prop:",e),[]}return[]}handleClick(e){this.selectedRating=e,this.ratingChange.emit(e)}render(){return t.h("div",{key:"4ca6d5e0fb35d8ebce1acd5c1a7c6c857ba4f463",class:"relative w-full flex flex-col"},t.h("span",{key:"784b77f84098b8d88cd3872004b0208a4437c51b",class:"f-body-01"},this.label),t.h("div",{key:"6780db58d3c96046a99d383518cfe1db1e3f1c68",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:"ce0eec3c29cf27bff86e3307a29a2c39c2167087",class:"f-ui-04 text-lighter"},this.parsedMappings[this.selectedRating-1]))}};r.style=s;exports.eds_rating=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-BGGkUjck.js"),n="",a=n,s=class{constructor(e){t.registerInstance(this,e),this.tag="section",this.sectionTitle="",this.headingLevel="h2"}render(){const e=this.tag;return t.h(e,{key:"849c35d9cd587cf14b0d6bc6efd1310a85d447f2"},t.h("eds-section-heading",{key:"7ed4486fcf6e7c653026869c9468be9471db1775",headingLevel:this.headingLevel,sectionTitle:this.sectionTitle}),t.h("slot",{key:"5d95ea6516ecaaab4e07a40b84cd20deb3d8d3b2"}))}};s.style=a;const c=class{constructor(e){t.registerInstance(this,e),this.sectionTitle=void 0,this.withContainer=!0,this.headingLevel="h2",this.tag="div",this.spacingLarge=!1}getHeadingClass(){return{h1:"f-heading-01",h2:"f-heading-02",h3:"f-heading-03",h4:"f-heading-04",h5:"f-heading-05",h6:"f-heading-06"}[this.headingLevel]}render(){const e=this.tag,i=this.headingLevel;return t.h(e,{key:"2c6466c0a02bf8598153c18eafb37affc3dac395",class:{"ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8 pb-20":!0,container:this.withContainer,"pt-48":this.spacingLarge,"pt-28":!this.spacingLarge}},t.h(i,{key:"fc7f0f09e02e8c63697e46811c465792497126e0",class:this.getHeadingClass()},this.sectionTitle))}};exports.eds_section_core=s;exports.eds_section_heading=c;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { r as t, h as s } from "./index-DQrtrXyM.mjs";
|
|
2
|
+
const n = "", a = n, c = class {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
t(this, e), this.tag = "section", this.sectionTitle = "", this.headingLevel = "h2";
|
|
5
|
+
}
|
|
6
|
+
render() {
|
|
7
|
+
const e = this.tag;
|
|
8
|
+
return s(e, { key: "849c35d9cd587cf14b0d6bc6efd1310a85d447f2" }, s("eds-section-heading", { key: "7ed4486fcf6e7c653026869c9468be9471db1775", headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), s("slot", { key: "5d95ea6516ecaaab4e07a40b84cd20deb3d8d3b2" }));
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
c.style = a;
|
|
12
|
+
const d = class {
|
|
13
|
+
constructor(e) {
|
|
14
|
+
t(this, e), this.sectionTitle = void 0, this.withContainer = !0, this.headingLevel = "h2", this.tag = "div", this.spacingLarge = !1;
|
|
15
|
+
}
|
|
16
|
+
getHeadingClass() {
|
|
17
|
+
return {
|
|
18
|
+
h1: "f-heading-01",
|
|
19
|
+
h2: "f-heading-02",
|
|
20
|
+
h3: "f-heading-03",
|
|
21
|
+
h4: "f-heading-04",
|
|
22
|
+
h5: "f-heading-05",
|
|
23
|
+
h6: "f-heading-06"
|
|
24
|
+
}[this.headingLevel];
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
const e = this.tag, i = this.headingLevel;
|
|
28
|
+
return s(e, { key: "2c6466c0a02bf8598153c18eafb37affc3dac395", class: {
|
|
29
|
+
"ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8 pb-20": !0,
|
|
30
|
+
container: this.withContainer,
|
|
31
|
+
"pt-48": this.spacingLarge,
|
|
32
|
+
"pt-28": !this.spacingLarge
|
|
33
|
+
} }, s(i, { key: "fc7f0f09e02e8c63697e46811c465792497126e0", class: this.getHeadingClass() }, this.sectionTitle));
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
c as eds_section_core,
|
|
38
|
+
d as eds_section_heading
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BGGkUjck.js"),n="blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.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)}.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)}.mt-12{margin-top:0.75rem}.mt-16{margin-top:1rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{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:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}",l=n,i=class{constructor(t){e.registerInstance(this,t),this.socialNetworks=[{label:"Twitter",url:"https://twitter.com/ebrains_eu",icon:"twitter"},{label:"Linkedin",url:"https://www.linkedin.com/company/ebrains-eu/about/",icon:"linkedin"},{label:"Facebook",url:"https://www.facebook.com/people/Ebrains_eu/100046659909324/",icon:"facebook"},{label:"Youtube",url:"https://www.youtube.com/channel/UC6E796cVVR5Xrs2A5jJmleQ",icon:"youtube"},{label:"Mastodon",url:"https://mastodon.social/@ebrains",icon:"mastodon"},{label:"Bluesky",url:"https://bsky.app/profile/ebrains.bsky.social",icon:"bluesky"}],this.title="Follow EBRAINS to keep up-to-date"}render(){return e.h("div",{key:"6169559327b728fd0f3a51a2b8a6439f80fba8fc"},e.h("p",{key:"df2e008500097af1b85660fe8b3fac122f5018a4",class:"f-ui-02"},this.title),e.h("ul",{key:"df01a2802412c4db4e5442fdfc0b6ef3f15c4109",class:"mt-12 flex gap-4"},this.socialNetworks.map((t,o)=>e.h("li",{key:o},e.h("eds-link",{"extra-class":"effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm",external:!0,"aria-label":t.label,url:t.url,icon:t.icon,intent:"strong"})))))}};i.style=l;exports.eds_social_networks=i;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { r as o, h as t } from "./index-DQrtrXyM.mjs";
|
|
2
|
+
const n = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.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)}.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)}.mt-12{margin-top:0.75rem}.mt-16{margin-top:1rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{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:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}", l = n, r = class {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
o(this, e), this.socialNetworks = [
|
|
5
|
+
{
|
|
6
|
+
label: "Twitter",
|
|
7
|
+
url: "https://twitter.com/ebrains_eu",
|
|
8
|
+
icon: "twitter"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
label: "Linkedin",
|
|
12
|
+
url: "https://www.linkedin.com/company/ebrains-eu/about/",
|
|
13
|
+
icon: "linkedin"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
label: "Facebook",
|
|
17
|
+
url: "https://www.facebook.com/people/Ebrains_eu/100046659909324/",
|
|
18
|
+
icon: "facebook"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
label: "Youtube",
|
|
22
|
+
url: "https://www.youtube.com/channel/UC6E796cVVR5Xrs2A5jJmleQ",
|
|
23
|
+
icon: "youtube"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: "Mastodon",
|
|
27
|
+
url: "https://mastodon.social/@ebrains",
|
|
28
|
+
icon: "mastodon"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
label: "Bluesky",
|
|
32
|
+
url: "https://bsky.app/profile/ebrains.bsky.social",
|
|
33
|
+
icon: "bluesky"
|
|
34
|
+
}
|
|
35
|
+
], this.title = "Follow EBRAINS to keep up-to-date";
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Renders the component's HTML structure with links to EBRAINS social profiles.
|
|
39
|
+
* Each social network link uses the `eds-link` component with specific classes and styles.
|
|
40
|
+
*
|
|
41
|
+
* @returns {JSX.Element} The rendered JSX for the component.
|
|
42
|
+
*/
|
|
43
|
+
render() {
|
|
44
|
+
return t("div", { key: "6169559327b728fd0f3a51a2b8a6439f80fba8fc" }, t("p", { key: "df2e008500097af1b85660fe8b3fac122f5018a4", class: "f-ui-02" }, this.title), t("ul", { key: "df01a2802412c4db4e5442fdfc0b6ef3f15c4109", class: "mt-12 flex gap-4" }, this.socialNetworks.map((e, i) => t("li", { key: i }, t("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: !0, "aria-label": e.label, url: e.url, icon: e.icon, intent: "strong" })))));
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
r.style = l;
|
|
48
|
+
export {
|
|
49
|
+
r as eds_social_networks
|
|
50
|
+
};
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-BGGkUjck.js"),i=require("./eu-9ddde93a-BFtIQw9B.js"),l=require("./logo-color-7f1fd803-DRD3vZVn.js"),o=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
|
+
<path fill="#e24329" d="M2 14l9.38 9v-9l-4-12.28c-.205-.632-1.176-.632-1.38 0z"></path>
|
|
3
|
+
<path fill="#e24329" d="M34 14l-9.38 9v-9l4-12.28c.205-.632 1.176-.632 1.38 0z"></path>
|
|
4
|
+
<path fill="#e24329" d="M18,34.38 3,14 33,14 Z"></path>
|
|
5
|
+
<path fill="#fc6d26" d="M18,34.38 11.38,14 2,14 6,25Z"></path>
|
|
6
|
+
<path fill="#fc6d26" d="M18,34.38 24.62,14 34,14 30,25Z"></path>
|
|
7
|
+
<path fill="#fca326" d="M2 14L.1 20.16c-.18.565 0 1.2.5 1.56l17.42 12.66z"></path>
|
|
8
|
+
<path fill="#fca326" d="M34 14l1.9 6.16c.18.565 0 1.2-.5 1.56L18 34.38z"></path>
|
|
9
|
+
</svg>`,H=`<svg
|
|
10
|
+
width="20"
|
|
11
|
+
height="20"
|
|
12
|
+
viewBox="0 0 20 20"
|
|
13
|
+
fill="none"
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
>
|
|
16
|
+
<path
|
|
17
|
+
fill-rule="evenodd"
|
|
18
|
+
clip-rule="evenodd"
|
|
19
|
+
d="M10 2C5.57714 2 2 5.57714 2 10C2 14.4229 5.57714 18 10 18C14.4229 18 18 14.4229 18 10C18 5.57714 14.4229 2 10 2Z"
|
|
20
|
+
stroke="currentColor"
|
|
21
|
+
stroke-width="2"
|
|
22
|
+
/>
|
|
23
|
+
<path
|
|
24
|
+
d="M7 7L10 10M13 13L10 10M10 10L13 7M10 10L7 13"
|
|
25
|
+
stroke="currentColor"
|
|
26
|
+
stroke-width="1.5"
|
|
27
|
+
/>
|
|
28
|
+
</svg>`,V=`<svg
|
|
29
|
+
width="20"
|
|
30
|
+
height="20"
|
|
31
|
+
viewBox="0 0 20 20"
|
|
32
|
+
fill="none"
|
|
33
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
34
|
+
>
|
|
35
|
+
<circle
|
|
36
|
+
cx="10.0001"
|
|
37
|
+
cy="10.0001"
|
|
38
|
+
r="9.00007"
|
|
39
|
+
fill="white"
|
|
40
|
+
stroke="currentColor"
|
|
41
|
+
stroke-width="2"
|
|
42
|
+
/>
|
|
43
|
+
<path
|
|
44
|
+
d="M6 9.33303L8.9474 12.6664L14.0001 7.33301"
|
|
45
|
+
stroke="currentColor"
|
|
46
|
+
stroke-width="2.00002"
|
|
47
|
+
/>
|
|
48
|
+
</svg>`,W=`<svg
|
|
49
|
+
width="20"
|
|
50
|
+
height="20"
|
|
51
|
+
viewBox="0 0 20 20"
|
|
52
|
+
fill="none"
|
|
53
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
54
|
+
>
|
|
55
|
+
<circle
|
|
56
|
+
cx="10.0001"
|
|
57
|
+
cy="10.0001"
|
|
58
|
+
r="9.00007"
|
|
59
|
+
fill="white"
|
|
60
|
+
stroke="currentColor"
|
|
61
|
+
stroke-width="2"
|
|
62
|
+
/>
|
|
63
|
+
<path
|
|
64
|
+
d="M6.21053 14.0001L10 10M13.7895 6L10 10M10 10L6 6M10 10L14.0001 14.0001"
|
|
65
|
+
stroke="currentColor"
|
|
66
|
+
stroke-width="2.00002"
|
|
67
|
+
/>
|
|
68
|
+
</svg>`,D=` <svg
|
|
69
|
+
width="20"
|
|
70
|
+
height="20"
|
|
71
|
+
viewBox="0 0 20 20"
|
|
72
|
+
fill="none"
|
|
73
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
74
|
+
>
|
|
75
|
+
<path
|
|
76
|
+
fill-rule="evenodd"
|
|
77
|
+
clip-rule="evenodd"
|
|
78
|
+
d="M10 3C6.13 3 3 6.13 3 10C3 13.87 6.13 17 10 17C13.87 17 17 13.87 17 10C17 6.13 13.87 3 10 3Z"
|
|
79
|
+
stroke="currentColor"
|
|
80
|
+
stroke-width="2"
|
|
81
|
+
/>
|
|
82
|
+
<path d="M10 6V10.5" stroke="currentColor" stroke-width="2" />
|
|
83
|
+
<circle cx="10" cy="12.9209" r="1.40346" fill="currentColor" />
|
|
84
|
+
</svg>`,S=`<svg
|
|
85
|
+
width="20"
|
|
86
|
+
height="20"
|
|
87
|
+
viewBox="0 0 20 20"
|
|
88
|
+
fill="none"
|
|
89
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
90
|
+
>
|
|
91
|
+
<rect width="20" height="20" rx="4" fill="currentColor" />
|
|
92
|
+
<path d="M4 10L8 14L16 6" stroke="white" stroke-width="3" />
|
|
93
|
+
</svg>`,N=` <svg
|
|
94
|
+
width="20"
|
|
95
|
+
height="20"
|
|
96
|
+
viewBox="0 0 20 20"
|
|
97
|
+
fill="none"
|
|
98
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
99
|
+
>
|
|
100
|
+
<path
|
|
101
|
+
fill-rule="evenodd"
|
|
102
|
+
clip-rule="evenodd"
|
|
103
|
+
d="M2 10C2 5.57714 5.57714 2 10 2C14.4229 2 18 5.57714 18 10C18 14.4229 14.4229 18 10 18C5.57714 18 2 14.4229 2 10ZM6.50503 7.49497L9.01005 10L6.50503 12.505L7.49497 13.495L10 10.99L12.505 13.495L13.495 12.505L10.99 10L13.495 7.49497L12.505 6.50503L10 9.01005L7.49497 6.50503L6.50503 7.49497Z"
|
|
104
|
+
fill="currentColor"
|
|
105
|
+
/>
|
|
106
|
+
</svg>`,R=`<svg
|
|
107
|
+
width="20"
|
|
108
|
+
height="20"
|
|
109
|
+
viewBox="0 0 20 20"
|
|
110
|
+
fill="none"
|
|
111
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
112
|
+
>
|
|
113
|
+
<path
|
|
114
|
+
d="M12 5C10.8954 5 10 5.89543 10 7V17C10 15.8954 10.8954 15 12 15H18V5H12Z"
|
|
115
|
+
stroke="currentColor"
|
|
116
|
+
stroke-width="1.5"
|
|
117
|
+
/>
|
|
118
|
+
<path
|
|
119
|
+
d="M8 5C9.10457 5 10 5.89543 10 7V17C10 15.8954 9.10457 15 8 15H2V5H8Z"
|
|
120
|
+
stroke="currentColor"
|
|
121
|
+
stroke-width="1.5"
|
|
122
|
+
/>
|
|
123
|
+
</svg>`,_=`<svg
|
|
124
|
+
width="20"
|
|
125
|
+
height="20"
|
|
126
|
+
viewBox="0 0 20 20"
|
|
127
|
+
fill="none"
|
|
128
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
129
|
+
>
|
|
130
|
+
<path
|
|
131
|
+
d="M5.91937 8H9V3H11V8H14.0806L10 13.1008L5.91937 8Z"
|
|
132
|
+
fill="currentColor"
|
|
133
|
+
/>
|
|
134
|
+
<path
|
|
135
|
+
d="M5 15V12H3V15C3 16.1046 3.89543 17 5 17H15C16.1046 17 17 16.1046 17 15V12H15V15H5Z"
|
|
136
|
+
fill="currentColor"
|
|
137
|
+
/>
|
|
138
|
+
</svg>`,z=` <svg
|
|
139
|
+
width="20"
|
|
140
|
+
height="20"
|
|
141
|
+
viewBox="0 0 20 20"
|
|
142
|
+
fill="none"
|
|
143
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
144
|
+
>
|
|
145
|
+
<path
|
|
146
|
+
d="M2 6.5H6M9 6.5H18M18 13.5H14M11 13.5H2"
|
|
147
|
+
stroke="currentColor"
|
|
148
|
+
stroke-width="2"
|
|
149
|
+
/>
|
|
150
|
+
<path
|
|
151
|
+
d="M10 6.5C10 7.88071 8.88071 9 7.5 9C6.11929 9 5 7.88071 5 6.5C5 5.11929 6.11929 4 7.5 4C8.88071 4 10 5.11929 10 6.5Z"
|
|
152
|
+
stroke="currentColor"
|
|
153
|
+
stroke-width="2"
|
|
154
|
+
/>
|
|
155
|
+
<path
|
|
156
|
+
d="M10 13.5C10 14.8807 11.1193 16 12.5 16C13.8807 16 15 14.8807 15 13.5C15 12.1193 13.8807 11 12.5 11C11.1193 11 10 12.1193 10 13.5Z"
|
|
157
|
+
stroke="currentColor"
|
|
158
|
+
stroke-width="2"
|
|
159
|
+
/>
|
|
160
|
+
</svg>`,O=`<svg
|
|
161
|
+
width="20"
|
|
162
|
+
height="20"
|
|
163
|
+
viewBox="0 0 20 20"
|
|
164
|
+
fill="none"
|
|
165
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
166
|
+
>
|
|
167
|
+
<path
|
|
168
|
+
fill-rule="evenodd"
|
|
169
|
+
clip-rule="evenodd"
|
|
170
|
+
d="M6.75 4C6.75 2.20507 8.20507 0.75 10 0.75C11.7949 0.75 13.25 2.20507 13.25 4C13.25 4.02739 13.2497 4.0547 13.249 4.08193C14.372 4.69978 15.3002 5.62799 15.9181 6.75102C15.9453 6.75034 15.9726 6.75 16 6.75C17.7949 6.75 19.25 8.20507 19.25 10C19.25 11.7949 17.7949 13.25 16 13.25C15.9726 13.25 15.9453 13.2497 15.9181 13.249C15.3002 14.372 14.372 15.3002 13.249 15.9181C13.2497 15.9453 13.25 15.9726 13.25 16C13.25 17.7949 11.7949 19.25 10 19.25C8.20507 19.25 6.75 17.7949 6.75 16C6.75 15.9726 6.75034 15.9453 6.75102 15.9181C5.62799 15.3002 4.69978 14.372 4.08193 13.249C4.0547 13.2497 4.02739 13.25 4 13.25C2.20507 13.25 0.75 11.7949 0.75 10C0.75 8.20507 2.20507 6.75 4 6.75C4.02739 6.75 4.0547 6.75034 4.08193 6.75102C4.69978 5.62799 5.62799 4.69978 6.75101 4.08193C6.75034 4.0547 6.75 4.02739 6.75 4ZM10 2.25C9.0335 2.25 8.25 3.0335 8.25 4C8.25 4.9665 9.0335 5.75 10 5.75C10.9665 5.75 11.75 4.9665 11.75 4C11.75 3.0335 10.9665 2.25 10 2.25ZM14.4169 12.839C13.4224 12.2833 12.75 11.2202 12.75 10C12.75 8.77982 13.4224 7.7167 14.4169 7.16096C14.0099 6.52904 13.471 5.99011 12.839 5.58309C12.2833 6.57758 11.2202 7.25 10 7.25C8.77982 7.25 7.7167 6.57759 7.16097 5.5831C6.52904 5.99011 5.99011 6.52904 5.58309 7.16097C6.57758 7.7167 7.25 8.77982 7.25 10C7.25 11.2202 6.57758 12.2833 5.58309 12.839C5.99011 13.471 6.52904 14.0099 7.16096 14.4169C7.7167 13.4224 8.77982 12.75 10 12.75C11.2202 12.75 12.2833 13.4224 12.839 14.4169C13.471 14.0099 14.0099 13.471 14.4169 12.839ZM8.25 16C8.25 15.0335 9.0335 14.25 10 14.25C10.9665 14.25 11.75 15.0335 11.75 16C11.75 16.9665 10.9665 17.75 10 17.75C9.0335 17.75 8.25 16.9665 8.25 16ZM2.25 10C2.25 10.9665 3.0335 11.75 4 11.75C4.9665 11.75 5.75 10.9665 5.75 10C5.75 9.0335 4.9665 8.25 4 8.25C3.0335 8.25 2.25 9.0335 2.25 10ZM16 11.75C15.0335 11.75 14.25 10.9665 14.25 10C14.25 9.0335 15.0335 8.25 16 8.25C16.9665 8.25 17.75 9.0335 17.75 10C17.75 10.9665 16.9665 11.75 16 11.75Z"
|
|
171
|
+
fill="currentColor"
|
|
172
|
+
/>
|
|
173
|
+
</svg>`,j=`<svg
|
|
174
|
+
width="20"
|
|
175
|
+
height="20"
|
|
176
|
+
viewBox="0 0 20 20"
|
|
177
|
+
fill="none"
|
|
178
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
179
|
+
>
|
|
180
|
+
<circle
|
|
181
|
+
cx="10.0001"
|
|
182
|
+
cy="10.0001"
|
|
183
|
+
r="9.00007"
|
|
184
|
+
fill="white"
|
|
185
|
+
stroke="currentColor"
|
|
186
|
+
stroke-width="2"
|
|
187
|
+
/>
|
|
188
|
+
<path
|
|
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
|
+
fill="currentColor"
|
|
191
|
+
/>
|
|
192
|
+
</svg>`,E=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:S,clear:N,close:m.close,completed:V,copy:Z.copy,documentation:R,download:_,error:H,gitlabColor:y,gitlabBlack:s.gitlabBlack,loader:M.loader,hLogoColor:l.hLogoColor,hLogoBlack:o.hLogoBlack,hLogoColorWhite:o.hLogoColorWhite,hLogoWhite:o.hLogoWhite,hLogoWhiteNoBg:o.hLogoWhiteNoBg,vLogoColor:o.vLogoColor,vLogoBlack:o.vLogoBlack,vLogoColorWhite:o.vLogoColorWhite,vLogoWhite:o.vLogoWhite,vLogoWhiteNoBg:o.vLogoWhiteNoBg,vLogoMargins:n.vLogoMargins,menu:x.menu,more:q.more,failed:W,filter:z,group:O,user:B.user,search:k.search,success:b.success,warning:D,unknown:j}),F=class{constructor(e){r.registerInstance(this,e)}getSvgData(){return Object.entries(E).filter(([e])=>!e.toLowerCase().includes("logo")&&!e.toLowerCase().includes("eu")).map(([e,t])=>({name:e,icon:t}))}render(){const e=this.getSvgData(),t={icon:{format:"svg"},name:{format:"bold"}};return r.h("eds-table",{key:"d5b4cdb69826e22d716bf9bf4ff7fb9ab1f65044",data:JSON.stringify(e),config:JSON.stringify(t),"rows-per-page":10,"search-enabled":!0,"pagination-enabled":!0})}};exports.eds_svg_repository=F;
|