@ebrains/vue 1.3.0 → 2.0.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 (246) hide show
  1. package/bin-37cad2f0-BqMIoPCV.mjs +4 -0
  2. package/bin-37cad2f0-Bvf97PEl.js +1 -0
  3. package/color-primary-palette_6.entry-CLPwqXYN.js +1 -0
  4. package/{color-primary-palette_6.entry-C7BHQEnw.mjs → color-primary-palette_6.entry-Dx0sxiGl.mjs} +15 -15
  5. package/{components-section.entry-DcfSB-kY.mjs → components-section.entry-CunkKxAI.mjs} +2 -2
  6. package/{components-section.entry-B_kYIcya.js → components-section.entry-DlSK2XQH.js} +2 -2
  7. package/{correct-use-of-colors.entry-BGChf9ec.js → correct-use-of-colors.entry-CEWf34uE.js} +1 -1
  8. package/{correct-use-of-colors.entry-CcnJrMG_.mjs → correct-use-of-colors.entry-DCSZZlrZ.mjs} +2 -2
  9. package/{docs-palettes.entry-CxxNNtY3.mjs → docs-palettes.entry-BNFu_gbi.mjs} +4 -4
  10. package/{docs-palettes.entry-CzAVEsqm.js → docs-palettes.entry-DcN9LWvY.js} +1 -1
  11. package/{docs-tokens.entry-B-0AwUaT.js → docs-tokens.entry-B3fO_wav.js} +1 -1
  12. package/{docs-tokens.entry-Dmdau8tN.mjs → docs-tokens.entry-BMB3774g.mjs} +2 -2
  13. package/draft-dd5dada2-AqzrhEzA.js +1 -0
  14. package/draft-dd5dada2-DEIzQoXJ.mjs +4 -0
  15. package/edit-1dc8d11b-Bf2mkSUV.js +1 -0
  16. package/edit-1dc8d11b-CamcJGHE.mjs +4 -0
  17. package/{eds-accordion.entry-CFtzyK7V.mjs → eds-accordion.entry-Cniy--Pf.mjs} +8 -8
  18. package/{eds-accordion.entry-BTD6_yTY.js → eds-accordion.entry-DqsJjt8n.js} +2 -2
  19. package/{eds-alert.entry-DBrGIgok.js → eds-alert.entry-1Mmo8pXz.js} +1 -1
  20. package/{eds-alert.entry-DNcSOFx-.mjs → eds-alert.entry-DzO39nFn.mjs} +1 -1
  21. package/eds-app-root.entry-Br_qdv7x.mjs +25 -0
  22. package/eds-app-root.entry-CuHAu5oB.js +1 -0
  23. package/{eds-avatar_28.entry-BI00ikeb.mjs → eds-avatar_26.entry-BQ34MNWx.mjs} +435 -486
  24. package/{eds-avatar_28.entry-DopORaIL.js → eds-avatar_26.entry-t5Dh1R-T.js} +22 -10
  25. package/{eds-breadcrumb.entry-CV7LDFTG.mjs → eds-breadcrumb.entry-DoRU-2U8.mjs} +1 -1
  26. package/{eds-breadcrumb.entry-BygCmjM-.js → eds-breadcrumb.entry-WWpJ_3D5.js} +1 -1
  27. package/{eds-card-desc_2.entry-3kgejbQH.js → eds-card-desc_2.entry-BhqAsb3U.js} +1 -1
  28. package/{eds-card-desc_2.entry-Do4CAipD.mjs → eds-card-desc_2.entry-D_GE153d.mjs} +1 -1
  29. package/{eds-card-generic.entry-CbDtabpb.mjs → eds-card-generic.entry-B9M3v5vo.mjs} +2 -2
  30. package/{eds-card-generic.entry-C_Yw-DLJ.js → eds-card-generic.entry-DNr8lsia.js} +1 -1
  31. package/{eds-card-project.entry-DAMXRHfD.mjs → eds-card-project.entry-CtwByu-b.mjs} +2 -2
  32. package/{eds-card-project.entry-BUbV0p8h.js → eds-card-project.entry-DDVZxmW4.js} +1 -1
  33. package/{eds-card-section.entry-DyA-0-g2.mjs → eds-card-section.entry-DQfUs62H.mjs} +1 -1
  34. package/{eds-card-section.entry-CqomDmBW.js → eds-card-section.entry-Dq80ib2D.js} +1 -1
  35. package/{eds-card-tags.entry-jLEzA08t.js → eds-card-tags.entry-CSuzFzX-.js} +1 -1
  36. package/{eds-card-tags.entry-DHtCc-Su.mjs → eds-card-tags.entry-DrWAV-ko.mjs} +1 -1
  37. package/{eds-card-tool.entry-poM-4hr7.js → eds-card-tool.entry-CNxFGROK.js} +1 -1
  38. package/{eds-card-tool.entry-D-ncKPKB.mjs → eds-card-tool.entry-D1HR_5K1.mjs} +1 -1
  39. package/{eds-code-block.entry-CHxseIw9.mjs → eds-code-block.entry-DGIrW97_.mjs} +1 -1
  40. package/{eds-code-block.entry-COQqBXRW.js → eds-code-block.entry-JdJJLE4a.js} +1 -1
  41. package/{eds-cookies-preference.entry-xYpSlhUA.mjs → eds-cookies-preference.entry-CVk-5TmL.mjs} +5 -5
  42. package/{eds-cookies-preference.entry-B_7xgDUj.js → eds-cookies-preference.entry-D3iYnclm.js} +1 -1
  43. package/{eds-feedback.entry-_rvRRCPH.mjs → eds-feedback.entry-B1yQSCpz.mjs} +5 -5
  44. package/{eds-feedback.entry-Bz0Gg-D6.js → eds-feedback.entry-mYb4amQb.js} +1 -1
  45. package/eds-footer.entry-C93DGupd.mjs +40 -0
  46. package/eds-footer.entry-DMUzB4MR.js +1 -0
  47. package/{eds-frame.entry-C7_mlplr.js → eds-frame.entry-eqZLv-6q.js} +1 -1
  48. package/{eds-frame.entry-AKS6Cg3S.mjs → eds-frame.entry-n9qJhfsP.mjs} +4 -4
  49. package/eds-fullscreen-menu.entry-CUitgYea.mjs +59 -0
  50. package/eds-fullscreen-menu.entry-DKAdy3Bn.js +1 -0
  51. package/{eds-gauge.entry-Bu1wRc7L.js → eds-gauge.entry-Bjp3cj0S.js} +1 -1
  52. package/{eds-gauge.entry-CTjtmNJE.mjs → eds-gauge.entry-CrqkvnWf.mjs} +1 -1
  53. package/{eds-icon-arrow-diagonal.entry-EflyyUWB.js → eds-icon-arrow-diagonal.entry-B8-jArDT.js} +1 -1
  54. package/{eds-icon-arrow-diagonal.entry-DApWIpVN.mjs → eds-icon-arrow-diagonal.entry-DACKEZ7o.mjs} +1 -1
  55. package/{eds-icon-arrow-right.entry-ZSfBTScX.js → eds-icon-arrow-right.entry-BP77Fhx8.js} +1 -1
  56. package/{eds-icon-arrow-right.entry-Cix9ivM9.mjs → eds-icon-arrow-right.entry-BvPrrid_.mjs} +1 -1
  57. package/eds-icon-bin.entry-B54EXA_6.mjs +13 -0
  58. package/eds-icon-bin.entry-C7Jo_DW-.js +1 -0
  59. package/eds-icon-bluesky.entry-Bx-UDdty.mjs +13 -0
  60. package/{eds-icon-bluesky.entry-BRIRJiSV.js → eds-icon-bluesky.entry-DJCdYrfU.js} +1 -1
  61. package/eds-icon-bookmark.entry-B5IinWaZ.mjs +13 -0
  62. package/{eds-icon-bookmark.entry-CkgO7mHH.js → eds-icon-bookmark.entry-Dhvd8veD.js} +1 -1
  63. package/{eds-icon-chevron-down.entry-C8v2vr9X.js → eds-icon-chevron-down.entry-B__d09rD.js} +1 -1
  64. package/{eds-icon-chevron-down.entry-NlPaF_rj.mjs → eds-icon-chevron-down.entry-P4xqCoWP.mjs} +1 -1
  65. package/{eds-icon-chevron-left.entry-BeKBF5L3.mjs → eds-icon-chevron-left.entry-CuBl_BGv.mjs} +1 -1
  66. package/{eds-icon-chevron-left.entry-CBrh9mnu.js → eds-icon-chevron-left.entry-ZkPovDlT.js} +1 -1
  67. package/{eds-icon-chevron-right.entry-BIIbLECk.js → eds-icon-chevron-right.entry-5h2qhFR-.js} +1 -1
  68. package/{eds-icon-chevron-right.entry-D62Bse5m.mjs → eds-icon-chevron-right.entry-C0dfqwMy.mjs} +1 -1
  69. package/{eds-icon-chevron-up.entry-A5aQkjF_.js → eds-icon-chevron-up.entry-D0353BVJ.js} +1 -1
  70. package/{eds-icon-chevron-up.entry-D2Ztr_9R.mjs → eds-icon-chevron-up.entry-UAZdu3Df.mjs} +1 -1
  71. package/{eds-icon-close.entry-Cjai9hqm.js → eds-icon-close.entry-D09Q-ylx.js} +1 -1
  72. package/eds-icon-close.entry-uJAE-Wjb.mjs +13 -0
  73. package/eds-icon-copy.entry-BtI5KVDq.mjs +13 -0
  74. package/eds-icon-copy.entry-CECbryXM.js +1 -0
  75. package/eds-icon-draft.entry-LmdchYUq.mjs +13 -0
  76. package/eds-icon-draft.entry-TMbsQxNO.js +1 -0
  77. package/eds-icon-edit.entry-R36lCJ2A.mjs +13 -0
  78. package/eds-icon-edit.entry-l8L__tUR.js +1 -0
  79. package/eds-icon-eu.entry--K0Tu14T.js +1 -0
  80. package/eds-icon-eu.entry-yv7nc0gr.mjs +13 -0
  81. package/eds-icon-external.entry-DdbbUm2H.mjs +13 -0
  82. package/{eds-icon-external.entry-DPGDAx-n.js → eds-icon-external.entry-DjuhhmIA.js} +1 -1
  83. package/{eds-icon-facebook.entry-AD9p9cdA.js → eds-icon-facebook.entry-BdzYJmXP.js} +1 -1
  84. package/eds-icon-facebook.entry-CrssRpWE.mjs +13 -0
  85. package/{eds-icon-gitlab.entry-byyKzSVe.js → eds-icon-gitlab.entry-BE8qLkYR.js} +1 -1
  86. package/eds-icon-gitlab.entry-CeKDBPdQ.mjs +13 -0
  87. package/{eds-icon-linkedin.entry-1ALOw5Nw.js → eds-icon-linkedin.entry-C4GaDa_x.js} +1 -1
  88. package/eds-icon-linkedin.entry-DTormNBK.mjs +13 -0
  89. package/{eds-icon-loader.entry-CuHJjqmg.mjs → eds-icon-loader.entry-BOxUhqUI.mjs} +2 -2
  90. package/{eds-icon-loader.entry-BV1KIgZF.js → eds-icon-loader.entry-BzyS9rwg.js} +1 -1
  91. package/eds-icon-mastodon.entry-Cb_b8WxS.mjs +13 -0
  92. package/{eds-icon-mastodon.entry-jgD7MTYX.js → eds-icon-mastodon.entry-D_cz6_YV.js} +1 -1
  93. package/eds-icon-menu.entry-DN8ArM1E.js +1 -0
  94. package/eds-icon-menu.entry-c9wghxje.mjs +13 -0
  95. package/eds-icon-minus.entry-DPNNp66u.js +1 -0
  96. package/eds-icon-minus.entry-zF5hDaP1.mjs +13 -0
  97. package/{eds-icon-more.entry-B1xRZHm5.js → eds-icon-more.entry-C9Qqow2i.js} +1 -1
  98. package/eds-icon-more.entry-VvMJWQBC.mjs +13 -0
  99. package/eds-icon-paper.entry-BLYcxhYh.mjs +13 -0
  100. package/eds-icon-paper.entry-CGeDyZ2Q.js +1 -0
  101. package/eds-icon-plus.entry-DrhM4x_H.mjs +13 -0
  102. package/eds-icon-plus.entry-P2gRynxf.js +1 -0
  103. package/eds-icon-portal.entry-Br9nR5tb.mjs +13 -0
  104. package/{eds-icon-portal.entry-DnJmIMRm.js → eds-icon-portal.entry-YF8r9Y0s.js} +1 -1
  105. package/eds-icon-private.entry-C-VoEd-k.mjs +13 -0
  106. package/{eds-icon-private.entry-DtBSIkHX.js → eds-icon-private.entry-DGy28MBj.js} +1 -1
  107. package/eds-icon-public.entry-JRATi6FK.mjs +13 -0
  108. package/eds-icon-public.entry-VrKUyRn4.js +1 -0
  109. package/eds-icon-search.entry-BFfawTmF.js +1 -0
  110. package/eds-icon-search.entry-D3nOAH3d.mjs +13 -0
  111. package/eds-icon-star.entry-CfxlHoON.mjs +13 -0
  112. package/{eds-icon-star.entry-DF5yuBBL.js → eds-icon-star.entry-D_o_p4FR.js} +1 -1
  113. package/eds-icon-start.entry-EmqNVYVq.mjs +13 -0
  114. package/eds-icon-start.entry-gFD3CneX.js +1 -0
  115. package/{eds-icon-success.entry-B1fogHF3.js → eds-icon-success.entry-D4rmUwOz.js} +1 -1
  116. package/eds-icon-success.entry-asuFd1wn.mjs +13 -0
  117. package/eds-icon-thumbs-down.entry-5IoOfXYg.mjs +13 -0
  118. package/{eds-icon-thumbs-down.entry-CMPpiwL9.js → eds-icon-thumbs-down.entry-BA_isKQz.js} +1 -1
  119. package/eds-icon-thumbs-up.entry-B90KeLnV.mjs +13 -0
  120. package/eds-icon-thumbs-up.entry-CBiv69dB.js +1 -0
  121. package/eds-icon-tutorial.entry-BMlnAYBS.mjs +13 -0
  122. package/eds-icon-tutorial.entry-DReMsj7W.js +1 -0
  123. package/{eds-icon-twitter.entry-CmxHLjFA.mjs → eds-icon-twitter.entry-BwOIf0Bv.mjs} +2 -2
  124. package/{eds-icon-twitter.entry-C9WCQdIw.js → eds-icon-twitter.entry-CZo7HVCl.js} +1 -1
  125. package/{eds-icon-unknown.entry-BArTU2et.js → eds-icon-unknown.entry-C6uw3X-q.js} +1 -1
  126. package/eds-icon-unknown.entry-U2OwdtDM.mjs +13 -0
  127. package/eds-icon-updown.entry-D-ktiRgn.mjs +13 -0
  128. package/eds-icon-updown.entry-f_pOMD8D.js +1 -0
  129. package/eds-icon-user.entry-DlnnIhcq.js +1 -0
  130. package/eds-icon-user.entry-aELakb9j.mjs +13 -0
  131. package/{eds-icon-youtube.entry-SF25C1Kn.js → eds-icon-youtube.entry-BUryZYQc.js} +1 -1
  132. package/eds-icon-youtube.entry-HRKBTy8P.mjs +13 -0
  133. package/{eds-matomo-notice.entry-KHg6Z8hS.js → eds-matomo-notice.entry-B0xxpHZr.js} +1 -1
  134. package/{eds-matomo-notice.entry-Dk2xauk_.mjs → eds-matomo-notice.entry-NBKdUOFY.mjs} +1 -1
  135. package/eds-modal.entry-Cjj4QVEc.js +1 -0
  136. package/eds-modal.entry-DuG9A0QH.mjs +114 -0
  137. package/{eds-pie.entry-iahHzaRO.mjs → eds-pie.entry-BU0NzwvU.mjs} +1 -1
  138. package/{eds-pie.entry-D7C4sB-x.js → eds-pie.entry-BiQyGOJw.js} +1 -1
  139. package/{eds-progress-bar.entry-DnNUjJMk.js → eds-progress-bar.entry-BfV2jWgV.js} +1 -1
  140. package/{eds-progress-bar.entry-v34osF0f.mjs → eds-progress-bar.entry-BoQmuoGC.mjs} +4 -4
  141. package/{eds-section-core_2.entry-DTPGi-T3.mjs → eds-section-core_2.entry-D2OlT6Zh.mjs} +9 -9
  142. package/eds-section-core_2.entry-Jw_e-l_h.js +1 -0
  143. package/eds-social-networks.entry-0Q7OwcYS.js +1 -0
  144. package/eds-social-networks.entry-CWPTBmxN.mjs +50 -0
  145. package/eds-spinner.entry-BKjbNwEi.js +1 -0
  146. package/eds-spinner.entry-dAJHt3cE.mjs +68 -0
  147. package/{eds-splash-screen.entry-Befnen9o.js → eds-splash-screen.entry-D3_EbR0-.js} +1 -1
  148. package/{eds-splash-screen.entry-DBluWXIM.mjs → eds-splash-screen.entry-DOmRKV_v.mjs} +5 -5
  149. package/{eds-switch.entry-CosNq-p4.mjs → eds-switch.entry-DeWyzUU9.mjs} +4 -4
  150. package/eds-switch.entry-qYhLXAv2.js +1 -0
  151. package/{eds-timeline.entry-DjvYLLSp.mjs → eds-timeline.entry-BSozjnyo.mjs} +4 -4
  152. package/{eds-timeline.entry-BCjmB9Xm.js → eds-timeline.entry-CFhtSoZc.js} +1 -1
  153. package/{eds-toast-manager.entry-CI2pWD12.mjs → eds-toast-manager.entry-Bj-xEHAg.mjs} +2 -2
  154. package/{eds-toast-manager.entry-CSLouuKC.js → eds-toast-manager.entry-CWvJ6hUh.js} +1 -1
  155. package/eds-tooltip.entry-B5DXjEqa.js +5 -0
  156. package/eds-tooltip.entry-DJZDeWm0.mjs +31 -0
  157. package/eds-trl.entry-CMwFX2VA.js +1 -0
  158. package/eds-trl.entry-DWE3RZnq.mjs +34 -0
  159. package/{incorrect-use-of-colors.entry-vKxKvEdZ.mjs → incorrect-use-of-colors.entry-C0MGEaLB.mjs} +7 -7
  160. package/incorrect-use-of-colors.entry-CzcQmvFc.js +1 -0
  161. package/{index-CzMU3jaN.mjs → index-BW6yUYdy.mjs} +505 -469
  162. package/index-ECY2yg1E.js +21 -0
  163. package/index.js +1 -1
  164. package/index.mjs +1 -1
  165. package/{logo-space.entry-BA6ql3EX.mjs → logo-space.entry-C5_FS_1e.mjs} +6 -6
  166. package/{logo-space.entry-DH8akOBP.js → logo-space.entry-Cq0tziVn.js} +2 -2
  167. package/{logo-variations-horizontal_2.entry-BirE9z23.mjs → logo-variations-horizontal_2.entry-Bx8geXjs.mjs} +5 -5
  168. package/{logo-variations-horizontal_2.entry-z5j2TKKV.js → logo-variations-horizontal_2.entry-CQW41pP-.js} +3 -3
  169. package/logo-variations-tabs.entry-CfkXBk5k.js +1 -0
  170. package/{logo-variations-tabs.entry-BmTvERXv.mjs → logo-variations-tabs.entry-DgYru0Zn.mjs} +4 -4
  171. package/{logo-wrong-usage.entry-CjgtFVPG.js → logo-wrong-usage.entry-B2LU9hBv.js} +1 -1
  172. package/{logo-wrong-usage.entry-BbPrw3j7.mjs → logo-wrong-usage.entry-BdBfaWtI.mjs} +2 -2
  173. package/package.json +1 -1
  174. package/start-65126a4f-D1LeCi_N.js +1 -0
  175. package/start-65126a4f-mQSjIlRh.mjs +4 -0
  176. package/{svg-repository.entry-CZSA48bf.js → svg-repository.entry-C8PnrvxA.js} +12 -12
  177. package/{svg-repository.entry-DKFrqv2N.mjs → svg-repository.entry-PcURnvgb.mjs} +47 -39
  178. package/{token-list_3.entry-CA_dmkg0.mjs → token-list_3.entry-B4ClAGZQ.mjs} +4 -4
  179. package/{token-list_3.entry-D01IjrRV.js → token-list_3.entry-CnPtT_DH.js} +1 -1
  180. package/token-ratios.entry-BoaLF_aM.js +1 -0
  181. package/{token-ratios.entry-DbPXi2kO.mjs → token-ratios.entry-DU33V_Fx.mjs} +2 -2
  182. package/token-spacing.entry-B6e3-GJR.js +1 -0
  183. package/token-spacing.entry-DuYrBWKx.mjs +12 -0
  184. package/{token-typography.entry-CGL980gc.js → token-typography.entry-DFu3h1rd.js} +1 -1
  185. package/{token-typography.entry-7w397rnv.mjs → token-typography.entry-WBbs4fXw.mjs} +2 -2
  186. package/color-primary-palette_6.entry-CLe70qe2.js +0 -1
  187. package/eds-app-root.entry-D71BGBqs.mjs +0 -25
  188. package/eds-app-root.entry-DAofvGrS.js +0 -1
  189. package/eds-icon-bluesky.entry-2ANhlM_4.mjs +0 -13
  190. package/eds-icon-bookmark.entry-Ddl0jrS1.mjs +0 -13
  191. package/eds-icon-close.entry-Cm9uys75.mjs +0 -13
  192. package/eds-icon-copy.entry-B014Oj94.mjs +0 -13
  193. package/eds-icon-copy.entry-BPG9iphp.js +0 -1
  194. package/eds-icon-eu.entry--ifq4TVY.mjs +0 -13
  195. package/eds-icon-eu.entry-BkQMef2R.js +0 -1
  196. package/eds-icon-external.entry-BluwR-M2.mjs +0 -13
  197. package/eds-icon-facebook.entry-C6vLL-ZK.mjs +0 -13
  198. package/eds-icon-gitlab.entry-BVntXCkj.mjs +0 -13
  199. package/eds-icon-linkedin.entry-Biiw6BRH.mjs +0 -13
  200. package/eds-icon-mastodon.entry-DZPeyJnj.mjs +0 -13
  201. package/eds-icon-menu.entry-BmluVk4O.mjs +0 -13
  202. package/eds-icon-menu.entry-K8jBARsc.js +0 -1
  203. package/eds-icon-minus.entry-B-K-fCLn.js +0 -1
  204. package/eds-icon-minus.entry-BwS2J-0k.mjs +0 -13
  205. package/eds-icon-more.entry-C4LI07y7.mjs +0 -13
  206. package/eds-icon-paper.entry-DYyfOOBp.mjs +0 -13
  207. package/eds-icon-paper.entry-S2bABr8M.js +0 -1
  208. package/eds-icon-plus.entry-DrOQR1-5.js +0 -1
  209. package/eds-icon-plus.entry-lgFingSk.mjs +0 -13
  210. package/eds-icon-portal.entry-BkiLFOgK.mjs +0 -13
  211. package/eds-icon-private.entry-CDS_Srbd.mjs +0 -13
  212. package/eds-icon-public.entry-DDn8AIxa.js +0 -1
  213. package/eds-icon-public.entry-DR5uGDZS.mjs +0 -13
  214. package/eds-icon-search.entry-Bnd3z7Gq.mjs +0 -13
  215. package/eds-icon-search.entry-LBtE2sTv.js +0 -1
  216. package/eds-icon-star.entry-DL55cn-c.mjs +0 -13
  217. package/eds-icon-success.entry-3qIhgFfS.mjs +0 -13
  218. package/eds-icon-thumbs-down.entry-jleRkiuW.mjs +0 -13
  219. package/eds-icon-thumbs-up.entry-DSi5a3rC.js +0 -1
  220. package/eds-icon-thumbs-up.entry-uIV1xodW.mjs +0 -13
  221. package/eds-icon-tutorial.entry-CCB4om6s.js +0 -1
  222. package/eds-icon-tutorial.entry-Cmufbj9R.mjs +0 -13
  223. package/eds-icon-unknown.entry-B2KAcq_j.mjs +0 -13
  224. package/eds-icon-updown.entry-DZipKiZI.mjs +0 -13
  225. package/eds-icon-updown.entry-NTbpPknC.js +0 -1
  226. package/eds-icon-user.entry-BHfqBJZM.mjs +0 -13
  227. package/eds-icon-user.entry-BSfArIua.js +0 -1
  228. package/eds-icon-youtube.entry-lwJhoDlX.mjs +0 -13
  229. package/eds-rating.entry-1XJZVuds.mjs +0 -61
  230. package/eds-rating.entry-BIfkMWJ0.js +0 -1
  231. package/eds-section-core_2.entry-CJ9ut1Sr.js +0 -1
  232. package/eds-spinner.entry-B_lPL79O.js +0 -1
  233. package/eds-spinner.entry-Co2X0o0l.mjs +0 -36
  234. package/eds-switch.entry-B8LLtctL.js +0 -1
  235. package/eds-toast.entry-CMhcZNkR.js +0 -3
  236. package/eds-toast.entry-CZthqnDQ.mjs +0 -61
  237. package/eds-tooltip.entry-DEB_c3w5.js +0 -6
  238. package/eds-tooltip.entry-DxkWRXWv.mjs +0 -31
  239. package/eds-trl.entry-Cq2K9CQO.mjs +0 -34
  240. package/eds-trl.entry-Z5kWmLOP.js +0 -1
  241. package/incorrect-use-of-colors.entry-DUP8RsBO.js +0 -1
  242. package/index-CWPouWg5.js +0 -21
  243. package/logo-variations-tabs.entry-hp_vi-H9.js +0 -1
  244. package/token-ratios.entry-etabNNVm.js +0 -1
  245. package/token-spacing.entry-UQqL_0C-.js +0 -1
  246. package/token-spacing.entry-h2Rrqa4s.mjs +0 -12
