@ebrains/vue 0.3.0-alpha.0 → 0.5.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/analytics-1cde8e4a-BDRcCMlV.mjs +24 -0
  2. package/analytics-1cde8e4a-B_MD-9qW.js +1 -0
  3. package/color-2554aad6-CCcV5UJZ.mjs +131 -0
  4. package/color-2554aad6-D1hFGX4H.js +1 -0
  5. package/{color-primary-palette_6.entry-WwN9tuB9.mjs → color-primary-palette_6.entry-CgeStD0V.mjs} +21 -21
  6. package/color-primary-palette_6.entry-c_K7930i.js +1 -0
  7. package/correct-use-of-colors.entry-De5Tcxdm.mjs +59 -0
  8. package/correct-use-of-colors.entry-DpmXW_CD.js +1 -0
  9. package/{eds-accordion.entry-RvtdAQT0.mjs → eds-accordion.entry-B8TjhnWX.mjs} +19 -28
  10. package/eds-accordion.entry-BySfMYU2.js +4 -0
  11. package/{eds-avatar_17.entry-BQZz43q9.js → eds-alert_17.entry-BfpBSBVW.js} +572 -113
  12. package/{eds-avatar_17.entry-08AUpBqo.mjs → eds-alert_17.entry-IJq6baZd.mjs} +897 -452
  13. package/eds-avatar_4.entry-B7CV7v_n.mjs +283 -0
  14. package/eds-avatar_4.entry-D1CDRW_R.js +149 -0
  15. package/eds-card-generic.entry-BhLK-nyp.js +1 -0
  16. package/{eds-card-generic.entry-0IAAHjtS.mjs → eds-card-generic.entry-DIHPUjbI.mjs} +4 -4
  17. package/{eds-card-project.entry-Ckgpwy2Y.mjs → eds-card-project.entry-C2dWgXXW.mjs} +12 -11
  18. package/eds-card-project.entry-CunHqbYK.js +1 -0
  19. package/{eds-card-section.entry-B90kv8Pj.js → eds-card-section.entry-0n2V-MH6.js} +1 -1
  20. package/{eds-card-section.entry-DnktDeDm.mjs → eds-card-section.entry-Ccjil38X.mjs} +4 -4
  21. package/eds-card-tags.entry-C6jjLiGA.mjs +13 -0
  22. package/eds-card-tags.entry-CQS5AtAg.js +1 -0
  23. package/{eds-card-tool.entry-CmRu6pmc.mjs → eds-card-tool.entry-Bi8w0xds.mjs} +7 -7
  24. package/eds-card-tool.entry-DJA23zJf.js +1 -0
  25. package/{eds-card-wrapper.entry-rBHdbwzh.js → eds-card-wrapper.entry-BKPCc7ci.js} +1 -1
  26. package/{eds-card-wrapper.entry-Buesg37A.mjs → eds-card-wrapper.entry-UPnkq2JI.mjs} +4 -4
  27. package/{eds-code-block.entry-DKnuVY85.mjs → eds-code-block.entry-BZTLGjqq.mjs} +50 -9
  28. package/{eds-code-block.entry-M3x0FsRB.js → eds-code-block.entry-Ckb3jisn.js} +3 -3
  29. package/{eds-components-section.entry-BEBky2Me.js → eds-components-section.entry-B3WrdIfL.js} +45 -36
  30. package/{eds-components-section.entry-BAWU9rKy.mjs → eds-components-section.entry-D1ovrn93.mjs} +56 -37
  31. package/{eds-docs-palettes.entry-D3DdXkoo.js → eds-docs-palettes.entry-Bk77Xn04.js} +1 -1
  32. package/{eds-docs-palettes.entry-etHagd2P.mjs → eds-docs-palettes.entry-lpT0ypSs.mjs} +2 -2
  33. package/{eds-docs-tokens.entry-CIGNTs97.mjs → eds-docs-tokens.entry-Bi35zxEM.mjs} +2 -2
  34. package/{eds-docs-tokens.entry--gW4Z293.js → eds-docs-tokens.entry-DCHw-jrS.js} +1 -1
  35. package/eds-dropdown_2.entry-Bamjbo1o.mjs +115 -0
  36. package/eds-dropdown_2.entry-YEBzyKJu.js +1 -0
  37. package/{eds-form.entry-D8FLPsaS.js → eds-form.entry-a52cYx3b.js} +2 -2
  38. package/{eds-form.entry-zewjTpaa.mjs → eds-form.entry-xm937wbh.mjs} +113 -92
  39. package/{eds-frame.entry-BlOnLCrI.js → eds-frame.entry-BnT9nQwa.js} +1 -1
  40. package/{eds-frame.entry-SCGm_pju.mjs → eds-frame.entry-CU7GoLj6.mjs} +2 -2
  41. package/eds-icon-arrow-diagonal.entry-fzsCJiPP.js +1 -0
  42. package/eds-icon-arrow-diagonal.entry-kClkB8LF.mjs +13 -0
  43. package/eds-icon-arrow-right.entry-B75Ra6OD.js +1 -0
  44. package/eds-icon-arrow-right.entry-DX6A-VKL.mjs +13 -0
  45. package/{eds-icon-bluesky.entry-BDD9os2p.js → eds-icon-bluesky.entry-7tzCZSoL.js} +1 -1
  46. package/eds-icon-bluesky.entry-BNSdVu2K.mjs +13 -0
  47. package/eds-icon-chevron-down.entry-BLvZ3e_N.mjs +13 -0
  48. package/{eds-icon-chevron-down.entry-DA_Mq25N.js → eds-icon-chevron-down.entry-BUG6E9eR.js} +1 -1
  49. package/eds-icon-chevron-left.entry-BT-KYjSo.js +1 -0
  50. package/eds-icon-chevron-left.entry-Vq-R3b59.mjs +13 -0
  51. package/{eds-icon-chevron-right.entry-B2HI3b59.mjs → eds-icon-chevron-right.entry-B1qzmGrD.mjs} +2 -2
  52. package/eds-icon-chevron-right.entry-BmU_I0Y1.js +1 -0
  53. package/eds-icon-chevron-up.entry-DXXRgw1V.js +1 -0
  54. package/eds-icon-chevron-up.entry-DuySJU_i.mjs +13 -0
  55. package/eds-icon-close.entry-DDxUAr21.mjs +13 -0
  56. package/{eds-icon-close.entry-JIzBTjIa.js → eds-icon-close.entry-DS7BLTzl.js} +1 -1
  57. package/eds-icon-copy.entry-DNa1wI4F.mjs +13 -0
  58. package/{eds-icon-copy.entry-Ccrvu27o.js → eds-icon-copy.entry-Nz_P5A7p.js} +1 -1
  59. package/eds-icon-eu.entry-CLQcoimB.js +1 -0
  60. package/eds-icon-eu.entry-DTdf6Skc.mjs +13 -0
  61. package/eds-icon-facebook.entry-B9szoikj.mjs +13 -0
  62. package/eds-icon-facebook.entry-knUdck2t.js +1 -0
  63. package/eds-icon-gitlab.entry-IO7f4hgL.mjs +13 -0
  64. package/eds-icon-gitlab.entry-pKxaKA0B.js +1 -0
  65. package/{eds-icon-linkedin.entry-B4ev6evD.js → eds-icon-linkedin.entry-BD__kbDV.js} +1 -1
  66. package/eds-icon-linkedin.entry-CryUW1Er.mjs +13 -0
  67. package/{eds-icon-loader.entry-BFeh0vtX.js → eds-icon-loader.entry-B_3Sd6PB.js} +1 -1
  68. package/eds-icon-loader.entry-CxizdRT8.mjs +13 -0
  69. package/eds-icon-mastodon.entry-7152lwgd.js +1 -0
  70. package/eds-icon-mastodon.entry-MyM74vvm.mjs +13 -0
  71. package/eds-icon-menu.entry-5RRmRTxa.mjs +13 -0
  72. package/eds-icon-menu.entry-BVU8htgo.js +1 -0
  73. package/eds-icon-more.entry-KE6_EsAg.mjs +13 -0
  74. package/{eds-icon-more.entry-C-v0Cjp9.js → eds-icon-more.entry-lossstHZ.js} +1 -1
  75. package/eds-icon-search.entry-Dg0wabdP.mjs +13 -0
  76. package/eds-icon-search.entry-DiYaxnYX.js +1 -0
  77. package/{eds-icon-success.entry-DSukl_w-.js → eds-icon-success.entry-CRu9Ssdi.js} +1 -1
  78. package/eds-icon-success.entry-_fWfddhX.mjs +13 -0
  79. package/eds-icon-twitter.entry-B4xPE3Vz.js +1 -0
  80. package/eds-icon-twitter.entry-DHFpeStb.mjs +13 -0
  81. package/eds-icon-user.entry-BOv2lInW.mjs +13 -0
  82. package/eds-icon-user.entry-DkRLDrdp.js +1 -0
  83. package/eds-icon-youtube.entry-CRRGbDsw.mjs +13 -0
  84. package/eds-icon-youtube.entry-DL5fWU8k.js +1 -0
  85. package/{eds-input_7.entry-BV0VagCj.js → eds-input_7.entry-BZ9afXqe.js} +3 -3
  86. package/{eds-input_7.entry-CRNkC-uR.mjs → eds-input_7.entry-WvoE_Mue.mjs} +30 -25
  87. package/eds-login.entry-BRWK6otG.js +1 -0
  88. package/eds-login.entry-C0eOhlEq.mjs +58 -0
  89. package/{eds-logo-variations.entry-U65PDVhE.js → eds-logo-variations.entry-BnB25dDH.js} +1 -1
  90. package/eds-logo-variations.entry-Cw44vuQE.mjs +22 -0
  91. package/eds-matomo-notice.entry-BpwE1vQ3.js +1 -0
  92. package/{eds-matomo-notice.entry-y5SvHzsZ.mjs → eds-matomo-notice.entry-DsLbzeqQ.mjs} +2 -2
  93. package/eds-modal.entry-B9gXEOjT.js +1 -0
  94. package/eds-modal.entry-CCy9SRVR.mjs +84 -0
  95. package/{eds-navigator.entry-DixbL3UY.js → eds-navigator.entry-B9scz8p_.js} +1 -1
  96. package/{eds-navigator.entry-CvKDpQVM.mjs → eds-navigator.entry-Dk-4UW_d.mjs} +2 -2
  97. package/eds-pagination_2.entry-D_sngThL.js +1 -0
  98. package/{eds-pagination_2.entry-CRrIKRa-.mjs → eds-pagination_2.entry-M3CLFGN_.mjs} +25 -17
  99. package/{eds-progress-bar.entry-sdqDGSI3.mjs → eds-progress-bar.entry-BtI2_94Z.mjs} +5 -5
  100. package/{eds-progress-bar.entry-Bmjv2r3W.js → eds-progress-bar.entry-D56TNSGj.js} +1 -1
  101. package/{eds-section-core_2.entry-DBjBQ_AT.js → eds-section-core_2.entry-BmbK_RfT.js} +1 -1
  102. package/{eds-section-core_2.entry-cwkrHET8.mjs → eds-section-core_2.entry-pmUkAIz7.mjs} +6 -6
  103. package/{eds-svg-repository.entry-UvAba6M3.mjs → eds-svg-repository.entry-B3xCCFOp.mjs} +2 -2
  104. package/{eds-svg-repository.entry-BEJBJ538.js → eds-svg-repository.entry-DZ1FMRrQ.js} +2 -2
  105. package/{eds-tab.entry-CR1nFyrH.mjs → eds-tab.entry-Bpv6R_M0.mjs} +2 -2
  106. package/{eds-tab.entry-uQka8MTr.js → eds-tab.entry-DjpVgaDN.js} +1 -1
  107. package/eds-tabs-content.entry-Bj5wNmkr.js +1 -0
  108. package/{eds-tabs-content.entry-BKT7-iAV.mjs → eds-tabs-content.entry-CzwoLZzR.mjs} +4 -4
  109. package/{eds-tabs.entry-BKx8xHJ8.mjs → eds-tabs.entry-BYBPkYRs.mjs} +5 -5
  110. package/eds-tabs.entry-Cbc9yhHL.js +1 -0
  111. package/eds-timeline.entry-Bq-eo4Og.js +1 -0
  112. package/{eds-timeline.entry-B7jxBFA4.mjs → eds-timeline.entry-DJYcN7rN.mjs} +7 -7
  113. package/{eds-tooltip.entry-DJqN6_P4.mjs → eds-tooltip.entry-CTCdKTKM.mjs} +14 -6
  114. package/eds-tooltip.entry-eiFlYpfl.js +1 -0
  115. package/eds-trl.entry-8BXrp9SK.mjs +34 -0
  116. package/eds-trl.entry-DtffM-e5.js +1 -0
  117. package/eds-user.entry-DfBE6LuF.js +1 -0
  118. package/eds-user.entry-ybggwcts.mjs +66 -0
  119. package/eds-vertical-stepper.entry-DpcwvOst.mjs +27 -0
  120. package/eds-vertical-stepper.entry-O_GJNo8B.js +1 -0
  121. package/generated/components.d.ts +3 -1
  122. package/incorrect-use-of-colors.entry-CDHLoNBa.js +1 -0
  123. package/incorrect-use-of-colors.entry-DbwiJCH0.mjs +42 -0
  124. package/{index-Dg2DO7q4.mjs → index-C-Gy1Lax.mjs} +502 -498
  125. package/index-D_kZU_4I.js +21 -0
  126. package/index.js +1 -1
  127. package/index.mjs +33 -31
  128. package/{keycloak-13893af6-BLzE1H6E.mjs → keycloak-d502ec16-Ce0iGqyk.mjs} +259 -247
  129. package/keycloak-d502ec16-m7LwS-Gh.js +9 -0
  130. package/{logo-space.entry-DC5fUroI.js → logo-space.entry-D56IaLNE.js} +1 -1
  131. package/{logo-space.entry-Cf-keXHv.mjs → logo-space.entry-DERJLkyL.mjs} +7 -7
  132. package/logo-variations-horizontal_2.entry-OY3Zka_7.js +7 -0
  133. package/logo-variations-horizontal_2.entry-wp9D1MMl.mjs +29 -0
  134. package/logo-wrong-usage.entry-BniBpQrN.js +1 -0
  135. package/logo-wrong-usage.entry-RgKFDObE.mjs +14 -0
  136. package/package.json +1 -4
  137. package/{token-list_3.entry-BkOkChEb.js → token-list_3.entry-C0Tohj1W.js} +1 -1
  138. package/{token-list_3.entry-CheMK1r_.mjs → token-list_3.entry-Zgzwbhio.mjs} +4 -4
  139. package/{token-ratios.entry-rSMXHIix.mjs → token-ratios.entry-B7ZwRluK.mjs} +2 -2
  140. package/token-ratios.entry-bO5CkZ9D.js +1 -0
  141. package/token-spacing.entry-BTYazF9c.js +1 -0
  142. package/token-spacing.entry-_yyMlwbO.mjs +12 -0
  143. package/{token-typography.entry-AjIHL4M4.js → token-typography.entry-D-PPtDvs.js} +1 -1
  144. package/{token-typography.entry-CExckWkx.mjs → token-typography.entry-D4bxbB2m.mjs} +2 -2
  145. package/color-0ba8ed56-BVeDdJAE.js +0 -1
  146. package/color-0ba8ed56-D-UJpBQL.mjs +0 -207
  147. package/color-primary-palette_6.entry-_ANGnnBl.js +0 -1
  148. package/correct-use-of-colors.entry-B312hpv9.js +0 -1
  149. package/correct-use-of-colors.entry-BjxRVkfm.mjs +0 -59
  150. package/eds-accordion.entry-h9ApF51u.js +0 -4
  151. package/eds-alert.entry-C6VZ3ss6.js +0 -608
  152. package/eds-alert.entry-D5o-ZjCb.mjs +0 -688
  153. package/eds-card-desc_3.entry-D7hiMZ09.mjs +0 -87
  154. package/eds-card-desc_3.entry-Dxs_izUN.js +0 -1
  155. package/eds-card-generic.entry-DZYZP5oa.js +0 -1
  156. package/eds-card-project.entry-D7P4K88F.js +0 -1
  157. package/eds-card-tags.entry-CnHitp9l.js +0 -1
  158. package/eds-card-tags.entry-XboLA5-P.mjs +0 -13
  159. package/eds-card-tool.entry-CbreK2xg.js +0 -1
  160. package/eds-icon-arrow-diagonal.entry-CEffhVkn.mjs +0 -13
  161. package/eds-icon-arrow-diagonal.entry-abxXXnCe.js +0 -1
  162. package/eds-icon-arrow-right.entry-4zl098Gq.js +0 -1
  163. package/eds-icon-arrow-right.entry-DrA5pZ5q.mjs +0 -13
  164. package/eds-icon-bluesky.entry-CRey5aEK.mjs +0 -13
  165. package/eds-icon-chevron-down.entry-DCd5FfEN.mjs +0 -13
  166. package/eds-icon-chevron-left.entry-CiGlPKup.js +0 -1
  167. package/eds-icon-chevron-left.entry-Lmfmw6QC.mjs +0 -13
  168. package/eds-icon-chevron-right.entry-DMwxsQGs.js +0 -1
  169. package/eds-icon-chevron-up.entry-CwavCcA0.mjs +0 -13
  170. package/eds-icon-chevron-up.entry-D9pmuoVK.js +0 -1
  171. package/eds-icon-close.entry-pxvkbolY.mjs +0 -13
  172. package/eds-icon-copy.entry-Begn9c9I.mjs +0 -13
  173. package/eds-icon-eu.entry-C0ZIqXHV.js +0 -1
  174. package/eds-icon-eu.entry-CLI94rkv.mjs +0 -13
  175. package/eds-icon-facebook.entry-BIZwxPBr.js +0 -1
  176. package/eds-icon-facebook.entry-o2SylrAp.mjs +0 -13
  177. package/eds-icon-gitlab.entry-BJi35Zov.js +0 -1
  178. package/eds-icon-gitlab.entry-BWfZkXKF.mjs +0 -13
  179. package/eds-icon-linkedin.entry-Z4gD9HGr.mjs +0 -13
  180. package/eds-icon-loader.entry-DgIgWpYk.mjs +0 -13
  181. package/eds-icon-mastodon.entry-BLCaUfQY.js +0 -1
  182. package/eds-icon-mastodon.entry-C_2paQis.mjs +0 -13
  183. package/eds-icon-menu.entry-CNtaXAOo.mjs +0 -13
  184. package/eds-icon-menu.entry-CzF-GJXn.js +0 -1
  185. package/eds-icon-more.entry-4gqxzs_k.mjs +0 -13
  186. package/eds-icon-search.entry-D070uKfZ.mjs +0 -13
  187. package/eds-icon-search.entry-iLCAU3Et.js +0 -1
  188. package/eds-icon-success.entry-Ci0RTnP5.mjs +0 -13
  189. package/eds-icon-twitter.entry-D6I83zuS.mjs +0 -13
  190. package/eds-icon-twitter.entry-I9FRjdSE.js +0 -1
  191. package/eds-icon-user.entry-BI7Uw3Pp.mjs +0 -13
  192. package/eds-icon-user.entry-DcLB78T6.js +0 -1
  193. package/eds-icon-youtube.entry-CR4ml_RW.mjs +0 -13
  194. package/eds-icon-youtube.entry-DAke-XDg.js +0 -1
  195. package/eds-login.entry-DOeyfoyM.js +0 -1
  196. package/eds-login.entry-DmJw6ABI.mjs +0 -46
  197. package/eds-logo-variations.entry-o4lyGmhR.mjs +0 -22
  198. package/eds-matomo-notice.entry-tzuOtKT9.js +0 -1
  199. package/eds-modal.entry-B7Ph4m3y.js +0 -1
  200. package/eds-modal.entry-BW8crUoC.mjs +0 -65
  201. package/eds-pagination_2.entry-DoZ-NFBH.js +0 -1
  202. package/eds-rating.entry-J5lQt6oj.mjs +0 -40
  203. package/eds-rating.entry-dK5fopCq.js +0 -1
  204. package/eds-tabs-content.entry-CTM0EjTl.js +0 -1
  205. package/eds-tabs.entry-BWxSN8SV.js +0 -1
  206. package/eds-timeline.entry-D9KWrb_r.js +0 -1
  207. package/eds-tooltip.entry-CfhqHRxF.js +0 -1
  208. package/eds-trl.entry-COK7rgVS.mjs +0 -36
  209. package/eds-trl.entry-CoySvAJL.js +0 -1
  210. package/incorrect-use-of-colors.entry-D7xAYXu2.js +0 -1
  211. package/incorrect-use-of-colors.entry-DsNEjuWo.mjs +0 -42
  212. package/index-Dvww9rdy.js +0 -21
  213. package/keycloak-13893af6-NiM3zoVg.js +0 -9
  214. package/logo-variations-horizontal_2.entry-BWau6qh4.js +0 -7
  215. package/logo-variations-horizontal_2.entry-xvJ8Iiu5.mjs +0 -29
  216. package/logo-wrong-usage.entry-RcSb8NIe.mjs +0 -14
  217. package/logo-wrong-usage.entry-sU8NISwX.js +0 -1
  218. package/token-ratios.entry-Dfz4q4qy.js +0 -1
  219. package/token-spacing.entry-ByzbVlGi.js +0 -1
  220. package/token-spacing.entry-DvopunO1.mjs +0 -12
