@eui/tools 6.21.129 → 6.21.131

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.
@@ -1 +1 @@
1
- 6.21.129
1
+ 6.21.131
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## 6.21.131 (2026-03-06)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * release MWP-12612 [MWP-12612](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-12612) ([d1c453a4](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/d1c453a406ba2411ffc1261c235d4eaa8675ad47))
7
+ ##### Bug Fixes
8
+
9
+ * **back port from csdr-engine:**
10
+ * in order to load /task-manager with a predefined filter, we need to route like this: /task-manager?filterId=... ([68dd4a72](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/68dd4a72fcde5ba2cfe61edb88248a04aaf3f964))
11
+
12
+ * * *
13
+ * * *
1
14
  ## 6.21.129 (2026-01-29)
2
15
 
3
16
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.129",
3
+ "version": "6.21.131",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -581,7 +581,7 @@ const generateLinks = (project, routes, envTargetFinal) => {
581
581
  if (r.menuLinkDefs && r.menuLinkDefs.length > 0) {
582
582
  r.menuLinkDefs.forEach((md) => {
583
583
  if (md.url === link.url) {
584
- routeDef = md;
584
+ routeDef = structuredClone(md);
585
585
  routeDef.path = r.path;
586
586
  if (link.id) {
587
587
  routeDef.id = link.id;
@@ -598,6 +598,12 @@ const generateLinks = (project, routes, envTargetFinal) => {
598
598
  if (link.alwaysDisplayed) {
599
599
  routeDef.alwaysDisplayed = link.alwaysDisplayed;
600
600
  }
601
+ if (link.label) {
602
+ routeDef.label = link.label;
603
+ }
604
+ if (link.queryParams) {
605
+ routeDef.queryParams = link.queryParams;
606
+ }
601
607
 
602
608
  // temporary fix during v17 / v19 host transition (as the exception that folio is using iconSvgName (custom icon) in v17 already)
603
609
  if (parseInt(euiVersion) >= 18) {
@@ -620,9 +626,11 @@ const generateLinks = (project, routes, envTargetFinal) => {
620
626
 
621
627
 
622
628
  const getMenuDef = (link, euiVersion) => {
623
- const menuDef = routeDefsBaseJSON.find(i => i.id === link.id);
629
+ let menuDef = routeDefsBaseJSON.find(i => i.id === link.id);
624
630
 
625
631
  if (menuDef) {
632
+ menuDef = structuredClone(menuDef);
633
+
626
634
  if (link.id) {
627
635
  menuDef.id = link.id;
628
636
  }
@@ -637,7 +645,13 @@ const generateLinks = (project, routes, envTargetFinal) => {
637
645
  }
638
646
  if (link.alwaysDisplayed) {
639
647
  menuDef.alwaysDisplayed = link.alwaysDisplayed;
640
- }
648
+ }
649
+ if (link.label) {
650
+ routeDef.label = link.label;
651
+ }
652
+ if (link.queryParams) {
653
+ routeDef.queryParams = link.queryParams;
654
+ }
641
655
  if (parseInt(euiVersion) >= 18) {
642
656
  delete menuDef['iconClass'];
643
657
  } else {