@eui/cli 21.1.1-snapshot-1772636346034 → 21.1.1

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 (38) hide show
  1. package/README.md +1 -1
  2. package/lib/skeletons/_angular/base/package.json +2 -2
  3. package/lib/skeletons/_angular/base-mobile/angular.json +4 -4
  4. package/lib/skeletons/_angular/base-mobile/package.json +29 -15
  5. package/lib/skeletons/_angular/base-mobile/src/app/app-routing.module.ts +4 -4
  6. package/lib/skeletons/_angular/base-mobile/src/app/app.component.ts +3 -7
  7. package/lib/skeletons/_angular/base-mobile/src/app/app.module.ts +2 -0
  8. package/lib/skeletons/_angular/base-mobile/src/app/core/core.module.ts +0 -15
  9. package/lib/skeletons/_angular/base-mobile/src/app/features/about/about.component.html +1 -1
  10. package/lib/skeletons/_angular/base-mobile/src/app/features/about/about.component.ts +5 -1
  11. package/lib/skeletons/_angular/base-mobile/src/app/features/about/{about-routing.module.ts → about.routes.ts} +2 -8
  12. package/lib/skeletons/_angular/base-mobile/src/app/features/about/change-log/changelog.component.ts +5 -1
  13. package/lib/skeletons/_angular/base-mobile/src/app/features/about/help-support/help-support.component.ts +12 -8
  14. package/lib/skeletons/_angular/base-mobile/src/app/features/about/legal-notice/legal-notice.component.ts +6 -4
  15. package/lib/skeletons/_angular/base-mobile/src/app/features/about/licence-details/licence-details.component.ts +6 -3
  16. package/lib/skeletons/_angular/base-mobile/src/app/features/about/opensource-licences/opensource-licences.component.ts +5 -1
  17. package/lib/skeletons/_angular/base-mobile/src/app/features/about/privacy-statement/privacy-statement.component.ts +5 -1
  18. package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.component.ts +3 -0
  19. package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.routes.ts +6 -0
  20. package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page1/page1.component.ts +5 -4
  21. package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page2/page2.component.ts +5 -3
  22. package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.component.ts +4 -4
  23. package/lib/skeletons/_angular/base-mobile/src/app/features/module1/{module1-routing.module.ts → module1.routes.ts} +2 -10
  24. package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.component.ts +5 -3
  25. package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.routes.ts +6 -0
  26. package/lib/skeletons/_angular/base-mobile/src/assets/images/app-icon.png +0 -0
  27. package/lib/skeletons/_angular/base-mobile/src/index.html +1 -1
  28. package/lib/skeletons/_angular/base-mobile/src/main.ts +5 -0
  29. package/lib/skeletons/_angular/options/pnpm/package.json +7 -7
  30. package/package.json +2 -2
  31. package/lib/skeletons/_angular/base-mobile/src/app/core/reducers/index.ts +0 -32
  32. package/lib/skeletons/_angular/base-mobile/src/app/features/about/about.module.ts +0 -30
  33. package/lib/skeletons/_angular/base-mobile/src/app/features/home/home-routing.module.ts +0 -15
  34. package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.module.ts +0 -18
  35. package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.module.ts +0 -21
  36. package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2-routing.module.ts +0 -16
  37. package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.module.ts +0 -17
  38. package/lib/skeletons/_angular/base-mobile/src/assets/images/app-icon.svg +0 -10
package/README.md CHANGED
@@ -82,7 +82,7 @@ Options:
82
82
  - `--skipTest` - Skip testing step
83
83
  - `--skipCompile` - Skip compilation step
84
84
  - `-c, --configuration <config>` - Angular build configuration
85
- - `--baseHref <href>` - Base href for the application
85
+ - `--baseHref, --base-href <href>` - Base href for the application
86
86
  - `--statsJson` - Generate stats.json file
87
87
  - `--sourceMap` - Generate source maps
88
88
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "21.1.1-snapshot-1772636346034",
3
+ "version": "21.1.1",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "private": true,
22
22
  "dependencies": {
23
- "@eui/deps-base": "21.1.1-snapshot-1772636346034"
23
+ "@eui/deps-base": "21.1.1"
24
24
  },
