@eui/tools 6.3.44 → 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,21 @@
|
|
|
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
|
+
* * *
|
|
10
|
+
## 6.3.45 (2023-02-21)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* addition of "," for DynamicFormsModule.forRoot(dynMapConfig) metadata MWP-9235 [MWP-9235](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9235) ([89050e1b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/89050e1bf83297c559da2eb875443caff84b5f0c))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.3.44 (2023-02-21)
|
|
2
20
|
|
|
3
21
|
##### 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,17 +211,28 @@ 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
|
|
|
221
232
|
// replace option in module.ts placeholders
|
|
222
233
|
const moduleTsPath = path.join(remoteSrcPath, 'app', 'module.ts');
|
|
223
234
|
tools.replaceInFileSync(moduleTsPath, '// IMPORTS', importsContent.join('\n'));
|
|
224
|
-
tools.replaceInFileSync(moduleTsPath, '// DEFINITIONS', definitionsContent.join(',\n'));
|
|
235
|
+
tools.replaceInFileSync(moduleTsPath, '// DEFINITIONS', `${definitionsContent.join() ? definitionsContent.join(',\n') + ',' : ''}`);
|
|
225
236
|
tools.replaceInFileSync(moduleTsPath, '// DECLARATIONS', declarationsContent.join('\n'));
|
|
226
237
|
tools.replaceInFileSync(moduleTsPath, '// PROVIDERS', providersContent.join(',\n'));
|
|
227
238
|
tools.replaceInFileSync(moduleTsPath, '// CONSTRUCTOR DECLARATIONS', constructorDeclarationsContent.join('\n'));
|