@ebrains/components 0.2.0-alpha.0 → 0.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
  2. package/dist/cjs/components.cjs.js +1 -1
  3. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  4. package/dist/cjs/eds-alert.cjs.entry.js +96 -0
  5. package/dist/cjs/eds-avatar_17.cjs.entry.js +1454 -0
  6. package/dist/cjs/eds-card-desc_3.cjs.entry.js +117 -0
  7. package/dist/cjs/eds-card-generic.cjs.entry.js +105 -0
  8. package/dist/cjs/eds-card-section.cjs.entry.js +17 -6
  9. package/dist/cjs/eds-components-section.cjs.entry.js +44 -24
  10. package/dist/cjs/eds-docs-palettes.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-docs-tokens.cjs.entry.js +1 -1
  12. package/dist/cjs/eds-form.cjs.entry.js +322 -0
  13. package/dist/cjs/eds-input_7.cjs.entry.js +316 -0
  14. package/dist/cjs/eds-login.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-logo-variations.cjs.entry.js +27 -0
  16. package/dist/cjs/{eds-pagination.cjs.entry.js → eds-pagination_2.cjs.entry.js} +157 -0
  17. package/dist/cjs/eds-progress-bar.cjs.entry.js +29 -0
  18. package/dist/cjs/eds-svg-repository.cjs.entry.js +7 -1
  19. package/dist/cjs/eds-tabs-content.cjs.entry.js +2 -2
  20. package/dist/cjs/eds-tabs.cjs.entry.js +26 -5
  21. package/dist/cjs/eds-timeline.cjs.entry.js +76 -0
  22. package/dist/cjs/eds-trl.cjs.entry.js +52 -0
  23. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  24. package/dist/cjs/index-f08e4f5c.js +38 -30
  25. package/dist/cjs/loader.cjs.js +1 -1
  26. package/dist/cjs/logo-space.cjs.entry.js +1 -1
  27. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +36 -0
  28. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  29. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  30. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  31. package/dist/cjs/token-spacing.cjs.entry.js +1 -1
  32. package/dist/cjs/token-typography.cjs.entry.js +1 -1
  33. package/dist/collection/collection-manifest.json +1 -0
  34. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +13 -12
  35. package/dist/collection/components/eds-button/eds-button.js +3 -3
  36. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +140 -15
  37. package/dist/collection/components/eds-table/eds-table.css +4 -0
  38. package/dist/collection/components/eds-table/eds-table.js +69 -11
  39. package/dist/collection/components/eds-table/eds-table.stories.js +14 -93
  40. package/dist/collection/components/eds-timeline/eds-timeline.js +26 -16
  41. package/dist/collection/components/eds-trl/eds-trl.js +30 -22
  42. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  43. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  44. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  45. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  46. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  47. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  48. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  49. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -5
  50. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  51. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  52. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  53. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  54. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  55. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  56. package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +3 -6
  57. package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
  58. package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
  59. package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +44 -0
  60. package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +7 -1
  61. package/dist/collection/eds-docs-ui/functional/angular.js +1 -1
  62. package/dist/collection/eds-docs-ui/functional/installation.js +1 -1
  63. package/dist/collection/eds-docs-ui/functional/overview.js +1 -1
  64. package/dist/collection/eds-docs-ui/functional/react.js +1 -1
  65. package/dist/collection/eds-docs-ui/functional/vue.js +1 -1
  66. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  67. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +21 -1
  68. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +2 -54
  69. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +4 -13
  70. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +4 -0
  71. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  72. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +19 -8
  73. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +40 -7
  74. package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
  75. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +4 -3
  76. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +77 -0
  77. package/dist/collection/shared-ui/eds-header/eds-header.js +9 -5
  78. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +16 -10
  79. package/dist/collection/shared-ui/eds-login/eds-login.js +3 -2
  80. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +4 -4
  81. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +21 -0
  82. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +29 -8
  83. package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +22 -4
  84. package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +2 -2
  85. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +48 -34
  86. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  87. package/dist/collection/shared-ui/eds-user/eds-user.js +12 -6
  88. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +1 -11
  89. package/dist/components/components.css +17 -10
  90. package/dist/components/components.esm.js +1 -1
  91. package/dist/components/correct-use-of-colors.js +1 -1
  92. package/dist/components/eds-breadcrumb.js +13 -12
  93. package/dist/components/eds-button2.js +1 -1
  94. package/dist/components/eds-card-section.js +17 -6
  95. package/dist/components/eds-components-section.js +44 -24
  96. package/dist/components/eds-docs-palettes.js +1 -1
  97. package/dist/components/eds-docs-tokens.js +1 -1
  98. package/dist/components/eds-footer2.js +1 -1
  99. package/dist/components/eds-header.js +6 -2
  100. package/dist/components/eds-input-select2.js +70 -2
  101. package/dist/components/eds-login.js +3 -2
  102. package/dist/components/eds-logo-variations.d.ts +11 -0
  103. package/dist/components/eds-logo-variations.js +60 -0
  104. package/dist/components/eds-social-networks.js +2 -2
  105. package/dist/components/eds-social-networks2.js +6 -6
  106. package/dist/components/eds-svg-repository.js +7 -1
  107. package/dist/components/eds-table2.js +36 -14
  108. package/dist/components/eds-tabs-content.js +2 -2
  109. package/dist/components/eds-tabs.js +26 -5
  110. package/dist/components/eds-timeline.js +23 -10
  111. package/dist/components/eds-toast-manager.js +1 -1
  112. package/dist/components/eds-trl.js +95 -15
  113. package/dist/components/eds-user-modal2.js +1 -5
  114. package/dist/components/eds-user2.js +12 -6
  115. package/dist/components/incorrect-use-of-colors.js +20 -2
  116. package/dist/components/logo-space.js +1 -1
  117. package/dist/components/logo-variations-horizontal.js +2 -50
  118. package/dist/components/logo-variations-horizontal2.js +37 -0
  119. package/dist/components/logo-variations-vertical.js +2 -50
  120. package/dist/components/logo-variations-vertical2.js +42 -0
  121. package/dist/components/logo-wrong-usage.js +2 -2
  122. package/dist/components/p-005de86f.entry.js +1 -0
  123. package/dist/components/{p-5eb32f03.entry.js → p-0910d733.entry.js} +1 -1
  124. package/dist/components/{p-c9c3cc49.entry.js → p-22e6d7d5.entry.js} +1 -1
  125. package/dist/components/p-2851ff44.entry.js +1 -0
  126. package/dist/components/p-29648b47.entry.js +1 -0
  127. package/dist/components/{p-9722811d.entry.js → p-2e8459ef.entry.js} +1 -1
  128. package/dist/components/p-3617841d.entry.js +1 -0
  129. package/dist/components/p-3ff76976.entry.js +1 -0
  130. package/dist/components/{p-bb60412b.entry.js → p-435a14c1.entry.js} +1 -1
  131. package/dist/components/p-52ac3456.entry.js +1 -0
  132. package/dist/components/p-57c964c5.entry.js +1 -0
  133. package/dist/components/p-5a43503a.entry.js +1 -0
  134. package/dist/components/p-5afb626c.entry.js +1 -0
  135. package/dist/components/p-5d7af761.entry.js +1 -0
  136. package/dist/components/p-6378fb3e.entry.js +1 -0
  137. package/dist/components/p-7215789a.entry.js +1 -0
  138. package/dist/components/p-762c8c83.entry.js +1 -0
  139. package/dist/components/p-7802e966.entry.js +1 -0
  140. package/dist/components/p-84957b6d.entry.js +1 -0
  141. package/dist/components/{p-1bcfbaf1.entry.js → p-87830085.entry.js} +1 -1
  142. package/dist/components/p-ac0112d5.entry.js +1 -0
  143. package/dist/components/p-acb16e1c.entry.js +1 -0
  144. package/dist/components/p-ae5dbd41.entry.js +1 -0
  145. package/dist/components/p-be6c80da.entry.js +1 -0
  146. package/dist/components/p-d1f6a722.entry.js +1 -0
  147. package/dist/components/p-d53b7a75.entry.js +1 -0
  148. package/dist/components/{p-b717f95a.entry.js → p-d571d530.entry.js} +1 -1
  149. package/dist/components/p-d7a92efb.entry.js +1 -0
  150. package/dist/components/p-fd27e56c.entry.js +1 -0
  151. package/dist/components/primary.js +1 -1
  152. package/dist/components/primary2.js +1 -1
  153. package/dist/components/secondary.js +1 -1
  154. package/dist/components/secondary2.js +7 -7
  155. package/dist/components/support.js +1 -1
  156. package/dist/components/support2.js +3 -3
  157. package/dist/components/token-list2.js +1 -1
  158. package/dist/components/token-radii2.js +1 -1
  159. package/dist/components/token-ratios.js +1 -1
  160. package/dist/components/token-shadows2.js +1 -1
  161. package/dist/components/token-spacing.js +1 -1
  162. package/dist/components/token-typography.js +1 -1
  163. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  164. package/dist/esm/components.js +1 -1
  165. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  166. package/dist/esm/eds-alert.entry.js +92 -0
  167. package/dist/esm/eds-avatar_17.entry.js +1434 -0
  168. package/dist/esm/eds-card-desc_3.entry.js +111 -0
  169. package/dist/esm/eds-card-generic.entry.js +101 -0
  170. package/dist/esm/eds-card-section.entry.js +17 -6
  171. package/dist/esm/eds-components-section.entry.js +44 -24
  172. package/dist/esm/eds-docs-palettes.entry.js +1 -1
  173. package/dist/esm/eds-docs-tokens.entry.js +1 -1
  174. package/dist/esm/eds-form.entry.js +318 -0
  175. package/dist/esm/eds-input_7.entry.js +306 -0
  176. package/dist/esm/eds-login.entry.js +1 -1
  177. package/dist/esm/eds-logo-variations.entry.js +23 -0
  178. package/dist/esm/{eds-pagination.entry.js → eds-pagination_2.entry.js} +157 -1
  179. package/dist/esm/eds-progress-bar.entry.js +25 -0
  180. package/dist/esm/eds-svg-repository.entry.js +8 -2
  181. package/dist/esm/eds-tabs-content.entry.js +2 -2
  182. package/dist/esm/eds-tabs.entry.js +26 -5
  183. package/dist/esm/eds-timeline.entry.js +72 -0
  184. package/dist/esm/eds-trl.entry.js +48 -0
  185. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  186. package/dist/esm/index-e96badea.js +38 -30
  187. package/dist/esm/loader.js +1 -1
  188. package/dist/esm/logo-space.entry.js +1 -1
  189. package/dist/esm/logo-variations-horizontal_2.entry.js +31 -0
  190. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  191. package/dist/esm/token-list_3.entry.js +3 -3
  192. package/dist/esm/token-ratios.entry.js +1 -1
  193. package/dist/esm/token-spacing.entry.js +1 -1
  194. package/dist/esm/token-typography.entry.js +1 -1
  195. package/dist/hydrate/index.js +378 -178
  196. package/dist/hydrate/index.mjs +378 -178
  197. package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +1 -5
  198. package/dist/types/components/eds-button/eds-button.d.ts +2 -2
  199. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +106 -3
  200. package/dist/types/components/eds-table/eds-table.d.ts +9 -1
  201. package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -67
  202. package/dist/types/components/eds-timeline/eds-timeline.d.ts +9 -12
  203. package/dist/types/components/eds-trl/eds-trl.d.ts +4 -1
  204. package/dist/types/components.d.ts +217 -38
  205. package/dist/types/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.d.ts +0 -4
  206. package/dist/types/eds-docs-ui/eds-logo-variations/eds-logo-variations.d.ts +9 -0
  207. package/dist/types/eds-docs-ui/eds-svg-repository/eds-svg-repository.d.ts +2 -0
  208. package/dist/types/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.d.ts +1 -7
  209. package/dist/types/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.d.ts +1 -1
  210. package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +6 -1
  211. package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +20 -1
  212. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +8 -2
  213. package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +29 -0
  214. package/dist/types/shared-ui/eds-header/eds-header.d.ts +7 -1
  215. package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +9 -1
  216. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +1 -1
  217. package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +13 -0
  218. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +18 -1
  219. package/dist/types/shared-ui/eds-user/eds-user.d.ts +1 -2
  220. package/package.json +3 -3
  221. package/dist/cjs/eds-alert_28.cjs.entry.js +0 -2059
  222. package/dist/cjs/eds-block-break.cjs.entry.js +0 -21
  223. package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -153
  224. package/dist/cjs/eds-footer.cjs.entry.js +0 -50
  225. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -100
  226. package/dist/cjs/eds-social-networks.cjs.entry.js +0 -66
  227. package/dist/cjs/eds-table.cjs.entry.js +0 -143
  228. package/dist/cjs/logo-variations-horizontal.cjs.entry.js +0 -31
  229. package/dist/cjs/logo-variations-vertical.cjs.entry.js +0 -31
  230. package/dist/collection/components/eds-trl/eds-trl.css +0 -0
  231. package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.css +0 -0
  232. package/dist/components/p-04e47e04.entry.js +0 -1
  233. package/dist/components/p-0a3b2576.entry.js +0 -1
  234. package/dist/components/p-0c99ef81.entry.js +0 -1
  235. package/dist/components/p-272d249f.entry.js +0 -1
  236. package/dist/components/p-2d8508cd.entry.js +0 -1
  237. package/dist/components/p-3a2e8ef3.entry.js +0 -1
  238. package/dist/components/p-3afafa59.entry.js +0 -1
  239. package/dist/components/p-3b40559e.entry.js +0 -1
  240. package/dist/components/p-49958f77.entry.js +0 -1
  241. package/dist/components/p-551c0b58.entry.js +0 -1
  242. package/dist/components/p-559b6ec9.entry.js +0 -1
  243. package/dist/components/p-5ae9722b.entry.js +0 -1
  244. package/dist/components/p-9000b245.entry.js +0 -1
  245. package/dist/components/p-b14ef448.entry.js +0 -1
  246. package/dist/components/p-b203eb1b.entry.js +0 -1
  247. package/dist/components/p-b33941a0.entry.js +0 -1
  248. package/dist/components/p-bca40434.entry.js +0 -1
  249. package/dist/components/p-df93db96.entry.js +0 -1
  250. package/dist/components/p-ebed87b8.entry.js +0 -1
  251. package/dist/components/p-ff5de62c.entry.js +0 -1
  252. package/dist/components/p-ffec8755.entry.js +0 -1
  253. package/dist/esm/eds-alert_28.entry.js +0 -2028
  254. package/dist/esm/eds-block-break.entry.js +0 -17
  255. package/dist/esm/eds-breadcrumb.entry.js +0 -149
  256. package/dist/esm/eds-footer.entry.js +0 -46
  257. package/dist/esm/eds-fullscreen-menu.entry.js +0 -96
  258. package/dist/esm/eds-social-networks.entry.js +0 -62
  259. package/dist/esm/eds-table.entry.js +0 -139
  260. package/dist/esm/logo-variations-horizontal.entry.js +0 -27
  261. package/dist/esm/logo-variations-vertical.entry.js +0 -27
  262. /package/dist/collection/shared-ui/eds-social-networks/{eds-social-network.css → eds-social-networks.css} +0 -0