25
25
  "devDependencies": {
26
26
  "npm-run-all": "4.1.5",
@@ -118,18 +118,18 @@
118
118
  "serve": {
119
119
  "builder": "@angular-devkit/build-angular:dev-server",
120
120
  "options": {
121
- "browserTarget": "app:build"
121
+ "buildTarget": "app:build"
122
122
  },
123
123
  "configurations": {
124
124
  "proxy-mock": {
125
- "browserTarget": "app:build:development",
125
+ "buildTarget": "app:build:development",
126
126
  "proxyConfig": "proxy-mock.conf.json"
127
127
  },
128
128
  "production": {
129
- "browserTarget": "app:build:production"
129
+ "buildTarget": "app:build:production"
130
130
  },
131
131
  "development": {
132
- "browserTarget": "app:build:development"
132
+ "buildTarget": "app:build:development"
133
133
  }
134
134
  },
135
135
  "defaultConfiguration": "development"
@@ -1,27 +1,41 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "21.1.1-snapshot-1772636346034",
3
+ "version": "21.1.1",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
7
7
  "start-mock-server": "nodemon --watch ./mock ./mock/server.js",
8
- "start-serve": "eui-scripts serve-app --configuration=proxy-mock",
8
+ "start-serve": "eui-cli serve-app --configuration=proxy-mock --configEnvTarget=mock",
9
9
  "start": "npm-run-all --parallel start-mock-server start-serve",
10
- "start-proxy": "eui-scripts serve-app --configuration=proxy",
11
- "start-local": "eui-scripts serve-app",
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",
17
- "app:build": "eui-scripts build-app",
18
- "app:inject-config": "eui-scripts inject-config-app",
19
- "generate-changelog": "eui-scripts generate-changelog"
10
+ "start-proxy": "eui-cli serve-app --configuration=proxy",
11
+ "start-local": "eui-cli serve-app",
12
+ "build": "eui-cli build-app",
13
+ "build-dev": "eui-cli build-app --configuration=development --configEnvTarget=dev",
14
+ "build-prod": "eui-cli build-app --configuration=production-optimized --configEnvTarget=prod",
15
+ "build-prod-skip-test": "eui-cli build-app --configuration=production-optimized --configEnvTarget=prod --skipTest",
16
+ "build-prod-stats": "eui-cli build-app --configuration=production-optimized --configEnvTarget=prod",
17
+ "app:build": "eui-cli build-app",
18
+ "app:inject-config": "eui-cli inject-config-app",
19
+ "generate-sprite": "eui-cli generate-sprite"
20
20
  },
21
21
  "private": true,
22
22
  "dependencies": {
23
- "@eui/deps-base": "18.2.20",
24
- "@eui/mobile-core": "18.1.4",
25
- "@eui/mobile-styles": "18.1.4"
23
+ "@eui/deps-base-next": "21.1.1",
24
+ "@eui/mobile-core": "20.0.0-rc.7",
25
+ "@eui/mobile-styles": "20.0.0-rc.7"
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"
26
40
  }
27
41
  }
@@ -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.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) },
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) },
11
11
  ];
12
12
 
