@ebrains/vue 3.0.0 → 3.1.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.
Files changed (102) hide show
  1. package/{color-primary-palette_6.entry-CqAoq6GO.mjs → color-primary-palette_6.entry-DLM8AbQ4.mjs} +16 -16
  2. package/color-primary-palette_6.entry-g0jXU2Ob.js +1 -0
  3. package/{components-section.entry-DpDBEL7H.js → components-section.entry-D3Cs3rKx.js} +2 -2
  4. package/{components-section.entry-CIYtJYXY.mjs → components-section.entry-Di2VXgMA.mjs} +2 -2
  5. package/{correct-use-of-colors.entry-CuwLgUHl.mjs → correct-use-of-colors.entry-BO20319L.mjs} +2 -2
  6. package/correct-use-of-colors.entry-D6EyksAq.js +1 -0
  7. package/{docs-palettes.entry-BKZvseSQ.mjs → docs-palettes.entry-BdmohcUb.mjs} +2 -2
  8. package/{docs-palettes.entry-ChmYw0u_.js → docs-palettes.entry-CMeJkYSH.js} +1 -1
  9. package/{docs-tokens.entry-CrwVkEa1.js → docs-tokens.entry-CNGoSG29.js} +1 -1
  10. package/{docs-tokens.entry-DexNFNR5.mjs → docs-tokens.entry-CWOYs_8-.mjs} +2 -2
  11. package/{eds-accordion_52.entry-Dcxdm3AN.mjs → eds-accordion_53.entry-B-Wyebqm.mjs} +1290 -912
  12. package/{eds-accordion_52.entry-DKDqOA4V.js → eds-accordion_53.entry-B5ZXKAjG.js} +29 -14
  13. package/{eds-app-root.entry-B11nTXv3.mjs → eds-app-root.entry-BIOnfrHA.mjs} +4 -4
  14. package/eds-app-root.entry-K5aPf66w.js +1 -0
  15. package/{eds-cookies-preference.entry-D4nimNcG.js → eds-cookies-preference.entry-CVcAao_J.js} +1 -1
  16. package/{eds-cookies-preference.entry-bcrDsOGH.mjs → eds-cookies-preference.entry-WYgccA0t.mjs} +5 -5
  17. package/{eds-feedback.entry-C-G4jFbi.mjs → eds-feedback.entry-BpRZtSfF.mjs} +7 -7
  18. package/{eds-feedback.entry-CUB3YDhj.js → eds-feedback.entry-D5Ouctg6.js} +1 -1
  19. package/{eds-frame.entry-BoqZ6nNe.mjs → eds-frame.entry-B4p00bwc.mjs} +2 -2
  20. package/{eds-frame.entry-Ct4z2AYF.js → eds-frame.entry-DR1xGJst.js} +1 -1
  21. package/{eds-gauge.entry-CyQOujHD.js → eds-gauge.entry-B_w5n0cW.js} +1 -1
  22. package/{eds-gauge.entry-DQwXsiIp.mjs → eds-gauge.entry-DgEkwl17.mjs} +6 -6
  23. package/{eds-gitlab-contributors.entry-DN6mtcLM.mjs → eds-gitlab-contributors.entry-B1AEl-u7.mjs} +3 -3
  24. package/eds-gitlab-contributors.entry-zWK0Z2kn.js +1 -0
  25. package/{eds-icon-bluesky.entry-lylInPDB.mjs → eds-icon-bluesky.entry-TCr9yCHs.mjs} +2 -2
  26. package/{eds-icon-bluesky.entry-DlYnCUSy.js → eds-icon-bluesky.entry-pDbXLbWF.js} +1 -1
  27. package/eds-icon-eu.entry-CTBu76k-.js +1 -0
  28. package/eds-icon-eu.entry-DuKnYzW-.mjs +13 -0
  29. package/eds-icon-facebook.entry-B1moHgT8.mjs +13 -0
  30. package/{eds-icon-facebook.entry-lAXwd41T.js → eds-icon-facebook.entry-CVymbjZx.js} +1 -1
  31. package/eds-icon-gitlab.entry-B51la_co.mjs +13 -0
  32. package/{eds-icon-gitlab.entry-B4RQCWqj.js → eds-icon-gitlab.entry-BeJh3EES.js} +1 -1
  33. package/eds-icon-linkedin.entry-D8aMAhFL.mjs +13 -0
  34. package/{eds-icon-linkedin.entry-uZhrzXWJ.js → eds-icon-linkedin.entry-DzZnyxAm.js} +1 -1
  35. package/eds-icon-mastodon.entry-8MO-blJh.js +1 -0
  36. package/eds-icon-mastodon.entry-DrOJJ5Kz.mjs +13 -0
  37. package/eds-icon-twitter.entry-B59MqkyR.mjs +13 -0
  38. package/eds-icon-twitter.entry-D1GOytI5.js +1 -0
  39. package/{eds-icon-youtube.entry-N6v7r0Ia.js → eds-icon-youtube.entry-BnxPIc3O.js} +1 -1
  40. package/eds-icon-youtube.entry-CzNnNcEj.mjs +13 -0
  41. package/eds-input-search.entry-C-8KBUCs.mjs +51 -0
  42. package/eds-input-search.entry-CtZHtmS4.js +1 -0
  43. package/{eds-modal.entry-tL01NBBW.js → eds-modal.entry-3OECayey.js} +1 -1
  44. package/{eds-modal.entry-BPoWspkf.mjs → eds-modal.entry-CRVpxuBW.mjs} +1 -1
  45. package/{eds-pie.entry-BFxIoval.mjs → eds-pie.entry-BPCyYhUQ.mjs} +1 -1
  46. package/{eds-pie.entry-Bxb8niKW.js → eds-pie.entry-CQmET1EH.js} +1 -1
  47. package/eds-section-core_2.entry-29cp2-oK.js +1 -0
  48. package/{eds-section-core_2.entry-BUIdt6Xq.mjs → eds-section-core_2.entry-nuk5XXsS.mjs} +7 -7
  49. package/{eds-splash-screen.entry-Cc1a3A-a.js → eds-splash-screen.entry-6LjvQMdi.js} +1 -1
  50. package/{eds-splash-screen.entry-CTMOtg_y.mjs → eds-splash-screen.entry-ysMrUnNU.mjs} +1 -1
  51. package/{eds-timeline.entry-D1mn5QWf.mjs → eds-timeline.entry-DKpKHB5k.mjs} +4 -4
  52. package/{eds-timeline.entry-BuU9dqHn.js → eds-timeline.entry-DMH1Ms5n.js} +1 -1
  53. package/{eds-toast-manager.entry-CDaKkQno.mjs → eds-toast-manager.entry-DVXxUD8d.mjs} +2 -2
  54. package/{eds-toast-manager.entry-Cbphm4Rp.js → eds-toast-manager.entry-DnCELf2f.js} +1 -1
  55. package/eds-trl-badge.entry-D7q4hgde.js +1 -0
  56. package/eds-trl-badge.entry-DCmmqQHB.mjs +73 -0
  57. package/generated/components.d.ts +3 -0
  58. package/{incorrect-use-of-colors.entry-FJevYdoz.mjs → incorrect-use-of-colors.entry-BSLfYKUb.mjs} +2 -2
  59. package/incorrect-use-of-colors.entry-DHqHOdH0.js +1 -0
  60. package/{index-QMzHaXvm.mjs → index-DL15mWAH.mjs} +465 -414
  61. package/index-WyhGZcXS.js +21 -0
  62. package/index.js +1 -1
  63. package/index.mjs +41 -38
  64. package/{logo-space.entry-M1a2d-R_.js → logo-space.entry-DojbLxT4.js} +1 -1
  65. package/{logo-space.entry-0SQ7wEzD.mjs → logo-space.entry-iQSqRbq9.mjs} +2 -2
  66. package/{logo-variations-horizontal_2.entry-UX2nye4_.js → logo-variations-horizontal_2.entry-BxLg0D44.js} +3 -3
  67. package/{logo-variations-horizontal_2.entry-BEHzCTk8.mjs → logo-variations-horizontal_2.entry-DNcdxqUe.mjs} +10 -10
  68. package/{logo-variations-tabs.entry-Ji2PlJ9Q.js → logo-variations-tabs.entry-C6mpER1C.js} +1 -1
  69. package/{logo-variations-tabs.entry-CV1C2UQ1.mjs → logo-variations-tabs.entry-DRT8k7pQ.mjs} +2 -2
  70. package/{logo-wrong-usage.entry-DUcsnSf6.mjs → logo-wrong-usage.entry-DHJIJsVZ.mjs} +6 -6
  71. package/{logo-wrong-usage.entry-DPH4fJ-q.js → logo-wrong-usage.entry-DTRzJDQo.js} +1 -1
  72. package/package.json +1 -1
  73. package/{svg-repository.entry-EbhGQB_U.js → svg-repository.entry-DZc3Ej9y.js} +2 -2
  74. package/{svg-repository.entry-BcL5lZMX.mjs → svg-repository.entry-DZfvxxeh.mjs} +14 -14
  75. package/{token-list_3.entry-DIqXhT6s.mjs → token-list_3.entry-CuNhLZNv.mjs} +10 -10
  76. package/{token-list_3.entry-D80f_GPw.js → token-list_3.entry-ve9r960B.js} +1 -1
  77. package/token-ratios.entry-BgWROZuw.js +1 -0
  78. package/{token-ratios.entry-B-MEgjhN.mjs → token-ratios.entry-D5YiyMvt.mjs} +5 -5
  79. package/token-spacing.entry-BchYKWuE.js +1 -0
  80. package/token-spacing.entry-CSkx5neb.mjs +12 -0
  81. package/{token-typography.entry-CbJsBpq0.mjs → token-typography.entry-C_NmBPt2.mjs} +4 -4
  82. package/{token-typography.entry-D0MsaU6A.js → token-typography.entry-DEuXeYSY.js} +1 -1
  83. package/color-primary-palette_6.entry-BNTAz-YV.js +0 -1
  84. package/correct-use-of-colors.entry-B-_UkVac.js +0 -1
  85. package/eds-app-root.entry-DMRJfFLw.js +0 -1
  86. package/eds-gitlab-contributors.entry-BQhkMG7J.js +0 -1
  87. package/eds-icon-eu.entry-DvJLazcS.js +0 -1
  88. package/eds-icon-eu.entry-oK_BrUeb.mjs +0 -13
  89. package/eds-icon-facebook.entry-DkmApxAR.mjs +0 -13
  90. package/eds-icon-gitlab.entry-BJ8G8MGq.mjs +0 -13
  91. package/eds-icon-linkedin.entry-BRCD1Y2P.mjs +0 -13
  92. package/eds-icon-mastodon.entry-BU_vQxP3.js +0 -1
  93. package/eds-icon-mastodon.entry-KXwNYySs.mjs +0 -13
  94. package/eds-icon-twitter.entry-Dicmqf9w.mjs +0 -13
  95. package/eds-icon-twitter.entry-jkwnjkjm.js +0 -1
  96. package/eds-icon-youtube.entry-S0AEwZ5S.mjs +0 -13
  97. package/eds-section-core_2.entry-BfHTOu5p.js +0 -1
  98. package/incorrect-use-of-colors.entry-Djbyd36M.js +0 -1
  99. package/index-CoItic1X.js +0 -21
  100. package/token-ratios.entry-03PH7eEF.js +0 -1
  101. package/token-spacing.entry-BuCJkSnv.js +0 -1
  102. package/token-spacing.entry-RNrQaZlP.mjs +0 -12
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-CoItic1X.js"),S=".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-full{border-radius:9999px}.overflow-hidden{overflow:hidden}.bg-inverse{background-color:var(--white)}.bg-current{background-color:currentColor}.bg-dark{background-color:var(--grey-300)}.bg-darker{background-color:var(--grey-400)}.bg-default{background-color:var(--grey-200)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.inset-0{inset:0rem}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.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-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)}.text-default{color:var(--black)}.w-8{width:0.5rem}.h-8{height:0.5rem}.mr-4{margin-right:0.25rem}:host{display:block}.wrapper{display:flex;align-items:center;justify-content:center;height:100%}.pie-chart{overflow:visible}.slice-label{font-size:var(--font-size-chart-label);font-weight:var(--font-weight-chart-label);fill:var(--color-text);pointer-events:none}.legend{list-style:none;margin:0;padding:0 0 0 1rem}.legend-item{display:flex;align-items:center;margin-bottom:0.5rem;outline:none}.legend-item:focus{outline:2px dashed var(--color-primary)}.legend-swatch{width:1rem;height:1rem;border-radius:50%;margin-right:0.5rem}.legend-label{font-size:var(--font-size-base);color:var(--color-text)}",k=S,h=class{constructor(i){t.registerInstance(this,i),this.size=200,this.slices=[],this.thickness=1,this.display="value",this.legend=!0,this.colorScheme="semantic"}parseSlices(){if(typeof this.slices=="string")try{return JSON.parse(this.slices)}catch{console.warn("eds-pie: invalid slices JSON")}return Array.isArray(this.slices)?this.slices:[]}polarToCartesian(i,a,n,c){const l=(c-90)*(Math.PI/180);return{x:i+n*Math.cos(l),y:a+n*Math.sin(l)}}describeArc(i,a,n,c,l){const s=this.polarToCartesian(i,a,n,l),d=this.polarToCartesian(i,a,n,c),r=l-c<=180?"0":"1";return[`M ${s.x} ${s.y}`,`A ${n} ${n} 0 ${r} 0 ${d.x} ${d.y}`,`L ${i} ${a}`,"Z"].join(" ")}render(){const i=this.parseSlices();i.length>h.MAX_SLICES&&console.warn(`eds-pie: too many slices (${i.length}), results may overlap.`);const a=i.reduce((e,o)=>e+o.value,0)||1,n=[...h.PALETTES[this.colorScheme]],c=[...i].sort((e,o)=>o.value-e.value);let l=0;const s=c.map(e=>{const o=e.value/a*360,u=l,g=l+o;l=g;const b=e.color||n.shift()||"#8c8c8c";return Object.assign(Object.assign({},e),{start:u,end:g,color:b})}),d=this.size,r=d/2,m=Math.min(Math.max(this.thickness,.5),1),f=r*(1-m),p=r,v=(r+f)/2,y=s.map(e=>`${e.label}: ${this.display==="percent"?`${Math.round(e.value/a*100)}%`:e.value}`).join(", ");return t.h(t.Host,null,t.h("div",{class:"wrapper"},t.h("svg",{width:d,height:d,role:"img","aria-label":`Pie chart: ${y}`,class:"pie-chart"},t.h("title",null,"Pie chart"),t.h("g",null,s.map(e=>t.h("path",{key:e.id,d:this.describeArc(r,r,p,e.start,e.end),fill:e.color})),f>0&&t.h("circle",{cx:r,cy:r,r:f,fill:"#FFFFFF"}),s.map(e=>{const o=e.start+(e.end-e.start)/2,{x:u,y:g}=this.polarToCartesian(r,r,v,o),b=this.display==="percent"?`${Math.round(e.value/a*100)}%`:String(e.value);return t.h("text",{key:e.id,x:u,y:g,class:"f-ui-02","text-anchor":"middle","alignment-baseline":"middle"},b)}))),this.legend&&t.h("ul",{class:"legend",role:"list"},s.map(e=>t.h("li",{key:e.id,role:"listitem",tabindex:"0",class:"legend-item"},t.h("span",{class:"legend-swatch",style:{backgroundColor:e.color}}),t.h("span",{class:"legend-label"},e.label))))))}};h.MAX_SLICES=9;h.PALETTES={semantic:["#00e766","#666666","#00c959","#8c8c8c","#63fb92","#d8d8d8","#9dffb4","#e6e6e6","#d3ffdc"],mono:["#666666","#8c8c8c","#e6e6e6","#f8f8f8","#4d4d4d","#6e6e6e","#d8d8d8","#f2f2f2","#242424"]};h.style=k;exports.eds_pie=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-WyhGZcXS.js"),S=".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-full{border-radius:9999px}.overflow-hidden{overflow:hidden}.bg-inverse{background-color:var(--white)}.bg-current{background-color:currentColor}.bg-dark{background-color:var(--grey-300)}.bg-darker{background-color:var(--grey-400)}.bg-default{background-color:var(--grey-200)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.inset-0{inset:0rem}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.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-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)}.text-default{color:var(--black)}.w-8{width:0.5rem}.h-8{height:0.5rem}.mr-4{margin-right:0.25rem}:host{display:block}.wrapper{display:flex;align-items:center;justify-content:center;height:100%}.pie-chart{overflow:visible}.slice-label{font-size:var(--font-size-chart-label);font-weight:var(--font-weight-chart-label);fill:var(--color-text);pointer-events:none}.legend{list-style:none;margin:0;padding:0 0 0 1rem}.legend-item{display:flex;align-items:center;margin-bottom:0.5rem;outline:none}.legend-item:focus{outline:2px dashed var(--color-primary)}.legend-swatch{width:1rem;height:1rem;border-radius:50%;margin-right:0.5rem}.legend-label{font-size:var(--font-size-base);color:var(--color-text)}",k=S,h=class{constructor(i){t.registerInstance(this,i),this.size=200,this.slices=[],this.thickness=1,this.display="value",this.legend=!0,this.colorScheme="semantic"}parseSlices(){if(typeof this.slices=="string")try{return JSON.parse(this.slices)}catch{console.warn("eds-pie: invalid slices JSON")}return Array.isArray(this.slices)?this.slices:[]}polarToCartesian(i,a,n,c){const l=(c-90)*(Math.PI/180);return{x:i+n*Math.cos(l),y:a+n*Math.sin(l)}}describeArc(i,a,n,c,l){const s=this.polarToCartesian(i,a,n,l),d=this.polarToCartesian(i,a,n,c),r=l-c<=180?"0":"1";return[`M ${s.x} ${s.y}`,`A ${n} ${n} 0 ${r} 0 ${d.x} ${d.y}`,`L ${i} ${a}`,"Z"].join(" ")}render(){const i=this.parseSlices();i.length>h.MAX_SLICES&&console.warn(`eds-pie: too many slices (${i.length}), results may overlap.`);const a=i.reduce((e,o)=>e+o.value,0)||1,n=[...h.PALETTES[this.colorScheme]],c=[...i].sort((e,o)=>o.value-e.value);let l=0;const s=c.map(e=>{const o=e.value/a*360,u=l,g=l+o;l=g;const b=e.color||n.shift()||"#8c8c8c";return Object.assign(Object.assign({},e),{start:u,end:g,color:b})}),d=this.size,r=d/2,m=Math.min(Math.max(this.thickness,.5),1),f=r*(1-m),p=r,v=(r+f)/2,y=s.map(e=>`${e.label}: ${this.display==="percent"?`${Math.round(e.value/a*100)}%`:e.value}`).join(", ");return t.h(t.Host,null,t.h("div",{class:"wrapper"},t.h("svg",{width:d,height:d,role:"img","aria-label":`Pie chart: ${y}`,class:"pie-chart"},t.h("title",null,"Pie chart"),t.h("g",null,s.map(e=>t.h("path",{key:e.id,d:this.describeArc(r,r,p,e.start,e.end),fill:e.color})),f>0&&t.h("circle",{cx:r,cy:r,r:f,fill:"#FFFFFF"}),s.map(e=>{const o=e.start+(e.end-e.start)/2,{x:u,y:g}=this.polarToCartesian(r,r,v,o),b=this.display==="percent"?`${Math.round(e.value/a*100)}%`:String(e.value);return t.h("text",{key:e.id,x:u,y:g,class:"f-ui-02","text-anchor":"middle","alignment-baseline":"middle"},b)}))),this.legend&&t.h("ul",{class:"legend",role:"list"},s.map(e=>t.h("li",{key:e.id,role:"listitem",tabindex:"0",class:"legend-item"},t.h("span",{class:"legend-swatch",style:{backgroundColor:e.color}}),t.h("span",{class:"legend-label"},e.label))))))}};h.MAX_SLICES=9;h.PALETTES={semantic:["#00e766","#666666","#00c959","#8c8c8c","#63fb92","#d8d8d8","#9dffb4","#e6e6e6","#d3ffdc"],mono:["#666666","#8c8c8c","#e6e6e6","#f8f8f8","#4d4d4d","#6e6e6e","#d8d8d8","#f2f2f2","#242424"]};h.style=k;exports.eds_pie=h;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-WyhGZcXS.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:"635230d1ec9a0dcc945990a6a58dc3508345d984"},t.h("eds-section-heading",{key:"0b6b94df22af707cbd6964132f3a5190b4b7e83c",headingLevel:this.headingLevel,sectionTitle:this.sectionTitle}),t.h("slot",{key:"8834c29c25249fb5c384fb5d51866eadb93a97d6"}))}};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:"7275284a1158ab982f1e53117b72738d0a001c97",class:{"ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8":!0,container:this.withContainer,"pt-48":this.spacingLarge,"pt-28":!this.spacingLarge}},t.h(i,{key:"a3c68baa56a0337348405c88544225ed7c7ff0ed",class:this.getHeadingClass()},this.sectionTitle))}};exports.eds_section_core=s;exports.eds_section_heading=c;
@@ -1,14 +1,14 @@
1
- import { r as t, h as s } from "./index-QMzHaXvm.mjs";
2
- const n = "", a = n, h = class {
1
+ import { r as t, h as s } from "./index-DL15mWAH.mjs";
2
+ const a = "", n = a, c = class {
3
3
  constructor(e) {
4
4
  t(this, e), this.tag = "section", this.sectionTitle = "", this.headingLevel = "h2";
5
5
  }
6
6
  render() {
7
7
  const e = this.tag;
8
- return s(e, { key: "65cb765fe9b997b5e573f5befd4ca1ea6611f1c5" }, s("eds-section-heading", { key: "a48c9fef0a45fbed08749e8b4f17d762d38bbb5b", headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), s("slot", { key: "7e26bc40132c32670db60f5765b412d00d64c129" }));
8
+ return s(e, { key: "635230d1ec9a0dcc945990a6a58dc3508345d984" }, s("eds-section-heading", { key: "0b6b94df22af707cbd6964132f3a5190b4b7e83c", headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), s("slot", { key: "8834c29c25249fb5c384fb5d51866eadb93a97d6" }));
9
9
  }
10
10
  };
11
- h.style = a;
11
+ c.style = n;
12
12
  const d = class {
13
13
  constructor(e) {
14
14
  t(this, e), this.sectionTitle = void 0, this.withContainer = !0, this.headingLevel = "h2", this.tag = "div", this.spacingLarge = !1;
@@ -25,15 +25,15 @@ const d = class {
25
25
  }
26
26
  render() {
27
27
  const e = this.tag, i = this.headingLevel;
28
- return s(e, { key: "032f8629ef5ea1c45f40a135a54c32337f7181e9", class: {
28
+ return s(e, { key: "7275284a1158ab982f1e53117b72738d0a001c97", class: {
29
29
  "ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8": !0,
30
30
  container: this.withContainer,
31
31
  "pt-48": this.spacingLarge,
32
32
  "pt-28": !this.spacingLarge
33
- } }, s(i, { key: "37f821426fe05dba66445745da3d23c9ff75345e", class: this.getHeadingClass() }, this.sectionTitle));
33
+ } }, s(i, { key: "a3c68baa56a0337348405c88544225ed7c7ff0ed", class: this.getHeadingClass() }, this.sectionTitle));
34
34
  }
35
35
  };
36
36
  export {
37
- h as eds_section_core,
37
+ c as eds_section_core,
38
38
  d as eds_section_heading
39
39
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CoItic1X.js"),n=".splash-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999999;background-color:var(--grey-200);display:flex;flex-direction:column;align-items:center;justify-content:center}.logo-container{width:300px;height:60px;animation:loading-pulse 1.5s ease-in-out infinite}@keyframes loading-pulse{0%,100%{opacity:1}50%{opacity:0.6}}",a=n,i=class{constructor(s){e.registerInstance(this,s),this.splash=e.createEvent(this,"splash",7),this.inverse=!1,this.initPromise=void 0,this.isVisible=!0}componentWillLoad(){this.initPromise&&this.handleInitPromise(this.initPromise)}async watchInitPromise(s){s&&this.handleInitPromise(s)}async handleInitPromise(s){try{await s,this.hideSplash()}catch(t){this.splash.emit({type:"error",message:t.message||"Unknown error"})}}handleHideSplash(){this.hideSplash()}hideSplash(){this.isVisible=!1,this.splash.emit({type:"hidden",message:"Splash screen hidden successfully"})}render(){return this.isVisible?e.h(e.Host,null,e.h("div",{class:"splash-overlay",style:{background:this.inverse?"var(--brand-black)":"var(--grey-light)"}},e.h("div",{class:"logo-container"},this.inverse?e.h("eds-logo",{variant:"negative"}):e.h("eds-logo",{variant:"positive"})))):null}static get watchers(){return{initPromise:["watchInitPromise"]}}};i.style=a;exports.eds_splash_screen=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),n=".splash-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999999;background-color:var(--grey-200);display:flex;flex-direction:column;align-items:center;justify-content:center}.logo-container{width:300px;height:60px;animation:loading-pulse 1.5s ease-in-out infinite}@keyframes loading-pulse{0%,100%{opacity:1}50%{opacity:0.6}}",a=n,i=class{constructor(s){e.registerInstance(this,s),this.splash=e.createEvent(this,"splash",7),this.inverse=!1,this.initPromise=void 0,this.isVisible=!0}componentWillLoad(){this.initPromise&&this.handleInitPromise(this.initPromise)}async watchInitPromise(s){s&&this.handleInitPromise(s)}async handleInitPromise(s){try{await s,this.hideSplash()}catch(t){this.splash.emit({type:"error",message:t.message||"Unknown error"})}}handleHideSplash(){this.hideSplash()}hideSplash(){this.isVisible=!1,this.splash.emit({type:"hidden",message:"Splash screen hidden successfully"})}render(){return this.isVisible?e.h(e.Host,null,e.h("div",{class:"splash-overlay",style:{background:this.inverse?"var(--brand-black)":"var(--grey-light)"}},e.h("div",{class:"logo-container"},this.inverse?e.h("eds-logo",{variant:"negative"}):e.h("eds-logo",{variant:"positive"})))):null}static get watchers(){return{initPromise:["watchInitPromise"]}}};i.style=a;exports.eds_splash_screen=i;
@@ -1,4 +1,4 @@
1
- import { r as t, c as n, h as e, H as a } from "./index-QMzHaXvm.mjs";
1
+ import { r as t, c as n, h as e, H as a } from "./index-DL15mWAH.mjs";
2
2
  const r = ".splash-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999999;background-color:var(--grey-200);display:flex;flex-direction:column;align-items:center;justify-content:center}.logo-container{width:300px;height:60px;animation:loading-pulse 1.5s ease-in-out infinite}@keyframes loading-pulse{0%,100%{opacity:1}50%{opacity:0.6}}", l = r, h = class {
3
3
  constructor(s) {
4
4
  t(this, s), this.splash = n(this, "splash", 7), this.inverse = !1, this.initPromise = void 0, this.isVisible = !0;
@@ -1,6 +1,6 @@
1
- import { r, h as t, g as l } from "./index-QMzHaXvm.mjs";
1
+ import { r, h as t, g as l } from "./index-DL15mWAH.mjs";
2
2
  import { p as i } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
3
- const n = ".max-w-sidebar{max-width:1224px}.mx-auto{margin-left:auto;margin-right:auto}.px-4{padding-left:0.25rem;padding-right:0.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.relative{position:relative}.absolute{position:absolute}.flex{display:flex}.w-4{width:0.25rem}.pr-4{padding-right:0.25rem}.pl-4{padding-left:0.25rem}.w-1\\/2{width:50%}.left-1\\/2{left:50%}.transform{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-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))}.bg-strong{background-color:var(--grey-700)}.h-full{height:100%}.z-0{z-index:0}.space-y-16>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.items-center{align-items:center}.justify-center{justify-content:center}.w-32{width:2rem}.h-32{height:2rem}.bg-accent{background-color:var(--green-500)}.rounded-full{border-radius:9999px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}", c = n, d = class {
3
+ const n = ".max-w-sidebar{max-width:1224px}.mx-auto{margin-left:auto;margin-right:auto}.px-4{padding-left:0.25rem;padding-right:0.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.relative{position:relative}.absolute{position:absolute}.flex{display:flex}.w-4{width:0.25rem}.pr-4{padding-right:0.25rem}.pl-4{padding-left:0.25rem}.w-1\\/2{width:50%}.left-1\\/2{left:50%}.transform{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-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))}.bg-strong{background-color:var(--grey-700)}.h-full{height:100%}.z-0{z-index:0}.space-y-16>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.items-center{align-items:center}.justify-center{justify-content:center}.w-32{width:2rem}.h-32{height:2rem}.bg-accent{background-color:var(--green-500)}.rounded-full{border-radius:9999px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}", o = n, d = class {
4
4
  constructor(e) {
5
5
  r(this, e), this.events = void 0, this.selectedEvent = null, this.parsedEvents = [];
6
6
  }
@@ -29,7 +29,7 @@ const n = ".max-w-sidebar{max-width:1224px}.mx-auto{margin-left:auto;margin-righ
29
29
  this.selectedEvent = e, this.modalRef && typeof this.modalRef.open == "function" && this.modalRef.open();
30
30
  }
31
31
  render() {
32
- return t("div", { key: "9670bbe26e6f092d88c73268838d9349dca0c323", class: "max-w-sidebar mx-auto px-4 py-8" }, t("div", { key: "202722dc0cb384ce68b2239915f44bf90d87a77e", class: "relative" }, t("div", { key: "59760e5a62518dc6c3cc7fcfa711e060837f4c49", class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), t("div", { key: "2f1f6c5f5e7f2a770fc762b1b886dd199f0cf953", class: "space-y-16" }, this.parsedEvents.map((e, a) => t("div", { class: "relative flex" }, t("div", { class: `w-1/2 ${a % 2 === 0 ? "pr-4" : ""}` }, a % 2 === 0 && t("eds-card-generic", { title: e.title, url: "#", description: e.description, intent: "secondary", tags: JSON.stringify(e.completed ? [{ label: "completed", style: "accent" }] : [{ label: "pending", style: "default" }]), onClick: () => this.handleEventClick(e) })), t("div", { class: "flex items-center justify-center relative" }, e.completed ? t("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" }) : t("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" })), t("div", { class: `w-1/2 ${a % 2 !== 0 ? "pl-4" : ""}` }, a % 2 !== 0 && t("eds-card-generic", { title: e.title, url: "#", description: e.description, intent: "secondary", tags: JSON.stringify(e.completed ? [{ label: "completed", style: "accent" }] : [{ label: "pending", style: "default" }]), onClick: () => this.handleEventClick(e) })))))));
32
+ return t("div", { key: "78b199b18d361ae3223e4f1fe9a2043d61f4271b", class: "max-w-sidebar mx-auto px-4 py-8" }, t("div", { key: "afdfdf7dc573a7f273703a02e38e755a9815bdf7", class: "relative" }, t("div", { key: "7affc96f356ee901ca263c7347ae60b84869f28b", class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), t("div", { key: "7ba006234bd1365890e75b7f59aa118265ba727c", class: "space-y-16" }, this.parsedEvents.map((e, a) => t("div", { class: "relative flex" }, t("div", { class: `w-1/2 ${a % 2 === 0 ? "pr-4" : ""}` }, a % 2 === 0 && t("eds-card-generic", { title: e.title, url: "#", description: e.description, intent: "secondary", tags: JSON.stringify(e.completed ? [{ label: "completed", style: "accent" }] : [{ label: "pending", style: "default" }]), onClick: () => this.handleEventClick(e) })), t("div", { class: "flex items-center justify-center relative" }, e.completed ? t("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" }) : t("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" })), t("div", { class: `w-1/2 ${a % 2 !== 0 ? "pl-4" : ""}` }, a % 2 !== 0 && t("eds-card-generic", { title: e.title, url: "#", description: e.description, intent: "secondary", tags: JSON.stringify(e.completed ? [{ label: "completed", style: "accent" }] : [{ label: "pending", style: "default" }]), onClick: () => this.handleEventClick(e) })))))));
33
33
  }
34
34
  get el() {
35
35
  return l(this);
@@ -40,7 +40,7 @@ const n = ".max-w-sidebar{max-width:1224px}.mx-auto{margin-left:auto;margin-righ
40
40
  };
41
41
  }
42
42
  };
43
- d.style = c;
43
+ d.style = o;
44
44
  export {
45
45
  d as eds_timeline
46
46
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-CoItic1X.js"),l=require("./sharedUtils-a550989c-m4pF1Vqy.js"),i=".max-w-sidebar{max-width:1224px}.mx-auto{margin-left:auto;margin-right:auto}.px-4{padding-left:0.25rem;padding-right:0.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.relative{position:relative}.absolute{position:absolute}.flex{display:flex}.w-4{width:0.25rem}.pr-4{padding-right:0.25rem}.pl-4{padding-left:0.25rem}.w-1\\/2{width:50%}.left-1\\/2{left:50%}.transform{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-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))}.bg-strong{background-color:var(--grey-700)}.h-full{height:100%}.z-0{z-index:0}.space-y-16>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.items-center{align-items:center}.justify-center{justify-content:center}.w-32{width:2rem}.h-32{height:2rem}.bg-accent{background-color:var(--green-500)}.rounded-full{border-radius:9999px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}",n=i,r=class{constructor(e){t.registerInstance(this,e),this.events=void 0,this.selectedEvent=null,this.parsedEvents=[]}parseEvents(e){const a=l.parseData(e);this.parsedEvents=Array.isArray(a)?a.map(s=>Object.assign(Object.assign({},s),{completed:s.completed==="true"||s.completed===!0})):[]}componentWillLoad(){this.parseEvents(this.events)}componentDidLoad(){this.el.querySelectorAll("eds-card-generic").forEach(a=>{this.emitContext(a)})}emitContext(e){const a=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(a)}handleEventClick(e){this.selectedEvent=e,this.modalRef&&typeof this.modalRef.open=="function"&&this.modalRef.open()}render(){return t.h("div",{key:"9670bbe26e6f092d88c73268838d9349dca0c323",class:"max-w-sidebar mx-auto px-4 py-8"},t.h("div",{key:"202722dc0cb384ce68b2239915f44bf90d87a77e",class:"relative"},t.h("div",{key:"59760e5a62518dc6c3cc7fcfa711e060837f4c49",class:"absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0"}),t.h("div",{key:"2f1f6c5f5e7f2a770fc762b1b886dd199f0cf953",class:"space-y-16"},this.parsedEvents.map((e,a)=>t.h("div",{class:"relative flex"},t.h("div",{class:`w-1/2 ${a%2===0?"pr-4":""}`},a%2===0&&t.h("eds-card-generic",{title:e.title,url:"#",description:e.description,intent:"secondary",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})),t.h("div",{class:"flex items-center justify-center relative"},e.completed?t.h("div",{class:"w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center"}):t.h("div",{class:"w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center"})),t.h("div",{class:`w-1/2 ${a%2!==0?"pl-4":""}`},a%2!==0&&t.h("eds-card-generic",{title:e.title,url:"#",description:e.description,intent:"secondary",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})))))))}get el(){return t.getElement(this)}static get watchers(){return{events:["parseEvents"]}}};r.style=n;exports.eds_timeline=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-WyhGZcXS.js"),l=require("./sharedUtils-a550989c-m4pF1Vqy.js"),i=".max-w-sidebar{max-width:1224px}.mx-auto{margin-left:auto;margin-right:auto}.px-4{padding-left:0.25rem;padding-right:0.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.relative{position:relative}.absolute{position:absolute}.flex{display:flex}.w-4{width:0.25rem}.pr-4{padding-right:0.25rem}.pl-4{padding-left:0.25rem}.w-1\\/2{width:50%}.left-1\\/2{left:50%}.transform{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-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))}.bg-strong{background-color:var(--grey-700)}.h-full{height:100%}.z-0{z-index:0}.space-y-16>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.items-center{align-items:center}.justify-center{justify-content:center}.w-32{width:2rem}.h-32{height:2rem}.bg-accent{background-color:var(--green-500)}.rounded-full{border-radius:9999px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}",n=i,r=class{constructor(e){t.registerInstance(this,e),this.events=void 0,this.selectedEvent=null,this.parsedEvents=[]}parseEvents(e){const a=l.parseData(e);this.parsedEvents=Array.isArray(a)?a.map(s=>Object.assign(Object.assign({},s),{completed:s.completed==="true"||s.completed===!0})):[]}componentWillLoad(){this.parseEvents(this.events)}componentDidLoad(){this.el.querySelectorAll("eds-card-generic").forEach(a=>{this.emitContext(a)})}emitContext(e){const a=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(a)}handleEventClick(e){this.selectedEvent=e,this.modalRef&&typeof this.modalRef.open=="function"&&this.modalRef.open()}render(){return t.h("div",{key:"78b199b18d361ae3223e4f1fe9a2043d61f4271b",class:"max-w-sidebar mx-auto px-4 py-8"},t.h("div",{key:"afdfdf7dc573a7f273703a02e38e755a9815bdf7",class:"relative"},t.h("div",{key:"7affc96f356ee901ca263c7347ae60b84869f28b",class:"absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0"}),t.h("div",{key:"7ba006234bd1365890e75b7f59aa118265ba727c",class:"space-y-16"},this.parsedEvents.map((e,a)=>t.h("div",{class:"relative flex"},t.h("div",{class:`w-1/2 ${a%2===0?"pr-4":""}`},a%2===0&&t.h("eds-card-generic",{title:e.title,url:"#",description:e.description,intent:"secondary",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})),t.h("div",{class:"flex items-center justify-center relative"},e.completed?t.h("div",{class:"w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center"}):t.h("div",{class:"w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center"})),t.h("div",{class:`w-1/2 ${a%2!==0?"pl-4":""}`},a%2!==0&&t.h("eds-card-generic",{title:e.title,url:"#",description:e.description,intent:"secondary",tags:JSON.stringify(e.completed?[{label:"completed",style:"accent"}]:[{label:"pending",style:"default"}]),onClick:()=>this.handleEventClick(e)})))))))}get el(){return t.getElement(this)}static get watchers(){return{events:["parseEvents"]}}};r.style=n;exports.eds_timeline=r;
@@ -1,4 +1,4 @@
1
- import { r as o, h as a, g as i } from "./index-QMzHaXvm.mjs";
1
+ import { r as o, h as a, g as i } from "./index-DL15mWAH.mjs";
2
2
  class r {
3
3
  constructor() {
4
4
  this.toastManagerElement = null;
@@ -49,7 +49,7 @@ const d = new r(), l = ".toast-container{position:fixed;top:1rem;left:50%;transf
49
49
  this.toasts = this.toasts.filter((s) => s.id !== t);
50
50
  }
51
51
  render() {
52
- return a("div", { key: "d707822f33892171428aa926822dff5ffefac219", class: "toast-container" }, this.toasts.map((t) => a("div", { key: t.id }, a("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))));
52
+ return a("div", { key: "989e469e815c6af6b46a14fddee85e4707f86704", class: "toast-container" }, this.toasts.map((t) => a("div", { key: t.id }, a("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))));
53
53
  }
54
54
  get hostElement() {
55
55
  return i(this);
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-CoItic1X.js");class i{constructor(){this.toastManagerElement=null}init(e){this.toastManagerElement=e}show(e,s="default"){if(!this.toastManagerElement){console.error("ToastManager is not initialized. Ensure <eds-toast-manager> is rendered.");return}const o=new CustomEvent("show-toast",{detail:{message:e,intent:s}});this.toastManagerElement.dispatchEvent(o)}}const r=new i,d=".toast-container{position:fixed;top:1rem;left:50%;transform:translateX(-50%);z-index:99999;display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:36rem;}.toast-wrapper{width:100%;padding:0 1rem;}.eds-toast{box-shadow:0px 4px 6px rgba(0, 0, 0, 0.1);border-radius:0.5rem;animation:fade-in 0.3s ease-out;}@keyframes fade-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}",l=d,n=class{constructor(t){a.registerInstance(this,t),this.toastId=0,this.toasts=[]}connectedCallback(){r.init(this.hostElement),this.hostElement.addEventListener("show-toast",t=>{const{message:e,intent:s}=t.detail;this.addToast(e,s)})}addToast(t,e){const s=this.toastId++;this.toasts=[...this.toasts,{id:s,message:t,intent:e}]}removeToast(t){this.toasts=this.toasts.filter(e=>e.id!==t)}render(){return a.h("div",{key:"d707822f33892171428aa926822dff5ffefac219",class:"toast-container"},this.toasts.map(t=>a.h("div",{key:t.id},a.h("eds-toast",{message:t.message,intent:t.intent,onClick:()=>this.removeToast(t.id)}))))}get hostElement(){return a.getElement(this)}};n.style=l;exports.eds_toast_manager=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-WyhGZcXS.js");class i{constructor(){this.toastManagerElement=null}init(e){this.toastManagerElement=e}show(e,s="default"){if(!this.toastManagerElement){console.error("ToastManager is not initialized. Ensure <eds-toast-manager> is rendered.");return}const o=new CustomEvent("show-toast",{detail:{message:e,intent:s}});this.toastManagerElement.dispatchEvent(o)}}const r=new i,d=".toast-container{position:fixed;top:1rem;left:50%;transform:translateX(-50%);z-index:99999;display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:36rem;}.toast-wrapper{width:100%;padding:0 1rem;}.eds-toast{box-shadow:0px 4px 6px rgba(0, 0, 0, 0.1);border-radius:0.5rem;animation:fade-in 0.3s ease-out;}@keyframes fade-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}",l=d,n=class{constructor(t){a.registerInstance(this,t),this.toastId=0,this.toasts=[]}connectedCallback(){r.init(this.hostElement),this.hostElement.addEventListener("show-toast",t=>{const{message:e,intent:s}=t.detail;this.addToast(e,s)})}addToast(t,e){const s=this.toastId++;this.toasts=[...this.toasts,{id:s,message:t,intent:e}]}removeToast(t){this.toasts=this.toasts.filter(e=>e.id!==t)}render(){return a.h("div",{key:"989e469e815c6af6b46a14fddee85e4707f86704",class:"toast-container"},this.toasts.map(t=>a.h("div",{key:t.id},a.h("eds-toast",{message:t.message,intent:t.intent,onClick:()=>this.removeToast(t.id)}))))}get hostElement(){return a.getElement(this)}};n.style=l;exports.eds_toast_manager=n;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index-WyhGZcXS.js"),A='<linearGradient id="__UID__Unbenannter_Verlauf_29" x1="-26.7" y1="64.8" x2="155" y2="-19.9" gradientUnits="userSpaceOnUse"> <stop offset="0" stop-color="#03a98f"/> <stop offset=".1" stop-color="#10a97b"/> <stop offset=".3" stop-color="#23aa5f"/> <stop offset="1" stop-color="#00ff9d"/> </linearGradient><linearGradient id="__UID__Unbenannter_Verlauf_291" x1="38.6" y1="205" x2="220.3" y2="120.2" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_292" x1="33" y1="193" x2="214.8" y2="108.3" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_293" x1="-3.5" y1="114.7" x2="178.3" y2="30" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_294" x1="4.5" y1="131.8" x2="186.2" y2="47.1" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_295" x1="28.6" y1="183.6" x2="210.4" y2="98.9" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_296" x1="3.8" y1="130.3" x2="185.5" y2="45.5" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_297" x1="18" y1="160.6" x2="199.7" y2="75.9" href="#__UID__Unbenannter_Verlauf_29"/>',G='<path fill="url(#__UID__Unbenannter_Verlauf_29)" d="M67.3,19.9c11.2-2.3,22.5-1,32.1,1.5.8.2,1.2-.8.5-1.3-11.6-7.3-20.9-11.4-26.6-13.5l-18.3,4.9c-3.4.9-6.4,2.7-8.9,5.1l-29.6,29.6c-2.5,2.5-4.2,5.5-5.1,8.9l-.7,2.6c1.7-1.5,3.4-3.2,5.2-4.9,12.6-12,29.9-28.4,51.3-32.9Z"/><path fill="url(#__UID__Unbenannter_Verlauf_291)" d="M33.8,172.2l12.3,12.3c2.5,2.5,5.5,4.2,8.9,5.1l40.4,10.8c3.4.9,6.9.9,10.2,0l40.4-10.8c3.4-.9,6.4-2.7,8.9-5.1l2.8-2.8c-80-32.2-119-12.3-123.9-9.5Z"/><path fill="url(#__UID__Unbenannter_Verlauf_292)" d="M97.7,137.4c-25.1.2-51.1.4-78.8,19.8l10.5,10.5h.1c2-1.5,42.4-27.9,132.8,9.1h.2c0,.1,18.6-18.4,18.6-18.4-7.8-2.8-58.6-21-83.1-21h-.3Z"/><path fill="url(#__UID__Unbenannter_Verlauf_293)" d="M137.2,41h0c2.6,2.4,5.3,5,8,7.7,26.3,26.3,43.8,37.2,53.9,41.8l-9.5-35.5c-.9-3.4-2.7-6.4-5.1-8.9l-29.6-29.6c-2.5-2.5-5.5-4.2-8.9-5.1L105.7.7c-3.4-.9-6.9-.9-10.2,0l-12.1,3.2c12.4,5.6,31.5,16.5,53.7,37,0,0,.1.1.2.2Z"/><path fill="url(#__UID__Unbenannter_Verlauf_294)" d="M132.7,86.1c4.9,1.6,26.3,12,26.3,12,1.7.7,7.3,3.3,8.9,4.1.7.3,1.3-.6.8-1.1-1.5-1.4-5.8-5-10.9-8.6,0,0-21.8-15.4-27.2-18.5-7.8-4.3-47.4-26.7-81.3-10C25.8,75.6,8,89.7.6,96c-.8,3.2-.7,6.5.1,9.7l3.4,12.8c7.2-6.7,20.2-17.2,40.4-28.2,35.4-19.2,61.9-12.8,88.2-4.2Z"/><path fill="url(#__UID__Unbenannter_Verlauf_295)" d="M55.9,128c-3.1,1.7-17.5,10.3-17.5,10.3,0,0-4.9,3-.2,1.9,2-.5,7.8-3.1,9.7-3.6,0,0,19.1-7,49.8-5.4.1,0,.2,0,.4,0,27.6,0,84.2,21,86.6,21.9l1.1.5c1.8-2.2,3.2-4.7,3.9-7.5l2.7-10.2c-14.1-5.9-55.1-22.3-81-22.3s-55.3,14.3-55.5,14.4Z"/><path fill="url(#__UID__Unbenannter_Verlauf_296)" d="M131.7,44.5c-2-1.7-4.9-3.9-8.5-6.3-1.8-1.3-3.6-2.3-5.4-3.2-8.1-4.1-29.1-13.1-49.2-9-19.7,4.1-35.5,19.2-48.2,31.3-4.7,4.5-8.7,8.3-12.4,11.1l-4.6,17.2c9.4-7.4,24.4-18,43.2-27.2,36.9-18.1,79.2,5.4,87.3,10.3,12.1,7.3,47.9,34.4,64,46.8l2.6-9.8c.7-2.5.8-5,.5-7.5-10.4-3.8-29.7-14.5-60.2-45-3.1-3.1-6.1-5.9-9.1-8.6Z"/><path fill="url(#__UID__Unbenannter_Verlauf_297)" d="M47.5,95.8c-22.1,12-35.5,23.6-41.5,29.6l5.5,20.7c.3,1.2.8,2.4,1.4,3.5,9.5-9.3,38.6-26.3,39.8-27,1-.6,25.6-15.3,58.7-15.3s67.5,16,82.6,22.4l1.1-4.2c-9.9-6.7-37.4-24.5-64.4-33.5-24.9-8.3-50-14.3-83.2,3.8Z"/>';function u(t){return A.replace(/__UID__/g,t)}function p(t,e,r,i=16){const l=(i/201.1).toFixed(4),s=G.replace(/__UID__/g,t);return`<g transform="translate(${e},${r}) scale(${l})">${s}</g>`}const P=":host{display:inline-block;line-height:0;}.link{display:inline-block;line-height:0;text-decoration:none;color:inherit}.link svg{display:block}",Z=P;let W=0;const x=class{constructor(t){d.registerInstance(this,t),this.uid=`trl${++W}-`,this.level=void 0,this.assessed=void 0,this.methodology=void 0,this.theme="dark",this.variant="tone",this.size=void 0,this.label="EBRAINS TRL",this.href=void 0}esc(t){return String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}levelColor(){const t=Number(this.level);return t>=7?"#00FF9D":t>=4?"#00C87B":"#7A7B7A"}valueText(){return Number(this.level)>=4?"#07140D":"#ECECEC"}fullText(){const t=[`${this.label} ${this.level}`];return this.assessed&&t.push(`assessed ${this.assessed}`),this.methodology&&t.push(`methodology ${this.methodology}`),t.join(" · ")}build(){const t=x.CW,e=this.uid,r=`${e}clip`,i=this.levelColor(),l=28,s=`font-family="'IBM Plex Mono',monospace"`,h=this.esc(String(this.level));if(this.variant==="full"){const n=(this.assessed?` · assessed ${this.esc(this.assessed)}`:"")+(this.methodology?` · methodology ${this.esc(this.methodology)}`:""),a=Math.ceil(l+this.fullText().length*t+10),o=`<defs><clipPath id="${r}"><rect width="${a}" height="24" rx="6"/></clipPath>${u(e)}</defs><g clip-path="url(#${r})"><rect width="${a}" height="24" fill="#07140D"/></g>${p(e,8,4,16)}<text x="30" y="15.5" ${s} font-size="11" letter-spacing=".2"><tspan fill="#ECECEC">${this.esc(this.label)} </tspan><tspan fill="${i}" font-weight="600">${h}</tspan><tspan fill="#7A7B7A">${this.esc(n)}</tspan></text>`;return{w:a,h:24,inner:o}}if(this.variant==="pill"){const n=`TRL ${this.level}`,a=Math.ceil(l+n.length*t+14),o=l+(a-l)/2-4,_=`<defs>${u(e)}</defs><rect width="${a}" height="24" rx="12" fill="#07140D"/>${p(e,7,4,16)}<text x="${o}" y="16" ${s} font-size="11" font-weight="500" letter-spacing=".5" text-anchor="middle"><tspan fill="#ECECEC">TRL </tspan><tspan fill="${i}" font-weight="600">${h}</tspan></text>`;return{w:a,h:24,inner:_}}if(this.variant==="outline"){const n=this.theme!=="light",a=n?"#0c1c14":"#ffffff",o=n?"#34473d":"#07140D",_=n?"#ECECEC":"#07140D",y=n?"#5a6b62":"#9aa39d",D=n?i:Number(this.level)>=4?"#00966a":"#7A7B7A",f=Math.ceil(l+(this.label+" · "+this.level).length*t+12),$=`<defs>${u(e)}</defs><rect x=".5" y=".5" width="${f-1}" height="23" rx="6" fill="${a}" stroke="${o}"/>${p(e,8,4,16)}<text x="30" y="16" ${s} font-size="11" letter-spacing=".3"><tspan fill="${_}">${this.esc(this.label)} </tspan><tspan fill="${y}">· </tspan><tspan fill="${D}" font-weight="600">${h}</tspan></text>`;return{w:f,h:24,inner:$}}if(this.variant==="scale"){const n=this.theme!=="light",a=n?"#07140D":"#ECECEC",o=n?"#ECECEC":"#07140D",_=n?"#2f4339":"#c4ccc7",y=n?"#5a6b62":"#9aa39d",D=Math.max(0,Math.min(9,Number(this.level)||0)),f=Math.ceil(30+this.label.length*t+12),$=9,T=6,k=8,S=9;let v="";for(let g=0;g<9;g++){const z=f+g*$;v+=`<rect x="${z}" y="${S}" width="${T}" height="${k}" rx="1" fill="${g<D?i:_}"/>`}const m=f+9*$+5,E=Math.ceil(m+`${this.level}/9`.length*t+8),B=`<defs>${u(e)}</defs><rect width="${E}" height="26" rx="6" fill="${a}"/>${p(e,8,5,16)}<text x="30" y="17" ${s} font-size="11" letter-spacing=".3" fill="${o}">${this.esc(this.label)}</text><g>${v}</g><text x="${m}" y="17" ${s} font-size="11" font-weight="500"><tspan fill="${i}">${h}</tspan><tspan fill="${y}">/9</tspan></text>`;return{w:E,h:26,inner:B}}const b=this.theme!=="light",I=b?"#07140D":"#ECECEC",w=b?"#ECECEC":"#07140D",M=b?this.valueText():"#07140D",c=Math.ceil(l+this.label.length*t+12),U=Math.ceil(12+String(this.level).length*t+12),C=c+U,V=`<defs><clipPath id="${r}"><rect width="${C}" height="24" rx="6"/></clipPath>${u(e)}</defs><g clip-path="url(#${r})"><rect width="${c}" height="24" fill="${I}"/><rect x="${c}" width="${U}" height="24" fill="${i}"/></g>${p(e,8,4,16)}<text x="${l+(c-l)/2}" y="16" ${s} font-size="11" letter-spacing=".4" fill="${w}" text-anchor="middle">${this.esc(this.label)}</text><text x="${c+U/2}" y="16" ${s} font-size="11" font-weight="600" fill="${M}" text-anchor="middle">${h}</text>`;return{w:C,h:24,inner:V}}buildSvg(){const{w:t,h:e,inner:r}=this.build(),i=this.esc(this.fullText()),l=this.size?this.size/e:1,s=Math.round(t*l),h=Math.round(e*l);return`<svg xmlns="http://www.w3.org/2000/svg" width="${s}" height="${h}" viewBox="0 0 ${t} ${e}" role="img" aria-label="${i}"><title>${i}</title>${r}</svg>`}render(){const t=this.buildSvg();return d.h(d.Host,{key:"eddfb49f35ff9771d76eef13a024b840b3a24cca"},this.href?d.h("a",{class:"link",href:this.href,"aria-label":this.fullText(),innerHTML:t}):d.h("span",{class:"link",innerHTML:t}))}};x.CW=6.8;x.style=Z;exports.eds_trl_badge=x;
@@ -0,0 +1,73 @@
1
+ import { r as A, h as y, H as G } from "./index-DL15mWAH.mjs";
2
+ const Z = '<linearGradient id="__UID__Unbenannter_Verlauf_29" x1="-26.7" y1="64.8" x2="155" y2="-19.9" gradientUnits="userSpaceOnUse"> <stop offset="0" stop-color="#03a98f"/> <stop offset=".1" stop-color="#10a97b"/> <stop offset=".3" stop-color="#23aa5f"/> <stop offset="1" stop-color="#00ff9d"/> </linearGradient><linearGradient id="__UID__Unbenannter_Verlauf_291" x1="38.6" y1="205" x2="220.3" y2="120.2" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_292" x1="33" y1="193" x2="214.8" y2="108.3" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_293" x1="-3.5" y1="114.7" x2="178.3" y2="30" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_294" x1="4.5" y1="131.8" x2="186.2" y2="47.1" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_295" x1="28.6" y1="183.6" x2="210.4" y2="98.9" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_296" x1="3.8" y1="130.3" x2="185.5" y2="45.5" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_297" x1="18" y1="160.6" x2="199.7" y2="75.9" href="#__UID__Unbenannter_Verlauf_29"/>', H = '<path fill="url(#__UID__Unbenannter_Verlauf_29)" d="M67.3,19.9c11.2-2.3,22.5-1,32.1,1.5.8.2,1.2-.8.5-1.3-11.6-7.3-20.9-11.4-26.6-13.5l-18.3,4.9c-3.4.9-6.4,2.7-8.9,5.1l-29.6,29.6c-2.5,2.5-4.2,5.5-5.1,8.9l-.7,2.6c1.7-1.5,3.4-3.2,5.2-4.9,12.6-12,29.9-28.4,51.3-32.9Z"/><path fill="url(#__UID__Unbenannter_Verlauf_291)" d="M33.8,172.2l12.3,12.3c2.5,2.5,5.5,4.2,8.9,5.1l40.4,10.8c3.4.9,6.9.9,10.2,0l40.4-10.8c3.4-.9,6.4-2.7,8.9-5.1l2.8-2.8c-80-32.2-119-12.3-123.9-9.5Z"/><path fill="url(#__UID__Unbenannter_Verlauf_292)" d="M97.7,137.4c-25.1.2-51.1.4-78.8,19.8l10.5,10.5h.1c2-1.5,42.4-27.9,132.8,9.1h.2c0,.1,18.6-18.4,18.6-18.4-7.8-2.8-58.6-21-83.1-21h-.3Z"/><path fill="url(#__UID__Unbenannter_Verlauf_293)" d="M137.2,41h0c2.6,2.4,5.3,5,8,7.7,26.3,26.3,43.8,37.2,53.9,41.8l-9.5-35.5c-.9-3.4-2.7-6.4-5.1-8.9l-29.6-29.6c-2.5-2.5-5.5-4.2-8.9-5.1L105.7.7c-3.4-.9-6.9-.9-10.2,0l-12.1,3.2c12.4,5.6,31.5,16.5,53.7,37,0,0,.1.1.2.2Z"/><path fill="url(#__UID__Unbenannter_Verlauf_294)" d="M132.7,86.1c4.9,1.6,26.3,12,26.3,12,1.7.7,7.3,3.3,8.9,4.1.7.3,1.3-.6.8-1.1-1.5-1.4-5.8-5-10.9-8.6,0,0-21.8-15.4-27.2-18.5-7.8-4.3-47.4-26.7-81.3-10C25.8,75.6,8,89.7.6,96c-.8,3.2-.7,6.5.1,9.7l3.4,12.8c7.2-6.7,20.2-17.2,40.4-28.2,35.4-19.2,61.9-12.8,88.2-4.2Z"/><path fill="url(#__UID__Unbenannter_Verlauf_295)" d="M55.9,128c-3.1,1.7-17.5,10.3-17.5,10.3,0,0-4.9,3-.2,1.9,2-.5,7.8-3.1,9.7-3.6,0,0,19.1-7,49.8-5.4.1,0,.2,0,.4,0,27.6,0,84.2,21,86.6,21.9l1.1.5c1.8-2.2,3.2-4.7,3.9-7.5l2.7-10.2c-14.1-5.9-55.1-22.3-81-22.3s-55.3,14.3-55.5,14.4Z"/><path fill="url(#__UID__Unbenannter_Verlauf_296)" d="M131.7,44.5c-2-1.7-4.9-3.9-8.5-6.3-1.8-1.3-3.6-2.3-5.4-3.2-8.1-4.1-29.1-13.1-49.2-9-19.7,4.1-35.5,19.2-48.2,31.3-4.7,4.5-8.7,8.3-12.4,11.1l-4.6,17.2c9.4-7.4,24.4-18,43.2-27.2,36.9-18.1,79.2,5.4,87.3,10.3,12.1,7.3,47.9,34.4,64,46.8l2.6-9.8c.7-2.5.8-5,.5-7.5-10.4-3.8-29.7-14.5-60.2-45-3.1-3.1-6.1-5.9-9.1-8.6Z"/><path fill="url(#__UID__Unbenannter_Verlauf_297)" d="M47.5,95.8c-22.1,12-35.5,23.6-41.5,29.6l5.5,20.7c.3,1.2.8,2.4,1.4,3.5,9.5-9.3,38.6-26.3,39.8-27,1-.6,25.6-15.3,58.7-15.3s67.5,16,82.6,22.4l1.1-4.2c-9.9-6.7-37.4-24.5-64.4-33.5-24.9-8.3-50-14.3-83.2,3.8Z"/>';
3
+ function d(t) {
4
+ return Z.replace(/__UID__/g, t);
5
+ }
6
+ function p(t, e, r, s = 16) {
7
+ const l = (s / 201.1).toFixed(4), i = H.replace(/__UID__/g, t);
8
+ return `<g transform="translate(${e},${r}) scale(${l})">${i}</g>`;
9
+ }
10
+ const P = ":host{display:inline-block;line-height:0;}.link{display:inline-block;line-height:0;text-decoration:none;color:inherit}.link svg{display:block}", W = P;
11
+ let L = 0;
12
+ const D = class {
13
+ constructor(t) {
14
+ A(this, t), this.uid = `trl${++L}-`, this.level = void 0, this.assessed = void 0, this.methodology = void 0, this.theme = "dark", this.variant = "tone", this.size = void 0, this.label = "EBRAINS TRL", this.href = void 0;
15
+ }
16
+ esc(t) {
17
+ return String(t).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
18
+ }
19
+ /** Maturity tier → value/pip colour (brand palette). */
20
+ levelColor() {
21
+ const t = Number(this.level);
22
+ return t >= 7 ? "#00FF9D" : t >= 4 ? "#00C87B" : "#7A7B7A";
23
+ }
24
+ /** Readable value text on a coloured segment (black on green, light on grey). */
25
+ valueText() {
26
+ return Number(this.level) >= 4 ? "#07140D" : "#ECECEC";
27
+ }
28
+ fullText() {
29
+ const t = [`${this.label} ${this.level}`];
30
+ return this.assessed && t.push(`assessed ${this.assessed}`), this.methodology && t.push(`methodology ${this.methodology}`), t.join(" · ");
31
+ }
32
+ /** Build the inner markup + intrinsic dimensions for the chosen variant. */
33
+ build() {
34
+ const t = D.CW, e = this.uid, r = `${e}clip`, s = this.levelColor(), l = 28, i = `font-family="'IBM Plex Mono',monospace"`, h = this.esc(String(this.level));
35
+ if (this.variant === "full") {
36
+ const n = (this.assessed ? ` · assessed ${this.esc(this.assessed)}` : "") + (this.methodology ? ` · methodology ${this.esc(this.methodology)}` : ""), a = Math.ceil(l + this.fullText().length * t + 10), o = `<defs><clipPath id="${r}"><rect width="${a}" height="24" rx="6"/></clipPath>${d(e)}</defs><g clip-path="url(#${r})"><rect width="${a}" height="24" fill="#07140D"/></g>${p(e, 8, 4, 16)}<text x="30" y="15.5" ${i} font-size="11" letter-spacing=".2"><tspan fill="#ECECEC">${this.esc(this.label)} </tspan><tspan fill="${s}" font-weight="600">${h}</tspan><tspan fill="#7A7B7A">${this.esc(n)}</tspan></text>`;
37
+ return { w: a, h: 24, inner: o };
38
+ }
39
+ if (this.variant === "pill") {
40
+ const n = `TRL ${this.level}`, a = Math.ceil(l + n.length * t + 14), o = l + (a - l) / 2 - 4, _ = `<defs>${d(e)}</defs><rect width="${a}" height="24" rx="12" fill="#07140D"/>${p(e, 7, 4, 16)}<text x="${o}" y="16" ${i} font-size="11" font-weight="500" letter-spacing=".5" text-anchor="middle"><tspan fill="#ECECEC">TRL </tspan><tspan fill="${s}" font-weight="600">${h}</tspan></text>`;
41
+ return { w: a, h: 24, inner: _ };
42
+ }
43
+ if (this.variant === "outline") {
44
+ const n = this.theme !== "light", a = n ? "#0c1c14" : "#ffffff", o = n ? "#34473d" : "#07140D", _ = n ? "#ECECEC" : "#07140D", b = n ? "#5a6b62" : "#9aa39d", U = n ? s : Number(this.level) >= 4 ? "#00966a" : "#7A7B7A", f = Math.ceil(l + (this.label + " · " + this.level).length * t + 12), u = `<defs>${d(e)}</defs><rect x=".5" y=".5" width="${f - 1}" height="23" rx="6" fill="${a}" stroke="${o}"/>${p(e, 8, 4, 16)}<text x="30" y="16" ${i} font-size="11" letter-spacing=".3"><tspan fill="${_}">${this.esc(this.label)} </tspan><tspan fill="${b}">· </tspan><tspan fill="${U}" font-weight="600">${h}</tspan></text>`;
45
+ return { w: f, h: 24, inner: u };
46
+ }
47
+ if (this.variant === "scale") {
48
+ const n = this.theme !== "light", a = n ? "#07140D" : "#ECECEC", o = n ? "#ECECEC" : "#07140D", _ = n ? "#2f4339" : "#c4ccc7", b = n ? "#5a6b62" : "#9aa39d", U = Math.max(0, Math.min(9, Number(this.level) || 0)), f = Math.ceil(30 + this.label.length * t + 12), u = 9, k = 6, T = 8, S = 9;
49
+ let v = "";
50
+ for (let $ = 0; $ < 9; $++) {
51
+ const z = f + $ * u;
52
+ v += `<rect x="${z}" y="${S}" width="${k}" height="${T}" rx="1" fill="${$ < U ? s : _}"/>`;
53
+ }
54
+ const m = f + 9 * u + 5, E = Math.ceil(m + `${this.level}/9`.length * t + 8), B = `<defs>${d(e)}</defs><rect width="${E}" height="26" rx="6" fill="${a}"/>${p(e, 8, 5, 16)}<text x="30" y="17" ${i} font-size="11" letter-spacing=".3" fill="${o}">${this.esc(this.label)}</text><g>${v}</g><text x="${m}" y="17" ${i} font-size="11" font-weight="500"><tspan fill="${s}">${h}</tspan><tspan fill="${b}">/9</tspan></text>`;
55
+ return { w: E, h: 26, inner: B };
56
+ }
57
+ const g = this.theme !== "light", I = g ? "#07140D" : "#ECECEC", w = g ? "#ECECEC" : "#07140D", M = g ? this.valueText() : "#07140D", c = Math.ceil(l + this.label.length * t + 12), x = Math.ceil(12 + String(this.level).length * t + 12), C = c + x, V = `<defs><clipPath id="${r}"><rect width="${C}" height="24" rx="6"/></clipPath>${d(e)}</defs><g clip-path="url(#${r})"><rect width="${c}" height="24" fill="${I}"/><rect x="${c}" width="${x}" height="24" fill="${s}"/></g>${p(e, 8, 4, 16)}<text x="${l + (c - l) / 2}" y="16" ${i} font-size="11" letter-spacing=".4" fill="${w}" text-anchor="middle">${this.esc(this.label)}</text><text x="${c + x / 2}" y="16" ${i} font-size="11" font-weight="600" fill="${M}" text-anchor="middle">${h}</text>`;
58
+ return { w: C, h: 24, inner: V };
59
+ }
60
+ buildSvg() {
61
+ const { w: t, h: e, inner: r } = this.build(), s = this.esc(this.fullText()), l = this.size ? this.size / e : 1, i = Math.round(t * l), h = Math.round(e * l);
62
+ return `<svg xmlns="http://www.w3.org/2000/svg" width="${i}" height="${h}" viewBox="0 0 ${t} ${e}" role="img" aria-label="${s}"><title>${s}</title>${r}</svg>`;
63
+ }
64
+ render() {
65
+ const t = this.buildSvg();
66
+ return y(G, { key: "eddfb49f35ff9771d76eef13a024b840b3a24cca" }, this.href ? y("a", { class: "link", href: this.href, "aria-label": this.fullText(), innerHTML: t }) : y("span", { class: "link", innerHTML: t }));
67
+ }
68
+ };
69
+ D.CW = 6.8;
70
+ D.style = W;
71
+ export {
72
+ D as eds_trl_badge
73
+ };
@@ -26,6 +26,7 @@ export declare const EdsInputField: import('vue').DefineSetupFnComponent<JSX.Eds
26
26
  export declare const EdsInputFile: import('vue').DefineSetupFnComponent<JSX.EdsInputFile & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsInputFile & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
27
27
  export declare const EdsInputFooter: import('vue').DefineSetupFnComponent<JSX.EdsInputFooter & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsInputFooter & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
28
28
  export declare const EdsInputLabel: import('vue').DefineSetupFnComponent<JSX.EdsInputLabel & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsInputLabel & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
29
+ export declare const EdsKgLearningResources: import('vue').DefineSetupFnComponent<JSX.EdsKgLearningResources & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsKgLearningResources & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
29
30
  export declare const EdsKgWebServicesSelect: import('vue').DefineSetupFnComponent<JSX.EdsKgWebServicesSelect & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsKgWebServicesSelect & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
30
31
  export declare const EdsLink: import('vue').DefineSetupFnComponent<JSX.EdsLink & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsLink & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
31
32
  export declare const EdsLogo: import('vue').DefineSetupFnComponent<JSX.EdsLogo & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsLogo & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
@@ -36,6 +37,7 @@ export declare const EdsPagination: import('vue').DefineSetupFnComponent<JSX.Eds
36
37
  export declare const EdsPie: import('vue').DefineSetupFnComponent<JSX.EdsPie & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsPie & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
37
38
  export declare const EdsProgressBar: import('vue').DefineSetupFnComponent<JSX.EdsProgressBar & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsProgressBar & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
38
39
  export declare const EdsRating: import('vue').DefineSetupFnComponent<JSX.EdsRating & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsRating & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
40
+ export declare const EdsSearchSelect: import('vue').DefineSetupFnComponent<JSX.EdsSearchSelect & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSearchSelect & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
39
41
  export declare const EdsSidebar: import('vue').DefineSetupFnComponent<JSX.EdsSidebar & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSidebar & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
40
42
  export declare const EdsSocialNetworks: import('vue').DefineSetupFnComponent<JSX.EdsSocialNetworks & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSocialNetworks & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
41
43
  export declare const EdsSpinner: import('vue').DefineSetupFnComponent<JSX.EdsSpinner & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSpinner & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
@@ -48,4 +50,5 @@ export declare const EdsTabs: import('vue').DefineSetupFnComponent<JSX.EdsTabs &
48
50
  export declare const EdsTag: import('vue').DefineSetupFnComponent<JSX.EdsTag & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTag & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
49
51
  export declare const EdsToast: import('vue').DefineSetupFnComponent<JSX.EdsToast & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsToast & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
50
52
  export declare const EdsTooltip: import('vue').DefineSetupFnComponent<JSX.EdsTooltip & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTooltip & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
53
+ export declare const EdsTrlBadge: import('vue').DefineSetupFnComponent<JSX.EdsTrlBadge & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTrlBadge & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
51
54
  export declare const EdsUser: import('vue').DefineSetupFnComponent<JSX.EdsUser & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsUser & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
@@ -1,4 +1,4 @@
1
- import { r as a, h as e } from "./index-QMzHaXvm.mjs";
1
+ import { r as a, h as e } from "./index-DL15mWAH.mjs";
2
2
  const s = [
3
3
  {
4
4
  background: "#9CE142"
@@ -34,7 +34,7 @@ const s = [
34
34
  a(this, c);
35
35
  }
36
36
  render() {
37
- return e("div", { key: "424c9b01d69068fa058b25dd89df08154912dfe7", class: "container" }, e("div", { key: "5a9dae817344c3c92b8bdb55b806b1f96e26496d", class: "mb-8" }, e("eds-alert", { key: "afeaa6e5320151800d31c3fecb85669000409a14", message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), e("div", { key: "87241b25b9f9e326183ba4496983d93bef766380", class: "flex" }, e("div", { key: "c018e1fffc8198b3e48e1df6b1e8d560e1c7b84a", class: "w-full" }, e("ul", { key: "97845ca2dfe71ac0feb27762c4b3c71c80ca626c", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, s.map((c) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: c.background } }))))), e("div", { key: "05adf9099f1b043d08577cf1f233551d83fc4242", class: "w-full" }, e("ul", { key: "55792bcf3ecb93df6884d7366aa8c7f2c3cf5ad5", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, d.map((c) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: c.background } })))))));
37
+ return e("div", { key: "2688817c691de1f39d1c25845642e99af13e1b00", class: "container" }, e("div", { key: "823b5f324f9b7fe4143dd982e71f535b9c576dd6", class: "mb-8" }, e("eds-alert", { key: "95cf4b07317e116636979fb2d72b4fe925b09fa2", message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), e("div", { key: "d4bfceeb122dddf376808ae187379c07ed0e1a06", class: "flex" }, e("div", { key: "82eac813cc9b29424640fb2517992e3384d19a6e", class: "w-full" }, e("ul", { key: "da2ca77bd91a25c6a451910a6b3bf939e5e8abc9", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, s.map((c) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: c.background } }))))), e("div", { key: "538560ac8db9f9d023a5afbf4cd67dff80f6e7b6", class: "w-full" }, e("ul", { key: "4b601f722730fbe1cbb78c1185d79b34654d3f76", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, d.map((c) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: c.background } })))))));
38
38
  }
39
39
  };
40
40
  export {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),a=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],o=[{background:"#C461FF"},{background:"#5D3DF9"}],s=[{background:"#FFA543"},{background:"#FF4D68"}],d=[{background:"#3FA9F5"},...o,...s],r=class{constructor(c){e.registerInstance(this,c)}render(){return e.h("div",{key:"2688817c691de1f39d1c25845642e99af13e1b00",class:"container"},e.h("div",{key:"823b5f324f9b7fe4143dd982e71f535b9c576dd6",class:"mb-8"},e.h("eds-alert",{key:"95cf4b07317e116636979fb2d72b4fe925b09fa2",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"})),e.h("div",{key:"d4bfceeb122dddf376808ae187379c07ed0e1a06",class:"flex"},e.h("div",{key:"82eac813cc9b29424640fb2517992e3384d19a6e",class:"w-full"},e.h("ul",{key:"da2ca77bd91a25c6a451910a6b3bf939e5e8abc9",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(c=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:c.background}}))))),e.h("div",{key:"538560ac8db9f9d023a5afbf4cd67dff80f6e7b6",class:"w-full"},e.h("ul",{key:"4b601f722730fbe1cbb78c1185d79b34654d3f76",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},d.map(c=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:c.background}})))))))}};exports.incorrect_use_of_colors=r;