@@ -1,21 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-f08e4f5c.js');
6
-
7
- const edsBlockBreakCss = ".border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-softest{border-color:rgba(0, 0, 0, .05)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.w-full{width:100%}.border-t-2{border-top-width:2px}";
8
- const EdsBlockBreakStyle0 = edsBlockBreakCss;
9
-
10
- const EdsBlockBreak = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.extraClass = '';
14
- }
15
- render() {
16
- return index.h("hr", { key: '85b5253d4abb77072424452d2ff6a0d631e67652', class: `border-softer my-20 inline-block w-full border-t-2 ${this.extraClass}` });
17
- }
18
- };
19
- EdsBlockBreak.style = EdsBlockBreakStyle0;
20
-
21
- exports.eds_block_break = EdsBlockBreak;
@@ -1,153 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-f08e4f5c.js');
6
-
7
- const edsBreadcrumbCss = "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}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}";
8
- const EdsBreadcrumbStyle0 = edsBreadcrumbCss;
9
-
10
- const EdsBreadcrumb = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- /**
14
- * Updates the maximum number of visible items and tracks if the screen is small.
15
- */
16
- this.updateScreenSize = () => {
17
- const width = window.innerWidth;
18
- if (width < 769) {
19
- this.maxVisibleItems = 3;
20
- this.isSmallScreen = true;
21
- }
22
- else if (width <= 1024) {
23
- this.maxVisibleItems = 4;
24
- this.isSmallScreen = true;
25
- }
26
- else {
27
- this.maxVisibleItems = 6;
28
- this.isSmallScreen = false;
29
- }
30
- };
31
- this.items = [];
32
- this.intent = 'ghost';
33
- this.parsedItems = [];
34
- this.isSmallScreen = false;
35
- this.maxVisibleItems = 6;
36
- }
37
- /**
38
- * Watch for changes to the `items` prop and parse it when it changes.
39
- * Converts the `items` string into an array of objects if it is a JSON string.
40
- * If the format is invalid, it logs an error and sets an empty array.
41
- *
42
- * @param newValue - The new value for the `items` prop.
43
- */
44
- parseItems(newValue) {
45
- try {
46
- if (typeof newValue === 'string') {
47
- this.parsedItems = JSON.parse(newValue);
48
- }
49
- else {
50
- this.parsedItems = newValue;
51
- }
52
- }
53
- catch (e) {
54
- this.parsedItems = [];
55
- }
56
- }
57
- /**
58
- * Lifecycle method that runs when the component is about to be loaded.
59
- * It parses the initial `items` prop value.
60
- */
61
- componentWillLoad() {
62
- this.parseItems(this.items);
63
- this.updateScreenSize();
64
- window.addEventListener('resize', this.updateScreenSize);
65
- }
66
- disconnectedCallback() {
67
- window.removeEventListener('resize', this.updateScreenSize);
68
- }
69
- /**
70
- * Lifecycle method that runs when the component has fully loaded.
71
- * It emits a custom event for each `eds-link` element contained within the breadcrumb.
72
- */
73
- componentDidLoad() {
74
- // Emit context for each eds-link element after the component is fully loaded
75
- const links = this.el.shadowRoot.querySelectorAll('eds-link');
76
- links.forEach((link) => {
77
- this.emitContext(link);
78
- });
79
- }
80
- /**
81
- * Emits a custom event called `parentContext` for a given link element.
82
- * This event provides context information about the breadcrumb component.
83
- *
84
- * @param linkElement - The link element to which the event will be dispatched.
85
- */
86
- emitContext(linkElement) {
87
- const event = new CustomEvent('parentContext', {
88
- detail: {
89
- componentName: this.el.tagName.toLowerCase(),
90
- identifier: null
91
- }
92
- });
93
- linkElement.dispatchEvent(event);
94
- }
95
- /**
96
- * Truncates breadcrumb items based on the maxVisibleItems value.
97
- * Truncates `label` to 10 characters if `isSmallScreen` is true, except for the last label.
98
- */
99
- getTruncatedItems() {
100
- const totalItems = this.parsedItems.length;
101
- if (totalItems > this.maxVisibleItems) {
102
- const firstItem = this.parsedItems[0];
103
- const lastItems = this.parsedItems.slice(-2);
104
- const ellipsis = { label: '...', url: '', isHidden: true };
105
- if (this.maxVisibleItems === 3) {
106
- return [
107
- this.truncateLabel(firstItem),
108
- ellipsis,
109
- ...lastItems.map((item, index) => (index === lastItems.length - 1 ? item : this.truncateLabel(item)))
110
- ];
111
- }
112
- else if (this.maxVisibleItems === 4) {
113
- const middleItem = this.parsedItems[Math.floor(totalItems / 2)];
114
- return [
115
- this.truncateLabel(firstItem),
116
- this.truncateLabel(middleItem),
117
- ellipsis,
118
- ...lastItems.map((item, index) => (index === lastItems.length - 1 ? item : this.truncateLabel(item)))
119
- ];
120
- }
121
- }
122
- return this.parsedItems.map((item, index) => index === this.parsedItems.length - 1 ? item : this.truncateLabel(item));
123
- }
124
- /**
125
- * Truncates the label of a breadcrumb item to a maximum of 10 characters
126
- * if the screen is small.
127
- */
128
- truncateLabel(item) {
129
- if (item.label.length > 15) {
130
- return Object.assign(Object.assign({}, item), { label: `${item.label.slice(0, 15)}...` });
131
- }
132
- return item;
133
- }
134
- /**
135
- * Render method for the breadcrumb component.
136
- * It creates a navigation element with an ordered list of breadcrumb links.
137
- * The last link is disabled and marked as the current page.
138
- */
139
- render() {
140
- const itemsToRender = this.getTruncatedItems();
141
- return (index.h("nav", { key: 'b3f515670374a7451981638d658f8e37f07ab10c', "aria-label": "Breadcrumb" }, index.h("ol", { key: '999b2035f3c996016e753be3826881a11054e184', class: "flex items-center space-x-2" }, itemsToRender.map((item, index$1) => {
142
- const isLast = index$1 === itemsToRender.length - 1;
143
- return (index.h("li", { class: "flex items-center" }, !item.isHidden ? (index.h("eds-link", { label: item.label, url: item.url, intent: this.intent, current: isLast, "aria-label": item.label, size: "small", "icon-small": "false" })) : (index.h("span", { class: "truncate px-2 ", "aria-hidden": "true" }, "...")), !isLast && !item.isHidden && (index.h("eds-icon-wrapper", { icon: "chevron-right", class: "w-20 h-20" }))));
144
- }))));
145
- }
146
- get el() { return index.getElement(this); }
147
- static get watchers() { return {
148
- "items": ["parseItems"]
149
- }; }
150
- };
151
- EdsBreadcrumb.style = EdsBreadcrumbStyle0;
152
-
153
- exports.eds_breadcrumb = EdsBreadcrumb;
@@ -1,50 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-f08e4f5c.js');
6
-
7
- const edsFooterCss = "";
8
- const EdsFooterStyle0 = edsFooterCss;
9
-
10
- const EdsFooter = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- /**
14
- * Scrolls the page smoothly back to the top.
15
- * Called when the "Back to top" button is clicked.
16
- * @private
17
- */
18
- this.backToTop = () => {
19
- window.scrollTo({ top: 0, behavior: 'smooth' });
20
- };
21
- this.extraClass = '';
22
- this.social = false;
23
- this.hasCookiesSetUp = false;
24
- this.enableScrollTop = false;
25
- this.fundedBy = 'EBRAINS is funded by the Horizon Europe Framework Programme.';
26
- this.rightsReserved = `${new Date().getFullYear()} EBRAINS. All rights reserved.`;
27
- this.cookiesPreference = 'Cookies Preferences';
28
- }
29
- /**
30
- * Toggles the cookie preferences popup, if available.
31
- * The actual implementation for handling cookie preferences should be defined here.
32
- * @private
33
- */
34
- toggleCookiesPopup() {
35
- // Implement logic for handling cookie preferences
36
- }
37
- /**
38
- * Renders the footer component with optional sections and elements,
39
- * including social network links, a Horizon Europe funding acknowledgment, and
40
- * legal links such as "Cookies Preferences" and copyright information.
41
- *
42
- * @returns {JSX.Element} The rendered JSX for the footer component.
43
- */
44
- render() {
45
- return (index.h("footer", { key: 'efffa9b96cc2a094255fcb6d08ec45c7c7f09ec4', class: `${this.extraClass} pb-banner` }, this.social ? (index.h("div", { class: "border-softest border-t-2 pt-20 pb-28 md:pt-28" }, index.h("div", { class: "container pb-20 xl:pb-40 " }, index.h("div", { class: "grid-layout" }, index.h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, index.h("eds-social-networks", { class: "mt-28" })), index.h("nav", { "aria-label": "Secondary nav", class: "grid-col-span-12 lg:grid-col-span-6 lg:grid-col-start-7 grid-layout mt-28 gap-y-12 lg:mt-0" }))))) : null, index.h("div", { key: 'c3942c635dff3dc8cb47a21f20aca52acfaa3e18', class: `border-softest ${this.social ? 'border-t-2' : ''} pt-20 pb-28 md:pt-28` }, index.h("div", { key: '57e963272659ce2e63294c969f3724a03aef667e', class: "container flex flex-wrap items-center gap-20 lg:flex-nowrap" }, index.h("div", { key: 'c3e5cfe07fe9eb90450f7a87be1b95ed00ef38ce', class: "flex items-center gap-x-12" }, index.h("a", { key: 'b0d0c65115b611f78d2b468559c16eb60f538907', 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-2020_en" }, index.h("eds-img", { key: '6cb5d067f07b456a8d828f3f42f2730e3e5374e0', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg" }))), index.h("div", { key: 'e5b768b0fb96fcdcb786d33fc808368005935491', class: "f-ui-04 text-light order-last w-full lg:order-none lg:w-auto" }, index.h("p", { key: '777263c2f4bde43d38690f41391eaf8e51d945fa' }, this.fundedBy), index.h("div", { key: 'a415687d08edf8f3e03a6edce9c45f58662c8595', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap" }, index.h("span", { key: 'c0b6498ad4f5e1f4f1945ebb971f9dd81cc74c77', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline" }, "\u00A9 ", this.rightsReserved), this.hasCookiesSetUp && (index.h("button", { key: '10133d180bfb0d8a6354ea2cbea318a2c46fc463', class: "effect-focus !no-underline underline-offset-4 hover:!underline", onClick: () => this.toggleCookiesPopup() }, this.cookiesPreference)))), index.h("div", { key: '917d0980f91a8c42a75bae301b0a18e3777dd021', class: "ml-auto pl-12" }, this.enableScrollTop ? (index.h("eds-button", { "aria-label": "Back to top", intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop })) : null)))));
46
- }
47
- };
48
- EdsFooter.style = EdsFooterStyle0;
49
-
50
- exports.eds_footer = EdsFooter;
@@ -1,100 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-f08e4f5c.js');
6
-
7
- const edsFullscreenMenuCss = "";
8
- const EdsFullscreenMenuStyle0 = edsFullscreenMenuCss;
9
-
10
- const EdsFullscreenMenu = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.menuClose = index.createEvent(this, "menuClose", 7);
14
- this.links = undefined;
15
- this.menuLinks = undefined;
16
- this.homeUrl = '/';
17
- this.inverseHeader = false;
18
- this.isMenuOpen = false;
19
- }
20
- /**
21
- * Listens for the toggleMenu event to open or close the menu.
22
- * This event is emitted by the eds-header component.
23
- */
24
- handleToggleMenu(event) {
25
- this.isMenuOpen = event.detail; // Set isMenuOpen based on the event payload
26
- }
27
- /** Opens the menu */
28
- openMenu() {
29
- this.isMenuOpen = true;
30
- }
31
- /** Closes the menu */
32
- closeMenu() {
33
- this.isMenuOpen = false;
34
- this.menuClose.emit();
35
- }
36
- // Lifecycle method to add the resize event listener when component loads
37
- componentDidLoad() {
38
- window.addEventListener('resize', this.handleResize.bind(this));
39
- }
40
- // Lifecycle method to remove the resize event listener when component unloads
41
- disconnectedCallback() {
42
- window.removeEventListener('resize', this.handleResize.bind(this));
43
- }
44
- // Function to close the menu if screen width is larger than a defined breakpoint (1024px)
45
- handleResize() {
46
- if (window.innerWidth >= 1024) {
47
- this.isMenuOpen = false;
48
- }
49
- }
50
- /**
51
- * Parses the `links` prop into an array of link objects.
52
- * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
53
- *
54
- * @returns {any[]} Array of parsed link objects
55
- */
56
- get parsedLinks() {
57
- if (typeof this.links === 'object') {
58
- return this.links;
59
- }
60
- else if (typeof this.links === 'string') {
61
- try {
62
- return JSON.parse(this.links);
63
- }
64
- catch (e) {
65
- // eslint-disable-next-line
66
- console.error('Error parsing links prop:', e);
67
- return [];
68
- }
69
- }
70
- return [];
71
- }
72
- /**
73
- * Parses the `menuLinks` prop into an array of link objects.
74
- * Returns an empty array if parsing fails or if `menuLinks` is not a valid JSON string or object.
75
- *
76
- * @returns {any[]} Array of parsed menu link objects
77
- */
78
- get parsedMenuLinks() {
79
- if (typeof this.menuLinks === 'object') {
80
- return this.menuLinks;
81
- }
82
- else if (typeof this.menuLinks === 'string') {
83
- try {
84
- return JSON.parse(this.menuLinks);
85
- }
86
- catch (e) {
87
- // eslint-disable-next-line
88
- console.error('Error parsing menuLinks prop:', e);
89
- return [];
90
- }
91
- }
92
- return [];
93
- }
94
- render() {
95
- return this.isMenuOpen ? (index.h("div", { class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, index.h("div", { class: "flex min-h-full flex-col" }, index.h("div", { class: `bg-default w-full sticky top-0 ${this.inverseHeader ? 'bg-strongest' : 'bg-default'}` }, index.h("div", { class: "mx-auto flex items-center justify-between" }, index.h("div", { class: "mr-auto w-[200px] h-[85px]" }, index.h("eds-logo", { type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), index.h("div", { class: "px-16" }, index.h("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), index.h("div", { class: "py-16 px-16" }, index.h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((link, index$1) => (index.h("eds-link", { label: link.label, key: index$1, url: link.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" })))), index.h("eds-block-break", null), index.h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((link, index$1) => (index.h("eds-link", { label: link.label, key: index$1, url: link.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" }))))), index.h("div", { class: "mt-auto" }, index.h("eds-footer", { social: true, "extra-class": "bg-darker" }))))) : null;
96
- }
97
- };
98
- EdsFullscreenMenu.style = EdsFullscreenMenuStyle0;
99
-
100
- exports.eds_fullscreen_menu = EdsFullscreenMenu;
@@ -1,66 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-f08e4f5c.js');
6
-
7
- const edsSocialNetworkCss = "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}";
8
- const EdsSocialNetworksStyle0 = edsSocialNetworkCss;
9
-
10
- const EdsSocialNetwork = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- /**
14
- * Array of social network objects, each containing label, URL, and icon.
15
- * These are used to render the social network links.
16
- *
17
- * @private
18
- * @type {SocialNetworks[]}
19
- */
20
- this.socialNetworks = [
21
- {
22
- label: 'Twitter',
23
- url: 'https://twitter.com/ebrains_eu',
24
- icon: 'twitter'
25
- },
26
- {
27
- label: 'Linkedin',
28
- url: 'https://www.linkedin.com/company/ebrains-eu/about/',
29
- icon: 'linkedin'
30
- },
31
- {
32
- label: 'Facebook',
33
- url: 'https://www.facebook.com/people/Ebrains_eu/100046659909324/',
34
- icon: 'facebook'
35
- },
36
- {
37
- label: 'Youtube',
38
- url: 'https://www.youtube.com/channel/UC6E796cVVR5Xrs2A5jJmleQ',
39
- icon: 'youtube'
40
- },
41
- {
42
- label: 'Mastodon',
43
- url: 'https://mastodon.social/@ebrains',
44
- icon: 'mastodon'
45
- },
46
- {
47
- label: 'Bluesky',
48
- url: 'https://bsky.app/profile/ebrains.bsky.social',
49
- icon: 'bluesky'
50
- }
51
- ];
52
- this.title = 'Follow EBRAINS to keep up-to-date';
53
- }
54
- /**
55
- * Renders the component's HTML structure with links to EBRAINS social profiles.
56
- * Each social network link uses the `eds-link` component with specific classes and styles.
57
- *
58
- * @returns {JSX.Element} The rendered JSX for the component.
59
- */
60
- render() {
61
- return (index.h("div", { key: '6169559327b728fd0f3a51a2b8a6439f80fba8fc' }, index.h("p", { key: 'df2e008500097af1b85660fe8b3fac122f5018a4', class: "f-ui-02" }, this.title), index.h("ul", { key: 'df01a2802412c4db4e5442fdfc0b6ef3f15c4109', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index$1) => (index.h("li", { key: index$1 }, index.h("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": network.label, url: network.url, icon: network.icon, intent: "strong" })))))));
62
- }
63
- };
64
- EdsSocialNetwork.style = EdsSocialNetworksStyle0;
65
-
66
- exports.eds_social_networks = EdsSocialNetwork;
@@ -1,143 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-f08e4f5c.js');
6
-
7
- const edsTableCss = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}";
8
- const EdsTableStyle0 = edsTableCss;
9
-
10
- const EdsTable = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.minWidth = 400; // Minimum width for components in px
14
- this.data = null;
15
- this.endpoint = null;
16
- this.config = {};
17
- this.rowsPerPage = 10;
18
- this.paginationEnabled = true;
19
- this.searchEnabled = false;
20
- this.tableData = [];
21
- this.columns = [];
22
- this.currentPage = 1;
23
- this.parsedConfig = {};
24
- this.totalRows = 0;
25
- this.searchQuery = '';
26
- }
27
- handleDataChange() {
28
- this.parseData();
29
- }
30
- handleConfigChange() {
31
- this.parseConfig();
32
- }
33
- componentWillLoad() {
34
- this.parseConfig();
35
- this.data ? this.parseData() : this.endpoint && this.fetchData();
36
- }
37
- componentDidLoad() {
38
- this.setupPaginationListener();
39
- }
40
- componentDidUpdate() {
41
- this.setupPaginationListener();
42
- }
43
- parseData() {
44
- try {
45
- this.tableData = typeof this.data === 'string' ? JSON.parse(this.data) : this.data || [];
46
- this.totalRows = this.tableData.length;
47
- this.updateColumns();
48
- this.currentPage = 1;
49
- }
50
- catch (error) {
51
- // eslint-disable-next-line
52
- console.error('Failed to parse data:', error);
53
- this.tableData = [];
54
- }
55
- }
56
- parseConfig() {
57
- try {
58
- this.parsedConfig = typeof this.config === 'string' ? JSON.parse(this.config) : this.config;
59
- }
60
- catch (error) {
61
- // eslint-disable-next-line
62
- console.error('Failed to parse config:', error);
63
- this.parsedConfig = {};
64
- }
65
- }
66
- async fetchData() {
67
- try {
68
- const response = await fetch(this.endpoint);
69
- const data = await response.json();
70
- this.data = data;
71
- }
72
- catch (error) {
73
- // eslint-disable-next-line
74
- console.error('Failed to fetch data:', error);
75
- }
76
- }
77
- setupPaginationListener() {
78
- if (!this.shouldEnablePagination()) {
79
- return;
80
- }
81
- const paginationEl = this.hostEl.shadowRoot.querySelector('eds-pagination');
82
- if (paginationEl && !paginationEl.hasAttribute('listener-attached')) {
83
- paginationEl.addEventListener('pageChange', (event) => this.handlePageChange(event.detail));
84
- paginationEl.setAttribute('listener-attached', 'true');
85
- }
86
- }
87
- getFilteredRows() {
88
- return this.tableData.filter((row) => Object.values(row).some((value) => value.toString().toLowerCase().includes(this.searchQuery.toLowerCase())));
89
- }
90
- getPaginatedRows() {
91
- const filteredRows = this.getFilteredRows();
92
- this.totalRows = filteredRows.length;
93
- const start = (this.currentPage - 1) * this.rowsPerPage;
94
- return filteredRows.slice(start, start + this.rowsPerPage);
95
- }
96
- handlePageChange(newPage) {
97
- this.currentPage = newPage;
98
- }
99
- handleSearch(event) {
100
- this.searchQuery = event.target.value;
101
- this.currentPage = 1;
102
- }
103
- renderCell(value, column) {
104
- var _a;
105
- const format = (_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.format;
106
- return format === 'uppercase' ? (value === null || value === void 0 ? void 0 : value.toString().toUpperCase()) : format === 'svg' ? (index.h("div", { innerHTML: value })) : format === 'bold' ? (index.h("strong", null, value)) : format === 'code' ? (index.h("code", null, value)) : (value);
107
- }
108
- shouldEnablePagination() {
109
- return this.paginationEnabled && this.totalRows > this.rowsPerPage;
110
- }
111
- updateColumns() {
112
- this.columns = this.tableData.length > 0 ? Object.keys(this.tableData[0]) : [];
113
- }
114
- getVisibleColumnsCount() {
115
- return this.columns.filter((column) => { var _a; return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden); }).length;
116
- }
117
- render() {
118
- const paginatedRows = this.getPaginatedRows();
119
- const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
120
- // Calculate column width based on minWidth and number of columns
121
- //const columnWidth = Math.max(this.minWidth / this.columns.length, 100);
122
- // Use the visible column count to calculate the column width
123
- const visibleColumnsCount = this.getVisibleColumnsCount();
124
- const columnWidth = visibleColumnsCount > 0 ? Math.max(this.minWidth / visibleColumnsCount, 100) : 100;
125
- return (index.h("div", { key: 'c5e50673eb1ed5cf00e0294885bf9cd6d13f9366', class: "container", style: { minWidth: `${this.minWidth}px` } }, index.h("div", { key: '0e0814a8cb5ae1e11538a26cba630e59d39dde74' }, this.searchEnabled && (index.h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...",
126
- // @ts-ignore
127
- onInput: (event) => this.handleSearch(event) }))), index.h("div", { key: '65e0c9057c313f220655ecd7692a83c932f441b3', class: "mt-20" }, index.h("table", { key: '9e77153c2e0983f7598a21ef55ebcf3107655e09', class: "block overflow-x-auto mt-6 p-0" }, index.h("thead", { key: '38e5ac67ffae80d896c29357615d19b5dfcc52d3' }, index.h("tr", { key: '526c5b30da0a2aa97bb90f5b473b3e9ea41dde6b', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
128
- var _a;
129
- return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (index.h("th", { class: "m-0 px-20 py-8 border border-softer f-ui-02", style: { minWidth: `${columnWidth}px` } }, column));
130
- }))), index.h("tbody", { key: '5a10525ed86eac82291746be4c6cce5f65942d2d' }, paginatedRows.map((row) => (index.h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
131
- var _a;
132
- return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (index.h("td", { class: "text-center border border-softer m-0 px-20 py-8 f-ui-2", style: { minWidth: `${columnWidth}px` } }, this.renderCell(row[column], column)));
133
- }))))))), index.h("div", { key: 'af1183fd3e635c7d7ac982231adfdd9d892f6979', class: "mt-20" }, this.shouldEnablePagination() && (index.h("eds-pagination", { key: 'a5de7f25054c2d67f0788bfd2bc37d07f46de02c', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
134
- }
135
- get hostEl() { return index.getElement(this); }
136
- static get watchers() { return {
137
- "data": ["handleDataChange"],
138
- "config": ["handleConfigChange"]
139
- }; }
140
- };
141
- EdsTable.style = EdsTableStyle0;
142
-
143
- exports.eds_table = EdsTable;
@@ -1,31 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-f08e4f5c.js');
6
-
7
- const logoVariationsHorizontalCss = ".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-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.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)}.w-\\[150px\\]{width:150px}.w-\\[300px\\]{width:500px}.coloured{background:linear-gradient(to left, \n #9CE142 0%, \n #00C959 50%, \n #00A595 100%)}";
8
- const LogoVariationsHorizontalStyle0 = logoVariationsHorizontalCss;
9
-
10
- const LogoVariations = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.orientation = 'horizontal';
14
- this.type = undefined;
15
- }
16
- render() {
17
- if (this.type === 'coloured') {
18
- return (index.h("div", { class: "container my-16" }, index.h("div", { class: "coloured w-[300px]" }, index.h("eds-logo", { type: "no-bg", href: "#" }))));
19
- }
20
- if (this.type === 'black') {
21
- return (index.h("div", { class: "container my-16" }, index.h("div", { class: "bg-default w-[300px]" }, index.h("eds-logo", { type: "black", href: "#" }))));
22
- }
23
- if (this.type === 'color-white') {
24
- return (index.h("div", { class: "container my-16" }, index.h("div", { class: "w-[300px]" }, index.h("eds-logo", { type: "color-white", href: "#" }))));
25
- }
26
- return null;
27
- }
28
- };
29
- LogoVariations.style = LogoVariationsHorizontalStyle0;
30
-
31
- exports.logo_variations_horizontal = LogoVariations;
@@ -1,31 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-f08e4f5c.js');
6
-
7
- const logoVariationsVerticalCss = ".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-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.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)}.w-\\[150px\\]{width:150px}.w-\\[200px\\]{width:200px}.w-\\[300px\\]{width:500px}.coloured{background:linear-gradient(to left, \n #9CE142 0%, \n #00C959 50%, \n #00A595 100%)}";
8
- const LogoVariationsVerticalStyle0 = logoVariationsVerticalCss;
9
-
10
- const LogoVariations = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.orientation = 'horizontal';
14
- this.type = undefined;
15
- }
16
- render() {
17
- if (this.type === 'coloured') {
18
- return (index.h("div", { class: "container my-16" }, index.h("div", { class: "coloured w-[200px]" }, index.h("eds-logo", { orientation: "vertical", type: "no-bg", href: "#" }))));
19
- }
20
- if (this.type === 'black') {
21
- return (index.h("div", { class: "container my-16" }, index.h("div", { class: "bg-default w-[200px]" }, index.h("eds-logo", { orientation: "vertical", type: "black", href: "#" }))));
22
- }
23
- if (this.type === 'color-white') {
24
- return (index.h("div", { class: "container my-16" }, index.h("div", { class: "w-[200px]" }, index.h("eds-logo", { orientation: "vertical", type: "color-white", href: "#" }))));
25
- }
26
- return null;
27
- }
28
- };
29
- LogoVariations.style = LogoVariationsVerticalStyle0;
30
-
31
- exports.logo_variations_vertical = LogoVariations;
File without changes
@@ -1 +0,0 @@
1
- import{r as n,h as o}from"./p-7a8b9de5.js";import{e as r}from"./p-0e6d43c5.js";import{h as t}from"./p-2692f93d.js";import{h as e,a as s,b as i,c as l,v as C,d as h,e as a,f as p,g as d}from"./p-83ff4a95.js";import{v as c}from"./p-9c5a453b.js";import{g as w}from"./p-50e27321.js";import{c as g}from"./p-1ded61bd.js";import{c as f}from"./p-4587d0ef.js";import{c as m}from"./p-5d046674.js";import{c as v}from"./p-ece618b3.js";import{a as u}from"./p-32e6c4df.js";import{a as M}from"./p-c8e7c854.js";import{t as L}from"./p-373119b3.js";import{l as k}from"./p-54b8f143.js";import{f as b}from"./p-4687b64c.js";import{y as x}from"./p-ecbb679f.js";import{m as j}from"./p-5ab1d64a.js";import{b as Z}from"./p-81899237.js";import{s as B}from"./p-2066b033.js";import{l as H}from"./p-2117611b.js";import{s as V}from"./p-b822abb7.js";import{c as y}from"./p-8983de37.js";import{m as W}from"./p-aefcb641.js";import{m as _}from"./p-29041952.js";import{u as z}from"./p-46d0716d.js";import{c as N}from"./p-0be28996.js";const O=Object.freeze({__proto__:null,twitter:L,linkedin:k,facebook:b,youtube:x,mastodon:j,bluesky:Z,euSvg:r,arrowRight:M,arrowDiagonal:u,chevronUp:g,chevronDown:f,chevronRight:m,chevronLeft:v,check:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <rect width="20" height="20" rx="4" fill="currentColor" />\n <path d="M4 10L8 14L16 6" stroke="white" stroke-width="3" />\n </svg>',clear:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M2 10C2 5.57714 5.57714 2 10 2C14.4229 2 18 5.57714 18 10C18 14.4229 14.4229 18 10 18C5.57714 18 2 14.4229 2 10ZM6.50503 7.49497L9.01005 10L6.50503 12.505L7.49497 13.495L10 10.99L12.505 13.495L13.495 12.505L10.99 10L13.495 7.49497L12.505 6.50503L10 9.01005L7.49497 6.50503L6.50503 7.49497Z"\n fill="currentColor"\n />\n </svg>',close:y,completed:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M6 9.33303L8.9474 12.6664L14.0001 7.33301"\n stroke="currentColor"\n stroke-width="2.00002"\n />\n </svg>',copy:N,documentation:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M12 5C10.8954 5 10 5.89543 10 7V17C10 15.8954 10.8954 15 12 15H18V5H12Z"\n stroke="currentColor"\n stroke-width="1.5"\n />\n <path\n d="M8 5C9.10457 5 10 5.89543 10 7V17C10 15.8954 9.10457 15 8 15H2V5H8Z"\n stroke="currentColor"\n stroke-width="1.5"\n />\n </svg>',download:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M5.91937 8H9V3H11V8H14.0806L10 13.1008L5.91937 8Z"\n fill="currentColor"\n />\n <path\n d="M5 15V12H3V15C3 16.1046 3.89543 17 5 17H15C16.1046 17 17 16.1046 17 15V12H15V15H5Z"\n fill="currentColor"\n />\n </svg>',error:'<svg\nwidth="20"\nheight="20"\nviewBox="0 0 20 20"\nfill="none"\nxmlns="http://www.w3.org/2000/svg"\n>\n<path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M10 2C5.57714 2 2 5.57714 2 10C2 14.4229 5.57714 18 10 18C14.4229 18 18 14.4229 18 10C18 5.57714 14.4229 2 10 2Z"\n stroke="currentColor"\n stroke-width="2"\n/>\n<path\n d="M7 7L10 10M13 13L10 10M10 10L13 7M10 10L7 13"\n stroke="currentColor"\n stroke-width="1.5"\n/>\n</svg>',gitlabColor:' <svg width="20" height="20" viewBox="0 0 36 36">\n <path fill="#e24329" d="M2 14l9.38 9v-9l-4-12.28c-.205-.632-1.176-.632-1.38 0z"></path>\n <path fill="#e24329" d="M34 14l-9.38 9v-9l4-12.28c.205-.632 1.176-.632 1.38 0z"></path>\n <path fill="#e24329" d="M18,34.38 3,14 33,14 Z"></path>\n <path fill="#fc6d26" d="M18,34.38 11.38,14 2,14 6,25Z"></path>\n <path fill="#fc6d26" d="M18,34.38 24.62,14 34,14 30,25Z"></path>\n <path fill="#fca326" d="M2 14L.1 20.16c-.18.565 0 1.2.5 1.56l17.42 12.66z"></path>\n <path fill="#fca326" d="M34 14l1.9 6.16c.18.565 0 1.2-.5 1.56L18 34.38z"></path>\n </svg>',gitlabBlack:w,loader:H,hLogoColor:t,hLogoBlack:e,hLogoColorWhite:s,hLogoWhite:i,hLogoWhiteNoBg:l,vLogoColor:C,vLogoBlack:h,vLogoColorWhite:a,vLogoWhite:p,vLogoWhiteNoBg:d,vLogoMargins:c,menu:W,more:_,failed:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M6.21053 14.0001L10 10M13.7895 6L10 10M10 10L6 6M10 10L14.0001 14.0001"\n stroke="currentColor"\n stroke-width="2.00002"\n />\n </svg>',filter:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M2 6.5H6M9 6.5H18M18 13.5H14M11 13.5H2"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M10 6.5C10 7.88071 8.88071 9 7.5 9C6.11929 9 5 7.88071 5 6.5C5 5.11929 6.11929 4 7.5 4C8.88071 4 10 5.11929 10 6.5Z"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M10 13.5C10 14.8807 11.1193 16 12.5 16C13.8807 16 15 14.8807 15 13.5C15 12.1193 13.8807 11 12.5 11C11.1193 11 10 12.1193 10 13.5Z"\n stroke="currentColor"\n stroke-width="2"\n />\n </svg>',group:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M6.75 4C6.75 2.20507 8.20507 0.75 10 0.75C11.7949 0.75 13.25 2.20507 13.25 4C13.25 4.02739 13.2497 4.0547 13.249 4.08193C14.372 4.69978 15.3002 5.62799 15.9181 6.75102C15.9453 6.75034 15.9726 6.75 16 6.75C17.7949 6.75 19.25 8.20507 19.25 10C19.25 11.7949 17.7949 13.25 16 13.25C15.9726 13.25 15.9453 13.2497 15.9181 13.249C15.3002 14.372 14.372 15.3002 13.249 15.9181C13.2497 15.9453 13.25 15.9726 13.25 16C13.25 17.7949 11.7949 19.25 10 19.25C8.20507 19.25 6.75 17.7949 6.75 16C6.75 15.9726 6.75034 15.9453 6.75102 15.9181C5.62799 15.3002 4.69978 14.372 4.08193 13.249C4.0547 13.2497 4.02739 13.25 4 13.25C2.20507 13.25 0.75 11.7949 0.75 10C0.75 8.20507 2.20507 6.75 4 6.75C4.02739 6.75 4.0547 6.75034 4.08193 6.75102C4.69978 5.62799 5.62799 4.69978 6.75101 4.08193C6.75034 4.0547 6.75 4.02739 6.75 4ZM10 2.25C9.0335 2.25 8.25 3.0335 8.25 4C8.25 4.9665 9.0335 5.75 10 5.75C10.9665 5.75 11.75 4.9665 11.75 4C11.75 3.0335 10.9665 2.25 10 2.25ZM14.4169 12.839C13.4224 12.2833 12.75 11.2202 12.75 10C12.75 8.77982 13.4224 7.7167 14.4169 7.16096C14.0099 6.52904 13.471 5.99011 12.839 5.58309C12.2833 6.57758 11.2202 7.25 10 7.25C8.77982 7.25 7.7167 6.57759 7.16097 5.5831C6.52904 5.99011 5.99011 6.52904 5.58309 7.16097C6.57758 7.7167 7.25 8.77982 7.25 10C7.25 11.2202 6.57758 12.2833 5.58309 12.839C5.99011 13.471 6.52904 14.0099 7.16096 14.4169C7.7167 13.4224 8.77982 12.75 10 12.75C11.2202 12.75 12.2833 13.4224 12.839 14.4169C13.471 14.0099 14.0099 13.471 14.4169 12.839ZM8.25 16C8.25 15.0335 9.0335 14.25 10 14.25C10.9665 14.25 11.75 15.0335 11.75 16C11.75 16.9665 10.9665 17.75 10 17.75C9.0335 17.75 8.25 16.9665 8.25 16ZM2.25 10C2.25 10.9665 3.0335 11.75 4 11.75C4.9665 11.75 5.75 10.9665 5.75 10C5.75 9.0335 4.9665 8.25 4 8.25C3.0335 8.25 2.25 9.0335 2.25 10ZM16 11.75C15.0335 11.75 14.25 10.9665 14.25 10C14.25 9.0335 15.0335 8.25 16 8.25C16.9665 8.25 17.75 9.0335 17.75 10C17.75 10.9665 16.9665 11.75 16 11.75Z"\n fill="currentColor"\n />\n </svg>',user:z,search:B,success:V,warning:' <svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M10 3C6.13 3 3 6.13 3 10C3 13.87 6.13 17 10 17C13.87 17 17 13.87 17 10C17 6.13 13.87 3 10 3Z"\n stroke="currentColor"\n stroke-width="2"\n />\n <path d="M10 6V10.5" stroke="currentColor" stroke-width="2" />\n <circle cx="10" cy="12.9209" r="1.40346" fill="currentColor" />\n </svg>',unknown:'<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n >\n <circle\n cx="10.0001"\n cy="10.0001"\n r="9.00007"\n fill="white"\n stroke="currentColor"\n stroke-width="2"\n />\n <path\n d="M8.78976 12.086V11.9135C8.79306 11.3215 8.8442 10.8495 8.94319 10.4977C9.04547 10.1458 9.19395 9.86167 9.38863 9.64515C9.5833 9.42864 9.81757 9.23242 10.0914 9.0565C10.296 8.92118 10.4791 8.78078 10.6408 8.63531C10.8025 8.48984 10.9312 8.32915 11.0268 8.15323C11.1225 7.97392 11.1704 7.77433 11.1704 7.55443C11.1704 7.321 11.1159 7.11632 11.0071 6.9404C10.8982 6.76448 10.7513 6.62916 10.5666 6.53444C10.3851 6.43971 10.1838 6.39235 9.96275 6.39235C9.74828 6.39235 9.54536 6.4414 9.35398 6.53951C9.16261 6.63424 9.00588 6.77632 8.8838 6.96578C8.76171 7.15184 8.69572 7.38358 8.68582 7.66099H6.6665C6.683 6.98438 6.84138 6.42618 7.14164 5.98638C7.4419 5.5432 7.83949 5.21336 8.33442 4.99684C8.82935 4.77694 9.37543 4.66699 9.97265 4.66699C10.6293 4.66699 11.21 4.77863 11.7148 5.00191C12.2196 5.22181 12.6156 5.54151 12.9026 5.96101C13.1897 6.38051 13.3332 6.88627 13.3332 7.47831C13.3332 7.87412 13.2689 8.22596 13.1402 8.53382C13.0148 8.83829 12.8383 9.10894 12.6106 9.34575C12.383 9.57918 12.114 9.79062 11.8039 9.98007C11.5432 10.1391 11.3288 10.3048 11.1605 10.4774C10.9955 10.6499 10.8718 10.8495 10.7893 11.0762C10.7101 11.3028 10.6688 11.5819 10.6655 11.9135V12.086H8.78976ZM9.76972 15.3338C9.43977 15.3338 9.15766 15.2153 8.92339 14.9785C8.69242 14.7383 8.57859 14.4508 8.58189 14.1159C8.57859 13.7843 8.69242 13.5001 8.92339 13.2633C9.15766 13.0265 9.43977 12.9081 9.76972 12.9081C10.0832 12.9081 10.3587 13.0265 10.5963 13.2633C10.8338 13.5001 10.9543 13.7843 10.9576 14.1159C10.9543 14.3391 10.8965 14.5438 10.7843 14.7299C10.6754 14.9126 10.5319 15.0597 10.3537 15.1714C10.1756 15.2796 9.98089 15.3338 9.76972 15.3338Z"\n fill="currentColor"\n />\n </svg>'}),S=class{constructor(o){n(this,o)}getSvgData(){return Object.entries(O).filter((([n])=>!n.toLowerCase().includes("logo")&&!n.toLowerCase().includes("eu"))).map((([n,o])=>({name:n,icon:o})))}render(){const n=this.getSvgData();return o("eds-table",{key:"d5b4cdb69826e22d716bf9bf4ff7fb9ab1f65044",data:JSON.stringify(n),config:JSON.stringify({icon:{format:"svg"},name:{format:"bold"}}),"rows-per-page":10,"search-enabled":!0,"pagination-enabled":!0})}};export{S as eds_svg_repository}