@eui/tools 6.21.34 → 6.21.36

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.34
1
+ 6.21.36
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.21.36 (2025-01-13)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * 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))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.21.35 (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) ([b7b2f74f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b7b2f74fcbd2309938a125825a67aad115f04141))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.21.34 (2025-01-13)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.34",
3
+ "version": "6.21.36",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -1,7 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
2
  import { ActionReducer, ActionReducerMap, MetaReducer } from '@ngrx/store';
3
3
  import * as fromRouter from '@ngrx/router-store';
4
- import { storeFreeze } from 'ngrx-store-freeze';
5
4
  import { CoreState, reducers as coreReducers } from '@eui/core';
6
5
 
7
6
  import { environment } from '../../environments/environment';
@@ -39,4 +38,4 @@ export function logger(reducer: ActionReducer<AppState>): ActionReducer<AppState
39
38
  };
40
39
  }
41
40
 
42
- export const metaReducers: MetaReducer<AppState>[] = !environment.production ? [logger, storeFreeze] : [];
41
+ export const metaReducers: MetaReducer<AppState>[] = !environment.production ? [logger] : [];
@@ -94,10 +94,7 @@ const i18nConfig: I18nConfig = {
94
94
  * Locale Configuration
95
95
  */
96
96
  const localeConfig: LocaleServiceConfig = {
97
- id: 'en',
98
- available: ['en', 'fr'],
99
97
  bindWithTranslate: true,
100
- affectGlobalLocale: true,
101
98
  };
102
99
 
103
100
  /**
@@ -98,10 +98,7 @@ const i18nConfig: I18nConfig = {
98
98
  * Locale Configuration
99
99
  */
100
100
  const localeConfig: LocaleServiceConfig = {
101
- id: 'en',
102
- available: languages,
103
101
  bindWithTranslate: true,
104
- affectGlobalLocale: true,
105
102
  };
106
103
 
107
104
  /**
@@ -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
  /**
@@ -1,9 +1,8 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { ActionReducer, ActionReducerMap, MetaReducer, INIT, RuntimeChecks } from '@ngrx/store';
2
+ import { ActionReducer, ActionReducerMap, INIT, MetaReducer } from '@ngrx/store';
3
3
  import * as fromRouter from '@ngrx/router-store';
4
- import { storeFreeze } from 'ngrx-store-freeze';
5
4
 
6
- import { reducers as coreReducers, CoreState } from '@eui/core';
5
+ import { CoreState, reducers as coreReducers } from '@eui/core';
7
6
  import { ElementStorageService } from '@csdr/core';
8
7
 
9
8
  import { environment } from '../../environments/environment';
@@ -60,16 +59,7 @@ export function hydrationFactory(config: any, elementStorage: ElementStorageServ
60
59
 
61
60
  export function metaReducers(config: any, elementStorage: ElementStorageService): MetaReducer<AppState>[] {
62
61
  if (!environment.production) {
63
- return [logger, storeFreeze, hydrationFactory(config, elementStorage)];
62
+ return [logger, hydrationFactory(config, elementStorage)];
64
63
  }
65
64
  return [hydrationFactory(config, elementStorage)];
66
65
  }
67
-
68
- export const runtimeChecks: RuntimeChecks = {
69
- strictStateSerializability: false,
70
- strictActionSerializability: false,
71
- strictStateImmutability: false,
72
- strictActionImmutability: false,
73
- strictActionWithinNgZone: false,
74
- strictActionTypeUniqueness: false,
75
- };
@@ -261,7 +261,7 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemotesConfigFlag = tru
261
261
 
262
262
  // if no options found, we inject default modules defs
263
263
  if (!remote.skeletonConfig.options) {
264
- definitionsContent.push('StoreModule.forRoot(TOKEN, { metaReducers, runtimeChecks })');
264
+ definitionsContent.push('StoreModule.forRoot(TOKEN, { metaReducers })');
265
265
 
266
266
  // if options, all options are checked and default modules defs are injected following certain conditions
267
267
  } else {
@@ -276,10 +276,10 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemotesConfigFlag = tru
276
276
  // user-reducers specific sources
277
277
  if (remote.skeletonConfig.options.userReducers) {
278
278
  tools.copy(optionUserReducersPath, remoteSrcPath);
279
- definitionsContent.push('StoreModule.forRoot(TOKEN, { runtimeChecks })');
279
+ definitionsContent.push('StoreModule.forRoot(TOKEN)');
280
280
  pushContent(optionUserReducersDef);
281
281
  } else {
282
- definitionsContent.push('StoreModule.forRoot(TOKEN, { metaReducers, runtimeChecks })');
282
+ definitionsContent.push('StoreModule.forRoot(TOKEN, { metaReducers })');
283
283
  }
284
284
 
285
285
  // all-locales specific sources