@eui/tools 6.3.45 → 6.3.46
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.3.
|
|
1
|
+
6.3.46
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.3.46 (2023-02-21)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* added block container for dynamically handle conditional block generation for v15 remotes - MWP-9204 [MWP-9204](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9204) ([63126feb](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/63126feb485893f0092fc5fa9e85fe7a5215678a))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.3.45 (2023-02-21)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ enum ElementStatus {
|
|
|
17
17
|
<div style="height: 100%"></div>
|
|
18
18
|
</eui-block-content>
|
|
19
19
|
<ng-container *ngIf="moduleStatus === ElementStatus.Loaded">
|
|
20
|
-
|
|
20
|
+
<!-- BLOCK_CONTAINER_PLACEHOLDER -->
|
|
21
21
|
</ng-container>
|
|
22
22
|
<ng-container *ngIf="moduleStatus === ElementStatus.Error">
|
|
23
23
|
<div class="error-container">
|
|
@@ -211,10 +211,21 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemote = true) => {
|
|
|
211
211
|
if (remote.skeletonConfig.options.participant) {
|
|
212
212
|
tools.copy(optionParticipantPath, remoteSrcPath);
|
|
213
213
|
pushContent(optionParticipantDef);
|
|
214
|
-
}
|
|
215
214
|
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
let blockContainerPlaceholder = '';
|
|
216
|
+
if (remote.skeletonConfig.blockContainerName) {
|
|
217
|
+
blockContainerPlaceholder = `<${remote.skeletonConfig.blockContainerName} [block]="block"></${remote.skeletonConfig.blockContainerName}>`;
|
|
218
|
+
}
|
|
219
|
+
if (remote.skeletonConfig.blockContainerTypes) {
|
|
220
|
+
remote.skeletonConfig.blockContainerTypes.forEach((bc) => {
|
|
221
|
+
blockContainerPlaceholder += `
|
|
222
|
+
<ng-container *ngIf="${bc.condition}">
|
|
223
|
+
<${bc.name} [block]="block"></${bc.name}>
|
|
224
|
+
</ng-container>
|
|
225
|
+
`;
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
tools.replaceInPath(remoteSrcPath, '<!-- BLOCK_CONTAINER_PLACEHOLDER -->', blockContainerPlaceholder);
|
|
218
229
|
}
|
|
219
230
|
}
|
|
220
231
|
|