13
13
  @NgModule({
@@ -1,5 +1,4 @@
1
1
  import { Component, OnDestroy } from '@angular/core';
2
- import { Store } from '@ngrx/store';
3
2
  import {
4
3
  getUserState,
5
4
  UserState,
@@ -10,6 +9,7 @@ import { NavController } from "@ionic/angular";
10
9
  @Component({
11
10
  selector: 'app-root',
12
11
  templateUrl: './app.component.html',
12
+ standalone:false,
13
13
  })
14
14
  export class AppComponent implements OnDestroy {
15
15
  userInfos: UserState;
@@ -28,7 +28,7 @@ export class AppComponent implements OnDestroy {
28
28
  label: 'MODULE 1',
29
29
  },
30
30
  { label: 'Module Page', url: 'screen/module1',
31
- icon: 'document-outline', iconColor: 'dark', },
31
+ icon: 'document-outline', iconColor: 'dark', },
32
32
  { label: 'Page 1', url: 'screen/module1/page1',
33
33
  icon: 'document-outline', iconColor: 'dark', },
34
34
  { label: 'Page 2', url: 'screen/module1/page2',
@@ -47,13 +47,9 @@ export class AppComponent implements OnDestroy {
47
47
  ];
48
48
 
49
49
  constructor(
50
- private store: Store<any>,
51
50
  private navCtrl:NavController,
52
51
  ) {
53
- this.userState = this.store.select(getUserState);
54
- this.subs.push(this.userState.subscribe((user: UserState) => {
55
- this.userInfos = { ...user };
56
- }));
52
+ // TODO
57
53
  }
58
54
 
59
55
  ngOnDestroy() {
@@ -7,6 +7,7 @@ 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';
10
11
 
11
12
  @NgModule({
12
13
  declarations: [
@@ -36,6 +37,7 @@ import { ServiceWorkerModule } from '@angular/service-worker';
36
37
  deps: [AppStarterService],
37
38
  multi: true
38
39
  },
40
+ provideHttpClient(withFetch()),
39
41
  ],
40
42
  bootstrap: [
41
43
  AppComponent,
@@ -1,8 +1,5 @@
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';
6
3
 
7
4
  import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
8
5
 
@@ -15,15 +12,12 @@ import {
15
12
  EuLoginSessionTimeoutHandlingInterceptor,
16
13
  CoreModule as EuiCoreModule,
17
14
  translateConfig,
18
- CoreModuleEffects,
19
15
  EUI_CONFIG_TOKEN,
20
16
  } from '@eui/core';
21
17
 
22
18
  import { appConfig } from '../../config/index';
23
19
  import { environment } from '../../environments/environment';
24
20
 
25
- import { REDUCER_TOKEN, getReducers, metaReducers } from './reducers/index';
26
-
27
21
  import { SharedModule } from '@shared/shared.module';
28
22
 
29
23
  @NgModule({
@@ -31,11 +25,7 @@ import { SharedModule } from '@shared/shared.module';
31
25
  HttpClientModule,
32
26
  SharedModule,
33
27
  EuiCoreModule.forRoot(),
34
- EffectsModule.forRoot([...CoreModuleEffects]),
35
28
  TranslateModule.forRoot(translateConfig),
36
- StoreModule.forRoot(),
37
- StoreModule.forRoot(REDUCER_TOKEN, { metaReducers }),
38
- !environment.production ? StoreDevtoolsModule.instrument({ maxAge: 50 }) : [],
39
29
  IonicModule.forRoot({mode: 'md'}),
40
30
  ],
41
31
  declarations: [
@@ -44,11 +34,6 @@ import { SharedModule } from '@shared/shared.module';
44
34
  SharedModule,
45
35
  ],
46
36
  providers: [
47
- {
48
- provide: REDUCER_TOKEN,
49
- deps: [],
50
- useFactory: getReducers,
51
- },
52
37
  {
53
38
  provide: EUI_CONFIG_TOKEN,
54
39
  useValue: { appConfig: appConfig, environment: environment }
@@ -21,7 +21,7 @@
21
21
 
22
22
  <euim-header-details color="branding">
23
23
  <div euimHeaderDetailsIcon>
24
- <euim-toolbar-qrcode [showCode]="showCode" logoUrl="./assets/images/app-icon.svg"
24
+ <euim-toolbar-qrcode [showCode]="showCode" logoUrl="./assets/images/app-icon.png"
25
25
  qrCodeUrl="https://github.com/Cordobo/angularx-qrcode"></euim-toolbar-qrcode>
26
26
  </div>
27
27
  <div euimHeaderDetailsTitle><strong>eUI / mobile</strong></div>
@@ -1,8 +1,12 @@
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';
3
6
 
4
7
  @Component({
5
- templateUrl: './about.component.html'
8
+ templateUrl: './about.component.html',
9
+ imports: [TranslateModule, IonToolbar, IonHeader, IonContent, IonList, IonListHeader, IonItem, IonLabel, IonIcon, IonButton, EuimChipSelectorComponentModule, EuimAboutModule, EuimHeaderDetailsModule, EuimToolbarQrcodeModule, EuimToolbarComponentModule, EuimLabelModule ]
6
10
  })
7
11
  export class AboutComponent {
8
12
  showCode = false;
@@ -1,5 +1,4 @@
1
- import { NgModule } from '@angular/core';
2
- import { RouterModule, Routes } from '@angular/router';
1
+ import { Routes } from '@angular/router';
3
2
  import { AboutComponent } from './about.component';
4
3
  import { ChangeLogComponent } from './change-log/changelog.component';
5
4
  import { PrivacystatementComponent } from './privacy-statement/privacy-statement.component';
@@ -8,7 +7,7 @@ import { HelpSupportComponent } from './help-support/help-support.component';
8
7
  import { OpensourceLicencesComponent } from './opensource-licences/opensource-licences.component';
9
8
  import { LicenceDetailsComponent } from './licence-details/licence-details.component';
10
9
 
11
- const routes: Routes = [
10
+ export const ABOUT_ROUTES: Routes = [
12
11
  {
13
12
  path: '',
14
13
  component: AboutComponent,
@@ -38,8 +37,3 @@ const routes: Routes = [
38
37
  component: LicenceDetailsComponent
39
38
  },
40
39
  ];
41
-
42
- @NgModule({
43
- imports: [RouterModule.forChild(routes)],
44
- })
45
- export class AboutRoutingModule {}
@@ -1,6 +1,10 @@
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';
2
5
  @Component({
3
- templateUrl: './changelog.component.html'
6
+ templateUrl: './changelog.component.html',
7
+ imports: [TranslateModule, EuimAboutModule, IonToolbar, IonHeader, IonContent, EuimToolbarComponentModule]
4
8
  })
5
9
  export class ChangeLogComponent {
6
10
  changeLogs = [
@@ -1,7 +1,11 @@
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';
2
5
 
3
6
  @Component({
4
- templateUrl: './help-support.component.html'
7
+ templateUrl: './help-support.component.html',
8
+ imports: [TranslateModule, IonToolbar, IonIcon, IonButton, EuimAboutModule, EuimAlertMessageModule, IonHeader, IonContent, EuimToolbarComponentModule]
5
9
  })
6
10
  export class HelpSupportComponent {
7
11
  alertInfos = {
@@ -19,28 +23,28 @@ export class HelpSupportComponent {
19
23
  title: '+352 123 45 67890',
20
24
  phone: '+352 123 45 67890',
21
25
  subtitle: 'Customer service',
22
- startIcon: 'call',
26
+ startIcon: 'call-outline',
23
27
  hasBottomLine: true
24
28
  },
25
29
  {
26
30
  title: '+32 123 45 67890',
27
31
  phone: '+32 123 45 67890',
28
32
  subtitle: 'Helpdesk support',
29
- startIcon: 'call',
33
+ startIcon: 'call-outline',
30
34
  hasBottomLine: true
31
35
  },
32
36
  {
33
37
  title: 'digit-eui-support@ec.europa.eu',
34
38
  mail: 'digit-eui-support@ec.europa.eu',
35
39
  subtitle: 'Helpdesk support',
36
- startIcon: 'at',
40
+ startIcon: 'call-outline',
37
41
  hasBottomLine: true
38
42
  },
39
43
  {
40
44
  title: 'EC Microsoft Teams',
41
45
  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',
42
46
  subtitle: 'Microsoft Teams helpdesk channel',
43
- startIcon: 'people'
47
+ startIcon: 'call-outline'
44
48
  },
45
49
  ],
46
50
  },
@@ -51,21 +55,21 @@ export class HelpSupportComponent {
51
55
  title: 'eUI / mobile manual',
52
56
  subtitle: 'Getting started with library',
53
57
  link: 'https://euidev.ecdevops.eu/eui-showcase-mobile-18.x/home',
54
- startIcon: 'book',
58
+ startIcon: 'call-outline',
55
59
  endIcon: 'link'
56
60
  },
57
61
  {
58
62
  title: 'EU Login',
59
63
  subtitle: 'User manual',
60
64
  link: 'https://webgate.ec.europa.eu/cas/help.html',
61
- startIcon: 'book',
65
+ startIcon: 'call-outline',
62
66
  endIcon: 'link'
63
67
  },
64
68
  {
65
69
  title: 'FAQ',
66
70
  subtitle: 'Frequently asked questions',
67
71
  link: 'https://ec.europa.eu/sustainable-finance-taxonomy/faq',
68
- startIcon: 'book',
72
+ startIcon: 'call-outline',
69
73
  endIcon: 'link'
70
74
  }
71
75
  ]
@@ -1,8 +1,10 @@
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';
2
5
 
3
6
  @Component({
4
- templateUrl: './legal-notice.component.html'
7
+ templateUrl: './legal-notice.component.html',
8
+ imports: [TranslateModule, IonToolbar, EuimAboutModule, EuimPdfViewerModule, IonHeader, IonContent, EuimToolbarComponentModule]
5
9
  })
6
- export class LegalNoticeComponent {
7
-
8
- }
10
+ export class LegalNoticeComponent {}
@@ -1,7 +1,10 @@
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';
2
5
 
3
6
  @Component({
4
- templateUrl: './licence-details.component.html'
7
+ templateUrl: './licence-details.component.html',
8
+ imports: [TranslateModule, IonToolbar, EuimAboutModule, IonHeader, IonContent, EuimToolbarComponentModule]
5
9
  })
6
- export class LicenceDetailsComponent {
7
- }
10
+ export class LicenceDetailsComponent {}
@@ -1,8 +1,12 @@
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';
3
6
 
4
7
  @Component({
5
- templateUrl: './opensource-licences.component.html'
8
+ templateUrl: './opensource-licences.component.html',
9
+ imports: [TranslateModule, IonToolbar, EuimAboutModule, IonHeader, IonContent, EuimToolbarComponentModule]
6
10
  })
7
11
  export class OpensourceLicencesComponent {
8
12
  constructor(
@@ -1,7 +1,11 @@
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';
2
5
 
3
6
  @Component({
4
- templateUrl: './privacy-statement.component.html'
7
+ templateUrl: './privacy-statement.component.html',
8
+ imports: [TranslateModule, IonToolbar, EuimAboutModule, IonHeader, IonContent, EuimToolbarComponentModule]
5
9
  })
6
10
  export class PrivacystatementComponent {
7
11
  changeLogs = [
@@ -1,8 +1,11 @@
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';
3
5
 
4
6
  @Component({
5
7
  templateUrl: './home.component.html',
8
+ imports: [EuimToolbarComponentModule, IonToolbar, IonHeader, IonContent],
6
9
  })
7
10
  export class HomeComponent {
8
11
  constructor(@Inject(CONFIG_TOKEN) private config: EuiAppConfig) {}
@@ -0,0 +1,6 @@
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,8 +1,9 @@
1
1
  import { Component } from '@angular/core';
2
-
2
+ import { EuimToolbarComponentModule } from '@eui/mobile-core';
3
+ import { IonToolbar, IonHeader, IonContent } from '@ionic/angular/standalone';
3
4
  @Component({
4
5
  selector: 'page-one',
5
- templateUrl: './page1.component.html'
6
+ templateUrl: './page1.component.html',
7
+ imports: [EuimToolbarComponentModule, IonToolbar, IonHeader, IonContent],
6
8
  })
7
- export class Page1Component {
8
- }
9
+ export class Page1Component {}
@@ -1,8 +1,10 @@
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
5
  @Component({
4
6
  selector: 'page-two',
5
- templateUrl: './page2.component.html'
7
+ templateUrl: './page2.component.html',
8
+ imports: [EuimToolbarComponentModule, IonToolbar, IonHeader, IonContent],
6
9
  })
7
- export class Page2Component {
8
- }
10
+ export class Page2Component {}
@@ -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';
3
5
 
4
6
  @Component({
5
7
  templateUrl: './module1.component.html',
8
+ imports: [EuimToolbarComponentModule, IonToolbar, IonHeader, IonContent, IonButton],
6
9
  })
7
10
  export class Module1Component {
8
11
 
9
- constructor(
10
- private navCtrl: NavController,
11
- ) {
12
- }
12
+ constructor(private navCtrl: NavController) {}
13
13
 
14
14
  onNavigate(url: string) {
15
15
  this.navCtrl.navigateForward(url);
@@ -1,18 +1,10 @@
1
- import { NgModule } from '@angular/core';
2
- import { RouterModule, Routes } from '@angular/router';
1
+ import { Routes } from '@angular/router';
3
2
  import { Page1Component } from './components/page1/page1.component';
4
3
  import { Page2Component } from './components/page2/page2.component';
5
4
  import { Module1Component } from './module1.component';
6
5
 
7
- const routes: Routes = [
6
+ export const MODULE1_ROUTES: Routes = [
8
7
  { path: '', component: Module1Component },
9
8
  { path: 'page1', component: Page1Component },
10
9
  { path: 'page2', component: Page2Component },
11
10
  ];
12
-
13
- @NgModule({
14
- imports: [
15
- RouterModule.forChild(routes)
16
- ],
17
- })
18
- export class Module1RoutingModule {}
@@ -1,7 +1,9 @@
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
5
  @Component({
4
- templateUrl: './module2.component.html'
6
+ templateUrl: './module2.component.html',
7
+ imports: [EuimToolbarComponentModule, IonToolbar, IonHeader, IonContent],
5
8
  })
6
- export class Module2Component {
7
- }
9
+ export class Module2Component {}
@@ -0,0 +1,6 @@
1
+ import { Routes } from '@angular/router';
2
+ import { Module2Component } from './module2.component';
3
+
4
+ export const MODULE2_ROUTES: Routes = [
5
+ { path: '', component: Module2Component },
6
+ ];
@@ -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="apple-mobile-web-app-capable" content="yes"/>
64
+ <meta name="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,6 +5,11 @@ 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
+
8
13
  if (environment.production) {
9
14
  enableProdMode();
10
15
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "21.1.1-snapshot-1772636346034",
3
+ "version": "21.1.1",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
@@ -46,17 +46,17 @@
46
46
  "pikaday": "1.8.2",
47
47
  "lodash-es": "4.17.21",
48
48
  "localforage": "1.10.0",
49
- "@eui/base": "21.1.1-snapshot-1772636346034",
50
- "@eui/core": "21.1.1-snapshot-1772636346034",
51
- "@eui/styles": "21.1.1-snapshot-1772636346034",
52
- "@eui/components": "21.1.1-snapshot-1772636346034",
53
- "@eui/ecl": "21.1.1-snapshot-1772636346034"
49
+ "@eui/base": "21.1.1",
50
+ "@eui/core": "21.1.1",
51
+ "@eui/styles": "21.1.1",
52
+ "@eui/components": "21.1.1",
53
+ "@eui/ecl": "21.1.1"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@angular/build": "21.1.0",
57
57
  "@angular/compiler-cli": "21.1.0",
58
58
  "@angular/cli": "21.1.0",
59
- "@eui/cli": "21.1.1-snapshot-1772636346034",
59
+ "@eui/cli": "21.1.1",
60
60
  "ng-packagr": "21.1.0",
61
61
  "typescript": "5.9.2",
62
62
  "npm-run-all": "4.1.5",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eui/cli",
3
- "version": "21.1.1-snapshot-1772636346034",
4
- "tag": "snapshot",
3
+ "version": "21.1.1",
4
+ "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI CLI app generator & tools",
7
7
  "bin": {
@@ -1,32 +0,0 @@
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,30 +0,0 @@
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,15 +0,0 @@
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,18 +0,0 @@
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,21 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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,17 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
1
- <svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <rect width="512" height="512" fill="url(#paint0_linear_3357_34543)"/>
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M169.907 313.852V123.368H126.315V339.769L256 412.211L385.684 339.769V123.368H342.093V313.852L256 361.944L169.907 313.852ZM277.795 123.368V282.835H234.204V123.368H277.795Z" fill="white"/>
4
- <defs>
5
- <linearGradient id="paint0_linear_3357_34543" x1="256" y1="0" x2="256" y2="512" gradientUnits="userSpaceOnUse">
6
- <stop stop-color="#50A0FF"/>
7
- <stop offset="1" stop-color="#004494"/>
8
- </linearGradient>
9
- </defs>
10
- </svg>