@eui/tools 6.21.34 → 6.21.35
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 +9 -0
- package/package.json +1 -1
- package/scripts/csdr/init/remotes/19.x/full/common/app/reducers/index.ts +1 -2
- package/scripts/csdr/init/remotes/19.x/full/options/user-reducers/app/reducers/index.ts +3 -13
- package/scripts/csdr/init/remotes.js +3 -3
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.35
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.21.35 (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) ([b7b2f74f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b7b2f74fcbd2309938a125825a67aad115f04141))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.21.34 (2025-01-13)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
|
@@ -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
|
|
41
|
+
export const metaReducers: MetaReducer<AppState>[] = !environment.production ? [logger] : [];
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { ActionReducer, ActionReducerMap,
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
279
|
+
definitionsContent.push('StoreModule.forRoot(TOKEN)');
|
|
280
280
|
pushContent(optionUserReducersDef);
|
|
281
281
|
} else {
|
|
282
|
-
definitionsContent.push('StoreModule.forRoot(TOKEN, { metaReducers
|
|
282
|
+
definitionsContent.push('StoreModule.forRoot(TOKEN, { metaReducers })');
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
// all-locales specific sources
|