@@ -1,9 +1,9 @@
1
- import { r as s, h as i, g as c, c as h } from "./index-CzMU3jaN.mjs";
1
+ import { r as d, h as i, g, c as h } from "./index-BW6yUYdy.mjs";
2
2
  import { s as f } from "./analytics-d99780e3-Bay18Oil.mjs";
3
3
  import { c as m } from "./index-39c58238-BwYCDOHZ.mjs";
4
- import { p as b } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
5
- import { h as p } from "./logo-color-7f1fd803-CFgbXdt8.mjs";
6
- import { h as w, a as k, b as z, c as C, v as S, d as E, e as F, f as L, g as I } from "./logo-white-no-bg-f382f86f-YhfmNmGG.mjs";
4
+ import { p as x } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
5
+ import { h as y } from "./logo-color-7f1fd803-CFgbXdt8.mjs";
6
+ import { h as k, a as z, b as C, c as S, v as E, d as F, e as L, f as I, g as A } from "./logo-white-no-bg-f382f86f-YhfmNmGG.mjs";
7
7
  const j = `::before,
8
8
  ::after {
9
9
  box-sizing: border-box;
@@ -205,9 +205,9 @@ abbr:where([title]) {
205
205
 
206
206
  .bg-gradient-04-bottom {
207
207
  background: linear-gradient(to top, #2B69FC, ease-in-out, #E6E6E6);
208
- }`, P = j, A = class {
208
+ }`, P = j, W = class {
209
209
  constructor(n) {
210
- s(this, n), this.firstName = "User", this.lastName = "Avatar", this.picture = void 0, this.initials = void 0, this.color = "grey";
210
+ d(this, n), this.firstName = "User", this.lastName = "Avatar", this.picture = void 0, this.initials = void 0, this.color = "grey";
211
211
  }
212
212
  /**
213
213
  * Flag to render the avatar with rounded (pill) shape if `true`.
@@ -254,17 +254,17 @@ abbr:where([title]) {
254
254
  return i("div", { key: "b7eff7ae1a1dea3509041e39316b49b673dbdf17", class: this.containerClasses }, this.picture ? i("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: !0, withBg: !0 }) : i("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials));
255
255
  }
256
256
  };
257
- A.style = P;
258
- const W = ".border-softer{border-color:rgba(0, 0, 0, .1)}.border-default{border-color:var(--black)}.my-16{margin-top:1rem;margin-bottom:1rem}.block{display:block}.w-full{width:100%}.border-t-2{border-top-width:2px}", _ = W, O = class {
257
+ W.style = P;
258
+ const _ = ".border-softer{border-color:rgba(0, 0, 0, .1)}.border-default{border-color:var(--black)}.my-16{margin-top:1rem;margin-bottom:1rem}.block{display:block}.w-full{width:100%}.border-t-2{border-top-width:2px}", T = _, O = class {
259
259
  constructor(n) {
260
- s(this, n), this.inverse = !1;
260
+ d(this, n), this.inverse = !1;
261
261
  }
262
262
  render() {
263
263
  return i("hr", { key: "b604a776cae7edeee189e00af6993b42b57203f0", class: `${this.inverse ? "border-default" : "border-softer"} my-16 inline-block w-full border-t-2` });
264
264
  }
265
265
  };
266
- O.style = _;
267
- const H = `*,
266
+ O.style = T;
267
+ const $ = `*,
268
268
  ::before,
269
269
  ::after {
270
270
  box-sizing: border-box;
@@ -1173,9 +1173,9 @@ button,
1173
1173
 
1174
1174
  .hover\\:before\\:opacity-100:hover::before {
1175
1175
  opacity: 1;
1176
- }`, T = H, $ = class {
1176
+ }`, H = $, D = class {
1177
1177
  constructor(n) {
1178
- s(this, n), this.button = m([
1178
+ d(this, n), this.button = m([
1179
1179
  "relative inline-flex items-center",
1180
1180
  "py-8",
1181
1181
  "effect-focus effect-color",
@@ -1311,13 +1311,13 @@ button,
1311
1311
  `, icon: this.icon }) : null);
1312
1312
  }
1313
1313
  get el() {
1314
- return c(this);
1314
+ return g(this);
1315
1315
  }
1316
1316
  };
1317
- $.style = T;
1318
- const D = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}", M = D, B = class {
1317
+ D.style = H;
1318
+ const q = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}", R = q, B = class {
1319
1319
  constructor(n) {
1320
- s(this, n), this.dropdown = h(this, "dropdown", 7), this.focusableItems = [], this.handleClick = () => {
1320
+ d(this, n), this.dropdown = h(this, "dropdown", 7), this.focusableItems = [], this.handleClick = () => {
1321
1321
  var e;
1322
1322
  this.isOpen = !this.isOpen, this.isOpen ? (this.focusIndex = 0, this.focusItem()) : this.closeDropdown(), this.dropdown.emit({ expanded: this.isOpen }), f({
1323
1323
  category: "ui-component",
@@ -1326,7 +1326,7 @@ const D = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-sh
1326
1326
  name: ((e = this.label) === null || e === void 0 ? void 0 : e.toLowerCase()) || "",
1327
1327
  action: this.isOpen ? "expanded" : "collapsed"
1328
1328
  });
1329
- }, this.icon = "chevron-down", this.label = void 0, this.rounded = !1, this.ariaLabel = "Open dropdown", this.asNav = !0, this.dropdownPos = "left", this.dropdownOffset = !0, this.intent = "tertiary", this.isOpen = !1, this.focusIndex = -1;
1329
+ }, this.icon = void 0, this.label = void 0, this.rounded = !1, this.ariaLabel = "Open dropdown", this.asNav = !0, this.dropdownPos = "left", this.dropdownOffset = !0, this.intent = "tertiary", this.isOpen = !1, this.focusIndex = -1;
1330
1330
  }
1331
1331
  /**
1332
1332
  * Closes the dropdown when a click occurs outside of it.
@@ -1379,69 +1379,54 @@ const D = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-sh
1379
1379
  * @returns {JSX.Element} The rendered dropdown component.
1380
1380
  */
1381
1381
  render() {
1382
- return i("div", { key: "eb48745937126e580737c1da6787c3f16c06ba9e", class: "z-focus relative", ref: (n) => this.dropdownContent = n }, i("eds-button", { key: "3af6863201b1c25ad66e9f8c52d9e13505d742a3", label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), i("nav", { key: "c225074b3fbee543966523f8cd1c146485bc04bd", role: "menu", class: {
1382
+ return i("div", { key: "14f31163cc0fb25c3d531632ae36e01d8759567d", class: "z-focus relative", ref: (n) => this.dropdownContent = n }, i("eds-button", { key: "748413032b87b13290743f5bb9822cb84c1d0cf9", label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), i("nav", { key: "1a8f28c02b0782569228f75e030483439374baed", role: "menu", class: {
1383
1383
  "shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8": !0,
1384
1384
  "left-4": this.dropdownPos === "left" && this.dropdownOffset,
1385
1385
  "left-0": this.dropdownPos === "left" && !this.dropdownOffset,
1386
1386
  "right-4": this.dropdownPos === "right" && this.dropdownOffset,
1387
1387
  "right-0": this.dropdownPos === "right" && !this.dropdownOffset,
1388
1388
  "rounded-lg": this.rounded
1389
- }, style: { display: this.isOpen ? "block" : "none" }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, i("slot", { key: "6a7ba94045d366d20c6618845692d977f20437e3" })));
1389
+ }, style: { display: this.isOpen ? "block" : "none" }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, i("slot", { key: "31189866f6e1779a5fd5e1b8f3c33d8a0074410b" })));
1390
1390
  }
1391
1391
  get host() {
1392
- return c(this);
1392
+ return g(this);
1393
1393
  }
1394
1394
  };
1395
- B.style = M;
1396
- const q = "p{margin:0}.cursor-pointer{cursor:pointer}.ml-4{margin-left:0.25rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.bg-darker{background-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.border-t-2{border-top-width:2px}.pt-20{padding-top:1.25rem}.pb-28{padding-bottom:1.75rem}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-col-span-12{--container-grid-columns:12;grid-column:span 12 / span 12}.mt-28{margin-top:1.75rem}.gap-y-12{row-gap:0.75rem}.gap-x-12{-moz-column-gap:0.75rem;column-gap:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-20{gap:1.25rem}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:rounded-xs:focus-visible{border-radius:4px}.flex{display:flex}.w-\\[54px\\]{width:54px}.ml-0{margin-left:0rem}.order-last{order:9999}.w-full{width:100%}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mr-4{margin-right:0.25rem}.gap-12{gap:0.75rem}.inline-block{display:inline-block}.\\!no-underline{text-decoration-line:none !important}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.hover\\:\\!underline:hover{text-decoration-line:underline !important}.ml-auto{margin-left:auto}.pl-12{padding-left:0.75rem}@media (min-width: 750px){.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:mt-0{margin-top:0rem}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:order-none{order:0}.lg\\:w-auto{width:auto}}@media (min-width: 1024px){.xl\\:pb-40{padding-bottom:2.5rem}}", N = q, R = class {
1397
- constructor(n) {
1398
- s(this, n), this.cookies = h(this, "cookies", 7), this.backToTop = () => {
1399
- window.scrollTo({ top: 0, behavior: "smooth" });
1400
- }, this.social = !1, this.enableScrollTop = !1, this.fundedBy = "EBRAINS is funded by the Horizon Europe Framework Programme.", this.rightsReserved = `${(/* @__PURE__ */ new Date()).getFullYear()} EBRAINS. All rights reserved.`, this.cookiesPreferences = "Cookies preferences", this.enableCookiesSettings = !1, this.backToTopAriaLabel = "Back to Top", this.showMatomoNotice = !1;
1401
- }
1402
- toggleCookiesConsent() {
1403
- this.cookies.emit("toggle");
1395
+ B.style = R;
1396
+ function p(n, e, r, t, l, o, a) {
1397
+ const s = [];
1398
+ if (t && !e) {
1399
+ const c = n.length > 30 ? `${n.slice(0, 27)}…` : n;
1400
+ s.push(`“${c} is required.`);
1404
1401
  }
1405
- /**
1406
- * Renders the footer component with optional sections and elements,
1407
- * including social network links, a Horizon Europe funding acknowledgment, and
1408
- * legal links such as "Cookies Preferences" and copyright information.
1409
- *
1410
- * @returns {JSX.Element} The rendered JSX for the footer component.
1411
- */
1412
- render() {
1413
- return i("footer", { key: "97eecea73acf5ee3d125a446939010055c24e3f3" }, this.social ? i("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, i("div", { class: "container pb-20" }, i("div", { class: "grid-layout" }, i("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, i("eds-social-networks", { class: "mt-28" }))))) : null, i("div", { key: "b7592d90406aa7b5e4d71e2947335a85dbbf70ae", class: `border-softest ${this.social ? "border-t-2" : ""} pb-28 pt-20 md:pt-28` }, i("div", { key: "054190192082a4fdd2435ef62e5e7765386149f5", class: "container flex items-center gap-20 lg:flex-nowrap" }, i("div", { key: "baa874cda99a882f33643609ffd2b99f09db3646", class: "flex items-center gap-x-12" }, i("a", { key: "f47a0e02c7db660ab2c5b9894fd6ef1f820239cf", target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en", "aria-label": "Learn about Horizon Europe funding" }, i("eds-img", { key: "470f3ccae44a83383ad7f5bfcab880365b203a50", width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), i("div", { key: "a02153ae5b772b105272eac575911826747ea246" }, i("div", { key: "a274e52402142dce7df575b29ce8802d1d662368", class: "f-ui-04 text-light" }, i("p", { key: "ae2c393b8585aecd25d08ad20fe8bd712f9c12b5" }, this.fundedBy), i("div", { key: "9ef102155624ef47071d4285ea00c65d66d8606e", class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, i("span", { key: "86f5992c7570fcd88c80f7877f08cd4b357ca291", class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "© ", this.rightsReserved), this.enableCookiesSettings ? i("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
1414
- this.toggleCookiesConsent();
1415
- } }) : null))), i("div", { key: "3ffce63f46352acd80eff48fb121b5ee165c1ad5", class: "ml-auto pl-12" }, this.enableScrollTop ? i("eds-button", { id: "backToTop", "aria-hidden": "true", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, class: "transition-all transition duration-75 opacity-0 " }) : null))));
1402
+ if (r === "number") {
1403
+ const c = typeof e == "number" ? e : parseFloat(e);
1404
+ isNaN(c) ? s.push(`${n} must be a valid number.`) : (typeof o == "number" && c < o && s.push(`${n} must be greater than or equal to ${o}.`), typeof a == "number" && c > a && s.push(`${n} must be less than or equal to ${a}.`));
1416
1405
  }
1417
- };
1418
- R.style = N;
1419
- function u(n, e, r, t, l) {
1420
- const a = [];
1421
- return t && !e && a.push(`${n} is required.`), l && typeof e == "string" && e.length > l && a.push(`${n} must be at most ${l} characters.`), r === "email" && e && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.toString()) && a.push("Invalid email format."), a;
1422
- }
1423
- function y(n, e, r) {
1424
- const a = Array.from(r.querySelectorAll("eds-input-field")).filter((d) => {
1425
- var g, x;
1426
- return ((x = (g = d.shadowRoot) === null || g === void 0 ? void 0 : g.querySelectorAll(`input[name="${n}"]`)) === null || x === void 0 ? void 0 : x.length) > 0;
1427
- }).flatMap((d) => {
1428
- var g;
1429
- return Array.from(((g = d.shadowRoot) === null || g === void 0 ? void 0 : g.querySelectorAll(`input[name="${n}"]`)) || []);
1430
- }).some((d) => d.checked), o = [];
1431
- return e && !a && o.push(`At least one option in ${n} is required.`), o;
1406
+ return l && typeof e == "string" && e.length > l && s.push(`${n} must be at most ${l} characters.`), r === "email" && e && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.toString()) && s.push("Invalid email format."), s;
1432
1407
  }
