@eui/tools 4.19.13 → 4.19.14

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
- 4.19.13
1
+ 4.19.14
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 4.19.14 (2022-02-22)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * minor changes MWP-7583 [MWP-7583](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-7583) ([2a344a9d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/2a344a9d5af0f60eedddf265c54acb54b76d4dfd))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 4.19.13 (2022-02-22)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "4.19.13",
3
+ "version": "4.19.14",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -0,0 +1,11 @@
1
+ import { Component } from '@angular/core';
2
+
3
+ @Component({
4
+ template: `
5
+ <eui-block-content [isBlocked]="true">
6
+ <div style="height: 100%"></div>
7
+ </eui-block-content>
8
+ `,
9
+ })
10
+ export class FallbackComponent{
11
+ }
@@ -61,7 +61,7 @@ export class ModuleComponent implements OnInit {
61
61
  }
62
62
 
63
63
  public ngOnInit() {
64
- this.router.navigate([this.routerService.getUrl()], { replaceUrl: true });
64
+ this.router.navigateByUrl(this.routerService.getUrl(), { replaceUrl: true });
65
65
  this.loadData();
66
66
  }
67
67
 
@@ -64,6 +64,7 @@ import {
64
64
  } from '@csdr/integration';
65
65
  import { RoutingModule } from './routing.module';
66
66
 
67
+ import { FallbackComponent } from './fallback.component';
67
68
  import { ModuleComponent } from './module.component';
68
69
 
69
70
  export function openidConnectInterceptorFactory(config) {
@@ -92,9 +93,11 @@ export function openidConnectInterceptorFactory(config) {
92
93
  RoutingModule,
93
94
  ],
94
95
  declarations: [
96
+ FallbackComponent,
95
97
  ModuleComponent,
96
98
  ],
97
99
  entryComponents: [
100
+ FallbackComponent,
98
101
  ModuleComponent,
99
102
  ],
100
103
  providers: [
@@ -8,15 +8,17 @@ import { CCRoute, ELEMENT_ROUTER_TOKEN, IRouterService } from '@csdr/integration
8
8
  // TODO[REMOTE-SETUP] adapt to wrapped package import
9
9
  // import { routes } from '@cc/task-manager';
10
10
  import { appConfig } from '../config/index';
11
+ import { FallbackComponent } from './fallback.component';
11
12
  import { ModuleComponent } from './module.component';
12
13
 
13
14
  const prefixedRoutes: Routes = [
15
+ { path: '', component: ModuleComponent },
14
16
  {
15
17
  path: appConfig.global.baseUrl,
16
18
  // TODO[REMOTE-SETUP] adapt to wrapped package import
17
19
  // children: routes,
18
20
  },
19
- { path: '**', component: ModuleComponent },
21
+ { path: '**', component: FallbackComponent },
20
22
  ];
21
23
 
22
24
  // @dynamic