@eui/cli 19.3.12 → 19.3.13-snapshot-1772801970559

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.
Files changed (34) hide show
  1. package/lib/skeletons/_angular/base/package.json +2 -2
  2. package/lib/skeletons/_angular/base-mobile/angular.json +4 -4
  3. package/lib/skeletons/_angular/base-mobile/package.json +8 -22
  4. package/lib/skeletons/_angular/base-mobile/src/app/app-routing.module.ts +4 -5
  5. package/lib/skeletons/_angular/base-mobile/src/app/app.component.ts +6 -2
  6. package/lib/skeletons/_angular/base-mobile/src/app/app.module.ts +0 -2
  7. package/lib/skeletons/_angular/base-mobile/src/app/core/core.module.ts +16 -1
  8. package/lib/skeletons/_angular/base-mobile/src/app/core/reducers/index.ts +32 -0
  9. package/lib/skeletons/_angular/base-mobile/src/app/features/about/{about.routes.ts → about-routing.module.ts} +8 -2
  10. package/lib/skeletons/_angular/base-mobile/src/app/features/about/about.component.ts +1 -5
  11. package/lib/skeletons/_angular/base-mobile/src/app/features/about/about.module.ts +30 -0
  12. package/lib/skeletons/_angular/base-mobile/src/app/features/about/change-log/changelog.component.ts +1 -5
  13. package/lib/skeletons/_angular/base-mobile/src/app/features/about/help-support/help-support.component.ts +8 -12
  14. package/lib/skeletons/_angular/base-mobile/src/app/features/about/legal-notice/legal-notice.component.ts +4 -6
  15. package/lib/skeletons/_angular/base-mobile/src/app/features/about/licence-details/licence-details.component.ts +3 -6
  16. package/lib/skeletons/_angular/base-mobile/src/app/features/about/opensource-licences/opensource-licences.component.ts +1 -5
  17. package/lib/skeletons/_angular/base-mobile/src/app/features/about/privacy-statement/privacy-statement.component.ts +1 -5
  18. package/lib/skeletons/_angular/base-mobile/src/app/features/home/home-routing.module.ts +15 -0
  19. package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.component.ts +0 -3
  20. package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.module.ts +18 -0
  21. package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page1/page1.component.ts +4 -5
  22. package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page2/page2.component.ts +3 -5
  23. package/lib/skeletons/_angular/base-mobile/src/app/features/module1/{module1.routes.ts → module1-routing.module.ts} +10 -2
  24. package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.component.ts +4 -4
  25. package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.module.ts +21 -0
  26. package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2-routing.module.ts +16 -0
  27. package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.component.ts +3 -5
  28. package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.module.ts +17 -0
  29. package/lib/skeletons/_angular/base-mobile/src/index.html +1 -1
  30. package/lib/skeletons/_angular/base-mobile/src/main.ts +1 -6
  31. package/lib/skeletons/web-symfony/myapp-web/package.json +2 -2
  32. package/package.json +3 -3
  33. package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.routes.ts +0 -6
  34. package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.routes.ts +0 -6
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "19.3.12",
3
+ "version": "19.3.13-snapshot-1772801970559",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "private": true,
23
23
  "dependencies": {
24
- "@eui/deps-base": "19.3.12"
24
+ "@eui/deps-base": "19.3.13-snapshot-1772801970559"
25
25
  },