1433
1408
  function v(n, e, r) {
1409
+ const o = Array.from(r.querySelectorAll("eds-input-field")).filter((s) => {
1410
+ var c, b;
1411
+ return ((b = (c = s.shadowRoot) === null || c === void 0 ? void 0 : c.querySelectorAll(`input[name="${n}"]`)) === null || b === void 0 ? void 0 : b.length) > 0;
1412
+ }).flatMap((s) => {
1413
+ var c;
1414
+ return Array.from(((c = s.shadowRoot) === null || c === void 0 ? void 0 : c.querySelectorAll(`input[name="${n}"]`)) || []);
1415
+ }).some((s) => s.checked), a = [];
1416
+ return e && !o && a.push(`At least one option in ${n} is required.`), a;
1417
+ }
1418
+ function w(n, e, r) {
1434
1419
  var t;
1435
- const l = [], a = Array.from(r.querySelectorAll("eds-input-field")).find((d) => {
1436
- var g;
1437
- return (g = d.shadowRoot) === null || g === void 0 ? void 0 : g.querySelector(`[name="${n}"]`);
1420
+ const l = [], o = Array.from(r.querySelectorAll("eds-input-field")).find((s) => {
1421
+ var c;
1422
+ return (c = s.shadowRoot) === null || c === void 0 ? void 0 : c.querySelector(`[name="${n}"]`);
1438
1423
  });
1439
- if (!a)
1424
+ if (!o)
1440
1425
  return e && l.push(`${n} is required.`), l;
1441
- const o = (t = a.shadowRoot) === null || t === void 0 ? void 0 : t.querySelector(`[name="${n}"]`);
1442
- return e && o && !o.checked && l.push(`${n} is required.`), l;
1426
+ const a = (t = o.shadowRoot) === null || t === void 0 ? void 0 : t.querySelector(`[name="${n}"]`);
1427
+ return e && a && !a.checked && l.push(`${n} is required.`), l;
1443
1428
  }
1444
- function V(n, e) {
1429
+ function N(n, e) {
1445
1430
  const r = Array.from(n.querySelectorAll("eds-input-field"));
1446
1431
  for (const t of r)
1447
1432
  if (t.shadowRoot) {
@@ -1451,34 +1436,46 @@ function V(n, e) {
1451
1436
  }
1452
1437
  return null;
1453
1438
  }
1454
- function U(n, e, r, t) {
1439
+ function M(n) {
1440
+ const e = Array.from(n.querySelectorAll("eds-rating"));
1441
+ for (const r of e)
1442
+ return r;
1443
+ return null;
1444
+ }
1445
+ function V(n, e, r, t) {
1455
1446
  const l = {};
1456
- let a = !1;
1457
- return n.forEach((o) => {
1458
- if (!t(o, r)) {
1459
- delete l[o.name];
1447
+ let o = !1;
1448
+ return n.forEach((a) => {
1449
+ if (!t(a, r)) {
1450
+ delete l[a.name];
1460
1451
  return;
1461
1452
  }
1462
- if (o.type !== "hidden")
1463
- if ((o.type === "checkbox" || o.type === "radio") && !o.options) {
1464
- const d = v(o.name, o.required, e);
1465
- d.length > 0 && (l[o.name] = d, a = !0);
1466
- } else if (o.options && (o.type === "checkbox" || o.type === "radio")) {
1467
- const d = y(o.name, o.required, e);
1468
- d.length > 0 && (l[o.name] = d, a = !0);
1453
+ if (a.type !== "hidden")
1454
+ if ((a.type === "checkbox" || a.type === "radio") && !a.options) {
1455
+ const s = w(a.name, a.required, e);
1456
+ s.length > 0 && (l[a.name] = s, o = !0);
1457
+ } else if (a.options && (a.type === "checkbox" || a.type === "radio")) {
1458
+ const s = v(a.name, a.required, e);
1459
+ s.length > 0 && (l[a.name] = s, o = !0);
1460
+ } else if (a.type === "rating") {
1461
+ const s = M(e);
1462
+ if (s) {
1463
+ const c = s.getAttribute("selected-rating"), b = c !== null ? parseInt(c, 10) : 0, u = p(a.name, b, a.type, a.required);
1464
+ u.length > 0 && (l[a.name] = u, o = !0);
1465
+ }
1469
1466
  } else {
1470
- const d = V(e, o.name);
1471
- if (d) {
1472
- const g = d.value, x = u(o.name, g, o.type, o.required, o.maxlength);
1473
- x.length > 0 && (l[o.name] = x, a = !0);
1467
+ const s = N(e, a.name);
1468
+ if (s) {
1469
+ const c = s.value, b = p(a.name, c, a.type, a.required, a.maxlength, a.min, a.max);
1470
+ b.length > 0 && (l[a.name] = b, o = !0);
1474
1471
  }
1475
1472
  }
1476
- }), { errors: l, hasError: a };
1473
+ }), { errors: l, hasError: o };
1477
1474
  }
1478
- function Y(n, e, r) {
1479
- return n.type === "checkbox" || n.type === "radio" ? n.options ? y(n.name, n.required, r) : v(n.name, n.required, r) : u(n.name, e, n.type, n.required, n.maxlength);
1475
+ function U(n, e, r) {
1476
+ return n.type === "checkbox" || n.type === "radio" ? n.options ? v(n.name, n.required, r) : w(n.name, n.required, r) : p(n.name, e, n.type, n.required, n.maxlength, n.min, n.max);
1480
1477
  }
1481
- function X({
1478
+ function Y({
1482
1479
  initData: n,
1483
1480
  parsedFields: e,
1484
1481
  currentValues: r
@@ -1487,19 +1484,19 @@ function X({
1487
1484
  }) {
1488
1485
  const t = Object.assign({}, r);
1489
1486
  return e.forEach((l) => {
1490
- const a = n[l.name];
1491
- a !== void 0 && (t[l.name] = a);
1487
+ const o = n[l.name];
1488
+ o !== void 0 && (t[l.name] = o);
1492
1489
  }), { updatedValues: t };
1493
1490
  }
1494
- const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
1491
+ const X = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}", G = X, J = class {
1495
1492
  constructor(n) {
1496
- s(this, n), this.form = h(this, "form", 7), this.name = "eds-form", this.setFormUrl = !0, this.formBtn = !0, this.formBtnLabel = "Submit", this.errorMessage = "Some fields in your form are incorrect.", this.fields = [], this.initData = {}, this.values = {}, this.isSubmitting = !1, this.hasError = !1, this.errors = {}, this.parsedFields = [];
1493
+ d(this, n), this.form = h(this, "form", 7), this.name = "eds-form", this.setFormUrl = !0, this.formBtn = !0, this.formBtnLabel = "Submit", this.errorMessage = "Some fields in your form are incorrect.", this.fields = [], this.groups = [], this.initData = {}, this.values = {}, this.isSubmitting = !1, this.hasError = !1, this.errors = {}, this.parsedFields = [], this.parsedGroups = [];
1497
1494
  }
1498
1495
  async setData(n) {
1499
1496
  this.populateFormWithInitData(n);
1500
1497
  }
1501
1498
  componentWillLoad() {
1502
- this.parseFields(this.fields), this.el.querySelectorAll("eds-button").forEach((e) => {
1499
+ this.parseFields(this.fields), this.parseGroups(this.groups), this.el.querySelectorAll("eds-button").forEach((e) => {
1503
1500
  this.emitContext(e);
1504
1501
  });
1505
1502
  }
@@ -1510,7 +1507,10 @@ const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
1510
1507
  return !!this.initData;
1511
1508
  }
1512
1509
  parseFields(n) {
1513
- this.parsedFields = b(n);
1510
+ this.parsedFields = x(n);
1511
+ }
1512
+ parseGroups(n) {
1513
+ this.parsedGroups = x(n);
1514
1514
  }
1515
1515
  emitContext(n) {
1516
1516
  const e = new CustomEvent("parentContext", {
@@ -1522,14 +1522,17 @@ const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
1522
1522
  n.dispatchEvent(e);
1523
1523
  }
1524
1524
  isFieldVisible(n) {
1525
- return n.condition ? this.values[n.condition.field] === n.condition.value : !0;
1525
+ if (!n.condition)
1526
+ return !0;
1527
+ const e = this.values[n.condition.field], r = n.condition.value;
1528
+ return String(e) === String(r);
1526
1529
  }
1527
1530
  validateForm() {
1528
- const { errors: n, hasError: e } = U(this.parsedFields, this.formEl, this.values, (r, t) => r.condition ? t[r.condition.field] === r.condition.value : !0);
1531
+ const { errors: n, hasError: e } = V(this.parsedFields, this.formEl, this.values, (r, t) => r.condition ? t[r.condition.field] === r.condition.value : !0);
1529
1532
  this.errors = n, this.hasError = e;
1530
1533
  }
1531
1534
  populateFormWithInitData(n) {
1532
- const { updatedValues: e } = X({
1535
+ const { updatedValues: e } = Y({
1533
1536
  initData: n,
1534
1537
  parsedFields: this.parsedFields,
1535
1538
  currentValues: this.values,
@@ -1545,12 +1548,12 @@ const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
1545
1548
  const t = r.shadowRoot.querySelector("input, textarea, select");
1546
1549
  if (t && t.name)
1547
1550
  if (t.type === "checkbox" || t.type === "radio") {
1548
- const a = Array.from(r.shadowRoot.querySelectorAll(`input[name="${t.name}"]:checked`)).map((o) => o.value);
1549
- n.append(t.name, a.join(","));
1551
+ const o = Array.from(r.shadowRoot.querySelectorAll(`input[name="${t.name}"]:checked`)).map((a) => a.value);
1552
+ n.append(t.name, o.join(","));
1550
1553
  } else if (t.type === "file") {
1551
1554
  const l = t;
1552
- l.files && l.files.length > 0 && Array.from(l.files).forEach((a) => {
1553
- n.append(l.name, a);
1555
+ l.files && l.files.length > 0 && Array.from(l.files).forEach((o) => {
1556
+ n.append(l.name, o);
1554
1557
  });
1555
1558
  } else
1556
1559
  n.append(t.name, t.value);
@@ -1565,30 +1568,48 @@ const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
1565
1568
  }
1566
1569
  handleChange(n, e) {
1567
1570
  const r = n.target;
1571
+ let t = r.value;
1568
1572
  if (r.type === "checkbox") {
1569
- const t = this.values[e.name] || "";
1570
- let l = t ? t.split(",") : [];
1571
- r.checked ? l.includes(r.value) || l.push(r.value) : l = l.filter((a) => a !== r.value), this.values = Object.assign(Object.assign({}, this.values), { [e.name]: l.join(",") });
1572
- } else
1573
- this.values = Object.assign(Object.assign({}, this.values), { [e.name]: r.value });
1574
- e.name !== "password" && this.form.emit({
1573
+ const l = this.values[e.name] || "";
1574
+ let o = l ? l.split(",") : [];
1575
+ r.checked ? o.includes(r.value) || o.push(r.value) : o = o.filter((a) => a !== r.value), t = o.join(",");
1576
+ } else if (r.type === "radio") {
1577
+ if (!r.checked)
1578
+ return;
1579
+ t = r.value;
1580
+ }
1581
+ this.values = Object.assign(Object.assign({}, this.values), { [e.name]: t }), e.name !== "password" && this.form.emit({
1575
1582
  event: "change",
1576
1583
  field: e.name,
1577
- value: r.type === "checkbox" ? this.values[e.name] : r.value,
1584
+ value: t,
1578
1585
  message: `${e.name} updated`
1579
1586
  //data: this.makeFormData()
1580
1587
  });
1581
1588
  }
1582
1589
  handleInput(n, e) {
1583
- const r = n.target, t = Object.assign({}, this.errors), l = Y(e, r.value, this.formEl);
1584
- l.length > 0 ? t[e.name] = l : delete t[e.name], this.errors = t, this.hasError = Object.keys(t).length > 0, this.form.emit({
1590
+ const r = n.target;
1591
+ if (r.type === "radio" && !r.checked)
1592
+ return;
1593
+ const t = r.value, l = Object.assign({}, this.errors), o = U(e, r.value, this.formEl);
1594
+ o.length > 0 ? l[e.name] = o : delete l[e.name], this.errors = l, this.hasError = Object.keys(l).length > 0, this.form.emit({
1585
1595
  event: "input",
1586
1596
  field: e.name,
1587
- value: r.type === "checkbox" ? this.values[e.name] : r.value,
1597
+ value: t,
1588
1598
  message: `${e.name} updated`
1589
1599
  //data: this.makeFormData()
1590
1600
  });
1591
1601
  }
1602
+ handleRating(n, e) {
1603
+ const r = n.detail;
1604
+ this.values = Object.assign(Object.assign({}, this.values), { [e.name]: r });
1605
+ const t = Object.assign({}, this.errors);
1606
+ e.required && r === 0 ? t[e.name] = ["This field is required"] : delete t[e.name], this.errors = t, this.hasError = Object.keys(t).length > 0, this.form.emit({
1607
+ event: "change",
1608
+ field: e.name,
1609
+ value: r,
1610
+ message: `${e.name} updated`
1611
+ });
1612
+ }
1592
1613
  handleSubmit() {
1593
1614
  var n, e;
1594
1615
  if (!this.isSubmitting) {
@@ -1623,83 +1644,44 @@ const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
1623
1644
  }), this.errors = {}, this.formEl.reset(), this.isSubmitting = !1;
1624
1645
  }
1625
1646
  }
1647
+ get groupedFields() {
1648
+ const n = {};
1649
+ return this.parsedGroups.forEach((e) => n[e.id] = []), n.__ungrouped = [], this.parsedFields.forEach((e) => {
1650
+ const r = e.groupId || "__ungrouped";
1651
+ n[r] || (n[r] = []), n[r].push(e);
1652
+ }), n;
1653
+ }
1654
+ renderField(n) {
1655
+ var e, r;
1656
+ if (!this.isFieldVisible(n))
1657
+ return null;
1658
+ if (n.type === "rating") {
1659
+ const t = this.values[n.name] || 0;
1660
+ return i("div", { class: "form-group rating-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `rating-${n.name}`, label: n.label, disabled: n.disabled, required: n.required })), i("eds-rating", { id: `rating-${n.name}`, "rating-type": n.ratingType, "rating-count": n.ratingCount, "selected-rating": t, onRating: (l) => this.handleRating(l, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name, message: n.message, "error-message": (e = this.errors[n.name]) === null || e === void 0 ? void 0 : e.join("<br/>"), error: !!this.errors[n.name], link: n.link })));
1661
+ }
1662
+ return i("eds-input-field", { key: n.name, name: n.name, label: n.label, placeholder: n.placeholder, type: n.type, value: this.values[n.name], required: n.required, hint: n.hint, message: n.message, error: !!this.errors[n.name], errorMessage: (r = this.errors[n.name]) === null || r === void 0 ? void 0 : r.join("<br/>"), options: n.options, onInput: (t) => this.handleInput(t, n), onChangeNative: (t) => this.handleChange(t, n) });
1663
+ }
1626
1664
  async getData() {
1627
1665
  return this.makeFormData();
1628
1666
  }
1629
1667
  render() {
1630
- const n = this.parsedFields.filter((r) => r.type === "hidden"), e = this.parsedFields.filter((r) => r.type !== "hidden");
1631
- return i("form", { key: "1a53a4f0d2b8420a14db6fe35548a86cfeb8b698", ref: (r) => this.formEl = r, autocomplete: "on", onSubmit: this.handleSubmit }, i("div", { key: "8fdd2fa6b73f24c025b43d6f0b34cdbb22e0ec82" }, i("slot", { key: "385f8c71b86b7ab9a74c1b7a0204331d0022467f" }), n.map((r, t) => i("eds-input", { key: t, type: "hidden", name: r.name, value: r.value })), e.map((r, t) => {
1632
- var l, a;
1633
- return this.isFieldVisible(r) ? i("eds-input-field", { key: t, name: r.name, id: `${this.name}_${r.name}`, label: r.label, placeholder: r.placeholder, value: this.values[r.name] || null, type: r.type, icon: r.icon || null, disabled: r.disabled, required: r.required, maxLength: r.maxlength, hint: r.hint, link: r.link, message: r.message, error: ((l = this.errors[r.name]) === null || l === void 0 ? void 0 : l.length) > 0, errorMessage: (a = this.errors[r.name]) === null || a === void 0 ? void 0 : a.join("<br />"), onInput: (o) => this.handleInput(o, r), onChangeNative: (o) => this.handleChange(o, r), class: t > 0 ? "mt-20" : "", options: r.options }) : null;
1634
- })), this.formBtn && i("div", { key: "0a120557c574112a8686087cfe2dbf3aae3feaa5", class: "mt-20" }, i("eds-button", { key: "277a39f0d82e01f549966aa0c91347e090a82bc7", intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })));
1668
+ const n = this.parsedFields.filter((r) => r.type === "hidden"), e = this.groupedFields;
1669
+ return i("form", { key: "65b3611bfc26512d594c3f4657bcba93f4e54ec9", ref: (r) => this.formEl = r, autocomplete: "on", onSubmit: this.handleSubmit }, i("div", { key: "24c77c04b83d458528fbb4423f2d1a0f0e7e65e3" }, i("slot", { key: "13cdf29e9da20c91d3fa38ced5f0843046cfeefb" }), n.map((r, t) => i("eds-input", { key: t, type: "hidden", name: r.name, value: r.value })), this.parsedGroups.filter((r) => Array.isArray(e[r.id]) && e[r.id].length > 0).map((r) => i("div", { class: "container mt-20", key: r.id }, i("span", { class: "f-body-02" }, i("b", null, r.title)), i("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, e[r.id].map((t) => this.renderField(t))))), i("div", { key: "99706c326e6e18a1099fef82e78a4ea383338fb4", class: "flex flex-col mt-20 gap-y-24" }, e.__ungrouped.map((r) => this.renderField(r)))), this.formBtn && i("div", { key: "6e66e2f87c18022d729fcea33e4db6bc2a173392", class: "mt-32" }, i("eds-button", { key: "a94a3e027f58c5276bec7e612987e738d74e7d1c", intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })));
1635
1670
  }
1636
1671
  get el() {
1637
- return c(this);
1672
+ return g(this);
1638
1673
  }
1639
1674
  static get watchers() {
1640
1675
  return {
1641
- fields: ["parseFields"]
1676
+ fields: ["parseFields"],
1677
+ groups: ["parseGroups"]
1642
1678
  };
1643
1679
  }
1644
1680
  };
1645
- Q.style = J;
1646
- const K = ".bg-default{background-color:var(--grey-200)}.bg-darker{background-color:var(--grey-400)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--black)}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0rem}.z-\\[999999\\]{z-index:999999}.overflow-y-scroll{overflow-y:scroll}.flex{display:flex}.inline-flex{display:inline-flex}.min-h-full{min-height:100%}.flex-col{flex-direction:column}.w-full{width:100%}.top-0{top:0rem}.mx-auto{margin-left:auto;margin-right:auto}.mt-auto{margin-top:auto}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.px-16{padding-left:1rem;padding-right:1rem}.py-16{padding-top:1rem;padding-bottom:1rem}.mt-28{margin-top:1.75rem}.gap-y-8{row-gap:0.5rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.rounded-xs{border-radius:4px}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.hover\\:text-lighter:hover{color:var(--grey-600)}.w-fit{width:-moz-fit-content;width:fit-content}", Z = K, nn = class {
1681
+ J.style = G;
1682
+ const Q = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}", K = Q, Z = class {
1647
1683
  constructor(n) {
1648
- s(this, n), this.menuClose = h(this, "menuClose", 7), this.links = void 0, this.menuLinks = void 0, this.homeUrl = "/", this.inverseHeader = !1, this.isMenuOpen = !1;
1649
- }
1650
- /**
1651
- * Listens for the toggleMenu event to open or close the menu.
1652
- * This event is emitted by the eds-header component.
1653
- */
1654
- handleToggleMenu(n) {
1655
- this.isMenuOpen = n.detail;
1656
- }
1657
- /** Opens the menu */
1658
- openMenu() {
1659
- this.isMenuOpen = !0;
1660
- }
1661
- /** Closes the menu */
1662
- closeMenu() {
1663
- this.isMenuOpen = !1, this.menuClose.emit();
1664
- }
1665
- // Lifecycle method to add the resize event listener when component loads
1666
- componentDidLoad() {
1667
- window.addEventListener("resize", this.handleResize.bind(this));
1668
- }
1669
- // Lifecycle method to remove the resize event listener when component unloads
1670
- disconnectedCallback() {
1671
- window.removeEventListener("resize", this.handleResize.bind(this));
1672
- }
1673
- // Function to close the menu if screen width is larger than a defined breakpoint (1024px)
1674
- handleResize() {
1675
- window.innerWidth >= 1024 && (this.isMenuOpen = !1);
1676
- }
1677
- /**
1678
- * Parses the `links` prop into an array of link objects.
1679
- * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
1680
- *
1681
- * @returns {any[]} Array of parsed link objects
1682
- */
1683
- get parsedLinks() {
1684
- return b(this.links);
1685
- }
1686
- /**
1687
- * Parses the `menuLinks` prop into an array of link objects.
1688
- * Returns an empty array if parsing fails or if `menuLinks` is not a valid JSON string or object.
1689
- *
1690
- * @returns {any[]} Array of parsed menu link objects
1691
- */
1692
- get parsedMenuLinks() {
1693
- return b(this.menuLinks);
1694
- }
1695
- render() {
1696
- return this.isMenuOpen ? i("div", { class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, i("div", { class: "flex min-h-full flex-col" }, i("div", { class: `w-full sticky top-0 ${this.inverseHeader ? "bg-strongest" : "bg-default"}` }, i("div", { class: "mx-auto flex items-center justify-between" }, i("div", { class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { type: this.inverseHeader ? "color-white" : "color", href: this.homeUrl })), i("div", { class: "px-16" }, i("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), i("div", { class: "py-16 px-16" }, i("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((n, e) => i("eds-link", { label: n.label, key: e, url: n.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "arrow-right" }))), i("eds-block-break", null), i("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((n, e) => i("eds-link", { label: n.label, key: e, url: n.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "chevron-right" }))), i("nav", { class: "mt-28 flex flex-col gap-y-8" }, i("slot", null))), i("div", { class: "mt-auto" }, i("eds-footer", { social: !0, "extra-class": "bg-darker" })))) : null;
1697
- }
1698
- };
1699
- nn.style = Z;
1700
- const en = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}", rn = en, tn = class {
1701
- constructor(n) {
1702
- s(this, n), this.toggleheadermenu = h(this, "toggleheadermenu", 7), this.homeUrl = "/", this.links = void 0, this.headerVariant = "default", this.menuEnabled = !1, this.isMenuOpen = !1, this.isUserMenuOpen = !1, this.isAuthenticated = !1;
1684
+ d(this, n), this.toggleheadermenu = h(this, "toggleheadermenu", 7), this.homeUrl = "/", this.links = void 0, this.headerVariant = "default", this.menuEnabled = !1, this.isMenuOpen = !1, this.isUserMenuOpen = !1, this.isAuthenticated = !1;
1703
1685
  }
1704
1686
  onAuthStatusChanged(n) {
1705
1687
  var e;
@@ -1721,7 +1703,7 @@ const en = ".block{display:block}.inline-block{display:inline-block}.inline{disp
1721
1703
  this.isUserMenuOpen = !this.isUserMenuOpen;
1722
1704
  }
1723
1705
  get parsedLinks() {
1724
- return b(this.links);
1706
+ return x(this.links);
1725
1707
  }
1726
1708
  render() {
1727
1709
  const n = {
@@ -1729,16 +1711,16 @@ const en = ".block{display:block}.inline-block{display:inline-block}.inline{disp
1729
1711
  inverse: "text-default bg-inverse",
1730
1712
  strong: "text-inverse bg-strongest"
1731
1713
  }, e = n[this.headerVariant] || n.default, r = this.headerVariant === "strong" ? "color-white" : "color";
1732
- return i("header", { key: "635e25577674250c4ce8cdc91e29fa0c93b7e821", class: `flex items-center justify-between relative z-10 ${e}` }, i("div", { key: "41275c9aedeff533f00348dfa85b49fdb1a3f25e", class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { key: "fa8949ebbeab567b3770c6795a890f9187b66cf2", type: r, href: this.homeUrl })), this.parsedLinks && i("nav", { key: "64428c01fee019a77b15b2ad43fbdb18cf5cc1e9", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, i("ul", { key: "8b6e7e82f077409987e0271f1d1c57d3473a0921", class: "flex gap-x-2" }, this.parsedLinks.map((t) => i("eds-link", { label: t.label, "aria-label": t.label, url: t.url, intent: "ghost", size: "large", icon: t.icon, external: t.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))), i("slot", { key: "7ba569eafe18d902e78978840520d708b665a91b" }), this.menuEnabled && i("div", { key: "54c21f2e71a44049c56e4b31ba241996a1e658c3", class: "md:hidden flex overflow-hidden px-16" }, i("eds-button", { key: "e0bcc14abcad7151cacf19a4c50f238e39538754", "aria-label": "Menu", intent: this.headerVariant === "default" ? "ghost" : "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })));
1714
+ return i("header", { key: "aac532eed29a3d4b310ea2550521c95d562d0ece", class: `flex items-center justify-between relative z-10 ${e}` }, i("div", { key: "8794699aa3401c267aacb95959acd57f9ceea3f5", class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { key: "490fae1495ecd2b801b24d068c7a2b446ed8741a", type: r, href: this.homeUrl })), this.parsedLinks && i("nav", { key: "3e109d13e8ae8b911511f7cd067ffc193735121a", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, i("ul", { key: "87d2e7e9e1d8cafeac2a38b709f77c6bfe83a96d", class: "flex gap-x-2" }, this.parsedLinks.map((t) => i("eds-link", { label: t.label, "aria-label": t.label, url: t.url, intent: "ghost", size: "large", icon: t.icon, external: t.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))), i("slot", { key: "c61e952aeb210ec0f1df85dcd165a4af9bee2d35" }), this.menuEnabled && i("div", { key: "6838e9ee79eca023c58236d817524f1f0a0b60a5", class: "md:hidden flex overflow-hidden px-16" }, i("eds-button", { key: "1b5e7090df7021a145914a77c8bc7388a3218465", "aria-label": "Menu", intent: this.headerVariant === "default" ? "ghost" : "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })));
1733
1715
  }
1734
1716
  get hostEl() {
1735
- return c(this);
1717
+ return g(this);
1736
1718
  }
1737
1719
  };
1738
- tn.style = rn;
1739
- const te = class {
1720
+ Z.style = K;
1721
+ const ee = class {
1740
1722
  constructor(n) {
1741
- s(this, n), this.TagName = null, this.icon = "arrow-right", this.class = "", this.IconComponent = null;
1723
+ d(this, n), this.TagName = null, this.icon = "arrow-right", this.class = "", this.IconComponent = null;
1742
1724
  }
1743
1725
  componentWillLoad() {
1744
1726
  this.loadIconComponent(this.icon);
@@ -1762,7 +1744,7 @@ const te = class {
1762
1744
  icon: ["iconChanged"]
1763
1745
  };
1764
1746
  }
1765
- }, ln = `/*
1747
+ }, nn = `/*
1766
1748
  1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
1767
1749
  2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
1768
1750
  This can trigger a poorly considered lint error in some tools but is included by design.
@@ -1844,9 +1826,9 @@ video {
1844
1826
 
1845
1827
  .opacity-100 {
1846
1828
  opacity: 1;
1847
- }`, on = ln, an = class {
1829
+ }`, en = nn, rn = class {
1848
1830
  constructor(n) {
1849
- s(this, n), this.img = null, this.handleLoad = () => {
1831
+ d(this, n), this.img = null, this.handleLoad = () => {
1850
1832
  this.loaded = !0, this.showBg = !1;
1851
1833
  }, this.handleError = () => {
1852
1834
  this.loaded = !0, this.showBg = !1;
@@ -1859,26 +1841,26 @@ video {
1859
1841
  }
1860
1842
  render() {
1861
1843
  const n = {};
1862
- return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "13ed3aa346c99321c609e49ce045b6361921350f", class: {
1844
+ return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "d40662545cefe458d307c9877c4a8804c4fb7406", class: {
1863
1845
  "items-center justify-center": !0,
1864
1846
  "effect-bg-pattern": this.lazyload && this.showBg
1865
- } }, i("picture", { key: "56aa0ed8fd1ef8f9faf6ad576dd05edc34139c9b" }, this.formats.map((e) => i("source", { type: e.type, srcSet: e.srcset, media: e.media, sizes: this.sizes })), i("img", Object.assign({ key: "78e3ed9adcfe423d48388bf30140f4b70649faf7", ref: (e) => this.img = e, class: {
1847
+ } }, i("picture", { key: "94c28d57611eec83eb7ed03620de4b2449dd665c" }, this.formats.map((e) => i("source", { type: e.type, srcSet: e.srcset, media: e.media, sizes: this.sizes })), i("img", Object.assign({ key: "d7b6e56937a19f558abb29bb1da2f04b945970c9", ref: (e) => this.img = e, class: {
1866
1848
  "effect-opacity object-cover object-center": !0,
1867
1849
  "opacity-100": this.loaded,
1868
1850
  "opacity-0": !this.loaded
1869
1851
  }, width: this.width, height: this.height, sizes: this.sizes, src: this.src, srcSet: this.srcset, alt: this.alt }, n, { onLoad: this.handleLoad, onError: this.handleError, onTransitionEnd: this.handleTransitionEnd }))));
1870
1852
  }
1871
1853
  get imgElement() {
1872
- return c(this);
1854
+ return g(this);
1873
1855
  }
1874
1856
  };
1875
- an.style = on;
1876
- const le = class {
1857
+ rn.style = en;
1858
+ const ie = class {
1877
1859
  constructor(n) {
1878
- s(this, n), this.handleInput = (e) => {
1860
+ d(this, n), this.handleInput = (e) => {
1879
1861
  const r = e.target;
1880
1862
  this.innerVal = r.value, this.maxLength && this.type === "textarea" && (this.maxLengthReached = r.value.length >= this.maxLength);
1881
- }, this.name = void 0, this.inputId = void 0, this.placeholder = void 0, this.disabled = !1, this.hasMessage = !1, this.error = !1, this.checked = void 0, this.type = "text", this.required = !1, this.value = void 0, this.icon = void 0, this.maxLength = void 0, this.options = [], this.extraClass = void 0, this.innerVal = "", this.maxLengthReached = !1;
1863
+ }, this.name = void 0, this.inputId = void 0, this.placeholder = void 0, this.disabled = !1, this.hasMessage = !1, this.error = !1, this.checked = void 0, this.type = "text", this.required = !1, this.value = void 0, this.icon = void 0, this.maxLength = void 0, this.options = [], this.extraClass = void 0, this.min = void 0, this.max = void 0, this.step = void 0, this.innerVal = "", this.maxLengthReached = !1;
1882
1864
  }
1883
1865
  onValueChanged(n) {
1884
1866
  this.innerVal = n;
@@ -1891,22 +1873,26 @@ const le = class {
1891
1873
  }
1892
1874
  render() {
1893
1875
  const n = !!this.icon, e = this.hasMessage || this.error ? `${this.name}-error` : "";
1894
- return i("div", { key: "5c66c14b19aa3d5fc37e7a77a2d1194fa0be9b8c", class: "relative flex items-center" }, this.type === "textarea" ? i("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${n ? "input-with-icon" : ""} ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }) : this.type === "select" ? i("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((r) => i("option", { value: r.value, selected: r.value === this.innerVal, key: r.value }, r.label))) : i("input", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ["radio", "checkbox"].includes(this.type) ? this.checked : void 0, class: `
1876
+ return i("div", { key: "f48593b92f28da7f3ea3282ebd0db0f6767ee7b6", class: "relative flex items-center" }, this.type === "textarea" ? i("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${n ? "input-with-icon" : ""} ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }) : this.type === "select" ? i("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((r) => i("option", { value: r.value, selected: r.value === this.innerVal, key: r.value }, r.label))) : i("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ["radio", "checkbox"].includes(this.type) ? this.checked : void 0 }, this.type === "number" ? {
1877
+ min: this.min,
1878
+ max: this.max,
1879
+ step: this.step
1880
+ } : {}, { class: `
1895
1881
  ${this.extraClass || ""}
1896
1882
  input ${this.type === "radio" ? "input-radio" : this.type === "checkbox" ? "input-checkbox" : ""}
1897
1883
  ${n && this.type !== "radio" && this.type !== "checkbox" ? "input-icon pl-36" : ""}
1898
1884
  ${this.error ? "input-error" : ""}
1899
- `, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }), this.maxLength && this.type === "textarea" && i("span", { key: "4326db3729dea8bbddb7a109a90424aa832aded7", class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? "input-counter-error" : ""}` }, this.maxLength), this.icon && i("eds-icon-wrapper", { key: "df2f5598aedd36b9cb2ce886fb8ea08da58dc5ff", class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled, "text-lightest"}`, icon: this.icon }));
1885
+ `, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === "textarea" && i("span", { key: "0391698008d36d0726ca52f9f5e3ad21136a9edb", class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? "input-counter-error" : ""}` }, this.maxLength), this.icon && i("eds-icon-wrapper", { key: "dd4d8a5e02dd2557deef5441cbe29afdbea8a959", class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled, "text-lightest"}`, icon: this.icon }));
1900
1886
  }
1901
1887
  get el() {
1902
- return c(this);
1888
+ return g(this);
1903
1889
  }
1904
1890
  static get watchers() {
1905
1891
  return {
1906
1892
  value: ["onValueChanged"]
1907
1893
  };
1908
1894
  }
1909
- }, sn = `:root {
1895
+ }, tn = `:root {
1910
1896
  font-optical-sizing: auto;
1911
1897
  }
1912
1898
  html,
@@ -7735,6 +7721,12 @@ video {
7735
7721
  content: '';
7736
7722
  }
7737
7723
  }
7724
+ .input-label-options {
7725
+ font-family: var(--f-ui-03-fontFamily);
7726
+ font-size: var(--f-ui-03-fontSize);
7727
+ line-height: var(--f-ui-03-lineHeight);
7728
+ letter-spacing: var(--f-ui-03-letterSpacing);
7729
+ }
7738
7730
  .input-label {
7739
7731
  font-family: var(--f-ui-04-fontFamily);
7740
7732
  font-weight: var(--f-ui-04-fontWeight);
@@ -8606,6 +8598,10 @@ input[type="range"]::-webkit-slider-thumb {
8606
8598
  -moz-column-gap: 0.125rem;
8607
8599
  column-gap: 0.125rem;
8608
8600
  }
8601
+ .gap-x-4 {
8602
+ -moz-column-gap: 0.25rem;
8603
+ column-gap: 0.25rem;
8604
+ }
8609
8605
  .gap-x-8 {
8610
8606
  -moz-column-gap: 0.5rem;
8611
8607
  column-gap: 0.5rem;
@@ -9666,21 +9662,31 @@ input[type="range"]::-webkit-slider-thumb {
9666
9662
  }
9667
9663
  }
9668
9664
 
9669
- `, dn = sn, cn = class {
9665
+ `, ln = tn, on = class {
9670
9666
  constructor(n) {
9671
- s(this, n), this.edsinput = h(this, "edsinput", 7), this.edschange = h(this, "edschange", 7), this.handleNativeInput = (e) => {
9672
- var r;
9667
+ d(this, n), this.edsinput = h(this, "edsinput", 7), this.edschange = h(this, "edschange", 7), this.handleNativeInput = (e) => {
9668
+ var r, t;
9673
9669
  if ((r = this.onInput) === null || r === void 0 || r.call(this, e), this.shouldEmitValue()) {
9674
- const t = e.target.value;
9675
- this.edsinput.emit({ value: t });
9670
+ const l = e.target;
9671
+ let o = l.value;
9672
+ if (this.type === "checkbox" && ((t = this.parsedOptions) === null || t === void 0 ? void 0 : t.length) > 0) {
9673
+ const a = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
9674
+ o = Array.from(a).filter((s) => s.checked).map((s) => s.value);
9675
+ } else this.type === "checkbox" ? o = l.checked : (this.type, o = l.value);
9676
+ this.edsinput.emit({ value: o });
9676
9677
  }
9677
9678
  }, this.handleNativeChange = (e) => {
9678
- var r;
9679
+ var r, t;
9679
9680
  if ((r = this.onChangeNative) === null || r === void 0 || r.call(this, e), this.shouldEmitValue()) {
9680
- const l = e.target.value;
9681
- this.edschange.emit({ value: l });
9681
+ const l = e.target;
9682
+ let o = l.value;
9683
+ if (this.type === "checkbox" && ((t = this.parsedOptions) === null || t === void 0 ? void 0 : t.length) > 0) {
9684
+ const a = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
9685
+ o = Array.from(a).filter((s) => s.checked).map((s) => s.value);
9686
+ } else this.type === "checkbox" ? o = l.checked : (this.type, o = l.value);
9687
+ this.edschange.emit({ value: o });
9682
9688
  }
9683
- }, this.name = void 0, this.inputId = void 0, this.placeholder = void 0, this.disabled = !1, this.required = !1, this.label = void 0, this.hint = void 0, this.icon = void 0, this.link = void 0, this.message = void 0, this.error = !1, this.checked = void 0, this.errorMessage = void 0, this.value = void 0, this.maxLength = void 0, this.options = void 0, this.type = "text", this.onChangeNative = void 0, this.onInput = void 0, this.exposeValueEvents = !0;
9689
+ }, this.name = void 0, this.inputId = void 0, this.placeholder = void 0, this.disabled = !1, this.required = !1, this.label = void 0, this.hint = void 0, this.icon = void 0, this.link = void 0, this.message = void 0, this.error = !1, this.checked = void 0, this.errorMessage = void 0, this.value = void 0, this.maxLength = void 0, this.min = void 0, this.max = void 0, this.step = void 0, this.options = void 0, this.type = "text", this.onChangeNative = void 0, this.onInput = void 0, this.exposeValueEvents = !0;
9684
9690
  }
9685
9691
  shouldEmitValue() {
9686
9692
  return this.exposeValueEvents && this.type !== "password";
@@ -9697,21 +9703,8 @@ input[type="range"]::-webkit-slider-thumb {
9697
9703
  return [];
9698
9704
  }
9699
9705
  render() {
9700
- const n = {
9701
- name: this.name,
9702
- id: this.inputId,
9703
- placeholder: this.placeholder,
9704
- disabled: this.disabled,
9705
- onInput: this.handleNativeInput,
9706
- onChange: this.handleNativeChange,
9707
- type: this.type,
9708
- required: this.required,
9709
- value: this.value,
9710
- error: this.error,
9711
- icon: this.icon,
9712
- checked: this.checked
9713
- };
9714
- return i("div", { key: "6f048dc1418d0738fc097d3c48148ccfdf70fbdc" }, this.type === "checkbox" || this.type === "radio" ? this.parsedOptions.length > 0 ? i("fieldset", { class: "space-y-4 mt-8" }, i("div", { class: "flex justify-between" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.parsedOptions.map((e) => i("div", { class: "flex items-center gap-x-2", key: e.value }, i("eds-input", Object.assign({}, n, { value: e.value, checked: typeof this.value == "string" && this.value.split(",").includes(String(e.value)) })), i("eds-input-label", { name: `${this.name}-${e.value}`, label: e.label })))) : i("div", { class: "flex items-center gap-x-8" }, i("eds-input", Object.assign({}, n, { value: this.value, checked: this.value === "on" })), this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })) : i("div", null, i("div", { class: "flex justify-between" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.type === "select" ? i("eds-input-select", Object.assign({}, n, { options: this.parsedOptions })) : this.type === "file" ? i("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required }) : this.type === "search" ? i("eds-input-search", { name: "search-box" }) : this.type === "range" ? (() => {
9706
+ const n = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, this.type === "number" ? { min: this.min, max: this.max, step: this.step } : {});
9707
+ return i("div", { key: "bf31e95b0fad54062686ae178af0d6b552d04654" }, this.type === "checkbox" || this.type === "radio" ? this.parsedOptions.length > 0 ? i("fieldset", { class: "space-y-4 mt-8" }, i("div", { class: "flex justify-between" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.parsedOptions.map((e) => i("div", { class: "flex items-center gap-x-4 gap-y-4", key: e.value }, i("eds-input", Object.assign({}, n, { value: e.value, checked: typeof this.value == "string" && this.value.split(",").includes(String(e.value)) })), i("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? "text-lighter" : ""}` }, e.label)))) : i("div", { class: "flex items-center gap-x-8" }, i("eds-input", Object.assign({}, n, { value: this.value, checked: this.value === "on" || this.checked })), this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })) : i("div", null, i("div", { class: "flex justify-between" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.type === "select" ? i("eds-input-select", Object.assign({}, n, { options: this.parsedOptions })) : this.type === "file" ? i("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required }) : this.type === "search" ? i("eds-input-search", { name: "search-box" }) : this.type === "range" ? (() => {
9715
9708
  var e, r, t;
9716
9709
  const l = {
9717
9710
  name: n.name,
@@ -9720,36 +9713,36 @@ input[type="range"]::-webkit-slider-thumb {
9720
9713
  required: n.required,
9721
9714
  onInput: n.onInput,
9722
9715
  onChange: n.onChange
9723
- }, a = this.parsedOptions, o = typeof this.value == "string" ? parseFloat(this.value) : this.value || 0;
9724
- return i("eds-input-range", Object.assign({}, l, { min: (e = a[0]) === null || e === void 0 ? void 0 : e.value, max: (r = a[1]) === null || r === void 0 ? void 0 : r.value, step: (t = a[2]) === null || t === void 0 ? void 0 : t.value, value: o }));
9725
- })() : i("eds-input", Object.assign({}, n))), i("div", { key: "27fb201362b478009fdc68a285395bfc24e84d45", class: "mt-4" }, i("eds-input-footer", { key: "cd3d5742879b13ab62f9ba989971290b527be3ca", id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
9716
+ }, o = this.parsedOptions, a = typeof this.value == "string" ? parseFloat(this.value) : this.value || 0;
9717
+ return i("eds-input-range", Object.assign({}, l, { min: (e = o[0]) === null || e === void 0 ? void 0 : e.value, max: (r = o[1]) === null || r === void 0 ? void 0 : r.value, step: (t = o[2]) === null || t === void 0 ? void 0 : t.value, value: a }));
9718
+ })() : i("eds-input", Object.assign({}, n))), i("div", { key: "b47668a883a11da148a38a063ecf573e79a6d714", class: "mt-6" }, i("eds-input-footer", { key: "2c25baf0474a573f143b17bcaa19826fdc94dd7f", id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
9726
9719
  }
9727
9720
  get hostEl() {
9728
- return c(this);
9721
+ return g(this);
9729
9722
  }
9730
9723
  };
9731
- cn.style = dn;
9732
- const gn = "p{margin:0}.text-error{color:var(--red-700)}.flex{display:flex}.items-center{align-items:center}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.ml-4{margin-left:0.25rem}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.text-lighter{color:var(--grey-600)}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:text-lighter:hover{color:var(--grey-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}", hn = gn, fn = class {
9724
+ on.style = ln;
9725
+ const an = "p{margin:0}.text-error{color:var(--red-700)}.flex{display:flex}.items-center{align-items:center}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.ml-4{margin-left:0.25rem}.mb-4{margin-bottom:0.25rem}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.text-lighter{color:var(--grey-600)}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:text-lighter:hover{color:var(--grey-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}", sn = an, dn = class {
9733
9726
  constructor(n) {
9734
- s(this, n), this.name = void 0, this.errorMessage = void 0, this.message = void 0, this.error = !1, this.link = void 0;
9727
+ d(this, n), this.name = void 0, this.errorMessage = void 0, this.message = void 0, this.error = !1, this.link = void 0;
9735
9728
  }
9736
9729
  render() {
9737
- return i("div", { key: "a9f24f8726c7d5bcc3adfcb1d93a6076b0e672d8" }, this.error && this.errorMessage && i("div", { key: "5ed4b0881215887ed5532b4f6619cfe22f896773", id: `error_${this.name}`, class: "text-error flex items-center" }, i("eds-icon-wrapper", { key: "978b51b85d34c05f5f86ffa228404514e7572145", icon: "warning" }), i("p", { key: "10c97eea1f6a835ad6c85618578fd4fa58a7d5f5", class: "f-ui-04 ml-4", innerHTML: this.errorMessage })), this.message && i("p", { key: "61db4e71da9136a1c2ede4bd30edb6c8f61e05d2", id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && i("a", { key: "f44a7c6c17be59a6e6361a1a10c842f9c99f4b47", href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label));
9730
+ return i("div", { key: "08cb0dc972b0aee37260b5e606a4b162afa9100b" }, this.error && this.errorMessage && i("div", { key: "5346af03e591f3ca2338979dc74a0b65fe2f93ba", id: `error_${this.name}`, class: "text-error flex items-center" }, i("eds-icon-wrapper", { key: "072103ec3061a16992672ee92d20249dc1704e0e", icon: "warning" }), i("p", { key: "19f62274acb91ca32e5f9ee7247b27d5a63a95b7", class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage })), this.message && i("p", { key: "e6c97c6dca2c5a7a1e62f56f2d74560861399553", id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && i("a", { key: "528475a848b5fada0acc47dc4aa2e03b0b6e1872", href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label));
9738
9731
  }
9739
9732
  };
9740
- fn.style = hn;
9741
- const bn = ".input-label{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.input-label b,.input-label strong{font-weight:var(--f-ui-04---bold-weight, bold)}.text-lighter{color:var(--grey-600)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}", xn = bn, mn = class {
9733
+ dn.style = sn;
9734
+ const cn = ".input-label{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)}.input-label b,.input-label strong{font-weight:var(--f-ui-02---bold-weight, bold)}.text-lighter{color:var(--grey-600)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}", gn = cn, hn = class {
9742
9735
  constructor(n) {
9743
- s(this, n), this.label = void 0, this.name = void 0, this.required = !1, this.disabled = !1;
9736
+ d(this, n), this.label = void 0, this.name = void 0, this.required = !1, this.disabled = !1;
9744
9737
  }
9745
9738
  render() {
9746
- return i("label", { key: "4007d3a533b1d4f199cd143fe0c1d3851a4906b1", htmlFor: this.name, class: `input-label ${this.disabled ? "text-lighter" : ""}` }, this.label, this.required && i("span", { key: "319f85ff60d45e24ba8e21ace46b44534f9e1cbf" }, i("span", { key: "329b9936137fafa7aae9a442296eb44baaf1ab85", "aria-hidden": "true" }, "*"), i("span", { key: "acac48485fa35c9245bb8795cab0a2b40eb1cee2", class: "sr-only" }, "required")));
9739
+ return i("label", { key: "a5ecc454f7d0398d8bf265fb36ac903af4b15c4a", htmlFor: this.name, class: `input-label ${this.disabled ? "text-lighter" : ""}` }, this.label, this.required && i("span", { key: "f6b710dcfe91623d048a95853097f963510ebb13" }, i("span", { key: "e903f319f01b3592ca2ea8bbd5dbf83765942603", "aria-hidden": "true" }, "*"), i("span", { key: "4548229f02d0753855a0b58944e89ff4fe40665a", class: "sr-only" }, "required")));
9747
9740
  }
9748
9741
  };
9749
- mn.style = xn;
9750
- const oe = class {
9742
+ hn.style = gn;
9743
+ const re = class {
9751
9744
  constructor(n) {
9752
- s(this, n), this.edsrange = h(this, "edsrange", 7), this.onInput = (e) => {
9745
+ d(this, n), this.edsrange = h(this, "edsrange", 7), this.onInput = (e) => {
9753
9746
  const r = e.target;
9754
9747
  this.sliderVal = parseInt(r.value, 10);
9755
9748
  }, this.onChange = (e) => {
@@ -9771,19 +9764,19 @@ const oe = class {
9771
9764
  return this.inputElement;
9772
9765
  }
9773
9766
  render() {
9774
- return i("div", { key: "5c55f65e2acd6f4554af7d8ba513c9d9dfd445eb", class: "relative flex flex-col items-start space-y-2" }, i("input", { key: "4fcd0d3d978ddba7929958dd22a283c2ba61ee48", id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), i("p", { key: "c63b223e6af149efb68cabbe5228e77b09ca2168", id: `desc_${this.name}`, class: "block f-ui-05 text-lighter" }, "Current value: ", this.sliderVal));
9767
+ return i("div", { key: "d17d2e14f9c851c2c4b003ac36bae62240bc16d0", class: "relative flex flex-col items-start space-y-2" }, i("input", { key: "dccfa98f53c6283a09de624f32cc34aea2fafbfa", id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), i("p", { key: "6064aa1f5bfbfc0e925dfec32ee727c5e530226a", id: `desc_${this.name}`, class: "block f-ui-05 text-lighter" }, "Current value: ", this.sliderVal));
9775
9768
  }
9776
9769
  get el() {
9777
- return c(this);
9770
+ return g(this);
9778
9771
  }
9779
9772
  static get watchers() {
9780
9773
  return {
9781
9774
  value: ["onValueChange"]
9782
9775
  };
9783
9776
  }
9784
- }, ae = class {
9777
+ }, te = class {
9785
9778
  constructor(n) {
9786
- s(this, n), this.search = h(this, "search", 7), this.keydownListener = (e) => {
9779
+ d(this, n), this.search = h(this, "search", 7), this.keydownListener = (e) => {
9787
9780
  (e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k" && (e.preventDefault(), this.inputElement && !this.disabled && this.inputElement.focus());
9788
9781
  }, this.onChange = (e) => {
9789
9782
  this.search.emit({
@@ -9808,8 +9801,8 @@ const oe = class {
9808
9801
  return this.inputElement;
9809
9802
  }
9810
9803
  render() {
9811
- return i("div", { key: "27d6871df962e2bd27eac38b1a105142b1b68bab", class: "relative flex items-center" }, i("eds-icon-wrapper", { key: "b4b497cb435c673a550b169dea93fbc7006d0c5e", icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), i("input", {
9812
- key: "1419cd8f5b8791b5b812c57ba649567e1b6ec0bb",
9804
+ return i("div", { key: "1084e1dad411bccc4b89fb61be91fbdaefedbe16", class: "relative flex items-center" }, i("eds-icon-wrapper", { key: "eaca5c71cf018cd95ba6debddcbbfa1457a32584", icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), i("input", {
9805
+ key: "e0e888a6518abfb5f5b2a50fb89e2cec4c7ca78c",
9813
9806
  id: this.inputId || this.name,
9814
9807
  name: this.name,
9815
9808
  placeholder: this.placeholder,
@@ -9824,25 +9817,25 @@ const oe = class {
9824
9817
  }));
9825
9818
  }
9826
9819
  get el() {
9827
- return c(this);
9820
+ return g(this);
9828
9821
  }
9829
- }, se = class {
9822
+ }, le = class {
9830
9823
  constructor(n) {
9831
- s(this, n), this.edsselect = h(this, "edsselect", 7), this.handleChange = (e) => {
9824
+ d(this, n), this.edsselect = h(this, "edsselect", 7), this.handleChange = (e) => {
9832
9825
  const r = e.target;
9833
9826
  this.edsselect.emit(r.value);
9834
9827
  }, this.inputId = void 0, this.name = void 0, this.placeholder = void 0, this.disabled = !1, this.hasMessage = !1, this.error = !1, this.required = !1, this.options = [], this.value = void 0;
9835
9828
  }
9836
9829
  render() {
9837
- const n = this.inputId || this.name, e = this.placeholder || `Please select ${this.name}`, r = this.hasMessage || this.error ? `${this.name}-error` : void 0;
9838
- return i("div", { key: "80cbdab87f5baa21df5edc857685c3af4dee3a58", class: "relative" }, i("select", { key: "4e8f84fd9dbc63df7981898cadc24450f48aa92a", id: n, name: this.name, class: {
9830
+ const n = this.inputId || this.name, e = this.placeholder || "Pick from the list", r = this.hasMessage || this.error ? `${this.name}-error` : void 0;
9831
+ return i("div", { key: "8b02195c9cb94edae54d0eaeffc1d5985638e705", class: "relative" }, i("select", { key: "ab86f95d44a22492309e39ea4ed299c7da5460f7", id: n, name: this.name, class: {
9839
9832
  input: !0,
9840
9833
  "input-error": this.error,
9841
9834
  "px-4": !0,
9842
9835
  "py-2": !0
9843
- }, "aria-invalid": this.error ? "true" : "false", "aria-describedby": r, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "54b90339cae4c5c80711793a8c68c4587e0c2495", value: "", disabled: !0, hidden: !0 }, e), this.options.map((t, l) => i("option", { key: l, value: t.value, selected: t.value === this.value }, t.label))), i("span", { key: "6c9f0a0606f1d6f282c756f84ace7618584d5fa3", class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, i("eds-icon-wrapper", { key: "4524af72468d3b37c01b0252d4b6b2bf7454514e", class: "w-20 h-20", icon: "chevron-right" })));
9836
+ }, "aria-invalid": this.error ? "true" : "false", "aria-describedby": r, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "285f9e5be9f469b21fa13c869e998fdaea4e33ad", value: "", disabled: !0, hidden: !0 }, e), this.options.map((t, l) => i("option", { key: l, value: t.value, selected: t.value === this.value }, t.label))), i("span", { key: "0fced74f55c6da75e7f1aa3251fa59e8147e666f", class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, i("eds-icon-wrapper", { key: "70e964580e89d001eb3537038f4e6a28ecba5840", class: "w-20 h-20", icon: "chevron-right" })));
9844
9837
  }
9845
- }, pn = `*,
9838
+ }, fn = `*,
9846
9839
  ::before,
9847
9840
  ::after {
9848
9841
  box-sizing: border-box;
@@ -11079,7 +11072,7 @@ Make sure disabled buttons don't get the pointer cursor.
11079
11072
  .lg\\:flex {
11080
11073
  display: flex;
11081
11074
  }
11082
- }`, un = pn, yn = m([
11075
+ }`, bn = fn, xn = m([
11083
11076
  "relative inline-flex justify-center items-center py-8 rounded-sm",
11084
11077
  "effect-color effect-focus aria-disabled:text-lightest",
11085
11078
  "cursor-pointer",
@@ -11204,9 +11197,9 @@ Make sure disabled buttons don't get the pointer cursor.
11204
11197
  size: "small",
11205
11198
  hasIcon: !1
11206
11199
  }
11207
- }), vn = class {
11200
+ }), mn = class {
11208
11201
  constructor(n) {
11209
- s(this, n), this.parentContext = null, this.label = void 0, this.intent = void 0, this.icon = void 0, this.iconPos = "right", this.iconSmall = !1, this.size = "small", this.external = !1, this.current = !1, this.download = !1, this.url = void 0, this.ariaLabel = void 0, this.disabled = !1, this.hideLabelOnSmallScreen = !1, this.extraClass = void 0;
11202
+ d(this, n), this.parentContext = null, this.label = void 0, this.intent = void 0, this.icon = void 0, this.iconPos = "right", this.iconSmall = !1, this.size = "small", this.external = !1, this.current = !1, this.download = !1, this.url = void 0, this.ariaLabel = void 0, this.disabled = !1, this.hideLabelOnSmallScreen = !1, this.extraClass = void 0;
11210
11203
  }
11211
11204
  handleParentContext(n) {
11212
11205
  n.target === this.el && (this.parentContext = n.detail, n.stopPropagation());
@@ -11241,23 +11234,23 @@ Make sure disabled buttons don't get the pointer cursor.
11241
11234
  `, icon: this.icon })) : null;
11242
11235
  }
11243
11236
  render() {
11244
- const n = this.disabled ? "span" : "a", e = yn({
11237
+ const n = this.disabled ? "span" : "a", e = xn({
11245
11238
  intent: this.intent,
11246
11239
  size: this.getLinkSize(),
11247
11240
  iconSmall: this.iconSmall,
11248
11241
  isActive: this.current,
11249
11242
  hasIcon: !!this.icon
11250
11243
  }), r = this.ariaLabel || this.label || "link", t = this.hideLabelOnSmallScreen ? "hidden lg:flex" : "";
11251
- return i(n, { key: "bdb8851264265b71dab033b807389ccd26519696", class: `${e || ""} ${this.extraClass || ""}`, href: this.disabled ? void 0 : this.url, target: this.external && !this.disabled ? "_blank" : void 0, rel: this.external && !this.disabled ? "noopener noreferrer" : void 0, "aria-label": r, "aria-disabled": this.disabled ? "true" : null, "aria-current": this.current ? "page" : void 0, download: this.download ? "" : void 0, onClick: (l) => this.handleClick(l) }, i("span", { key: "fdf681ed48873939fb147c51fce59c7ff8ae772e", class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), i("span", { key: "aa2ac0a8c0d12197a4c2c3263b1550f83a1df72f", class: t }, this.label), this.renderRightIcon()));
11244
+ return i(n, { key: "19e7d05290f3dda2cc4e821c5625f7dd82198dcd", class: `${e || ""} ${this.extraClass || ""}`, href: this.disabled ? void 0 : this.url, target: this.external && !this.disabled ? "_blank" : void 0, rel: this.external && !this.disabled ? "noopener noreferrer" : void 0, "aria-label": r, "aria-disabled": this.disabled ? "true" : null, "aria-current": this.current ? "page" : void 0, download: this.download ? "" : void 0, onClick: (l) => this.handleClick(l) }, i("span", { key: "36ce6891c07cf6e37acef3e6fecd3e96bcaa0312", class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), i("span", { key: "2455011e19a98939aec59768f09ae310ad03692b", class: t }, this.label), this.renderRightIcon()));
11252
11245
  }
11253
11246
  get el() {
11254
- return c(this);
11247
+ return g(this);
11255
11248
  }
11256
11249
  };
11257
- vn.style = un;
11258
- const wn = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{color:currentColor}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}@media (min-width: 900px){.lg\\:w-\\[150px\\]{width:150px}}", kn = wn, zn = class {
11250
+ mn.style = bn;
11251
+ const pn = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{color:currentColor}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}@media (min-width: 900px){.lg\\:w-\\[150px\\]{width:150px}}", un = pn, yn = class {
11259
11252
  constructor(n) {
11260
- s(this, n), this.href = "/", this.orientation = "horizontal", this.type = void 0, this.label = "Home";
11253
+ d(this, n), this.href = "/", this.orientation = "horizontal", this.type = void 0, this.label = "Home";
11261
11254
  }
11262
11255
  /**
11263
11256
  * Handles the click event on the logo link.
@@ -11281,146 +11274,37 @@ const wn = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
11281
11274
  getLogo() {
11282
11275
  const e = {
11283
11276
  horizontal: {
11284
- color: p,
11285
- black: w,
11286
- "color-white": k,
11287
- white: z,
11288
- "no-bg": C
11277
+ color: y,
11278
+ black: k,
11279
+ "color-white": z,
11280
+ white: C,
11281
+ "no-bg": S
11289
11282
  },
11290
11283
  vertical: {
11291
- color: S,
11292
- black: E,
11293
- "color-white": F,
11294
- white: L,
11295
- "no-bg": I
11284
+ color: E,
11285
+ black: F,
11286
+ "color-white": L,
11287
+ white: I,
11288
+ "no-bg": A
11296
11289
  }
11297
11290
  }[this.orientation];
11298
11291
  if (!e)
11299
- return p;
11292
+ return y;
11300
11293
  const r = e[this.type];
11301
11294
  return r || e.color;
11302
11295
  }
11303
11296
  render() {
11304
11297
  const n = this.getLogo();
11305
- return i("a", { key: "ff5c1ee09b325dca504a73b2d9eb4910fb67835d", href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, i("div", { key: "10ef011b7e3725231cf12771be38b209661709ed", innerHTML: n }));
11298
+ return i("a", { key: "717ea23a3d9156fd59abb808c3175194b6973d6b", href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, i("div", { key: "794768d57ee14767a0475d949c24fafaa28bc924", innerHTML: n }));
11306
11299
  }
11307
11300
  get el() {
11308
- return c(this);
11301
+ return g(this);
11309
11302
  }
11310
11303
  };
11311
- zn.style = kn;
11312
- const Cn = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-9999999{z-index:9999999}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.left-20{left:1.25rem}.right-20{right:1.25rem}.top-1\\/2{top:50%}.top-0{top:0rem}.left-0{left:0rem}.top-20{top:1.25rem}.bottom-0{bottom:0rem}.bottom-20{bottom:1.25rem}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}@media (min-width: 750px){.md\\:bottom-20{bottom:1.25rem}.md\\:w-auto{width:auto}.md\\:top-20{top:1.25rem}.md\\:top-1\\/2{top:50%}.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:gap-y-12{row-gap:0.75rem}}", Sn = Cn, En = class {
11304
+ yn.style = un;
11305
+ const vn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}", wn = vn, kn = class {
11313
11306
  constructor(n) {
11314
- s(this, n), this.heading = "", this.truncate = 1, this.position = "middle", this.inverseHeader = !1, this.isOpen = !1;
11315
- }
11316
- getTruncateClass() {
11317
- return this.truncate ? `line-clamp-${this.truncate}` : "";
11318
- }
11319
- /**
11320
- * Returns the Tailwind CSS classes to position the modal based on the `position` prop.
11321
- *
11322
- * @private
11323
- * @returns {string} The concatenated CSS classes for modal positioning.
11324
- */
11325
- getModalPositionClasses() {
11326
- switch (this.position) {
11327
- case "top":
11328
- return [
11329
- // mobile: pinned to top, full-width
11330
- "top-0",
11331
- "left-0",
11332
- "w-full",
11333
- // desktop: half-width centred and offset down
11334
- "md:left-1/2",
11335
- "md:w-auto",
11336
- "md:-translate-x-1/2",
11337
- "md:top-20"
11338
- ].join(" ");
11339
- case "bottom":
11340
- return ["bottom-0", "left-0", "w-full", "md:left-1/2", "md:w-auto", "md:-translate-x-1/2", "md:bottom-20"].join(" ");
11341
- case "middle":
11342
- default:
11343
- return [
11344
- // mobile: full-width, start from top with a little padding
11345
- "top-0",
11346
- "left-0",
11347
- "w-full",
11348
- "pt-4",
11349
- // desktop: centred both axes
11350
- "md:left-1/2",
11351
- "md:top-1/2",
11352
- "md:w-auto",
11353
- "md:-translate-x-1/2",
11354
- "md:-translate-y-1/2"
11355
- ].join(" ");
11356
- }
11357
- }
11358
- /**
11359
- * Opens the modal.
11360
- */
11361
- async open() {
11362
- var n;
11363
- this.isOpen = !0, f({
11364
- category: "ui-component",
11365
- parentContext: null,
11366
- tag: this.el.tagName.toLowerCase(),
11367
- name: ((n = this.heading) === null || n === void 0 ? void 0 : n.toLowerCase()) || "",
11368
- action: "opened"
11369
- });
11370
- }
11371
- /**
11372
- * Closes the modal.
11373
- */
11374
- async close() {
11375
- var n;
11376
- this.isOpen = !1, f({
11377
- category: "ui-component",
11378
- parentContext: null,
11379
- tag: this.el.tagName.toLowerCase(),
11380
- name: ((n = this.heading) === null || n === void 0 ? void 0 : n.toLowerCase()) || "",
11381
- action: "closed"
11382
- });
11383
- }
11384
- /**
11385
- * Toggles the modal open or closed.
11386
- */
11387
- async toggle() {
11388
- this.isOpen = !this.isOpen;
11389
- }
11390
- /**
11391
- * Listens for global custom events to open the modal.
11392
- */
11393
- handleGlobalOpen() {
11394
- this.open();
11395
- }
11396
- /**
11397
- * Listens for global custom events to close the modal.
11398
- */
11399
- handleGlobalClose() {
11400
- this.close();
11401
- }
11402
- /**
11403
- * Closes the modal when the Escape key is pressed.
11404
- */
11405
- handleKeyDown(n) {
11406
- this.isOpen && n.key === "Escape" && this.close();
11407
- }
11408
- render() {
11409
- const n = `modal-title-${this.el.tagName.toLowerCase()}`;
11410
- return i("div", { key: "064613bfc4ada7e980d47b7ccb37b21e313731ca", id: "eds-modal", class: `${this.isOpen ? "block" : "hidden"} fixed inset-0 z-9999999 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": n }, this.isOpen && i("div", {
11411
- key: "6430a5e2734f948e40ccdc7bfcbd6e934070ff25",
11412
- class: "fixed inset-0 bg-dark bg-opacity-90",
11413
- onClick: () => this.close()
11414
- }), i("div", { key: "468ce4425ce69c7612d9dbca6b812d7b0c2f869a", class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, i("div", { key: "e694805e5c39df16801fd2f13eaf2f113fbe2c5e", class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? "bg-strongest text-inverse" : "bg-dark text-default"}` }, i("span", { key: "f4c1204f3971618138bd8385b15face3acd1ea71", id: n, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), i("eds-button", { key: "813ba1a0c5d357187fc73964bb66230a15593ddc", intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), i("div", { key: "9ae10bc0e79c4553c2a5bdd2dbacd7a97d99f50c", class: "pt-8 px-20 py-20" }, i("slot", { key: "f460df4582e298289ab7abcd5417b7ef8d8ac827" }))));
11415
- }
11416
- get el() {
11417
- return c(this);
11418
- }
11419
- };
11420
- En.style = Sn;
11421
- const Fn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}", Ln = Fn, In = class {
11422
- constructor(n) {
11423
- s(this, n), this.currentPage = void 0, this.lastPage = void 0, this.perPage = 10, this.total = 0, this.url = "", this.mode = "default", this.prevLabel = "Prev", this.nextLabel = "Next", this.prevUrl = "", this.nextUrl = "", this.links = [];
11307
+ d(this, n), this.currentPage = void 0, this.lastPage = void 0, this.perPage = 10, this.total = 0, this.url = "", this.mode = "default", this.prevLabel = "Prev", this.nextLabel = "Next", this.prevUrl = "", this.nextUrl = "", this.links = [];
11424
11308
  }
11425
11309
  /** Lifecycle hook to generate pagination links on component load */
11426
11310
  componentWillLoad() {
@@ -11526,14 +11410,14 @@ const Fn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
11526
11410
  }
11527
11411
  }
11528
11412
  render() {
11529
- return i("div", { key: "a92aad013df27ce619c50ee8ed273c4799d9b55b" }, this.total > 0 && this.mode === "default" && i("p", { key: "33b6a436765a10356cf201c19b837f668a74a035", class: "f-ui-03 text-lightest mb-28 w-full text-center" }, i("span", { key: "0c45ab429986ba7537abbdaafddd4b960b92f41a", class: "sr-only" }, "Results:"), this.pageResults()), this.mode === "navigator" || this.lastPage && this.lastPage > 1 ? i("nav", { "aria-label": "Pagination" }, i("ul", { class: "flex items-center justify-center gap-x-8" }, i("li", { class: "mr-auto" }, i("eds-link", { label: this.prevLabel, url: this.mode === "navigator" ? this.prevUrl || "#" : this.isFirstPage() ? "#" : this.generateLink(this.currentPage - 1).url, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "strong", "hide-label-on-small-screen": !0, class: "!p-8 lg:!pr-12", onClick: (n) => {
11413
+ return i("div", { key: "978896bd8c550afdc30281e1a8d9858022857551" }, this.total > 0 && this.mode === "default" && i("p", { key: "10781adbf2c4754580c31eecc180fc426b5e09a1", class: "f-ui-03 text-lightest mb-28 w-full text-center" }, i("span", { key: "29765740419772ac83736495c859d2d75097904c", class: "sr-only" }, "Results:"), this.pageResults()), this.mode === "navigator" || this.lastPage && this.lastPage > 1 ? i("nav", { "aria-label": "Pagination" }, i("ul", { class: "flex items-center justify-center gap-x-8" }, i("li", { class: "mr-auto" }, i("eds-link", { label: this.prevLabel, url: this.mode === "navigator" ? this.prevUrl || "#" : this.isFirstPage() ? "#" : this.generateLink(this.currentPage - 1).url, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "strong", "hide-label-on-small-screen": !0, class: "!p-8 lg:!pr-12", onClick: (n) => {
11530
11414
  this.mode === "default" && (this.isFirstPage() ? n.preventDefault() : this.handlePageClick(n, (this.currentPage || 1) - 1));
11531
11415
  } })), this.mode === "default" && this.links.map((n, e) => i("li", { key: e, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof n == "string" ? i("span", { class: "flex items-center justify-center" }, n) : i("eds-link", { url: n.url, "aria-label": n.ariaLabel, label: n.label, current: n.current, size: "small", class: "!p-8", intent: n.current ? "secondary" : "ghost", onClick: (r) => this.handlePageClick(r, parseInt(n.label)) }))), i("li", { class: "ml-auto" }, i("eds-link", { label: this.nextLabel, url: this.mode === "navigator" ? this.nextUrl || "#" : this.isLastPage() ? "#" : this.generateLink(this.currentPage + 1).url, disabled: this.mode === "navigator" ? !this.nextUrl : this.isLastPage(), "aria-label": "Next page", size: "small", "icon-small": "true", icon: "chevron-right", intent: "strong", "hide-label-on-small-screen": !0, class: "!p-8 lg:!pl-12 flex items-center gap-1 py-4 transition-colors", onClick: (n) => {
11532
11416
  this.mode === "default" && (this.isLastPage() ? n.preventDefault() : this.handlePageClick(n, (this.currentPage || 1) + 1));
11533
11417
  } })))) : null);
11534
11418
  }
11535
11419
  get hostEl() {
11536
- return c(this);
11420
+ return g(this);
11537
11421
  }
11538
11422
  static get watchers() {
11539
11423
  return {
@@ -11542,56 +11426,67 @@ const Fn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
11542
11426
  };
11543
11427
  }
11544
11428
  };
11545
- In.style = Ln;
11546
- const jn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.mt-12{margin-top:0.75rem}.mt-16{margin-top:1rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}", Pn = jn, An = class {
11429
+ kn.style = wn;
11430
+ const zn = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}", Cn = zn, Sn = class {
11547
11431
  constructor(n) {
11548
- s(this, n), this.socialNetworks = [
11549
- {
11550
- label: "Twitter",
11551
- url: "https://twitter.com/ebrains_eu",
11552
- icon: "twitter"
11553
- },
11554
- {
11555
- label: "Linkedin",
11556
- url: "https://www.linkedin.com/company/ebrains-eu/about/",
11557
- icon: "linkedin"
11558
- },
11559
- {
11560
- label: "Facebook",
11561
- url: "https://www.facebook.com/people/Ebrains_eu/100046659909324/",
11562
- icon: "facebook"
11563
- },
11564
- {
11565
- label: "Youtube",
11566
- url: "https://www.youtube.com/channel/UC6E796cVVR5Xrs2A5jJmleQ",
11567
- icon: "youtube"
11568
- },
11569
- {
11570
- label: "Mastodon",
11571
- url: "https://mastodon.social/@ebrains",
11572
- icon: "mastodon"
11573
- },
11574
- {
11575
- label: "Bluesky",
11576
- url: "https://bsky.app/profile/ebrains.bsky.social",
11577
- icon: "bluesky"
11578
- }
11579
- ], this.heading = "Follow EBRAINS to keep up-to-date";
11432
+ d(this, n), this.rating = h(this, "rating", 7), this.ratingType = "star", this.ratingCount = 5, this.selectedRating = 0;
11580
11433
  }
11581
11434
  /**
11582
- * Renders the component's HTML structure with links to EBRAINS social profiles.
11583
- * Each social network link uses the `eds-link` component with specific classes and styles.
11435
+ * Lifecycle method that runs when the component has fully loaded.
11436
+ * It emits a custom event for each `eds-button` element contained within the breadcrumb.
11437
+ */
11438
+ componentDidLoad() {
11439
+ this.el.shadowRoot.querySelectorAll("eds-button").forEach((e) => {
11440
+ this.emitContext(e);
11441
+ });
11442
+ }
11443
+ /**
11444
+ * Emits a custom event called `parentContext` for a given link element.
11445
+ * This event provides context information about the breadcrumb component.
11584
11446
  *
11585
- * @returns {JSX.Element} The rendered JSX for the component.
11447
+ * @param btnElement - The link element to which the event will be dispatched.
11448
+ */
11449
+ emitContext(n) {
11450
+ const e = new CustomEvent("parentContext", {
11451
+ detail: {
11452
+ componentName: this.el.tagName.toLowerCase(),
11453
+ identifier: this.selectedRating
11454
+ }
11455
+ });
11456
+ n.dispatchEvent(e);
11457
+ }
11458
+ /**
11459
+ * Handles the click event on a star.
11460
+ * @param rating - The selected rating value.
11586
11461
  */
11462
+ handleClick(n) {
11463
+ this.selectedRating = n, this.rating.emit(n);
11464
+ }
11587
11465
  render() {
11588
- return i("div", { key: "6d52d64b09170108d1b61157d0ab126cefa794be" }, i("p", { key: "97e929fdaff0bcd4360140428007da0294567ea9", class: "f-ui-02" }, this.heading), i("ul", { key: "3264e9e0ac366c4a502b69f6aa8545935b8536e7", class: "mt-12 flex gap-4" }, this.socialNetworks.map((n, e) => i("li", { key: e }, i("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: !0, "aria-label": n.label, url: n.url, icon: n.icon, intent: "strong" })))));
11466
+ return i("div", { key: "7f70d2d6691257ba0658ab9500ab7200af28366a", role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (n, e) => {
11467
+ const r = e + 1, t = r <= this.selectedRating;
11468
+ return i("eds-button", {
11469
+ icon: this.ratingType,
11470
+ role: "radio",
11471
+ "aria-checked": t ? "true" : "false",
11472
+ "aria-label": this.ratingType,
11473
+ onClick: () => this.handleClick(r),
11474
+ tabIndex: this.selectedRating === 0 && e === 0 || t ? 0 : -1,
11475
+ intent: t ? "primary" : "ghost",
11476
+ size: "large",
11477
+ "extra-class": "p-2"
11478
+ // Optional padding or styling for the star button
11479
+ });
11480
+ }));
11481
+ }
11482
+ get el() {
11483
+ return g(this);
11589
11484
  }
11590
11485
  };
11591
- An.style = Pn;
11592
- const Wn = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-28{margin-bottom:1.75rem}", _n = Wn, On = class {
11486
+ Sn.style = Cn;
11487
+ const En = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-28{margin-bottom:1.75rem}", Fn = En, Ln = class {
11593
11488
  constructor(n) {
11594
- s(this, n), this.step = h(this, "step", 7), this.handleNext = () => {
11489
+ d(this, n), this.step = h(this, "step", 7), this.handleNext = () => {
11595
11490
  this.activeStep = this.activeStep + 1, this.activeStep < this.parsedSteps.length && this.step.emit(this.activeStep);
11596
11491
  }, this.handleBack = () => {
11597
11492
  this.activeStep > 0 && (this.activeStep = this.activeStep - 1, this.step.emit(this.activeStep));
@@ -11641,14 +11536,14 @@ const Wn = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
11641
11536
  * Parse the JSON string into an array of steps.
11642
11537
  */
11643
11538
  get parsedSteps() {
11644
- return b(this.steps);
11539
+ return x(this.steps);
11645
11540
  }
11646
11541
  render() {
11647
11542
  const n = this.parsedSteps;
11648
11543
  return this.type === "linear" ? i("div", null, i("div", { class: "steps" }, n.map((e, r) => i("div", { class: "step mb-28", key: r }, i("h3", { onClick: () => this.handleStepClick(r) }, e.title), this.activeStep === r && i("div", { class: "content" }, i("slot", { name: `step-${r}` }, i("div", { class: r === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content })), i("eds-button", { label: r === n.length - 1 ? "Finish" : "Continue", intent: "primary", class: "next-btn", onClick: this.handleNext }), i("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: r === 0, "extra-class": r === 0 ? "hidden" : "ml-8 block" })))))) : i("div", { class: "steps" }, n.map((e, r) => i("div", { class: "step mb-28", key: r }, i("h3", null, e.title), i("div", { class: "content" }, i("slot", { name: `step-${r}` }, i("div", { class: r === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content }))))));
11649
11544
  }
11650
11545
  get el() {
11651
- return c(this);
11546
+ return g(this);
11652
11547
  }
11653
11548
  static get watchers() {
11654
11549
  return {
@@ -11656,10 +11551,10 @@ const Wn = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
11656
11551
  };
11657
11552
  }
11658
11553
  };
11659
- On.style = _n;
11660
- const Hn = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--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))}", Tn = Hn, $n = class {
11554
+ Ln.style = Fn;
11555
+ const In = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--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))}", An = In, jn = class {
11661
11556
  constructor(n) {
11662
- s(this, n), this.step = h(this, "step", 7), this.handleNext = () => {
11557
+ d(this, n), this.step = h(this, "step", 7), this.handleNext = () => {
11663
11558
  this.activeStep = this.activeStep + 1, this.activeStep < this.parsedSteps.length && this.step.emit(this.activeStep);
11664
11559
  }, this.handleBack = () => {
11665
11560
  this.activeStep > 0 && (this.activeStep = this.activeStep - 1, this.step.emit(this.activeStep));
@@ -11705,7 +11600,7 @@ const Hn = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
11705
11600
  * Parses the steps property into an array of Step objects.
11706
11601
  */
11707
11602
  get parsedSteps() {
11708
- return b(this.steps);
11603
+ return x(this.steps);
11709
11604
  }
11710
11605
  render() {
11711
11606
  const n = this.parsedSteps;
@@ -11715,7 +11610,7 @@ const Hn = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
11715
11610
  )));
11716
11611
  }
11717
11612
  get el() {
11718
- return c(this);
11613
+ return g(this);
11719
11614
  }
11720
11615
  static get watchers() {
11721
11616
  return {
@@ -11723,10 +11618,10 @@ const Hn = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
11723
11618
  };
11724
11619
  }
11725
11620
  };
11726
- $n.style = Tn;
11727
- const Dn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}", Mn = Dn, Bn = class {
11621
+ jn.style = An;
11622
+ const Pn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}", Wn = Pn, _n = class {
11728
11623
  constructor(n) {
11729
- s(this, n), this.rowaction = h(this, "rowaction", 7), this.handleResize = () => {
11624
+ d(this, n), this.rowaction = h(this, "rowaction", 7), this.handleResize = () => {
11730
11625
  this.updateContainerWidth();
11731
11626
  }, this.data = null, this.endpoint = null, this.config = {}, this.rowsPerPage = 10, this.paginationEnabled = !0, this.searchEnabled = !1, this.hostWidth = void 0, this.columnSize = "default", this.actions = [], this.actionTemplate = void 0, this.parsedActions = [], this.dataColumns = [], this.tbData = [], this.columns = [], this.currentPage = 1, this.parsedConfig = {}, this.totalRows = 0, this.searchQuery = "", this.containerWidth = 0;
11732
11627
  }
@@ -11760,7 +11655,7 @@ const Dn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
11760
11655
  }
11761
11656
  parseData() {
11762
11657
  try {
11763
- this.tbData = b(this.data), this.totalRows = this.tbData.length, this.updateColumns(), this.currentPage = 1;
11658
+ this.tbData = x(this.data), this.totalRows = this.tbData.length, this.updateColumns(), this.currentPage = 1;
11764
11659
  } catch (n) {
11765
11660
  console.error("Failed to parse data:", n), this.tbData = [];
11766
11661
  }
@@ -11818,12 +11713,12 @@ const Dn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
11818
11713
  */
11819
11714
  renderSingleActionCell(n, e) {
11820
11715
  var r;
11821
- const t = this.parsedActions.find((a) => a.name === n);
11716
+ const t = this.parsedActions.find((o) => o.name === n);
11822
11717
  if (this.actionTemplate)
11823
11718
  return this.actionTemplate(e);
11824
11719
  if ((t.type || "button") === "checkbox") {
11825
- const a = (r = t.field) !== null && r !== void 0 ? r : t.name, o = !!e[a];
11826
- return i("eds-input-field", { name: `chc-${n}`, label: t.label, type: "checkbox", checked: o, onChange: (d) => this.emitAction(t.name, e, d.target.checked) });
11720
+ const o = (r = t.field) !== null && r !== void 0 ? r : t.name, a = !!e[o];
11721
+ return i("eds-input-field", { name: `chc-${n}`, label: t.label, type: "checkbox", checked: a, onChange: (s) => this.emitAction(t.name, e, s.target.checked) });
11827
11722
  }
11828
11723
  return i("eds-link", { label: t.label, intent: "weak", onClick: () => this.emitAction(t.name, e) });
11829
11724
  }
@@ -11858,16 +11753,16 @@ const Dn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
11858
11753
  }
11859
11754
  render() {
11860
11755
  const n = this.hostWidth && this.hostWidth.trim() !== "" ? Number(this.hostWidth) : this.containerWidth || 400, e = this.getVisibleColumnsCount(), r = e > 0 ? Math.floor(n / e * this.divisionFactor()) : 100, t = this.getPaginatedRows(), l = Math.ceil(this.totalRows / this.rowsPerPage);
11861
- return i("div", { key: "5034177431626ab2bfc5fd0118c006d11a4f6e96" }, this.searchEnabled && i("div", { key: "86e1a6ffc4bed69f290b3a53031341ab276eaf04" }, i("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (a) => this.handleSearch(a) })), i("div", { key: "bc11838d819ecf89c5ba1cc1cfe7ac0af0e82b59", class: "mt-20" }, i("table", { key: "97f16b65eb1d9387e9ca7588184c9e68c1afcc2e", class: "block overflow-x-auto mt-6 p-0" }, i("thead", { key: "f4d64ada28c225db1b224277513e663a99de1cec" }, i("tr", { key: "c6a69e159cceada0f7143c0acb787e5c23242ae7", class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((a) => {
11862
- var o;
11863
- return a === "actions" ? i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${r - 4}px` } }, "Actions") : !((o = this.parsedConfig[a]) === null || o === void 0) && o.hidden ? null : i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${r - 4}px` } }, this.capitalize(a));
11864
- }))), i("tbody", { key: "133af82fdd1f820e853734ab48123cb3db527e15" }, t.map((a) => i("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((o) => {
11865
- var d;
11866
- return o === "actions" ? i("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${r - 4}px` } }, i("div", { style: { display: "flex", gap: "0.5rem", justifyContent: "center", flexWrap: "wrap" } }, this.parsedActions.map((g) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(g.name, a))))) : !((d = this.parsedConfig[o]) === null || d === void 0) && d.hidden ? null : i("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${r - 4}px` } }, this.renderCell(a[o], o));
11867
- })))))), this.shouldEnablePagination() && i("div", { key: "85032d06cd0ac5dae9b504d423fceba3cd074861", class: "mt-20" }, i("eds-pagination", { key: "8caf6f57960e222c04d45f57a5811cd7bd524f4c", currentPage: this.currentPage, lastPage: l, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })));
11756
+ return i("div", { key: "02339fab49389741529bd4333689e15c0409aecc" }, this.searchEnabled && i("div", { key: "a056734ff7bf25d8f561a185f8cf29742643c81d" }, i("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (o) => this.handleSearch(o) })), i("div", { key: "cbeb04c8d91034db5b7e6386e45c2dbc87d8f6ee", class: "mt-20" }, i("table", { key: "d707ffd979bc80da882ea38ce2d43cb5dee0702e", class: "block overflow-x-auto mt-6 p-0" }, i("thead", { key: "b4087412a0da69f0b3177785fb71ef2ce1d481a6" }, i("tr", { key: "eb4463081686841b3112cab121bf3aa4dcfffe31", class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((o) => {
11757
+ var a;
11758
+ return o === "actions" ? i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${r - 4}px` } }) : !((a = this.parsedConfig[o]) === null || a === void 0) && a.hidden ? null : i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${r - 4}px` } }, this.capitalize(o));
11759
+ }))), i("tbody", { key: "3c0de8287738ff638a46721ee4e0e07bceffed8f" }, t.map((o) => i("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((a) => {
11760
+ var s;
11761
+ return a === "actions" ? i("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${r - 4}px` } }, i("div", { style: { display: "flex", gap: "0.5rem", justifyContent: "center", flexWrap: "wrap" } }, this.parsedActions.map((c) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(c.name, o))))) : !((s = this.parsedConfig[a]) === null || s === void 0) && s.hidden ? null : i("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${r - 4}px` } }, this.renderCell(o[a], a));
11762
+ })))))), this.shouldEnablePagination() && i("div", { key: "27c640dfdd0906abeb7ec77dfb7fb1d052d50093", class: "mt-20" }, i("eds-pagination", { key: "0a74448e3f59098808d8ba1696b891c4ea9a37bc", currentPage: this.currentPage, lastPage: l, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })));
11868
11763
  }
11869
11764
  get hostEl() {
11870
- return c(this);
11765
+ return g(this);
11871
11766
  }
11872
11767
  static get watchers() {
11873
11768
  return {
@@ -11877,10 +11772,10 @@ const Dn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
11877
11772
  };
11878
11773
  }
11879
11774
  };
11880
- Bn.style = Mn;
11881
- const qn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(147 197 253 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;}::before,::after{--tw-content:''}a{color:inherit;text-decoration:inherit}.relative{position:relative}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.whitespace-nowrap{white-space:nowrap}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.focus-visible\\:text-default:focus-visible{color:var(--black)}.hover\\:text-default:hover{color:var(--black)}.border-2{border-width:2px}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.after\\:bottom-0::after{bottom:0rem}.after\\:border-0::after{border-width:0px}.after\\:border-b-2::after{border-bottom-width:2px}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:rounded-lg::after{border-radius:16px}.after\\:border-solid::after{border-style:solid}.after\\:border-3::after{border-width:3px}.after\\:border-accent::after{border-color:var(--green-500)}.after\\:opacity-0::after{opacity:0}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:after\\:opacity-100:focus-visible::after{opacity:1}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.rounded-tl-lg{border-top-left-radius:16px}.rounded-tr-lg{border-top-right-radius:16px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.pr-28{padding-right:1.75rem}.pl-28{padding-left:1.75rem}.-mr-16{margin-right:-1rem}.-ml-16{margin-left:-1rem}.px-16{padding-left:1rem;padding-right:1rem}.py-12{padding-top:0.75rem;padding-bottom:0.75rem}.after\\:left-16::after{left:1rem}.after\\:right-16::after{right:1rem}.text-lighter{color:var(--grey-600)}.bg-dark{background-color:var(--grey-300)}.hover\\:bg-darker:hover{background-color:var(--grey-400)}.border-soft{border-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.bg-default{background-color:var(--grey-200)}.text-default{color:var(--black)}.z-99{z-index:99}.before\\:bottom-0::before{bottom:0rem}.before\\:h-12::before{height:0.75rem}.before\\:opacity-5::before{opacity:0.05}.before\\:content-\\[\\'\\'\\]::before{--tw-content:'';content:var(--tw-content)}.before\\:absolute::before{position:absolute}.before\\:-bottom-2::before{bottom:-0.125rem}.after\\:inset-x-0::after{left:0rem;right:0rem}.before\\:inset-x-0::before{left:0rem;right:0rem}.before\\:h-3::before{height:0.1875rem}.before\\:bg-default::before{background-color:var(--grey-200)}.after\\:border-softest::after{border-color:rgba(0, 0, 0, .05)}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.before\\:bg-gradient-y::before{background:linear-gradient(to bottom, transparent, ease-in-out, black)}.scroller-x{-ms-overflow-style:none;scrollbar-width:none}.overflow-x-auto{overflow-x:auto}.max-w-xxxl{max-width:2200px}.z-1{z-index:1}.mx-auto{margin-left:auto;margin-right:auto}.pt-8{padding-top:0.5rem}.pr-16{padding-right:1rem}.pl-16{padding-left:1rem}.inline-flex{display:inline-flex}@media (min-width: 900px){.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}}@media (min-width: 2200px){.xxxl\\:px-0{padding-left:0rem;padding-right:0rem}}", Nn = qn, Rn = class {
11775
+ _n.style = Wn;
11776
+ const Tn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(147 197 253 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;}::before,::after{--tw-content:''}a{color:inherit;text-decoration:inherit}.relative{position:relative}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.whitespace-nowrap{white-space:nowrap}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.focus-visible\\:text-default:focus-visible{color:var(--black)}.hover\\:text-default:hover{color:var(--black)}.border-2{border-width:2px}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.after\\:bottom-0::after{bottom:0rem}.after\\:border-0::after{border-width:0px}.after\\:border-b-2::after{border-bottom-width:2px}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:rounded-lg::after{border-radius:16px}.after\\:border-solid::after{border-style:solid}.after\\:border-3::after{border-width:3px}.after\\:border-accent::after{border-color:var(--green-500)}.after\\:opacity-0::after{opacity:0}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:after\\:opacity-100:focus-visible::after{opacity:1}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.rounded-tl-lg{border-top-left-radius:16px}.rounded-tr-lg{border-top-right-radius:16px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.pr-28{padding-right:1.75rem}.pl-28{padding-left:1.75rem}.-mr-16{margin-right:-1rem}.-ml-16{margin-left:-1rem}.px-16{padding-left:1rem;padding-right:1rem}.py-12{padding-top:0.75rem;padding-bottom:0.75rem}.after\\:left-16::after{left:1rem}.after\\:right-16::after{right:1rem}.text-lighter{color:var(--grey-600)}.bg-dark{background-color:var(--grey-300)}.hover\\:bg-darker:hover{background-color:var(--grey-400)}.border-soft{border-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.bg-default{background-color:var(--grey-200)}.text-default{color:var(--black)}.z-99{z-index:99}.before\\:bottom-0::before{bottom:0rem}.before\\:h-12::before{height:0.75rem}.before\\:opacity-5::before{opacity:0.05}.before\\:content-\\[\\'\\'\\]::before{--tw-content:'';content:var(--tw-content)}.before\\:absolute::before{position:absolute}.before\\:-bottom-2::before{bottom:-0.125rem}.after\\:inset-x-0::after{left:0rem;right:0rem}.before\\:inset-x-0::before{left:0rem;right:0rem}.before\\:h-3::before{height:0.1875rem}.before\\:bg-default::before{background-color:var(--grey-200)}.after\\:border-softest::after{border-color:rgba(0, 0, 0, .05)}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.before\\:bg-gradient-y::before{background:linear-gradient(to bottom, transparent, ease-in-out, black)}.scroller-x{-ms-overflow-style:none;scrollbar-width:none}.overflow-x-auto{overflow-x:auto}.max-w-xxxl{max-width:2200px}.z-1{z-index:1}.mx-auto{margin-left:auto;margin-right:auto}.pt-8{padding-top:0.5rem}.pr-16{padding-right:1rem}.pl-16{padding-left:1rem}.inline-flex{display:inline-flex}@media (min-width: 900px){.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}}@media (min-width: 2200px){.xxxl\\:px-0{padding-left:0rem;padding-right:0rem}}", On = Tn, $n = class {
11882
11777
  constructor(n) {
11883
- s(this, n), this.tab = h(this, "tab", 7), this.tabCva = m([
11778
+ d(this, n), this.tab = h(this, "tab", 7), this.tabCva = m([
11884
11779
  "relative py-12",
11885
11780
  "f-ui-03 whitespace-nowrap",
11886
11781
  "effect-color",
@@ -11924,7 +11819,7 @@ const qn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
11924
11819
  * @returns {any[]} Array of parsed link objects
11925
11820
  */
11926
11821
  parseTabs() {
11927
- this.parsedTabs = b(this.tabs);
11822
+ this.parsedTabs = x(this.tabs);
11928
11823
  }
11929
11824
  componentDidLoad() {
11930
11825
  this.scrollToActiveTab();
@@ -11960,13 +11855,13 @@ const qn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
11960
11855
  });
11961
11856
  }
11962
11857
  render() {
11963
- return i("div", { key: "dd41d2d7ccbe03e08d3c20a2e9a370e69dfd1459", id: `${this.identifier}` }, i("div", { key: "14c95711c8e7df2b7f6f0557ce233bc1a68ad31b", class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, i("nav", { key: "3ed1c5cc5d0aa1e7cb4bebe337885c7e5687aa68", ref: (n) => this.tabContainer = n, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((n, e) => {
11858
+ return i("div", { key: "ef6902f4dafc40f290f8b63627f4534d665aa01d", id: `${this.identifier}` }, i("div", { key: "a120ea68061894c2d9e2e3f0b8e61f53732c8753", class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, i("nav", { key: "fb2bb608addcc777a55be828367e92268c676e16", ref: (n) => this.tabContainer = n, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((n, e) => {
11964
11859
  const r = n.active ? "span" : "a", t = this.getTabOptions(n.active, e);
11965
11860
  return i(r, Object.assign({}, t, { "aria-label": n.label, "aria-current": e === this.activeIndex, onClick: () => this.handleTabClick(e, n.label) }), n.label || n.ariaLabel);
11966
- }))), i("div", { key: "63399c53b2e5d642676d7f884bdecec0f8c515de", class: "tab-panels" }, this.parsedTabs.map((n, e) => i("div", { hidden: e !== this.activeIndex }, i("slot", { name: `panel-${e}` })))));
11861
+ }))), i("div", { key: "82d6a43a9c326b6be73c81205201b18f148641ad", class: "tab-panels" }, this.parsedTabs.map((n, e) => i("div", { hidden: e !== this.activeIndex }, i("slot", { name: `panel-${e}` })))));
11967
11862
  }
11968
11863
  get el() {
11969
- return c(this);
11864
+ return g(this);
11970
11865
  }
11971
11866
  static get watchers() {
11972
11867
  return {
@@ -11974,8 +11869,8 @@ const qn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
11974
11869
  };
11975
11870
  }
11976
11871
  };
11977
- Rn.style = Nn;
11978
- const Vn = ".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-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.py-3{padding-top:0.1875rem;padding-bottom:0.1875rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.px-5{padding-left:0.3125rem;padding-right:0.3125rem}.px-6{padding-left:0.375rem;padding-right:0.375rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-accent{background-color:var(--green-500)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}", Un = Vn, Yn = m(
11872
+ $n.style = On;
11873
+ const Hn = ".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-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.py-3{padding-top:0.1875rem;padding-bottom:0.1875rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.px-5{padding-left:0.3125rem;padding-right:0.3125rem}.px-6{padding-left:0.375rem;padding-right:0.375rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-accent{background-color:var(--green-500)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}", Dn = Hn, qn = m(
11979
11874
  ["border-2 rounded-pill"],
11980
11875
  // Base classes
11981
11876
  {
@@ -12003,19 +11898,75 @@ const Vn = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-u
12003
11898
  size: "small"
12004
11899
  }
12005
11900
  }
12006
- ), Xn = class {
11901
+ ), Rn = class {
11902
+ constructor(n) {
11903
+ d(this, n), this.label = void 0, this.intent = "default", this.size = "small";
11904
+ }
11905
+ render() {
11906
+ const n = qn({ intent: this.intent, size: this.size });
11907
+ return i("span", { key: "153cb5a6ab669555dd8e5815413dc0d1be5bee6d", class: n }, this.label);
11908
+ }
11909
+ };
11910
+ Rn.style = Dn;
11911
+ const Bn = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.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)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),
11912
+ 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),
11913
+ var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-300)}.bg-success{background-color:var(--green-200)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-700)}.text-current{color:currentColor}.text-default{color:var(--black)}`, Nn = Bn, Mn = m(["relative bottom-4 w-auto p-12 rounded-lg shadow-md"], {
11914
+ variants: {
11915
+ intent: {
11916
+ default: "bg-dark text-light",
11917
+ success: "bg-success text-dark",
11918
+ error: "bg-error text-light",
11919
+ warning: "bg-warning text-dark"
11920
+ }
11921
+ },
11922
+ defaultVariants: {
11923
+ intent: "default"
11924
+ }
11925
+ }), Vn = class {
12007
11926
  constructor(n) {
12008
- s(this, n), this.label = void 0, this.intent = "default", this.size = "small";
11927
+ d(this, n), this.toast = h(this, "toast", 7), this.dismissToast = () => {
11928
+ this.toast.emit({ visible: !1, label: "dismissed" }), this.visible = !1;
11929
+ }, this.message = void 0, this.intent = "default", this.duration = void 0, this.visible = !0;
11930
+ }
11931
+ componentDidLoad() {
11932
+ const n = this.el.shadowRoot.querySelector("eds-button");
11933
+ this.emitContext(n);
11934
+ }
11935
+ /**
11936
+ * Emits a custom event called `parentContext` for a given button element.
11937
+ * This event provides context information about the toast component.
11938
+ *
11939
+ * @param btnElement - The link element to which the event will be dispatched.
11940
+ */
11941
+ emitContext(n) {
11942
+ const e = new CustomEvent("parentContext", {
11943
+ detail: {
11944
+ componentName: this.el.tagName.toLowerCase(),
11945
+ identifier: null
11946
+ }
11947
+ });
11948
+ n.dispatchEvent(e);
11949
+ }
11950
+ connectedCallback() {
11951
+ this.duration && this.duration > 0 && (this.dismissTimeout = setTimeout(this.dismissToast, this.duration));
11952
+ }
11953
+ disconnectedCallback() {
11954
+ clearTimeout(this.dismissTimeout);
12009
11955
  }
12010
11956
  render() {
12011
- const n = Yn({ intent: this.intent, size: this.size });
12012
- return i("span", { key: "a0d8788511615d0099fd764501449476126d343f", class: n }, this.label);
11957
+ if (!this.visible)
11958
+ return null;
11959
+ const n = Mn({ intent: this.intent });
11960
+ return i("div", { class: n, role: "alert", "aria-live": "assertive" }, i("div", { class: "flex items-center justify-between gap-4" }, i("span", { class: "f-ui-01" }, this.message), i("eds-button", { intent: "tertiary", icon: "close", "aria-label": "Close Toast", onClick: () => this.dismissToast(), "extra-class": "ml-8" })));
11961
+ }
11962
+ get el() {
11963
+ return g(this);
12013
11964
  }
12014
11965
  };
12015
- Xn.style = Un;
12016
- const Gn = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.text-default{color:var(--black)}.min-w-\\[280px\\]{min-width:280px}.p-8{padding:0.5rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.gap-y-8{row-gap:0.5rem}.pb-16{padding-bottom:1rem}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1 )}.max-w-full{max-width:100%}.w-full{width:100%}.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-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mt-16{margin-top:1rem}", Jn = Gn, Qn = class {
11966
+ Vn.style = Nn;
11967
+ const Un = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.text-default{color:var(--black)}.min-w-\\[280px\\]{min-width:280px}.p-8{padding:0.5rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.gap-y-8{row-gap:0.5rem}.pb-16{padding-bottom:1rem}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1 )}.max-w-full{max-width:100%}.w-full{width:100%}.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-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mt-16{margin-top:1rem}", Yn = Un, Xn = class {
12017
11968
  constructor(n) {
12018
- s(this, n), this.user = void 0;
11969
+ d(this, n), this.user = void 0;
12019
11970
  }
12020
11971
  /**
12021
11972
  * Helper getter to ensure we work with a User object.
@@ -12038,40 +11989,38 @@ const Gn = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex
12038
11989
  }
12039
11990
  render() {
12040
11991
  const n = this.parsedUser;
12041
- return i("div", { key: "b30b0a30a94c6bd9046b234cd793da80c1b16de8", class: "block" }, i("div", { key: "9ecea595c3d900aeda7c75a6aa5ae84999d775e1", class: "flex items-center" }, i("eds-dropdown", { key: "6a4c4751aaeaa6426ee4c89305b5c419ee912ced", label: `Hi, ${n.preferred_username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, i("div", { key: "8e695af42fd229ca71e5d8f6fe367ed5ecc4184b", class: "min-w-[280px] p-8" }, i("div", { key: "d28e78ace074d7513a002297558219afae079646", class: "flex gap-x-16" }, i("eds-avatar", { key: "e9895e380ece01d116c14dbf0424061b1a039261", "first-name": n.given_name, "last-name": n.family_name, initials: this.initials, color: "grey" }), i("div", { key: "1597248135606e3300546b3278114cd8cc36d4b5", class: "max-w-full" }, n.name && i("p", { key: "fa04e93e50f3cf6d1e3d49dafc02d0dd5233a9f4", class: "f-ui-01 text-default w-full text-ellipsis" }, n.name), n.preferred_username && i("p", { key: "1203bf8078cb1c2a4d31effbe96e7aefd9222eb2", class: "f-ui-03-light text-light mt-4" }, n.preferred_username), n.email && i("p", { key: "6fcd932e87eb6e086daf61d2d8d16e6f8f27f12a", class: "f-ui-03-light text-light mt-4" }, n.email))), i("eds-block-break", { key: "5811252802eecc3f5c001705c8e8fb94fb33e1bb" }), i("div", { key: "d28913e74e9924f51e9b1e92a0f42691c733c438", class: "text-default flex w-full flex-col gap-y-8" }, i("slot", { key: "bb003f9bff1042b2778a7a924dc87c7baf1a9fb7" }))))));
11992
+ return i("div", { key: "e1413d070d6f5ce0a5f7a45e8eed7a27941bda10", class: "block" }, i("div", { key: "f59cf79c2f09069d9e5bbae2bc126a0e3ef23564", class: "flex items-center" }, i("eds-dropdown", { key: "7316554277baffb16b6a2cc0ab0b4606a46ccfc8", label: `Hi, ${n.preferred_username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, i("div", { key: "df80f62cd5c6e0876fcc20c54dbd25d6db031ce0", class: "min-w-[280px] p-8" }, i("div", { key: "34f0bd24c4c8ec55d5e99f77d0378bc14fb6943f", class: "flex gap-x-16" }, i("eds-avatar", { key: "73e45e3d20d02711af982a7a801cb7d6e18e201e", "first-name": n.given_name, "last-name": n.family_name, initials: this.initials, color: "grey" }), i("div", { key: "1070df12372893476cc5ed2909ac735d0655cdb7", class: "max-w-full" }, n.name && i("p", { key: "4d6ca560545810da42d6acd5780c354565dc0d2d", class: "f-ui-01 text-default w-full text-ellipsis" }, n.name), n.preferred_username && i("p", { key: "f7e618449d15fc899484afda94e7837408f0b251", class: "f-ui-03-light text-light mt-4" }, n.preferred_username), n.email && i("p", { key: "e6ca46f9863cea6d6bfa7021ead181509a5806f0", class: "f-ui-03-light text-light mt-4" }, n.email))), i("eds-block-break", { key: "76c0ba26ef63e046b7a01e12332b812ad5873776" }), i("div", { key: "448e592221de4406477bb0eb6bc84975699008f3", class: "text-default flex w-full flex-col gap-y-8" }, i("slot", { key: "47e2d49bef131c827f49d3eaf68f6a09ba948707" }))))));
12042
11993
  }
12043
11994
  get hostEl() {
12044
- return c(this);
11995
+ return g(this);
12045
11996
  }
12046
11997
  };
12047
- Qn.style = Jn;
11998
+ Xn.style = Yn;
12048
11999
  export {
12049
- A as eds_avatar,
12000
+ W as eds_avatar,
12050
12001
  O as eds_block_break,
12051
- $ as eds_button,
12002
+ D as eds_button,
12052
12003
  B as eds_dropdown,
12053
- R as eds_footer,
12054
- Q as eds_form,
12055
- nn as eds_fullscreen_menu,
12056
- tn as eds_header,
12057
- te as eds_icon_wrapper,
12058
- an as eds_img,
12059
- le as eds_input,
12060
- cn as eds_input_field,
12061
- fn as eds_input_footer,
12062
- mn as eds_input_label,
12063
- oe as eds_input_range,
12064
- ae as eds_input_search,
12065
- se as eds_input_select,
12066
- vn as eds_link,
12067
- zn as eds_logo,
12068
- En as eds_modal,
12069
- In as eds_pagination,
12070
- An as eds_social_networks,
12071
- On as eds_steps,
12072
- $n as eds_steps_v2,
12073
- Bn as eds_table,
12074
- Rn as eds_tabs,
12075
- Xn as eds_tag,
12076
- Qn as eds_user
12004
+ J as eds_form,
12005
+ Z as eds_header,
12006
+ ee as eds_icon_wrapper,
12007
+ rn as eds_img,
12008
+ ie as eds_input,
12009
+ on as eds_input_field,
12010
+ dn as eds_input_footer,
12011
+ hn as eds_input_label,
12012
+ re as eds_input_range,
12013
+ te as eds_input_search,
12014
+ le as eds_input_select,
12015
+ mn as eds_link,
12016
+ yn as eds_logo,
12017
+ kn as eds_pagination,
12018
+ Sn as eds_rating,
12019
+ Ln as eds_steps,
12020
+ jn as eds_steps_v2,
12021
+ _n as eds_table,
12022
+ $n as eds_tabs,
12023
+ Rn as eds_tag,
12024
+ Vn as eds_toast,
12025
+ Xn as eds_user
12077
12026
  };