@eui/tools 6.12.56 → 6.12.58
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/init/remotes/16.x/full/common/app/module.component.ts +10 -3
- package/scripts/csdr/init/remotes/16.x/full/options/participant/app/module.component.ts +10 -3
- package/scripts/csdr/init/remotes/17.x/full/common/app/module.component.ts +10 -3
- package/scripts/csdr/init/remotes/17.x/full/options/participant/app/module.component.ts +10 -3
- package/scripts/csdr/init/resources/14.x/yarn.lock +10153 -1065
- package/scripts/csdr/init/resources/14.x/yarn.lock.prev +5482 -0
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.12.
|
|
1
|
+
6.12.58
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.12.58 (2023-09-28)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* improve subscription management for v16 / v17 remotes at init time MWP-10096 [MWP-10096](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-10096) ([570c702f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/570c702f1702c4afac11a60807b7048c3ee464dd))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 6.12.57 (2023-09-25)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* updated eUI 14 yarn.lock - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([0fb0166e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/0fb0166e35a90dfe22ff662a92df7d05293da87b))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 6.12.56 (2023-09-16)
|
|
2
20
|
|
|
3
21
|
##### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component, OnInit, Inject, ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { first } from 'rxjs/operators';
|
|
4
5
|
|
|
5
6
|
import { CONFIG_TOKEN } from '@eui/core';
|
|
6
7
|
import { ElementSetupService, ElementLifeCycleService } from '@csdr/integration/element';
|
|
@@ -50,6 +51,8 @@ export class ModuleComponent implements OnInit, OnDestroy {
|
|
|
50
51
|
ElementStatus = ElementStatus;
|
|
51
52
|
moduleStatus: ElementStatus;
|
|
52
53
|
|
|
54
|
+
private initSubscription: Subscription;
|
|
55
|
+
|
|
53
56
|
constructor(private elRef: ElementRef,
|
|
54
57
|
@Inject(CONFIG_TOKEN) public config: any,
|
|
55
58
|
private elementLifeCycleService: ElementLifeCycleService,
|
|
@@ -63,14 +66,18 @@ export class ModuleComponent implements OnInit, OnDestroy {
|
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
ngOnDestroy(): void {
|
|
69
|
+
this.initSubscription?.unsubscribe();
|
|
66
70
|
this.elementLifeCycleService.cleanup();
|
|
67
71
|
}
|
|
68
72
|
|
|
69
73
|
private loadData() {
|
|
70
74
|
this.setStatus(ElementStatus.Loading);
|
|
71
75
|
try {
|
|
72
|
-
this.
|
|
73
|
-
|
|
76
|
+
this.initSubscription?.unsubscribe();
|
|
77
|
+
|
|
78
|
+
this.initSubscription = this.elementSetupService
|
|
79
|
+
.init()
|
|
80
|
+
.pipe(first())
|
|
74
81
|
.subscribe((loadStatus: { success: boolean; error?: string }) => {
|
|
75
82
|
if (!loadStatus.success) {
|
|
76
83
|
this.setStatus(ElementStatus.Error);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component, OnInit, Inject, ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { first } from 'rxjs/operators';
|
|
4
5
|
|
|
5
6
|
import { CONFIG_TOKEN } from '@eui/core';
|
|
6
7
|
import { ElementSetupService, ElementLifeCycleService } from '@csdr/integration/element';
|
|
@@ -52,6 +53,8 @@ export class ModuleComponent implements OnInit, OnDestroy {
|
|
|
52
53
|
|
|
53
54
|
block: any;
|
|
54
55
|
|
|
56
|
+
private initSubscription: Subscription;
|
|
57
|
+
|
|
55
58
|
constructor(private elRef: ElementRef,
|
|
56
59
|
@Inject(CONFIG_TOKEN) public config: any,
|
|
57
60
|
private elementLifeCycleService: ElementLifeCycleService,
|
|
@@ -66,14 +69,18 @@ export class ModuleComponent implements OnInit, OnDestroy {
|
|
|
66
69
|
}
|
|
67
70
|
|
|
68
71
|
ngOnDestroy(): void {
|
|
72
|
+
this.initSubscription?.unsubscribe();
|
|
69
73
|
this.elementLifeCycleService.cleanup();
|
|
70
74
|
}
|
|
71
75
|
|
|
72
76
|
private loadData() {
|
|
73
77
|
this.setStatus(ElementStatus.Loading);
|
|
74
78
|
try {
|
|
75
|
-
this.
|
|
76
|
-
|
|
79
|
+
this.initSubscription?.unsubscribe();
|
|
80
|
+
|
|
81
|
+
this.initSubscription = this.elementSetupService
|
|
82
|
+
.init()
|
|
83
|
+
.pipe(first())
|
|
77
84
|
.subscribe((loadStatus: { success: boolean, error?: string }) => {
|
|
78
85
|
if (!loadStatus.success) {
|
|
79
86
|
this.setStatus(ElementStatus.Error);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component, OnInit, Inject, ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { first } from 'rxjs/operators';
|
|
4
5
|
|
|
5
6
|
import { CONFIG_TOKEN } from '@eui/core';
|
|
6
7
|
import { ElementSetupService, ElementLifeCycleService } from '@csdr/integration/element';
|
|
@@ -50,6 +51,8 @@ export class ModuleComponent implements OnInit, OnDestroy {
|
|
|
50
51
|
ElementStatus = ElementStatus;
|
|
51
52
|
moduleStatus: ElementStatus;
|
|
52
53
|
|
|
54
|
+
private initSubscription: Subscription;
|
|
55
|
+
|
|
53
56
|
constructor(private elRef: ElementRef,
|
|
54
57
|
@Inject(CONFIG_TOKEN) public config: any,
|
|
55
58
|
private elementLifeCycleService: ElementLifeCycleService,
|
|
@@ -63,14 +66,18 @@ export class ModuleComponent implements OnInit, OnDestroy {
|
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
ngOnDestroy(): void {
|
|
69
|
+
this.initSubscription?.unsubscribe();
|
|
66
70
|
this.elementLifeCycleService.cleanup();
|
|
67
71
|
}
|
|
68
72
|
|
|
69
73
|
private loadData() {
|
|
70
74
|
this.setStatus(ElementStatus.Loading);
|
|
71
75
|
try {
|
|
72
|
-
this.
|
|
73
|
-
|
|
76
|
+
this.initSubscription?.unsubscribe();
|
|
77
|
+
|
|
78
|
+
this.initSubscription = this.elementSetupService
|
|
79
|
+
.init()
|
|
80
|
+
.pipe(first())
|
|
74
81
|
.subscribe((loadStatus: { success: boolean; error?: string }) => {
|
|
75
82
|
if (!loadStatus.success) {
|
|
76
83
|
this.setStatus(ElementStatus.Error);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component, OnInit, Inject, ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { first } from 'rxjs/operators';
|
|
4
5
|
|
|
5
6
|
import { CONFIG_TOKEN } from '@eui/core';
|
|
6
7
|
import { ElementSetupService, ElementLifeCycleService } from '@csdr/integration/element';
|
|
@@ -52,6 +53,8 @@ export class ModuleComponent implements OnInit, OnDestroy {
|
|
|
52
53
|
|
|
53
54
|
block: any;
|
|
54
55
|
|
|
56
|
+
private initSubscription: Subscription;
|
|
57
|
+
|
|
55
58
|
constructor(private elRef: ElementRef,
|
|
56
59
|
@Inject(CONFIG_TOKEN) public config: any,
|
|
57
60
|
private elementLifeCycleService: ElementLifeCycleService,
|
|
@@ -66,14 +69,18 @@ export class ModuleComponent implements OnInit, OnDestroy {
|
|
|
66
69
|
}
|
|
67
70
|
|
|
68
71
|
ngOnDestroy(): void {
|
|
72
|
+
this.initSubscription?.unsubscribe();
|
|
69
73
|
this.elementLifeCycleService.cleanup();
|
|
70
74
|
}
|
|
71
75
|
|
|
72
76
|
private loadData() {
|
|
73
77
|
this.setStatus(ElementStatus.Loading);
|
|
74
78
|
try {
|
|
75
|
-
this.
|
|
76
|
-
|
|
79
|
+
this.initSubscription?.unsubscribe();
|
|
80
|
+
|
|
81
|
+
this.initSubscription = this.elementSetupService
|
|
82
|
+
.init()
|
|
83
|
+
.pipe(first())
|
|
77
84
|
.subscribe((loadStatus: { success: boolean, error?: string }) => {
|
|
78
85
|
if (!loadStatus.success) {
|
|
79
86
|
this.setStatus(ElementStatus.Error);
|