26
26
  "resolutions": {
27
27
  "js-yaml": ">=3.13.1",
@@ -118,18 +118,18 @@
118
118
  "serve": {
119
119
  "builder": "@angular-devkit/build-angular:dev-server",
120
120
  "options": {
121
- "buildTarget": "app:build"
121
+ "browserTarget": "app:build"
122
122
  },
123
123
  "configurations": {
124
124
  "proxy-mock": {
125
- "buildTarget": "app:build:development",
125
+ "browserTarget": "app:build:development",
126
126
  "proxyConfig": "proxy-mock.conf.json"
127
127
  },
128
128
  "production": {
129
- "buildTarget": "app:build:production"
129
+ "browserTarget": "app:build:production"
130
130
  },
131
131
  "development": {
132
- "buildTarget": "app:build:development"
132
+ "browserTarget": "app:build:development"
133
133
  }
134
134
  },
135
135
  "defaultConfiguration": "development"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "19.3.12",
3
+ "version": "19.3.13-snapshot-1772801970559",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
@@ -10,32 +10,18 @@
10
10
  "start-proxy": "eui-scripts serve-app --configuration=proxy",
11
11
  "start-local": "eui-scripts serve-app",
12
12
  "build": "eui-scripts build-app",
13
- "build-dev": "eui-scripts build-app --configuration=development --configEnvTarget=dev",
14
- "build-prod": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=prod",
15
- "build-prod-skip-test": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=prod --skipTest",
16
- "build-prod-stats": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=prod --statsJson",
13
+ "build-dev": "eui-scripts build-app --configuration=development --configEnvTarget=DEV",
14
+ "build-prod": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD",
15
+ "build-prod-skip-test": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD --skipTest",
16
+ "build-prod-stats": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD --statsJson",
17
17
  "app:build": "eui-scripts build-app",
18
18
  "app:inject-config": "eui-scripts inject-config-app",
19
19
  "generate-changelog": "eui-scripts generate-changelog"
20
20
  },
21
21
  "private": true,
22
22
  "dependencies": {
23
- "@eui/deps-base-next": "19.3.12",
24
- "@eui/mobile-core": "20.0.0-rc.6",
25
- "@eui/mobile-styles": "20.0.0-rc.6"
26
- },
27
- "resolutions": {
28
- "js-yaml": ">=3.13.1",
29
- "pdfjs-dist": "4.10.38",
30
- "tar": ">=6.2.1",
31
- "katex": ">=0.16.10",
32
- "follow-redirects": ">=1.15.4",
33
- "word-wrap": ">=1.2.4",
34
- "postcss": ">=8.4.31",
35
- "semver": ">=7.5.2",
36
- "express": "4.21.2",
37
- "path-to-regexp": "1.9.0",
38
- "tablesort": "5.6.0",
39
- "yargs": "17.7.2"
23
+ "@eui/deps-base": "18.2.20",
24
+ "@eui/mobile-core": "18.1.4",
25
+ "@eui/mobile-styles": "18.1.4"
40
26
  }
41
27
  }
@@ -4,10 +4,10 @@ import { RouterModule, Routes } from '@angular/router';
4
4
  const routes: Routes = [
5
5
  { path: '', redirectTo: 'screen/home', pathMatch: 'full' },
6
6
  { path: 'index.jsp', redirectTo: 'screen/home' },
7
- { path: 'screen/home', loadChildren: () => import('./features/home/home.routes').then(m => m.HOME_ROUTES) },
8
- { path: 'screen/module1', loadChildren: () => import('./features/module1/module1.routes').then(m => m.MODULE1_ROUTES) },
9
- { path: 'screen/module2', loadChildren: () => import('./features/module2/module2.routes').then(m => m.MODULE2_ROUTES) },
10
- { path: 'screen/about', loadChildren: () => import('./features/about/about.routes').then(m => m.ABOUT_ROUTES) },
7
+ { path: 'screen/home', loadChildren: () => import('./features/home/home.module').then(m => m.Module) },
8
+ { path: 'screen/module1', loadChildren: () => import('./features/module1/module1.module').then(m => m.Module) },
9
+ { path: 'screen/module2', loadChildren: () => import('./features/module2/module2.module').then(m => m.Module) },
10
+ { path: 'screen/about', loadChildren: () => import('./features/about/about.module').then(m => m.Module) },
11
11
  ];
12
12
 
13
13
  @NgModule({
@@ -16,4 +16,3 @@ const routes: Routes = [
16
16
  ],
17
17
  })
18
18
  export class AppRoutingModule {}
19
-
@@ -1,4 +1,5 @@
1
1
  import { Component, OnDestroy } from '@angular/core';
