@eui/tools 6.21.81 → 6.21.82
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.
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.82
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.21.82 (2025-05-27)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* add 3rd level in routes replacements - EUI-10199 [EUI-10199](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10199) ([708a4edb](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/708a4edb64c827578bdc5eaba29523f158f9f340))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.21.81 (2025-05-22)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
|
@@ -696,7 +696,7 @@ const generateLinks = (project, routes, envTargetFinal) => {
|
|
|
696
696
|
const linksGenerated = [];
|
|
697
697
|
|
|
698
698
|
globalLinks.forEach((link) => {
|
|
699
|
-
let newLink = null;
|
|
699
|
+
let newLink = null, newSubLink = null;
|
|
700
700
|
|
|
701
701
|
if (link.parentId) {
|
|
702
702
|
if (isLinkAllowed(link)) {
|
|
@@ -721,7 +721,31 @@ const generateLinks = (project, routes, envTargetFinal) => {
|
|
|
721
721
|
newLink.children.push(defRoute);
|
|
722
722
|
|
|
723
723
|
} else {
|
|
724
|
-
|
|
724
|
+
if (subLink.children) {
|
|
725
|
+
newSubLink = { ...subLink};
|
|
726
|
+
newSubLink.children = [];
|
|
727
|
+
|
|
728
|
+
subLink.children.forEach((subSubLink) => {
|
|
729
|
+
const defRouteSub = getRouteMenuDef(subSubLink, euiVersion);
|
|
730
|
+
|
|
731
|
+
if (defRouteSub) {
|
|
732
|
+
if (project.name.indexOf('playground') > 0) {
|
|
733
|
+
const routePathInInputRoutes = routes.filter(r => r.angularRouteDef.path === defRouteSub.path)[0];
|
|
734
|
+
|
|
735
|
+
if (!routePathInInputRoutes) {
|
|
736
|
+
defRouteSub.disabled = true;
|
|
737
|
+
|
|
738
|
+
} else {
|
|
739
|
+
tools.logInfo(`[${defRouteSub.url}] --> route found in input routes - enabled`);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
newSubLink.children.push(defRouteSub);
|
|
743
|
+
}
|
|
744
|
+
});
|
|
745
|
+
newLink.children.push(newSubLink);
|
|
746
|
+
} else {
|
|
747
|
+
newLink.children.push(subLink);
|
|
748
|
+
}
|
|
725
749
|
}
|
|
726
750
|
}
|
|
727
751
|
});
|