@eui/tools 6.21.35 → 6.21.37
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 +1 -1
- package/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/scripts/csdr/config/angular.js +9 -3
- package/scripts/csdr/init/remotes/19.x/full/common/config/global.ts +0 -3
- package/scripts/csdr/init/remotes/19.x/full/options/all-locales/config/global.ts +0 -3
- package/scripts/csdr/init/remotes/19.x/full/options/extra-locales/config/global.ts +3 -6
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.37
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.21.37 (2025-01-14)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* adapted angular.json injection for host app above 18+ - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([b899079a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b899079aca6dacc0214512dc5d3b058ec0183dc1))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.21.36 (2025-01-13)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* v19 mapping adaptations MWP-11339 [MWP-11339](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11339) ([768c680a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/768c680a8bb62bd6b893990d468caef1c736511c))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.21.35 (2025-01-13)
|
|
2
20
|
|
|
3
21
|
##### Chores
|
package/package.json
CHANGED
|
@@ -377,9 +377,15 @@ module.exports.registerAngularProjectDef = (project, build = false, element = fa
|
|
|
377
377
|
|
|
378
378
|
let configurationDef, configurationDefOptimized;
|
|
379
379
|
if (project.build && project.build.csdrFileReplacement) {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
380
|
+
if (packageEuiVersionNumber >= 18) {
|
|
381
|
+
tools.logInfo('Injecting angular configuration for 18+ - file replacement is handled by CSDR');
|
|
382
|
+
configurationDef = JSON.stringify(angularProjectDefConfigurationHostEsbuild);
|
|
383
|
+
configurationDefOptimized = JSON.stringify(angularProjectDefConfigurationOptimizedHostEsbuild);
|
|
384
|
+
} else {
|
|
385
|
+
tools.logInfo('Injecting light angular configuration - file replacement is handled by CSDR');
|
|
386
|
+
configurationDef = JSON.stringify(angularProjectDefConfigurationLight);
|
|
387
|
+
configurationDefOptimized = JSON.stringify(angularProjectDefConfigurationOptimizedLight);
|
|
388
|
+
}
|
|
383
389
|
} else {
|
|
384
390
|
tools.logInfo('Injecting angular configuration file replacement');
|
|
385
391
|
if (project.host) {
|
|
@@ -116,7 +116,7 @@ const longDateFormat = {
|
|
|
116
116
|
lll: 'D MMMM YYYY HH:mm',
|
|
117
117
|
/** llll: Specifies the format for displaying the full date and time with the day of the week. */
|
|
118
118
|
llll: 'dddd, D MMMM YYYY HH:mm',
|
|
119
|
-
}
|
|
119
|
+
};
|
|
120
120
|
|
|
121
121
|
const longDateFormat_Common = {
|
|
122
122
|
LT: 'HH:mm',
|
|
@@ -129,7 +129,7 @@ const longDateFormat_Common = {
|
|
|
129
129
|
ll: 'D MMMM YYYY',
|
|
130
130
|
lll: 'D MMMM YYYY HH:mm',
|
|
131
131
|
llll: 'dddd, D MMMM YYYY HH:mm',
|
|
132
|
-
}
|
|
132
|
+
};
|
|
133
133
|
|
|
134
134
|
moment.defineLocale('en-at', { parentLocale: 'en', longDateFormat_Common });
|
|
135
135
|
moment.defineLocale('en-be', { parentLocale: 'en', longDateFormat });
|
|
@@ -167,7 +167,7 @@ moment.defineLocale('en-se', {
|
|
|
167
167
|
lll: 'D MMMM YYYY HH:mm',
|
|
168
168
|
/** llll: Specifies the format for displaying the full date and time with the day of the week. */
|
|
169
169
|
llll: 'dddd, D MMMM YYYY HH:mm',
|
|
170
|
-
}
|
|
170
|
+
},
|
|
171
171
|
});
|
|
172
172
|
moment.defineLocale('en-si', { parentLocale: 'en', longDateFormat_Common });
|
|
173
173
|
moment.defineLocale('fr-be', { parentLocale: 'fr', longDateFormat });
|
|
@@ -191,10 +191,7 @@ const i18nConfig: I18nConfig = {
|
|
|
191
191
|
* Locale Configuration
|
|
192
192
|
*/
|
|
193
193
|
const localeConfig: LocaleServiceConfig = {
|
|
194
|
-
id: 'en',
|
|
195
|
-
available: ['en', 'fr'],
|
|
196
194
|
bindWithTranslate: true,
|
|
197
|
-
affectGlobalLocale: true,
|
|
198
195
|
};
|
|
199
196
|
|
|
200
197
|
/**
|