@eui/tools 5.3.9 → 5.3.10

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
- 5.3.9
1
+ 5.3.10
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 5.3.10 (2022-06-10)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * code cleanup MWP-8326 [MWP-8326](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-8326) ([32e3f665](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/32e3f665a91f188e4a7fadfedd9aeec220a657e0))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 5.3.9 (2022-06-10)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "5.3.9",
3
+ "version": "5.3.10",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -3,8 +3,8 @@ import { Router } from '@angular/router';
3
3
 
4
4
  import { take } from 'rxjs/operators';
5
5
 
6
- import { CONFIG_TOKEN, I18nService, UserService } from '@eui/core';
7
- import { ELEMENT_ROUTER_TOKEN, IRouterService, initialization } from '@csdr/integration/element';
6
+ import { CONFIG_TOKEN } from '@eui/core';
7
+ import { ELEMENT_ROUTER_TOKEN, IRouterService, ElementSetupService } from '@csdr/integration/element';
8
8
 
9
9
  import { appConfig } from '../config/index';
10
10
 
@@ -56,8 +56,7 @@ export class ModuleComponent implements OnInit {
56
56
  constructor(private router: Router,
57
57
  @Inject(ELEMENT_ROUTER_TOKEN) private routerService: IRouterService,
58
58
  @Inject(CONFIG_TOKEN) public config: any,
59
- private i18nService: I18nService,
60
- private userService: UserService) {
59
+ private elementSetupService: ElementSetupService) {
61
60
  }
62
61
 
63
62
  public ngOnInit() {
@@ -68,7 +67,7 @@ export class ModuleComponent implements OnInit {
68
67
  private loadData() {
69
68
  this.setStatus(ElementStatus.Loading);
70
69
  try {
71
- initialization(this.i18nService, this.userService)
70
+ this.elementSetupService.init()
72
71
  .pipe(take(1))
73
72
  .subscribe((loadStatus: { success: boolean, error?: string }) => {
74
73
  if (!loadStatus.success) {