2
+ import { Store } from '@ngrx/store';
2
3
  import {
3
4
  getUserState,
4
5
  UserState,
@@ -9,7 +10,6 @@ import { NavController } from "@ionic/angular";
9
10
  @Component({
10
11
  selector: 'app-root',
11
12
  templateUrl: './app.component.html',
12
- standalone:false,
13
13
  })
14
14
  export class AppComponent implements OnDestroy {
15
15
  userInfos: UserState;
@@ -47,9 +47,13 @@ export class AppComponent implements OnDestroy {
47
47
  ];
48
48
 
49
49
  constructor(
50
+ private store: Store<any>,
50
51
  private navCtrl:NavController,
51
52
  ) {
52
- // TODO
53
+ this.userState = this.store.select(getUserState);
54
+ this.subs.push(this.userState.subscribe((user: UserState) => {
55
+ this.userInfos = { ...user };
56
+ }));
53
57
  }
54
58
 
55
59
  ngOnDestroy() {
@@ -7,7 +7,6 @@ import { AppComponent } from './app.component';
7
7
  import { CoreModule } from './core/core.module';
8
8
  import { AppStarterService } from './app-starter.service';
9
9
  import { ServiceWorkerModule } from '@angular/service-worker';
10
- import { provideHttpClient, withFetch } from '@angular/common/http';
11
10
 
12
11
  @NgModule({
13
12
  declarations: [
@@ -37,7 +36,6 @@ import { provideHttpClient, withFetch } from '@angular/common/http';
37
36
  deps: [AppStarterService],
38
37
  multi: true
39
38
  },
40
- provideHttpClient(withFetch()),
41
39
  ],
42
40
  bootstrap: [
43
41
  AppComponent,
@@ -1,5 +1,8 @@
1
1
  import { NgModule } from '@angular/core';
2
2
  import { TranslateModule } from '@ngx-translate/core';
3
+ import { StoreModule } from '@ngrx/store';
4
+ import { EffectsModule } from '@ngrx/effects';
5
+ import { StoreDevtoolsModule } from '@ngrx/store-devtools';
3
6
 
4
7
  import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
5
8
 
@@ -12,12 +15,15 @@ import {
12
15
  EuLoginSessionTimeoutHandlingInterceptor,
13
16
  CoreModule as EuiCoreModule,
14
17
  translateConfig,
18
+ CoreModuleEffects,
15
19
  EUI_CONFIG_TOKEN,
16
20
  } from '@eui/core';
17
21
 
18
22
  import { appConfig } from '../../config/index';
19
23
  import { environment } from '../../environments/environment';
20
24
 
25
+ import { REDUCER_TOKEN, getReducers, metaReducers } from './reducers/index';
26
+
21
27
  import { SharedModule } from '@shared/shared.module';
22
28
 
23
29
  @NgModule({
@@ -25,7 +31,11 @@ import { SharedModule } from '@shared/shared.module';
25
31
  HttpClientModule,
26
32
  SharedModule,
27
33
  EuiCoreModule.forRoot(),
34
+ EffectsModule.forRoot([...CoreModuleEffects]),
28
35
  TranslateModule.forRoot(translateConfig),
36
+ StoreModule.forRoot(),
37
+ StoreModule.forRoot(REDUCER_TOKEN, { metaReducers }),
38
+ !environment.production ? StoreDevtoolsModule.instrument({ maxAge: 50 }) : [],
29
39
  IonicModule.forRoot({mode: 'md'}),
30
40
  ],
31
41
  declarations: [
@@ -34,6 +44,11 @@ import { SharedModule } from '@shared/shared.module';
34
44
  SharedModule,
35
45
  ],
36
46
  providers: [
47
+ {
48
+ provide: REDUCER_TOKEN,
49
+ deps: [],
50
+ useFactory: getReducers,
51
+ },
37
52
  {
38
53
  provide: EUI_CONFIG_TOKEN,
39
54
  useValue: { appConfig: appConfig, environment: environment }
@@ -71,4 +86,4 @@ import { SharedModule } from '@shared/shared.module';
71
86
  })
72
87
  export class CoreModule {
73
88
 
74
- }
89
+ }
@@ -0,0 +1,32 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { MetaReducer } from '@ngrx/store';
3
+ import { storeFreeze } from 'ngrx-store-freeze';
4
+ import { reducers as coreReducers, localStorageSync } from '@eui/core';
5
+ import { CoreState, getAppState } from '@eui/core';
6
+
7
+ import { environment } from '../../../environments/environment';
8
+
9
+ export const REDUCER_TOKEN = new InjectionToken<any>('Registered Reducers');
10
+
11
+ /**
12
+ * Define here your app state
13
+ *
14
+ * [IMPORTANT]
15
+ * There are some **reserved** slice of the state
16
+ * that you **can not** use in your application ==> app |user | notification
17
+ */
18
+ // eslint-disable-next-line
19
+ export interface AppState extends CoreState {
20
+ // [key: string]: fromTaskManager.State | any;
21
+ }
22
+
23
+ /**
24
+ * Define here the reducers of your app
25
+ */
26
+ const rootReducer = Object.assign({}, coreReducers, {
27
+ // [fromTaskManager.namespace]: fromTaskManager.reducers,
28
+ });
29
+
30
+ export const getReducers = () => rootReducer;
31
+
32
+ export const metaReducers: MetaReducer<AppState>[] = !environment.production ? [localStorageSync, storeFreeze] : [localStorageSync];
@@ -1,4 +1,5 @@
1
- import { Routes } from '@angular/router';
1
+ import { NgModule } from '@angular/core';
2
+ import { RouterModule, Routes } from '@angular/router';
2
3
  import { AboutComponent } from './about.component';
3
4
  import { ChangeLogComponent } from './change-log/changelog.component';
4
5
  import { PrivacystatementComponent } from './privacy-statement/privacy-statement.component';
@@ -7,7 +8,7 @@ import { HelpSupportComponent } from './help-support/help-support.component';
7
8
  import { OpensourceLicencesComponent } from './opensource-licences/opensource-licences.component';
8
9
  import { LicenceDetailsComponent } from './licence-details/licence-details.component';
9
10
 
10
- export const ABOUT_ROUTES: Routes = [
11
+ const routes: Routes = [
11
12
  {
12
13
  path: '',
13
14
  component: AboutComponent,
@@ -37,3 +38,8 @@ export const ABOUT_ROUTES: Routes = [
37
38
  component: LicenceDetailsComponent
38
39
  },
39
40
  ];
41
+
42
+ @NgModule({
43
+ imports: [RouterModule.forChild(routes)],
44
+ })
45
+ export class AboutRoutingModule {}
@@ -1,12 +1,8 @@
1
1
  import { Component } from '@angular/core';
2
2
  import { NavController } from '@ionic/angular';
3
- import { EuimChipSelectorComponentModule, EuimAboutModule, EuimHeaderDetailsModule, EuimToolbarQrcodeModule, EuimToolbarComponentModule, EuimLabelModule } from '@eui/mobile-core';
4
- import { IonToolbar, IonHeader, IonContent, IonList, IonListHeader, IonItem, IonLabel, IonIcon, IonButton } from '@ionic/angular/standalone';
5
- import { TranslateModule } from '@ngx-translate/core';
6
3
 
7
4
  @Component({
8
- templateUrl: './about.component.html',
9
- imports: [TranslateModule, IonToolbar, IonHeader, IonContent, IonList, IonListHeader, IonItem, IonLabel, IonIcon, IonButton, EuimChipSelectorComponentModule, EuimAboutModule, EuimHeaderDetailsModule, EuimToolbarQrcodeModule, EuimToolbarComponentModule, EuimLabelModule ]
5
+ templateUrl: './about.component.html'
10
6
  })
11
7
  export class AboutComponent {
12
8
  showCode = false;
@@ -0,0 +1,30 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { AboutRoutingModule } from './about-routing.module';
3
+ import { AboutComponent } from './about.component';
4
+ import { ChangeLogComponent } from './change-log/changelog.component';
5
+ import { LicenceDetailsComponent } from './licence-details/licence-details.component';
6
+ import { PrivacystatementComponent } from './privacy-statement/privacy-statement.component';
7
+ import { LegalNoticeComponent } from './legal-notice/legal-notice.component';
8
+ import { HelpSupportComponent } from './help-support/help-support.component';
9
+ import { OpensourceLicencesComponent } from './opensource-licences/opensource-licences.component';
10
+ import { SharedModule } from '@shared/shared.module';
11
+ import { TranslateModule } from '@ngx-translate/core';
12
+
13
+ @NgModule({
14
+ imports: [
15
+ SharedModule,
16
+ AboutRoutingModule,
17
+ TranslateModule,
18
+ ],
19
+ declarations: [
20
+ AboutComponent,
21
+ ChangeLogComponent,
22
+ PrivacystatementComponent,
23
+ LegalNoticeComponent,
24
+ HelpSupportComponent,
25
+ LicenceDetailsComponent,
26
+ OpensourceLicencesComponent
27
+ ],
28
+ })
29
+ export class Module {
30
+ }
@@ -1,10 +1,6 @@
1
1
  import { Component } from '@angular/core';
2
- import { EuimAboutModule, EuimToolbarComponentModule } from '@eui/mobile-core';
3
- import { IonToolbar, IonHeader, IonContent } from '@ionic/angular/standalone';
4
- import { TranslateModule } from '@ngx-translate/core';
5
2
  @Component({
6
- templateUrl: './changelog.component.html',
7
- imports: [TranslateModule, EuimAboutModule, IonToolbar, IonHeader, IonContent, EuimToolbarComponentModule]
3
+ templateUrl: './changelog.component.html'
8
4
  })
9
5
  export class ChangeLogComponent {
10
6
  changeLogs = [
@@ -1,11 +1,7 @@
1
1
  import { Component } from '@angular/core';
2
- import { EuimAboutModule, EuimAlertMessageModule, EuimToolbarComponentModule } from '@eui/mobile-core';
3
- import { IonToolbar, IonHeader, IonContent, IonIcon, IonButton } from '@ionic/angular/standalone';
4
- import { TranslateModule } from '@ngx-translate/core';
5
2
 
6
3
  @Component({
7
- templateUrl: './help-support.component.html',
8
- imports: [TranslateModule, IonToolbar, IonIcon, IonButton, EuimAboutModule, EuimAlertMessageModule, IonHeader, IonContent, EuimToolbarComponentModule]
4
+ templateUrl: './help-support.component.html'
9
5
  })
10
6
  export class HelpSupportComponent {
11
7
  alertInfos = {
@@ -23,28 +19,28 @@ export class HelpSupportComponent {
23
19
  title: '+352 123 45 67890',
24
20
  phone: '+352 123 45 67890',
25
21
  subtitle: 'Customer service',
26
- startIcon: 'call-outline',
22
+ startIcon: 'call',
27
23
  hasBottomLine: true
28
24
  },
29
25
  {
30
26
  title: '+32 123 45 67890',
31
27
  phone: '+32 123 45 67890',
32
28
  subtitle: 'Helpdesk support',
33
- startIcon: 'call-outline',
29
+ startIcon: 'call',
34
30
  hasBottomLine: true
35
31
  },
36
32
  {
37
33
  title: 'digit-eui-support@ec.europa.eu',
38
34
  mail: 'digit-eui-support@ec.europa.eu',
39
35
  subtitle: 'Helpdesk support',
40
- startIcon: 'call-outline',
36
+ startIcon: 'at',
41
37
  hasBottomLine: true
42
38
  },
43
39
  {
44
40
  title: 'EC Microsoft Teams',
45
41
  link: 'https://teams.microsoft.com/l/channel/19%3a6db7a6cef52340eb91d67b8d75db2523%40thread.tacv2/%25E2%259D%2593%25E2%259D%2593%2520%2520HELPDESK%2520and%2520SUPPORT?groupId=fb6def72-c57b-4e8f-a82e-49be65d6e1f5&tenantId=b24c8b06-522c-46fe-9080-70926f8dddb1',
46
42
  subtitle: 'Microsoft Teams helpdesk channel',
47
- startIcon: 'call-outline'
43
+ startIcon: 'people'
48
44
  },
49
45
  ],
50
46
  },
@@ -55,21 +51,21 @@ export class HelpSupportComponent {
55
51
  title: 'eUI / mobile manual',
56
52
  subtitle: 'Getting started with library',
57
53
  link: 'https://euidev.ecdevops.eu/eui-showcase-mobile-18.x/home',
58
- startIcon: 'call-outline',
54
+ startIcon: 'book',
59
55
  endIcon: 'link'
60
56
  },
61
57
  {
62
58
  title: 'EU Login',
63
59
  subtitle: 'User manual',
64
60
  link: 'https://webgate.ec.europa.eu/cas/help.html',
65
- startIcon: 'call-outline',
61
+ startIcon: 'book',
66
62
  endIcon: 'link'
67
63
  },
68
64
  {
69
65
  title: 'FAQ',
70
66
  subtitle: 'Frequently asked questions',
71
67
  link: 'https://ec.europa.eu/sustainable-finance-taxonomy/faq',
72
- startIcon: 'call-outline',
68
+ startIcon: 'book',
73
69
  endIcon: 'link'
74
70
  }
75
71
  ]
@@ -1,10 +1,8 @@
1
1
  import { Component } from '@angular/core';
2
- import { EuimAboutModule, EuimPdfViewerModule, EuimToolbarComponentModule } from '@eui/mobile-core';
3
- import { IonToolbar, IonHeader, IonContent } from '@ionic/angular/standalone';
4
- import { TranslateModule } from '@ngx-translate/core';
5
2
 
6
3
  @Component({
7
- templateUrl: './legal-notice.component.html',
8
- imports: [TranslateModule, IonToolbar, EuimAboutModule, EuimPdfViewerModule, IonHeader, IonContent, EuimToolbarComponentModule]
4
+ templateUrl: './legal-notice.component.html'
9
5
  })
10
- export class LegalNoticeComponent {}
6
+ export class LegalNoticeComponent {
7
+
8
+ }
@@ -1,10 +1,7 @@
1
1
  import { Component } from '@angular/core';
2
- import { EuimAboutModule, EuimToolbarComponentModule } from '@eui/mobile-core';
3
- import { IonToolbar, IonHeader, IonContent } from '@ionic/angular/standalone';
4
- import { TranslateModule } from '@ngx-translate/core';
5
2
 
6
3
  @Component({
7
- templateUrl: './licence-details.component.html',
8
- imports: [TranslateModule, IonToolbar, EuimAboutModule, IonHeader, IonContent, EuimToolbarComponentModule]
4
+ templateUrl: './licence-details.component.html'
9
5
  })
10
- export class LicenceDetailsComponent {}
6
+ export class LicenceDetailsComponent {
7
+ }
@@ -1,12 +1,8 @@
1
1
  import { Component } from '@angular/core';
2
2
  import { NavController } from '@ionic/angular';
3
- import { EuimAboutModule, EuimToolbarComponentModule } from '@eui/mobile-core';
4
- import { IonToolbar, IonHeader, IonContent } from '@ionic/angular/standalone';
5
- import { TranslateModule } from '@ngx-translate/core';
6
3
 
7
4
  @Component({
8
- templateUrl: './opensource-licences.component.html',
9
- imports: [TranslateModule, IonToolbar, EuimAboutModule, IonHeader, IonContent, EuimToolbarComponentModule]
5
+ templateUrl: './opensource-licences.component.html'
10
6
  })
11
7
  export class OpensourceLicencesComponent {
12
8
  constructor(
@@ -1,11 +1,7 @@
1
1
  import { Component } from '@angular/core';
2
- import { EuimAboutModule, EuimToolbarComponentModule } from '@eui/mobile-core';
3
- import { IonToolbar, IonHeader, IonContent } from '@ionic/angular/standalone';
4
- import { TranslateModule } from '@ngx-translate/core';
5
2
 
6
3
  @Component({
7
- templateUrl: './privacy-statement.component.html',
8
- imports: [TranslateModule, IonToolbar, EuimAboutModule, IonHeader, IonContent, EuimToolbarComponentModule]
4
+ templateUrl: './privacy-statement.component.html'
9
5
  })
10
6
  export class PrivacystatementComponent {
11
7
  changeLogs = [
@@ -0,0 +1,15 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { RouterModule, Routes } from '@angular/router';
3
+
4
+ import { HomeComponent } from './home.component';
5
+
6
+ const routes: Routes = [
7
+ { path: '', component: HomeComponent },
8
+ ];
9
+
10
+ @NgModule({
11
+ imports: [
12
+ RouterModule.forChild(routes)
13
+ ],
14
+ })
15
+ export class HomeRoutingModule {}
@@ -1,11 +1,8 @@
1
1
  import { Component, Inject } from '@angular/core';
2
2
  import { CONFIG_TOKEN, EuiAppConfig } from '@eui/core';
3
- import { EuimToolbarComponentModule } from '@eui/mobile-core';
4
- import { IonToolbar, IonHeader, IonContent } from '@ionic/angular/standalone';
5
3
 
6
4
  @Component({
7
5
  templateUrl: './home.component.html',
8
- imports: [EuimToolbarComponentModule, IonToolbar, IonHeader, IonContent],
9
6
  })
10
7
  export class HomeComponent {
11
8
  constructor(@Inject(CONFIG_TOKEN) private config: EuiAppConfig) {}
@@ -0,0 +1,18 @@
1
+ import { NgModule } from '@angular/core';
2
+
3
+ import { SharedModule } from '../../shared/shared.module';
4
+
5
+ import { HomeRoutingModule } from './home-routing.module';
6
+
7
+ import { HomeComponent } from './home.component';
8
+
9
+ @NgModule({
10
+ imports: [
11
+ SharedModule,
12
+ HomeRoutingModule,
13
+ ],
14
+ declarations: [
15
+ HomeComponent,
16
+ ],
17
+ })
18
+ export class Module {}
@@ -1,9 +1,8 @@
1
1
  import { Component } from '@angular/core';
2
- import { EuimToolbarComponentModule } from '@eui/mobile-core';
3
- import { IonToolbar, IonHeader, IonContent } from '@ionic/angular/standalone';
2
+
4
3
  @Component({
5
4
  selector: 'page-one',
6
- templateUrl: './page1.component.html',
7
- imports: [EuimToolbarComponentModule, IonToolbar, IonHeader, IonContent],
5
+ templateUrl: './page1.component.html'
8
6
  })
9
- export class Page1Component {}
7
+ export class Page1Component {
8
+ }
@@ -1,10 +1,8 @@
1
1
  import { Component } from '@angular/core';
2
- import { EuimToolbarComponentModule } from '@eui/mobile-core';
3
- import { IonToolbar, IonHeader, IonContent } from '@ionic/angular/standalone';
4
2
 
5
3
  @Component({
6
4
  selector: 'page-two',
7
- templateUrl: './page2.component.html',
8
- imports: [EuimToolbarComponentModule, IonToolbar, IonHeader, IonContent],
5
+ templateUrl: './page2.component.html'
9
6
  })
10
- export class Page2Component {}
7
+ export class Page2Component {
8
+ }
@@ -1,10 +1,18 @@
1
- import { Routes } from '@angular/router';
1
+ import { NgModule } from '@angular/core';
2
+ import { RouterModule, Routes } from '@angular/router';
2
3
  import { Page1Component } from './components/page1/page1.component';
3
4
  import { Page2Component } from './components/page2/page2.component';
4
5
  import { Module1Component } from './module1.component';
5
6
 
6
- export const MODULE1_ROUTES: Routes = [
7
+ const routes: Routes = [
7
8
  { path: '', component: Module1Component },
8
9
  { path: 'page1', component: Page1Component },
9
10
  { path: 'page2', component: Page2Component },
10
11
  ];
12
+
13
+ @NgModule({
14
+ imports: [
15
+ RouterModule.forChild(routes)
16
+ ],
17
+ })
18
+ export class Module1RoutingModule {}
@@ -1,15 +1,15 @@
1
1
  import { Component } from '@angular/core';
2
2
  import { NavController } from '@ionic/angular';
3
- import { EuimToolbarComponentModule } from '@eui/mobile-core';
4
- import { IonToolbar, IonHeader, IonContent, IonButton } from '@ionic/angular/standalone';
5
3
 
6
4
  @Component({
7
5
  templateUrl: './module1.component.html',
8
- imports: [EuimToolbarComponentModule, IonToolbar, IonHeader, IonContent, IonButton],
9
6
  })
10
7
  export class Module1Component {
11
8
 
12
- constructor(private navCtrl: NavController) {}
9
+ constructor(
10
+ private navCtrl: NavController,
11
+ ) {
12
+ }
13
13
 
14
14
  onNavigate(url: string) {
15
15
  this.navCtrl.navigateForward(url);
@@ -0,0 +1,21 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { Module1RoutingModule } from './module1-routing.module';
3
+ import { Module1Component } from './module1.component';
4
+ import { Page1Component } from './components/page1/page1.component';
5
+ import { Page2Component } from './components/page2/page2.component';
6
+
7
+ import { SharedModule } from '@shared/shared.module';
8
+
9
+ @NgModule({
10
+ imports: [
11
+ SharedModule,
12
+ Module1RoutingModule,
13
+ ],
14
+ declarations: [
15
+ Module1Component,
16
+ Page1Component,
17
+ Page2Component,
18
+ ],
19
+ })
20
+ export class Module {
21
+ }
@@ -0,0 +1,16 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { RouterModule, Routes } from '@angular/router';
3
+ import { Module2Component } from './module2.component';
4
+
5
+ const routes: Routes = [
6
+ { path: '', component: Module2Component },
7
+ ];
8
+
9
+ @NgModule({
10
+ imports: [
11
+ RouterModule.forChild([
12
+ { path: '', component: Module2Component }
13
+ ])
14
+ ],
15
+ })
16
+ export class Module2RoutingModule {}
@@ -1,9 +1,7 @@
1
1
  import { Component } from '@angular/core';
2
- import { EuimToolbarComponentModule } from '@eui/mobile-core';
3
- import { IonToolbar, IonHeader, IonContent } from '@ionic/angular/standalone';
4
2
 
5
3
  @Component({
6
- templateUrl: './module2.component.html',
7
- imports: [EuimToolbarComponentModule, IonToolbar, IonHeader, IonContent],
4
+ templateUrl: './module2.component.html'
8
5
  })
9
- export class Module2Component {}
6
+ export class Module2Component {
7
+ }
@@ -0,0 +1,17 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { Module2RoutingModule } from './module2-routing.module';
3
+ import { Module2Component } from './module2.component';
4
+
5
+ import { SharedModule } from '@shared/shared.module';
6
+
7
+ @NgModule({
8
+ imports: [
9
+ SharedModule,
10
+ Module2RoutingModule,
11
+ ],
12
+ declarations: [
13
+ Module2Component,
14
+ ],
15
+ })
16
+ export class Module {
17
+ }
@@ -61,7 +61,7 @@
61
61
  <link rel="apple-touch-startup-image" media="screen and (device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="assets/icons/apple-splash-portrait-1488-2266.png">
62
62
 
63
63
  <link rel="manifest" href="manifest.webmanifest">
64
- <meta name="mobile-web-app-capable" content="yes"/>
64
+ <meta name="apple-mobile-web-app-capable" content="yes"/>
65
65
  <meta name="apple-mobile-web-app-status-bar-style" content="default"/>
66
66
  </head>
67
67
 
@@ -5,11 +5,6 @@ import { preInitApp } from "@eui/core";
5
5
  import { AppModule } from "./app/app.module";
6
6
  import { environment } from "./environments/environment";
7
7
 
8
- import { addIcons } from 'ionicons';
9
- import * as allIcons from 'ionicons/icons';
10
-
11
- addIcons(allIcons);
12
-
13
8
  if (environment.production) {
14
9
  enableProdMode();
15
10
  }
@@ -25,4 +20,4 @@ declare global {
25
20
  global: Window;
26
21
  }
27
22
  }
28
- window.global = window;
23
+ window.global = window;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "19.3.12",
3
+ "version": "19.3.13-snapshot-1772801970559",
4
4
  "license": "EUPL-1.1",
5
5
  "description": "eUI JEE Symfony app scripts",
6
6
  "scripts": {
@@ -18,6 +18,6 @@
18
18
  },
19
19
  "private": true,
20
20
  "dependencies": {
21
- "@eui/deps-base": "19.3.12"
21
+ "@eui/deps-base": "19.3.13-snapshot-1772801970559"
22
22
  }
23
23
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eui/cli",
3
- "version": "19.3.12",
4
- "tag": "v19-lts",
3
+ "version": "19.3.13-snapshot-1772801970559",
4
+ "tag": "snapshot",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI CLI app generator",
7
7
  "bin": {
@@ -13,7 +13,7 @@
13
13
  "url": "https://sdlc.webcloud.ec.europa.eu/csdr/eui/eui.git"
14
14
  },
15
15
  "dependencies": {
16
- "@eui/tools": "6.21.129"
16
+ "@eui/tools": "6.21.131"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@eui/tools": "^6.0.0",
@@ -1,6 +0,0 @@
1
- import { Routes } from '@angular/router';
2
- import { HomeComponent } from './home.component';
3
-
4
- export const HOME_ROUTES: Routes = [
5
- { path: '', component: HomeComponent },
6
- ];
@@ -1,6 +0,0 @@
1
- import { Routes } from '@angular/router';
2
- import { Module2Component } from './module2.component';
3
-
4
- export const MODULE2_ROUTES: Routes = [
5
- { path: '', component: Module2Component },
6
- ];