@@ -1,6 +1,7 @@
1
- import { r as x, c as b, h as s, g as h } from "./index-Dg2DO7q4.mjs";
1
+ import { r as b, c as h, h as s, g as f } from "./index-C-Gy1Lax.mjs";
2
2
  import { t as g } from "./toastManager-d9eee791-CEYNwx25.mjs";
3
- const f = `@font-face {
3
+ import { s as x } from "./analytics-1cde8e4a-BDRcCMlV.mjs";
4
+ const m = `@font-face {
4
5
  font-family: "Inter";
5
6
  font-weight: 100 900;
6
7
  font-display: swap;
@@ -7152,131 +7153,142 @@ const f = `@font-face {
7152
7153
  padding-right: 0rem;
7153
7154
  }
7154
7155
  }
7155
- `, m = f, p = class {
7156
+ `, p = m, y = class {
7156
7157
  constructor(e) {
7157
- x(this, e), this.formSubmitting = b(this, "formSubmitting", 7), this.handleChange = (i, n) => {
7158
- const r = i.target;
7159
- this.values = Object.assign(Object.assign({}, this.values), { [n.name]: r.value });
7160
- const t = Object.assign({}, this.errors);
7158
+ b(this, e), this.formSubmitting = h(this, "formSubmitting", 7), this.handleChange = (r, n) => {
7159
+ const i = r.target;
7160
+ this.values = Object.assign(Object.assign({}, this.values), { [n.name]: i.value });
7161
+ const l = Object.assign({}, this.errors);
7161
7162
  if (n.type === "checkbox" || n.type === "radio")
7162
7163
  if (n.options) {
7163
- const l = this.validateFieldGroup(n.name, n.type, n.required);
7164
- l.length > 0 ? t[n.name] = l : delete t[n.name];
7164
+ const t = this.validateFieldGroup(n.name, n.type, n.required);
7165
+ t.length > 0 ? l[n.name] = t : delete l[n.name];
7165
7166
  } else {
7166
- const l = this.validateSingleBox(n.name, n.required);
7167
- l.length > 0 ? t[n.name] = l : delete t[n.name];
7167
+ const t = this.validateSingleBox(n.name, n.required);
7168
+ t.length > 0 ? l[n.name] = t : delete l[n.name];
7168
7169
  }
7169
7170
  else {
7170
- const l = this.validateField(n.name, r.value, n.type, n.required, n.maxlength);
7171
- l.length > 0 ? t[n.name] = l : delete t[n.name];
7171
+ const t = this.validateField(n.name, i.value, n.type, n.required, n.maxlength);
7172
+ t.length > 0 ? l[n.name] = t : delete l[n.name];
7172
7173
  }
7173
- this.errors = t, this.hasError = Object.keys(t).length > 0;
7174
- }, this.handleSubmit = async (i) => {
7175
- var n;
7176
- if (i.preventDefault(), this.isSubmitting)
7174
+ this.errors = l, this.hasError = Object.keys(l).length > 0;
7175
+ }, this.handleSubmit = async (r) => {
7176
+ var n, i, l;
7177
+ if (r.preventDefault(), this.isSubmitting)
7177
7178
  return;
7178
7179
  if (this.validateForm(), this.hasError) {
7179
- this.alertMessage = this.errorMessage;
7180
+ x({
7181
+ category: "ui-component",
7182
+ parentContext: null,
7183
+ tag: this.el.tagName.toLowerCase(),
7184
+ name: `${(n = this.submitBtnLabel) === null || n === void 0 ? void 0 : n.toLowerCase()}/error` || "",
7185
+ action: "click"
7186
+ }), this.alertMessage = this.errorMessage;
7180
7187
  return;
7181
7188
  }
7182
7189
  this.isSubmitting = !0, this.formSubmitted = !1, this.alertMessage = null, this.errors = {};
7183
- const r = await this.getFormData();
7184
- this.setFormUrl && typeof window < "u" && r.set("form_url", window.location.href), this.authUser && r.set("form_user", (n = this.authUser) === null || n === void 0 ? void 0 : n.email);
7185
- const t = this.coupleAuth ? { Authorization: `Bearer ${this.authUser.token}` } : {};
7190
+ const t = await this.getFormData();
7191
+ this.setFormUrl && typeof window < "u" && t.set("form_url", window.location.href), this.authUser && t.set("form_user", (i = this.authUser) === null || i === void 0 ? void 0 : i.email);
7192
+ const d = this.coupleAuth ? { Authorization: `Bearer ${this.authUser.token}` } : {};
7186
7193
  try {
7187
- const l = await fetch(this.endpoint, {
7194
+ const o = await fetch(this.endpoint, {
7188
7195
  method: "POST",
7189
- body: r,
7190
- headers: t
7196
+ body: t,
7197
+ headers: d
7191
7198
  });
7192
- if (!l.ok) {
7193
- const o = await l.json();
7194
- this.hasError = !0, g.show(o.error || this.errorMessage, "error");
7199
+ if (!o.ok) {
7200
+ const c = await o.json();
7201
+ this.hasError = !0, g.show(c.error || this.errorMessage, "error");
7195
7202
  return;
7196
7203
  }
7197
- const d = await l.json();
7198
- this.formSubmitted = !0, g.show(d.message || this.successMessage, "success"), this.formEl.reset();
7199
- } catch (l) {
7200
- this.hasError = !0, g.show(`${l}`, "error");
7204
+ const a = await o.json();
7205
+ this.formSubmitted = !0, g.show(a.message || this.successMessage, "success"), this.formEl.reset(), x({
7206
+ category: "ui-component",
7207
+ parentContext: null,
7208
+ tag: this.el.tagName.toLowerCase(),
7209
+ name: `${(l = this.submitBtnLabel) === null || l === void 0 ? void 0 : l.toLowerCase()}/success` || "",
7210
+ action: "click"
7211
+ });
7212
+ } catch (o) {
7213
+ this.hasError = !0, g.show(`${o}`, "error");
7201
7214
  } finally {
7202
7215
  this.isSubmitting = !1, this.formSubmitting.emit(this.isSubmitting);
7203
7216
  }
7204
- }, this.smallAlert = !1, this.setFormUrl = !0, this.submitBtn = !0, this.submitBtnLabel = "Submit", this.successMessage = "Your message has been sent.", this.errorMessage = "Some fields in your form are incorrect.", this.submitBtnHintMessage = "To participate, please sign in using your EBRAINS account. If you do not have an account yet, you can easily create one on the EBRAINS portal.", this.endpoint = void 0, this.name = "form", this.fields = void 0, this.values = {}, this.coupleAuth = !1, this.formSubmitted = !1, this.hasError = !1, this.errors = {}, this.isSubmitting = !1, this.alertMessage = null, this.isAuthenticated = !1, this.authUser = void 0;
7217
+ }, this.setFormUrl = !0, this.submitBtn = !0, this.submitBtnLabel = "Submit", this.successMessage = "Your message has been sent.", this.errorMessage = "Some fields in your form are incorrect.", this.submitBtnHintMessage = "To participate, please sign in using your EBRAINS account. If you do not have an account yet, you can easily create one on the EBRAINS portal.", this.endpoint = void 0, this.name = "form", this.fields = [], this.values = {}, this.coupleAuth = !1, this.formSubmitted = !1, this.hasError = !1, this.errors = {}, this.isSubmitting = !1, this.alertMessage = null, this.isAuthenticated = !1, this.authUser = void 0, this.parsedFields = [];
7205
7218
  }
7206
7219
  onAuthStatusChanged(e) {
7207
- var i;
7208
- this.isAuthenticated = (i = e.detail) === null || i === void 0 ? void 0 : i.authenticated, this.authUser = e.detail.user;
7220
+ var r;
7221
+ this.isAuthenticated = (r = e.detail) === null || r === void 0 ? void 0 : r.authenticated, this.authUser = e.detail.user;
7209
7222
  }
7210
7223
  componentDidLoad() {
7211
- this.el.querySelectorAll("eds-button").forEach((i) => {
7212
- this.emitContext(i);
7213
- });
7214
- }
7215
- emitContext(e) {
7216
- const i = new CustomEvent("parentContext", {
7217
- detail: {
7218
- componentName: this.el.tagName.toLowerCase(),
7219
- identifier: null
7220
- }
7221
- });
7222
- e.dispatchEvent(i);
7224
+ this.parseFields(this.fields);
7223
7225
  }
7226
+ /*emitContext(linkElement: HTMLElement) {
7227
+ const event = new CustomEvent<ParentContextDetail>('parentContext', {
7228
+ detail: {
7229
+ componentName: this.el.tagName.toLowerCase(),
7230
+ identifier: null
7231
+ }
7232
+ });
7233
+
7234
+ linkElement.dispatchEvent(event);
7235
+ }*/
7224
7236
  // Visibility helper
7225
7237
  isFieldVisible(e) {
7226
7238
  return e.condition ? this.values[e.condition.field] === e.condition.value : !0;
7227
7239
  }
7228
7240
  // Validate individual fields dynamically
7229
- validateField(e, i, n, r, t) {
7230
- const l = [];
7231
- return r && !i && l.push(`${e} is required.`), t && typeof i == "string" && i.length > t && l.push(`${e} must be at most ${t} characters.`), n === "email" && i && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(i.toString()) && l.push("Invalid email format."), l;
7241
+ validateField(e, r, n, i, l) {
7242
+ const t = [];
7243
+ return i && !r && t.push(`${e} is required.`), l && typeof r == "string" && r.length > l && t.push(`${e} must be at most ${l} characters.`), n === "email" && r && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r.toString()) && t.push("Invalid email format."), t;
7232
7244
  }
7233
- validateFieldGroup(e, i, n) {
7234
- const l = Array.from(this.formEl.querySelectorAll("eds-input-field")).filter((o) => {
7245
+ validateFieldGroup(e, r, n) {
7246
+ const t = Array.from(this.formEl.querySelectorAll("eds-input-field")).filter((o) => {
7235
7247
  var a, c;
7236
7248
  return ((c = (a = o.shadowRoot) === null || a === void 0 ? void 0 : a.querySelectorAll(`input[name="${e}"]`)) === null || c === void 0 ? void 0 : c.length) > 0;
7237
7249
  }).flatMap((o) => {
7238
7250
  var a;
7239
7251
  return Array.from(((a = o.shadowRoot) === null || a === void 0 ? void 0 : a.querySelectorAll(`input[name="${e}"]`)) || []);
7240
7252
  }).some((o) => o.checked), d = [];
7241
- return n && !l && d.push(`At least one option in ${e} is required.`), d;
7253
+ return n && !t && d.push(`At least one option in ${e} is required.`), d;
7242
7254
  }
7243
- validateSingleBox(e, i) {
7255
+ validateSingleBox(e, r) {
7244
7256
  var n;
7245
- const r = [], t = Array.from(this.formEl.querySelectorAll("eds-input-field")).find((d) => {
7257
+ const i = [], l = Array.from(this.formEl.querySelectorAll("eds-input-field")).find((d) => {
7246
7258
  var o;
7247
7259
  return (o = d.shadowRoot) === null || o === void 0 ? void 0 : o.querySelector(`[name="${e}"]`);
7248
7260
  });
7249
- if (!t)
7250
- return i && r.push(`${e} is required.`), r;
7251
- const l = (n = t.shadowRoot) === null || n === void 0 ? void 0 : n.querySelector(`[name="${e}"]`);
7252
- return i && l && !l.checked && r.push(`${e} is required.`), r;
7261
+ if (!l)
7262
+ return r && i.push(`${e} is required.`), i;
7263
+ const t = (n = l.shadowRoot) === null || n === void 0 ? void 0 : n.querySelector(`[name="${e}"]`);
7264
+ return r && t && !t.checked && i.push(`${e} is required.`), i;
7253
7265
  }
7254
7266
  validateForm() {
7255
- this.errors = {}, this.hasError = !1, this.parseFields.forEach((e) => {
7267
+ this.errors = {}, this.hasError = !1, this.parsedFields.forEach((e) => {
7256
7268
  if (e.type !== "hidden")
7257
7269
  if ((e.type === "checkbox" || e.type === "radio") && !e.options) {
7258
- const i = this.validateSingleBox(e.name, e.required);
7259
- i.length > 0 && (this.errors[e.name] = i, this.hasError = !0);
7270
+ const r = this.validateSingleBox(e.name, e.required);
7271
+ r.length > 0 && (this.errors[e.name] = r, this.hasError = !0);
7260
7272
  } else if (e.options && (e.type === "checkbox" || e.type === "radio")) {
7261
- const i = this.validateFieldGroup(e.name, e.type, e.required);
7262
- i.length > 0 && (this.errors[e.name] = i, this.hasError = !0);
7273
+ const r = this.validateFieldGroup(e.name, e.type, e.required);
7274
+ r.length > 0 && (this.errors[e.name] = r, this.hasError = !0);
7263
7275
  } else {
7264
- const i = this.findFieldElement(e.name);
7265
- if (i) {
7266
- const n = i.value, r = this.validateField(e.name, n, e.type, e.required, e.maxlength);
7267
- r.length > 0 && (this.errors[e.name] = r, this.hasError = !0);
7276
+ const r = this.findFieldElement(e.name);
7277
+ if (r) {
7278
+ const n = r.value, i = this.validateField(e.name, n, e.type, e.required, e.maxlength);
7279
+ i.length > 0 && (this.errors[e.name] = i, this.hasError = !0);
7268
7280
  }
7269
7281
  }
7270
7282
  });
7271
7283
  }
7272
7284
  // Helper function to find elements in the shadow DOM
7273
7285
  findFieldElement(e) {
7274
- const i = Array.from(this.formEl.querySelectorAll("eds-input-field"));
7275
- for (const n of i)
7286
+ const r = Array.from(this.formEl.querySelectorAll("eds-input-field"));
7287
+ for (const n of r)
7276
7288
  if (n.shadowRoot) {
7277
- const r = n.shadowRoot.querySelector(`[name="${e}"]`);
7278
- if (r)
7279
- return r;
7289
+ const i = n.shadowRoot.querySelector(`[name="${e}"]`);
7290
+ if (i)
7291
+ return i;
7280
7292
  }
7281
7293
  return null;
7282
7294
  }
@@ -7284,36 +7296,45 @@ const f = `@font-face {
7284
7296
  const e = new FormData();
7285
7297
  return e.append("form_name", this.name), Array.from(this.formEl.querySelectorAll("eds-input-field")).forEach((n) => {
7286
7298
  if (n.shadowRoot) {
7287
- const r = n.shadowRoot.querySelector("input, textarea, select");
7288
- if (r && r.name)
7289
- if (r.type === "checkbox" || r.type === "radio") {
7290
- const l = Array.from(n.shadowRoot.querySelectorAll(`input[name="${r.name}"]:checked`)).map((d) => d.value);
7291
- e.append(r.name, l.join(","));
7292
- } else if (r.type === "file") {
7293
- const t = r;
7294
- t.files && t.files.length > 0 && Array.from(t.files).forEach((l) => {
7295
- e.append(t.name, l);
7299
+ const i = n.shadowRoot.querySelector("input, textarea, select");
7300
+ if (i && i.name)
7301
+ if (i.type === "checkbox" || i.type === "radio") {
7302
+ const t = Array.from(n.shadowRoot.querySelectorAll(`input[name="${i.name}"]:checked`)).map((d) => d.value);
7303
+ e.append(i.name, t.join(","));
7304
+ } else if (i.type === "file") {
7305
+ const l = i;
7306
+ l.files && l.files.length > 0 && Array.from(l.files).forEach((t) => {
7307
+ e.append(l.name, t);
7296
7308
  });
7297
7309
  } else
7298
- e.append(r.name, r.value);
7310
+ e.append(i.name, i.value);
7299
7311
  }
7300
7312
  }), e;
7301
7313
  }
7302
- get parseFields() {
7303
- return JSON.parse(this.fields);
7314
+ parseFields(e) {
7315
+ try {
7316
+ typeof e == "string" ? this.parsedFields = JSON.parse(e) : Array.isArray(e) ? this.parsedFields = e : e && typeof e == "object" ? this.parsedFields = e : this.parsedFields = [];
7317
+ } catch (r) {
7318
+ console.error("Error parsing fields prop:", r), this.parsedFields = [];
7319
+ }
7304
7320
  }
7305
7321
  render() {
7306
- const e = this.parseFields.filter((n) => n.type === "hidden"), i = this.parseFields.filter((n) => n.type !== "hidden");
7307
- return s("form", { key: "fdb974998dfd27c0d857d0fbfbbe9e769e55d7bb", ref: (n) => this.formEl = n, enctype: "multipart/form-data", autocomplete: "on", method: "post", onSubmit: this.handleSubmit }, s("div", { key: "dfbe5adce9e5685736169e88408590088aba5b1e" }, s("slot", { key: "f5c5356a8b87bf63fdd21901da81291c596f1487" }), e.map((n, r) => s("eds-input", { key: r, type: "hidden", name: n.name, value: n.value })), i.map((n, r) => {
7308
- var t, l;
7309
- return this.isFieldVisible(n) ? s("eds-input-field", { key: r, name: n.name, id: `${this.name}_${n.name}`, label: n.label, type: n.type, icon: n.icon || null, required: n.required, maxLength: n.maxlength, hint: n.hint, error: ((t = this.errors[n.name]) === null || t === void 0 ? void 0 : t.length) > 0, errorMessage: (l = this.errors[n.name]) === null || l === void 0 ? void 0 : l.join("<br />"), onInput: (d) => this.handleChange(d, n), class: r > 0 ? "mt-20" : "", options: n.options }) : null;
7310
- })), this.submitBtn && s("div", { key: "2c3165a56d5bec9135a8695cae1b87981167c949", class: "mt-20" }, s("eds-button", { key: "f311628ff58cd03ebbd0f7ccb0623df817d416da", intent: "primary", label: this.submitBtnLabel, disabled: this.isSubmitting || this.coupleAuth && !this.isAuthenticated, loading: this.isSubmitting, onClick: (n) => this.handleSubmit(n) }), this.coupleAuth && !this.isAuthenticated ? s("p", { class: "f-ui-05 text-lighter mt-8 ml-8" }, this.submitBtnHintMessage) : null), this.alertMessage && (this.formSubmitted || this.hasError) && s("div", { key: "1c7adc93081294eb86b71e808933215fe04fa033", class: "mt-20" }, s("eds-alert", { key: "d221dd0674be734a8b7382ea2eeb97509f6bc3a6", message: this.alertMessage, intent: this.hasError ? "error" : "success", direction: "horizontal" })));
7322
+ const e = this.parsedFields.filter((n) => n.type === "hidden"), r = this.parsedFields.filter((n) => n.type !== "hidden");
7323
+ return s("form", { key: "3d4ae34d48c0551f9de6dacb50ceee15b487b5de", ref: (n) => this.formEl = n, enctype: "multipart/form-data", autocomplete: "on", method: "post", onSubmit: this.handleSubmit }, s("div", { key: "344c56dcba3de5a1b55255d794a78fb0f19d04b5" }, s("slot", { key: "3ca6d203458d67fa66840fac55f94d71acc2ee4d" }), e.map((n, i) => s("eds-input", { key: i, type: "hidden", name: n.name, value: n.value })), r.map((n, i) => {
7324
+ var l, t;
7325
+ return this.isFieldVisible(n) ? s("eds-input-field", { key: i, name: n.name, id: `${this.name}_${n.name}`, label: n.label, type: n.type, icon: n.icon || null, required: n.required, maxLength: n.maxlength, hint: n.hint, error: ((l = this.errors[n.name]) === null || l === void 0 ? void 0 : l.length) > 0, errorMessage: (t = this.errors[n.name]) === null || t === void 0 ? void 0 : t.join("<br />"), onInput: (d) => this.handleChange(d, n), class: i > 0 ? "mt-20" : "", options: n.options }) : null;
7326
+ })), this.submitBtn && s("div", { key: "22915285f3522f6d260e358eea964c59a9557a55", class: "mt-20" }, s("eds-button", { key: "9e2191ba8cc49d7ac2a6588c0fa468214773c791", intent: "primary", label: this.submitBtnLabel, disabled: this.isSubmitting || this.coupleAuth && !this.isAuthenticated, loading: this.isSubmitting, onClick: (n) => this.handleSubmit(n) }), this.coupleAuth && !this.isAuthenticated ? s("p", { class: "f-ui-05 text-lighter mt-8 ml-8" }, this.submitBtnHintMessage) : null), this.alertMessage && (this.formSubmitted || this.hasError) && s("div", { key: "8045c3dff26286a6735157b82afd56ec9001ba14", class: "mt-20" }, s("eds-alert", { key: "dc8c8f74e8aada9023f110bb862afee1fb629601", message: this.alertMessage, intent: this.hasError ? "error" : "success", direction: "horizontal" })));
7311
7327
  }
7312
7328
  get el() {
7313
- return h(this);
7329
+ return f(this);
7330
+ }
7331
+ static get watchers() {
7332
+ return {
7333
+ fields: ["parseFields"]
7334
+ };
7314
7335
  }
7315
7336
  };
7316
- p.style = m;
7337
+ y.style = p;
7317
7338
  export {
7318
- p as eds_form
7339
+ y as eds_form
7319
7340
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Dvww9rdy.js"),s=class{constructor(t){e.registerInstance(this,t),this.frameLabel=void 0,this.urlLabel="Open in Storybook",this.errorMessage="Could not load the requested Storybook content. Please check the URL or try again later.",this.storybookUrl=void 0,this.storyPath=void 0,this.intent="strong",this.tiny=!1,this.size="auto",this.bg=!0,this.iframeError=!1}articleClasses(){return[this.tiny?"min-h-120":"min-h-156",this.bg?"bg-inverse":"bg-default","rounded border-softer effect-focus-within relative flex grow flex-col border-2","w-full h-full"].join(" ")}getFrameHeight(){switch(this.size){case"sm":return"100px";case"md":return"200px";case"lg":return"400px";case"xl":return"700px";default:return"auto"}}async checkIframeAvailability(){try{if(!(await fetch(this.frameSrc,{method:"GET"})).ok)throw new Error("Failed to load")}catch{this.iframeError=!0}}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach(r=>{this.emitContext(r)})}emitContext(t){const r=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});t.dispatchEvent(r)}get storyLink(){return`${this.storybookUrl}/?path=/story/${this.storyPath}`}get frameSrc(){return`${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`}render(){return e.h("div",{key:"0c3a43efc1a125af5999af88c4eb071b5c3bc6c5",class:this.articleClasses()},e.h("div",{key:"32303d5e2c2f3b01efe1ceaf828346f873bea6b6",class:"effect-height flex items-center justify-between py-8 px-12"},e.h("span",{key:"75f7f6750413dad4af2ea62c12ffb994491d5d01",class:"f-ui-02"},this.frameLabel),this.iframeError?null:e.h("eds-link",{label:this.urlLabel,url:this.storyLink,intent:this.intent,class:"ml-auto",external:!0,disabled:!1,icon:"arrow-diagonal"})),e.h("div",{key:"1fd99f6eda026814910b0cd93635616b7d3ffe09",class:"border-softer border-t-2"},this.iframeError?e.h("div",{class:"container ml-8 mr-8 mt-16"},this.errorMessage):e.h("iframe",{src:this.frameSrc,width:"100%",height:this.getFrameHeight(),title:this.frameLabel,frameBorder:"0",allowFullScreen:!0})))}get el(){return e.getElement(this)}};exports.eds_frame=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),s=class{constructor(t){e.registerInstance(this,t),this.frameLabel=void 0,this.urlLabel="Open in Storybook",this.errorMessage="Could not load the requested Storybook content. Please check the URL or try again later.",this.storybookUrl=void 0,this.storyPath=void 0,this.intent="strong",this.tiny=!1,this.size="auto",this.bg=!0,this.iframeError=!1}articleClasses(){return[this.tiny?"min-h-120":"min-h-156",this.bg?"bg-inverse":"bg-default","rounded border-softer effect-focus-within relative flex grow flex-col border-2","w-full h-full"].join(" ")}getFrameHeight(){switch(this.size){case"sm":return"100px";case"md":return"200px";case"lg":return"400px";case"xl":return"700px";default:return"auto"}}async checkIframeAvailability(){try{if(!(await fetch(this.frameSrc,{method:"GET"})).ok)throw new Error("Failed to load")}catch{this.iframeError=!0}}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach(r=>{this.emitContext(r)})}emitContext(t){const r=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});t.dispatchEvent(r)}get storyLink(){return`${this.storybookUrl}/?path=/story/${this.storyPath}`}get frameSrc(){return`${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`}render(){return e.h("div",{key:"20786dd40414d29f98d496e29720bd78b9d7cf8e",class:this.articleClasses()},e.h("div",{key:"208612330c9d2872c68aeb310e164c8a915a51ef",class:"effect-height flex items-center justify-between py-8 px-12"},e.h("span",{key:"ada2a40384ffaffadc8887580aa6184422008a68",class:"f-ui-02"},this.frameLabel),this.iframeError?null:e.h("eds-link",{label:this.urlLabel,url:this.storyLink,intent:this.intent,class:"ml-auto",external:!0,disabled:!1,icon:"arrow-diagonal"})),e.h("div",{key:"26a5ae1c81b60b05b6f4859ffa4dbd13bb2557f3",class:"border-softer border-t-2"},this.iframeError?e.h("div",{class:"container ml-8 mr-8 mt-16"},this.errorMessage):e.h("iframe",{src:this.frameSrc,width:"100%",height:this.getFrameHeight(),title:this.frameLabel,frameBorder:"0",allowFullScreen:!0})))}get el(){return e.getElement(this)}};exports.eds_frame=s;
@@ -1,4 +1,4 @@
1
- import { r as s, h as e, g as i } from "./index-Dg2DO7q4.mjs";
1
+ import { r as s, h as e, g as i } from "./index-C-Gy1Lax.mjs";
2
2
  const o = class {
3
3
  constructor(t) {
4
4
  s(this, t), this.frameLabel = void 0, this.urlLabel = "Open in Storybook", this.errorMessage = "Could not load the requested Storybook content. Please check the URL or try again later.", this.storybookUrl = void 0, this.storyPath = void 0, this.intent = "strong", this.tiny = !1, this.size = "auto", this.bg = !0, this.iframeError = !1;
@@ -63,7 +63,7 @@ const o = class {
63
63
  return `${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`;
64
64
  }
65
65
  render() {
66
- return e("div", { key: "0c3a43efc1a125af5999af88c4eb071b5c3bc6c5", class: this.articleClasses() }, e("div", { key: "32303d5e2c2f3b01efe1ceaf828346f873bea6b6", class: "effect-height flex items-center justify-between py-8 px-12" }, e("span", { key: "75f7f6750413dad4af2ea62c12ffb994491d5d01", class: "f-ui-02" }, this.frameLabel), this.iframeError ? null : e("eds-link", { label: this.urlLabel, url: this.storyLink, intent: this.intent, class: "ml-auto", external: !0, disabled: !1, icon: "arrow-diagonal" })), e("div", { key: "1fd99f6eda026814910b0cd93635616b7d3ffe09", class: "border-softer border-t-2" }, this.iframeError ? e("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage) : e("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: !0 })));
66
+ return e("div", { key: "20786dd40414d29f98d496e29720bd78b9d7cf8e", class: this.articleClasses() }, e("div", { key: "208612330c9d2872c68aeb310e164c8a915a51ef", class: "effect-height flex items-center justify-between py-8 px-12" }, e("span", { key: "ada2a40384ffaffadc8887580aa6184422008a68", class: "f-ui-02" }, this.frameLabel), this.iframeError ? null : e("eds-link", { label: this.urlLabel, url: this.storyLink, intent: this.intent, class: "ml-auto", external: !0, disabled: !1, icon: "arrow-diagonal" })), e("div", { key: "26a5ae1c81b60b05b6f4859ffa4dbd13bb2557f3", class: "border-softer border-t-2" }, this.iframeError ? e("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage) : e("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: !0 })));
67
67
  }
68
68
  get el() {
69
69
  return i(this);
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-D_kZU_4I.js"),e=require("./arrow-diagonal-black-8f0494c3-DqsB6ni-.js"),s=class{constructor(a){r.registerInstance(this,a),this.addClass=""}render(){return r.h("span",{key:"d85a4d425e0c255efe4763d4a13f13b6ff727c2c",class:this.addClass,innerHTML:e.arrowDiagonal})}};exports.eds_icon_arrow_diagonal=s;
@@ -0,0 +1,13 @@
1
+ import { r, h as s } from "./index-C-Gy1Lax.mjs";
2
+ import { a as o } from "./arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs";
3
+ const t = class {
4
+ constructor(a) {
5
+ r(this, a), this.addClass = "";
6
+ }
7
+ render() {
8
+ return s("span", { key: "d85a4d425e0c255efe4763d4a13f13b6ff727c2c", class: this.addClass, innerHTML: o });
9
+ }
10
+ };
11
+ export {
12
+ t as eds_icon_arrow_diagonal
13
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-D_kZU_4I.js"),e=require("./arrow-right-9322ba8a-DBcxNU_p.js"),t=class{constructor(s){r.registerInstance(this,s),this.class=""}render(){return r.h("span",{key:"4a2b33b86753acab8270a45c7b250603b128bc88",class:this.class,innerHTML:e.arrowRight})}};exports.eds_icon_arrow_right=t;
@@ -0,0 +1,13 @@
1
+ import { r as s, h as a } from "./index-C-Gy1Lax.mjs";
2
+ import { a as t } from "./arrow-right-9322ba8a-DHq-_PPe.mjs";
3
+ const i = class {
4
+ constructor(r) {
5
+ s(this, r), this.class = "";
6
+ }
7
+ render() {
8
+ return a("span", { key: "4a2b33b86753acab8270a45c7b250603b128bc88", class: this.class, innerHTML: t });
9
+ }
10
+ };
11
+ export {
12
+ i as eds_icon_arrow_right
13
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Dvww9rdy.js"),c=require("./bluesky-cc5edd2d-DaFQc-pr.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"8b5d4cfeedf6d7e9bea48d7ba892527d484c858d",class:this.class,innerHTML:c.bluesky})}};exports.eds_icon_bluesky=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),c=require("./bluesky-cc5edd2d-DaFQc-pr.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"845a157678b9d059b2c9bd8a6265d3a62f33c31a",class:this.class,innerHTML:c.bluesky})}};exports.eds_icon_bluesky=r;
@@ -0,0 +1,13 @@
1
+ import { r, h as a } from "./index-C-Gy1Lax.mjs";
2
+ import { b as e } from "./bluesky-cc5edd2d-DfuDDO5h.mjs";
3
+ const n = class {
4
+ constructor(s) {
5
+ r(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return a("span", { key: "845a157678b9d059b2c9bd8a6265d3a62f33c31a", class: this.class, innerHTML: e });
9
+ }
10
+ };
11
+ export {
12
+ n as eds_icon_bluesky
13
+ };
@@ -0,0 +1,13 @@
1
+ import { r, h as n } from "./index-C-Gy1Lax.mjs";
2
+ import { c as o } from "./chevron-down-6144c823-DWGlv9eV.mjs";
3
+ const t = class {
4
+ constructor(s) {
5
+ r(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return n("span", { key: "fa8022d27b91e909d4cd5522c6d0406be698a412", class: this.class, innerHTML: o });
9
+ }
10
+ };
11
+ export {
12
+ t as eds_icon_chevron_down
13
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Dvww9rdy.js"),s=require("./chevron-down-6144c823-D_8976Ke.js"),r=class{constructor(n){e.registerInstance(this,n),this.class=""}render(){return e.h("span",{key:"bc01e9e10033245e02403b6b919911018eef9919",class:this.class,innerHTML:s.chevronDown})}};exports.eds_icon_chevron_down=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),s=require("./chevron-down-6144c823-D_8976Ke.js"),r=class{constructor(n){e.registerInstance(this,n),this.class=""}render(){return e.h("span",{key:"fa8022d27b91e909d4cd5522c6d0406be698a412",class:this.class,innerHTML:s.chevronDown})}};exports.eds_icon_chevron_down=r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),r=require("./chevron-left-ca6c66e1-uCH5SUhm.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"c723d7f1bbd596063ae7e66123b8038af5320a54",class:this.class,innerHTML:r.chevronLeft})}};exports.eds_icon_chevron_left=t;
@@ -0,0 +1,13 @@
1
+ import { r as e, h as r } from "./index-C-Gy1Lax.mjs";
2
+ import { c as t } from "./chevron-left-ca6c66e1-DANhLw_T.mjs";
3
+ const o = class {
4
+ constructor(s) {
5
+ e(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return r("span", { key: "c723d7f1bbd596063ae7e66123b8038af5320a54", class: this.class, innerHTML: t });
9
+ }
10
+ };
11
+ export {
12
+ o as eds_icon_chevron_left
13
+ };
@@ -1,11 +1,11 @@
1
- import { r, h as e } from "./index-Dg2DO7q4.mjs";
1
+ import { r, h as c } from "./index-C-Gy1Lax.mjs";
2
2
  import { c as t } from "./chevron-right-b88ed2d4-CgEZBvy7.mjs";
3
3
  const o = class {
4
4
  constructor(s) {
5
5
  r(this, s), this.class = "";
6
6
  }
7
7
  render() {
8
- return e("span", { key: "998491aed74bd3edd1fb8545f85ab52cf2703b3f", class: this.class, innerHTML: t });
8
+ return c("span", { key: "f770cd9151077e8708c76d2082613c65a20c420f", class: this.class, innerHTML: t });
9
9
  }
10
10
  };
11
11
  export {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),s=require("./chevron-right-b88ed2d4-C7dkTMvP.js"),c=class{constructor(r){e.registerInstance(this,r),this.class=""}render(){return e.h("span",{key:"f770cd9151077e8708c76d2082613c65a20c420f",class:this.class,innerHTML:s.chevronRight})}};exports.eds_icon_chevron_right=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),c=require("./chevron-up-c66bd477-ByW7R48t.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"40d18a840277f2aba5d314a36fca5c1f8fd99cc6",class:this.class,innerHTML:c.chevronUp})}};exports.eds_icon_chevron_up=r;
@@ -0,0 +1,13 @@
1
+ import { r, h as c } from "./index-C-Gy1Lax.mjs";
2
+ import { c as a } from "./chevron-up-c66bd477-CETJkshq.mjs";
3
+ const o = class {
4
+ constructor(s) {
5
+ r(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return c("span", { key: "40d18a840277f2aba5d314a36fca5c1f8fd99cc6", class: this.class, innerHTML: a });
9
+ }
10
+ };
11
+ export {
12
+ o as eds_icon_chevron_up
13
+ };
@@ -0,0 +1,13 @@
1
+ import { r as e, h as c } from "./index-C-Gy1Lax.mjs";
2
+ import { c as r } from "./close-87fc0d63-DtDU2HIU.mjs";
3
+ const n = class {
4
+ constructor(s) {
5
+ e(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return c("span", { key: "947f6615e8ee155be98b379a9c771cc0d453becd", class: this.class, innerHTML: r });
9
+ }
10
+ };
11
+ export {
12
+ n as eds_icon_close
13
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Dvww9rdy.js"),c=require("./close-87fc0d63-Cbd-ScJr.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"365ad476b1be9c708e73598cad1dd42a908fa1cd",class:this.class,innerHTML:c.close})}};exports.eds_icon_close=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),c=require("./close-87fc0d63-Cbd-ScJr.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"947f6615e8ee155be98b379a9c771cc0d453becd",class:this.class,innerHTML:c.close})}};exports.eds_icon_close=r;
@@ -0,0 +1,13 @@
1
+ import { r as c, h as r } from "./index-C-Gy1Lax.mjs";
2
+ import { c as o } from "./copy-03b72cb6-B_WCNQrG.mjs";
3
+ const t = class {
4
+ constructor(s) {
5
+ c(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return r("span", { key: "1e23d4493d5a1d07bc794da20cc4e445a87d56b0", class: this.class, innerHTML: o });
9
+ }
10
+ };
11
+ export {
12
+ t as eds_icon_copy
13
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Dvww9rdy.js"),c=require("./copy-03b72cb6-CZAFAegx.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"770c34b98ec0e0a7e16de4d7b5b41b4afec9911e",class:this.class,innerHTML:c.copy})}};exports.eds_icon_copy=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),c=require("./copy-03b72cb6-CZAFAegx.js"),r=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"1e23d4493d5a1d07bc794da20cc4e445a87d56b0",class:this.class,innerHTML:c.copy})}};exports.eds_icon_copy=r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),r=require("./eu-9ddde93a-BFtIQw9B.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"14254e1b9d43562e6f3f943de22aa8dd4d89a044",class:this.class,innerHTML:r.euSvg})}};exports.eds_icon_eu=t;
@@ -0,0 +1,13 @@
1
+ import { r as e, h as r } from "./index-C-Gy1Lax.mjs";
2
+ import { e as a } from "./eu-9ddde93a-ft4szvR5.mjs";
3
+ const c = class {
4
+ constructor(s) {
5
+ e(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return r("span", { key: "14254e1b9d43562e6f3f943de22aa8dd4d89a044", class: this.class, innerHTML: a });
9
+ }
10
+ };
11
+ export {
12
+ c as eds_icon_eu
13
+ };
@@ -0,0 +1,13 @@
1
+ import { r as c, h as e } from "./index-C-Gy1Lax.mjs";
2
+ import { f as o } from "./facebook-9cb5c17f-BcUhbrj6.mjs";
3
+ const t = class {
4
+ constructor(s) {
5
+ c(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return e("span", { key: "902598891dfe926f92ce5d30dc135896c6eccd43", class: this.class, innerHTML: o });
9
+ }
10
+ };
11
+ export {
12
+ t as eds_icon_facebook
13
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),s=require("./facebook-9cb5c17f-Y_gvQ682.js"),o=class{constructor(c){e.registerInstance(this,c),this.class=""}render(){return e.h("span",{key:"902598891dfe926f92ce5d30dc135896c6eccd43",class:this.class,innerHTML:s.facebook})}};exports.eds_icon_facebook=o;
@@ -0,0 +1,13 @@
1
+ import { r as a, h as r } from "./index-C-Gy1Lax.mjs";
2
+ import { g as t } from "./mono-53f70232-DGi2XDlR.mjs";
3
+ const i = class {
4
+ constructor(s) {
5
+ a(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return r("span", { key: "128f9265dfc1aee95586ba0a3fd20dd131678893", class: this.class, innerHTML: t });
9
+ }
10
+ };
11
+ export {
12
+ i as eds_icon_gitlab
13
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),t=require("./mono-53f70232-DgAsWvoQ.js"),n=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"128f9265dfc1aee95586ba0a3fd20dd131678893",class:this.class,innerHTML:t.gitlabBlack})}};exports.eds_icon_gitlab=n;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Dvww9rdy.js"),s=require("./linkedin-e8650abb-BkDrkjzY.js"),i=class{constructor(n){e.registerInstance(this,n),this.class=""}render(){return e.h("span",{key:"b8e0661a74a92c72b6db109cb48db12da48dcf92",class:this.class,innerHTML:s.linkedin})}};exports.eds_icon_linkedin=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),s=require("./linkedin-e8650abb-BkDrkjzY.js"),i=class{constructor(n){e.registerInstance(this,n),this.class=""}render(){return e.h("span",{key:"0f9675a371ca7bb460882c04bf2bb0c103273a0d",class:this.class,innerHTML:s.linkedin})}};exports.eds_icon_linkedin=i;
@@ -0,0 +1,13 @@
1
+ import { r as n, h as r } from "./index-C-Gy1Lax.mjs";
2
+ import { l as i } from "./linkedin-e8650abb-DYMdsale.mjs";
3
+ const a = class {
4
+ constructor(s) {
5
+ n(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return r("span", { key: "0f9675a371ca7bb460882c04bf2bb0c103273a0d", class: this.class, innerHTML: i });
9
+ }
10
+ };
11
+ export {
12
+ a as eds_icon_linkedin
13
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Dvww9rdy.js"),r=require("./loader-c9628637-Vj8Wt1e8.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"260c4eeb69ff79d943571c1461346b9019ea513a",class:this.class,innerHTML:r.loader})}};exports.eds_icon_loader=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),r=require("./loader-c9628637-Vj8Wt1e8.js"),t=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"f11c60068baa2d2398056b3d7f04129d9deb4517",class:this.class,innerHTML:r.loader})}};exports.eds_icon_loader=t;
@@ -0,0 +1,13 @@
1
+ import { r, h as a } from "./index-C-Gy1Lax.mjs";
2
+ import { l as e } from "./loader-c9628637-ChpnbJkv.mjs";
3
+ const c = class {
4
+ constructor(s) {
5
+ r(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return a("span", { key: "f11c60068baa2d2398056b3d7f04129d9deb4517", class: this.class, innerHTML: e });
9
+ }
10
+ };
11
+ export {
12
+ c as eds_icon_loader
13
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-D_kZU_4I.js"),t=require("./mastodon-3703ec61-C9v6Olc-.js"),n=class{constructor(s){e.registerInstance(this,s),this.class=""}render(){return e.h("span",{key:"1f68e5d0b6f8455f40bf94f6095eceff00b7887e",class:this.class,innerHTML:t.mastodon})}};exports.eds_icon_mastodon=n;
@@ -0,0 +1,13 @@
1
+ import { r as o, h as r } from "./index-C-Gy1Lax.mjs";
2
+ import { m as t } from "./mastodon-3703ec61-C7iI4Hk0.mjs";
3
+ const a = class {
4
+ constructor(s) {
5
+ o(this, s), this.class = "";
6
+ }
7
+ render() {
8
+ return r("span", { key: "1f68e5d0b6f8455f40bf94f6095eceff00b7887e", class: this.class, innerHTML: t });
9
+ }
10
+ };
11
+ export {
12
+ a as eds_icon_mastodon
13
+ };