@eui/cli 19.3.2 → 19.3.3-snapshot-1754410186755
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/package.json +4 -3
- package/.version.properties +0 -1
- package/bin/eui-cli.js +0 -47
- package/lib/build.js +0 -155
- package/lib/cli.js +0 -123
- package/lib/config.js +0 -58
- package/lib/generators.js +0 -75
- package/lib/install.js +0 -45
- package/lib/maven-build/build.xml +0 -115
- package/lib/maven-build/lib/ant-contrib-20061014.jar +0 -0
- package/lib/maven-build/pom.xml +0 -64
- package/lib/post-build.js +0 -33
- package/lib/skeletons/_angular/base/.browserslistrc +0 -16
- package/lib/skeletons/_angular/base/.editorconfig +0 -16
- package/lib/skeletons/_angular/base/.euirc.json +0 -8
- package/lib/skeletons/_angular/base/README.md +0 -26
- package/lib/skeletons/_angular/base/angular.json +0 -158
- package/lib/skeletons/_angular/base/gitignore_TO_REPLACE +0 -51
- package/lib/skeletons/_angular/base/mock/app/models/user.js +0 -6
- package/lib/skeletons/_angular/base/mock/app/routes/index.js +0 -5
- package/lib/skeletons/_angular/base/mock/app/routes/user_routes.js +0 -44
- package/lib/skeletons/_angular/base/mock/db/db.json +0 -10
- package/lib/skeletons/_angular/base/mock/server.js +0 -23
- package/lib/skeletons/_angular/base/package.json +0 -38
- package/lib/skeletons/_angular/base/proxy-mock.conf.json +0 -6
- package/lib/skeletons/_angular/base/proxy.conf.json +0 -6
- package/lib/skeletons/_angular/base/src/.eslintrc.json +0 -121
- package/lib/skeletons/_angular/base/src/app/app-starter.service.spec.ts +0 -68
- package/lib/skeletons/_angular/base/src/app/app-starter.service.ts +0 -68
- package/lib/skeletons/_angular/base/src/app/app.component.html +0 -35
- package/lib/skeletons/_angular/base/src/app/app.component.spec.ts +0 -60
- package/lib/skeletons/_angular/base/src/app/app.component.ts +0 -35
- package/lib/skeletons/_angular/base/src/app/app.config.ts +0 -84
- package/lib/skeletons/_angular/base/src/app/app.routes.ts +0 -9
- package/lib/skeletons/_angular/base/src/app/features/home/home.component.html +0 -41
- package/lib/skeletons/_angular/base/src/app/features/home/home.component.ts +0 -17
- package/lib/skeletons/_angular/base/src/app/features/home/home.routes.ts +0 -6
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page1/page1.component.html +0 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page1/page1.component.ts +0 -10
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page2/page2.component.html +0 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page2/page2.component.ts +0 -10
- package/lib/skeletons/_angular/base/src/app/features/module1/module1.component.html +0 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/module1.component.ts +0 -10
- package/lib/skeletons/_angular/base/src/app/features/module1/module1.routes.ts +0 -10
- package/lib/skeletons/_angular/base/src/app/features/module2/module2.component.html +0 -7
- package/lib/skeletons/_angular/base/src/app/features/module2/module2.component.ts +0 -10
- package/lib/skeletons/_angular/base/src/app/features/module2/module2.routes.ts +0 -6
- package/lib/skeletons/_angular/base/src/app/shared/testing/router.mock.ts +0 -18
- package/lib/skeletons/_angular/base/src/assets/config/env-json-config-dev.json +0 -8
- package/lib/skeletons/_angular/base/src/assets/config/env-json-config-prod.json +0 -8
- package/lib/skeletons/_angular/base/src/assets/config/env-json-config.json +0 -7
- package/lib/skeletons/_angular/base/src/assets/i18n/en.json +0 -7
- package/lib/skeletons/_angular/base/src/assets/i18n/fr.json +0 -7
- package/lib/skeletons/_angular/base/src/config/global.ts +0 -33
- package/lib/skeletons/_angular/base/src/config/index.ts +0 -8
- package/lib/skeletons/_angular/base/src/config/modules.ts +0 -7
- package/lib/skeletons/_angular/base/src/dummy.spec.ts +0 -6
- package/lib/skeletons/_angular/base/src/environments/environment.prod.ts +0 -11
- package/lib/skeletons/_angular/base/src/environments/environment.ts +0 -15
- package/lib/skeletons/_angular/base/src/favicon.ico +0 -0
- package/lib/skeletons/_angular/base/src/index.html +0 -20
- package/lib/skeletons/_angular/base/src/karma.conf.js +0 -7
- package/lib/skeletons/_angular/base/src/main.ts +0 -20
- package/lib/skeletons/_angular/base/src/styles.scss +0 -1
- package/lib/skeletons/_angular/base/src/tsconfig.app.json +0 -18
- package/lib/skeletons/_angular/base/src/tsconfig.spec.json +0 -14
- package/lib/skeletons/_angular/base/tsconfig.json +0 -27
- package/lib/skeletons/_angular/base-mobile/angular.json +0 -156
- package/lib/skeletons/_angular/base-mobile/ionic.config.json +0 -5
- package/lib/skeletons/_angular/base-mobile/ngsw-config.json +0 -33
- package/lib/skeletons/_angular/base-mobile/package.json +0 -27
- package/lib/skeletons/_angular/base-mobile/src/app/app-routing.module.ts +0 -18
- package/lib/skeletons/_angular/base-mobile/src/app/app-starter.service.ts +0 -73
- package/lib/skeletons/_angular/base-mobile/src/app/app.component.html +0 -47
- package/lib/skeletons/_angular/base-mobile/src/app/app.component.ts +0 -81
- package/lib/skeletons/_angular/base-mobile/src/app/app.config.ts +0 -81
- package/lib/skeletons/_angular/base-mobile/src/app/app.module.ts +0 -44
- package/lib/skeletons/_angular/base-mobile/src/app/core/components/.gitkeep +0 -0
- package/lib/skeletons/_angular/base-mobile/src/app/core/core.module.ts +0 -89
- package/lib/skeletons/_angular/base-mobile/src/app/core/reducers/index.ts +0 -32
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/about-routing.module.ts +0 -45
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/about.component.html +0 -70
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/about.component.ts +0 -19
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/about.module.ts +0 -30
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/change-log/changelog.component.html +0 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/change-log/changelog.component.ts +0 -102
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/help-support/help-support.component.html +0 -20
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/help-support/help-support.component.ts +0 -75
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/legal-notice/legal-notice.component.html +0 -12
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/legal-notice/legal-notice.component.ts +0 -8
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/licence-details/licence-details.component.html +0 -48
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/licence-details/licence-details.component.ts +0 -7
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/opensource-licences/opensource-licences.component.html +0 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/opensource-licences/opensource-licences.component.ts +0 -31
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/privacy-statement/privacy-statement.component.html +0 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/about/privacy-statement/privacy-statement.component.ts +0 -103
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home-routing.module.ts +0 -15
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.component.html +0 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.component.ts +0 -9
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.module.ts +0 -18
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page1/page1.component.html +0 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page1/page1.component.ts +0 -8
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page2/page2.component.html +0 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page2/page2.component.ts +0 -8
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1-routing.module.ts +0 -18
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.component.html +0 -15
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.component.ts +0 -17
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.module.ts +0 -21
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2-routing.module.ts +0 -16
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.component.html +0 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.component.ts +0 -7
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.module.ts +0 -17
- package/lib/skeletons/_angular/base-mobile/src/app/shared/shared.module.ts +0 -16
- package/lib/skeletons/_angular/base-mobile/src/app/shared/testing/router.mock.ts +0 -18
- package/lib/skeletons/_angular/base-mobile/src/assets/docs/pdf-test.pdf +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/i18n/en.json +0 -25
- package/lib/skeletons/_angular/base-mobile/src/assets/i18n/es.json +0 -24
- package/lib/skeletons/_angular/base-mobile/src/assets/i18n/fr.json +0 -25
- package/lib/skeletons/_angular/base-mobile/src/assets/i18n/tr.json +0 -25
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-1024.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-114.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-120.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-128.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-144.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-152.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-16.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-180.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-192.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-32.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-36.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-384.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-48.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-512.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-57.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-60.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-72.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-76.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/app-icon-96.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1125-2436.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1170-2532.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1179-2556.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1242-2208.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1242-2688.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1284-2778.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1290-2796.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1488-2266.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1536-2048.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1620-2160.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1640-2360.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1668-2224.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-1668-2388.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-2048-2732.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-640-1136.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-750-1334.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-landscape-828-1792.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1125-2436.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1170-2532.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1179-2556.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1242-2208.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1242-2688.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1284-2778.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1290-2796.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1488-2266.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1536-2048.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1620-2160.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1640-2360.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1668-2224.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-1668-2388.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-2048-2732.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-640-1136.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-750-1334.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/icons/apple-splash-portrait-828-1792.png +0 -0
- package/lib/skeletons/_angular/base-mobile/src/assets/images/app-icon.svg +0 -10
- package/lib/skeletons/_angular/base-mobile/src/config/global.ts +0 -39
- package/lib/skeletons/_angular/base-mobile/src/config/index.ts +0 -8
- package/lib/skeletons/_angular/base-mobile/src/config/modules.ts +0 -7
- package/lib/skeletons/_angular/base-mobile/src/index.html +0 -76
- package/lib/skeletons/_angular/base-mobile/src/main.ts +0 -23
- package/lib/skeletons/_angular/base-mobile/src/manifest.webmanifest +0 -66
- package/lib/skeletons/_angular/base-mobile/src/tsconfig.app.json +0 -20
- package/lib/skeletons/_angular/options/ecl-ec/angular.json +0 -181
- package/lib/skeletons/_angular/options/ecl-ec/src/app/app.component.html +0 -237
- package/lib/skeletons/_angular/options/ecl-ec/src/app/app.component.ts +0 -65
- package/lib/skeletons/_angular/options/ecl-ec/src/app/app.config.ts +0 -84
- package/lib/skeletons/_angular/options/ecl-ec/src/app/features/home/home.component.html +0 -71
- package/lib/skeletons/_angular/options/ecl-ec/src/app/features/home/home.component.ts +0 -20
- package/lib/skeletons/_angular/options/ecl-ec/src/app/features/module1/components/page1/page1.component.html +0 -1
- package/lib/skeletons/_angular/options/ecl-ec/src/app/features/module1/components/page1/page1.component.ts +0 -7
- package/lib/skeletons/_angular/options/ecl-ec/src/app/features/module1/components/page2/page2.component.html +0 -1
- package/lib/skeletons/_angular/options/ecl-ec/src/app/features/module1/components/page2/page2.component.ts +0 -7
- package/lib/skeletons/_angular/options/ecl-ec/src/app/features/module1/module1.component.html +0 -1
- package/lib/skeletons/_angular/options/ecl-ec/src/app/features/module1/module1.component.ts +0 -7
- package/lib/skeletons/_angular/options/ecl-ec/src/app/features/module2/module2.component.html +0 -1
- package/lib/skeletons/_angular/options/ecl-ec/src/app/features/module2/module2.component.ts +0 -7
- package/lib/skeletons/_angular/options/ecl-ec/src/config/global.ts +0 -23
- package/lib/skeletons/_angular/options/ecl-eu/angular.json +0 -181
- package/lib/skeletons/_angular/options/ecl-eu/src/app/app.component.html +0 -203
- package/lib/skeletons/_angular/options/ecl-eu/src/app/app.component.ts +0 -65
- package/lib/skeletons/_angular/options/ecl-eu/src/app/app.config.ts +0 -84
- package/lib/skeletons/_angular/options/ecl-eu/src/app/features/home/home.component.html +0 -71
- package/lib/skeletons/_angular/options/ecl-eu/src/app/features/home/home.component.ts +0 -20
- package/lib/skeletons/_angular/options/ecl-eu/src/app/features/module1/components/page1/page1.component.html +0 -1
- package/lib/skeletons/_angular/options/ecl-eu/src/app/features/module1/components/page1/page1.component.ts +0 -7
- package/lib/skeletons/_angular/options/ecl-eu/src/app/features/module1/components/page2/page2.component.html +0 -1
- package/lib/skeletons/_angular/options/ecl-eu/src/app/features/module1/components/page2/page2.component.ts +0 -7
- package/lib/skeletons/_angular/options/ecl-eu/src/app/features/module1/module1.component.html +0 -1
- package/lib/skeletons/_angular/options/ecl-eu/src/app/features/module1/module1.component.ts +0 -7
- package/lib/skeletons/_angular/options/ecl-eu/src/app/features/module2/module2.component.html +0 -1
- package/lib/skeletons/_angular/options/ecl-eu/src/app/features/module2/module2.component.ts +0 -7
- package/lib/skeletons/_angular/options/ecl-eu/src/app/shared/shared.module.ts +0 -19
- package/lib/skeletons/_angular/options/ecl-eu/src/config/global.ts +0 -23
- package/lib/skeletons/web-maven/package.json +0 -17
- package/lib/skeletons/web-maven/pom.xml +0 -55
- package/lib/skeletons/web-maven/src/main/java/eu/europa/ec/digit/eui/angular2clistarter/servlet/SpringWebApplicationInitializer.java +0 -22
- package/lib/skeletons/web-maven/src/main/java/eu/europa/ec/digit/eui/angular2clistarter/spring/SpringRestConfiguration.java +0 -24
- package/lib/skeletons/web-maven/src/main/java/eu/europa/ec/digit/eui/angular2clistarter/spring/rest/UserDetailsResource.java +0 -23
- package/lib/skeletons/web-maven/src/main/resources/ecas-config-application-name.xml +0 -7
- package/lib/skeletons/web-maven/src/main/webapp/WEB-INF/dispatcher-servlet.xml +0 -11
- package/lib/skeletons/web-maven/src/main/webapp/WEB-INF/web.xml +0 -38
- package/lib/skeletons/web-maven/src/main/webapp/WEB-INF/weblogic.xml +0 -16
- package/lib/skeletons/web-maven/src/main/webapp/index.jsp +0 -30
- package/lib/skeletons/web-spring-boot/myapp-web/pom.xml +0 -83
- package/lib/skeletons/web-spring-boot/myapp-web-rest/pom.xml +0 -83
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/MyappApplication.java +0 -46
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/domain/Address.java +0 -65
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/domain/Building.java +0 -44
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/repositories/BuildingRepository.java +0 -11
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/BuildingResource.java +0 -26
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/SwaggerConfig.java +0 -16
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/support/HateoasPageableHandlerMethodArgumentResolver.java +0 -45
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/support/HypermediaSupport.java +0 -25
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/support/PageJsonSerializer.java +0 -17
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/CachingPreventionFilter.java +0 -29
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/CsrfPreventionFilter.java +0 -35
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/FakeAuthenticationFilter.java +0 -372
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/SecurityConfig.java +0 -47
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/services/BuildingSearchCriteria.java +0 -26
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/services/BuildingService.java +0 -10
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/services/BuildingServiceImpl.java +0 -26
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/resources/application.properties +0 -0
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/resources/data.sql +0 -11
- package/lib/skeletons/web-spring-boot/pom.xml +0 -30
- package/lib/skeletons/web-symfony/myapp-web/angular.json +0 -169
- package/lib/skeletons/web-symfony/myapp-web/package.json +0 -23
- package/lib/skeletons/web-symfony/myapp-web/src/app/app-routing.module.ts +0 -18
- package/lib/skeletons/web-symfony/myapp-web/src/app/app.component.ts +0 -77
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/components/products.component.html +0 -160
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/components/products.component.scss +0 -0
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/components/products.component.ts +0 -104
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/models/product.model.ts +0 -6
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/products-routing.module.ts +0 -16
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/products.module.ts +0 -16
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/services/products.service.ts +0 -29
- package/lib/skeletons/web-symfony/myapp-web/src/environments/environment.ts +0 -17
- package/lib/skeletons/web-symfony/myapp-web-rest/.env +0 -28
- package/lib/skeletons/web-symfony/myapp-web-rest/bin/console +0 -42
- package/lib/skeletons/web-symfony/myapp-web-rest/composer.json +0 -67
- package/lib/skeletons/web-symfony/myapp-web-rest/composer.lock +0 -3572
- package/lib/skeletons/web-symfony/myapp-web-rest/config/bootstrap.php +0 -21
- package/lib/skeletons/web-symfony/myapp-web-rest/config/bundles.php +0 -12
- package/lib/skeletons/web-symfony/myapp-web-rest/config/config.yml +0 -0
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/cache.yaml +0 -19
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/dev/routing.yaml +0 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/doctrine.yaml +0 -29
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/doctrine_migrations.yaml +0 -5
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/framework.yaml +0 -17
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/prod/doctrine.yaml +0 -32
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/routing.yaml +0 -4
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/sensio_framework_extra.yaml +0 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/test/framework.yaml +0 -4
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/test/routing.yaml +0 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/twig.yaml +0 -4
- package/lib/skeletons/web-symfony/myapp-web-rest/config/routes/annotations.yaml +0 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/routes/dev/twig.yaml +0 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/routes.yaml +0 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/services.yaml +0 -27
- package/lib/skeletons/web-symfony/myapp-web-rest/public/index.php +0 -27
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Controller/ProductController.php +0 -196
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Entity/Product.php +0 -99
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Kernel.php +0 -53
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Migrations/Version20190604101623.php +0 -31
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Migrations/Version20190604101638.php +0 -35
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Repository/ProductRepository.php +0 -51
- package/lib/skeletons/web-symfony/myapp-web-rest/symfony.lock +0 -274
- package/lib/skeletons/web-symfony/myapp-web-rest/templates/base.html.twig +0 -12
- package/lib/skeletons/web-symfony/myapp-web-rest/templates/lucky/number.html.twig +0 -1
- package/lib/skeletons/web-symfony/myapp-web-rest/templates/product/index.html.twig +0 -20
- package/lib/utils.js +0 -13
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import {TestBed} from '@angular/core/testing';
|
|
2
|
-
import { HttpTestingController, provideHttpClientTesting } from "@angular/common/http/testing";
|
|
3
|
-
import {CONFIG_TOKEN, I18nService, UserService} from '@eui/core';
|
|
4
|
-
import {EuiAppConfig} from '@eui/core';
|
|
5
|
-
import {of} from 'rxjs';
|
|
6
|
-
import {AppStarterService} from './app-starter.service';
|
|
7
|
-
import SpyObj = jasmine.SpyObj;
|
|
8
|
-
import { EuiServiceStatus } from '@eui/base';
|
|
9
|
-
import { provideHttpClient, withInterceptorsFromDi } from "@angular/common/http";
|
|
10
|
-
|
|
11
|
-
describe('AppStarterService', () => {
|
|
12
|
-
let service: AppStarterService;
|
|
13
|
-
let httpMock: HttpTestingController;
|
|
14
|
-
let userServiceMock: SpyObj<UserService>;
|
|
15
|
-
let i18nServiceMock: SpyObj<I18nService>;
|
|
16
|
-
let configMock: EuiAppConfig;
|
|
17
|
-
|
|
18
|
-
beforeEach(() => {
|
|
19
|
-
userServiceMock = jasmine.createSpyObj('UserService', ['init']);
|
|
20
|
-
i18nServiceMock = jasmine.createSpyObj('I18nService', ['init']);
|
|
21
|
-
configMock = {global: {}, modules: {core: {base: 'localhost:3000', userDetails: 'dummy'}}};
|
|
22
|
-
|
|
23
|
-
TestBed.configureTestingModule({
|
|
24
|
-
providers: [
|
|
25
|
-
provideHttpClient(withInterceptorsFromDi()),
|
|
26
|
-
provideHttpClientTesting(),
|
|
27
|
-
AppStarterService,
|
|
28
|
-
{provide: UserService, useValue: userServiceMock},
|
|
29
|
-
{provide: I18nService, useValue: i18nServiceMock},
|
|
30
|
-
{provide: CONFIG_TOKEN, useValue: configMock},
|
|
31
|
-
],
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
service = TestBed.inject(AppStarterService);
|
|
35
|
-
httpMock = TestBed.inject(HttpTestingController);
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
it('should be created', () => {
|
|
39
|
-
expect(service).toBeTruthy();
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
it('should call start method', () => {
|
|
43
|
-
userServiceMock.init.and.returnValue(of({ } as EuiServiceStatus));
|
|
44
|
-
i18nServiceMock.init.and.returnValue(of({ } as EuiServiceStatus));
|
|
45
|
-
service.start().subscribe(() => {
|
|
46
|
-
expect(userServiceMock.init).toHaveBeenCalled();
|
|
47
|
-
expect(i18nServiceMock.init).toHaveBeenCalled();
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
it('should call initUserService method', () => {
|
|
52
|
-
userServiceMock.init.and.returnValue(of({ } as EuiServiceStatus));
|
|
53
|
-
service.initUserService().subscribe(() => {
|
|
54
|
-
expect(userServiceMock.init).toHaveBeenCalled();
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
it('should fetch user details', () => {
|
|
59
|
-
const dummyUserDetails = {userId: 'anonymous'};
|
|
60
|
-
service['fetchUserDetails']().subscribe(userDetails => {
|
|
61
|
-
expect(userDetails).toEqual(dummyUserDetails);
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
const req = httpMock.expectOne(`${configMock.modules?.['core']['base']}${configMock.modules?.['core']['userDetails']}`);
|
|
65
|
-
expect(req.request.method).toBe('GET');
|
|
66
|
-
req.flush(dummyUserDetails);
|
|
67
|
-
});
|
|
68
|
-
});
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { inject, Injectable } from '@angular/core';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import {
|
|
4
|
-
CONFIG_TOKEN,
|
|
5
|
-
UserService,
|
|
6
|
-
I18nService,
|
|
7
|
-
EuiAppConfig,
|
|
8
|
-
UserDetails,
|
|
9
|
-
UserPreferences,
|
|
10
|
-
EuiServiceStatus,
|
|
11
|
-
} from '@eui/core';
|
|
12
|
-
import { catchError, Observable, of } from 'rxjs';
|
|
13
|
-
import { switchMap } from 'rxjs/operators';
|
|
14
|
-
|
|
15
|
-
@Injectable({
|
|
16
|
-
providedIn: 'root',
|
|
17
|
-
})
|
|
18
|
-
export class AppStarterService {
|
|
19
|
-
defaultUserPreferences: UserPreferences | undefined;
|
|
20
|
-
private userService: UserService = inject(UserService);
|
|
21
|
-
private i18nService: I18nService = inject(I18nService);
|
|
22
|
-
private config: EuiAppConfig = inject(CONFIG_TOKEN);
|
|
23
|
-
private http: HttpClient = inject(HttpClient);
|
|
24
|
-
|
|
25
|
-
start(): Observable<EuiServiceStatus> {
|
|
26
|
-
return this.initUserService().pipe(
|
|
27
|
-
switchMap((userStatus) => {
|
|
28
|
-
console.log(userStatus);
|
|
29
|
-
return this.i18nService.init();
|
|
30
|
-
}),
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Fetches user details,
|
|
36
|
-
* create user: UserState object
|
|
37
|
-
* then initialise to the UserService on run time
|
|
38
|
-
*/
|
|
39
|
-
initUserService(): Observable<EuiServiceStatus> {
|
|
40
|
-
return this.fetchUserDetails().pipe(
|
|
41
|
-
switchMap((userDetails) => this.userService.init(userDetails))
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Fetches user details
|
|
47
|
-
*/
|
|
48
|
-
private fetchUserDetails(): Observable<UserDetails> {
|
|
49
|
-
// const url = this.config.modules.your_custom_module.your_custom_endpoint
|
|
50
|
-
const moduleCoreApi= this.config.modules?.['core'];
|
|
51
|
-
const url = `${moduleCoreApi?.['base']}${moduleCoreApi?.['userDetails']}`;
|
|
52
|
-
const user = {
|
|
53
|
-
userId: 'anonymous',
|
|
54
|
-
firstName: 'FirstName',
|
|
55
|
-
lastName: 'LastName',
|
|
56
|
-
fullName: 'FullName',
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
if (!url) {
|
|
60
|
-
return of(user);
|
|
61
|
-
}
|
|
62
|
-
return this.http.get<UserDetails>(url)
|
|
63
|
-
.pipe(
|
|
64
|
-
// in case of Http failure return dummy user
|
|
65
|
-
catchError(() => of(user)),
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<eui-app>
|
|
2
|
-
<eui-app-toolbar>
|
|
3
|
-
<eui-toolbar>
|
|
4
|
-
<eui-toolbar-logo/>
|
|
5
|
-
<eui-toolbar-app appName="appName"/>
|
|
6
|
-
<eui-toolbar-environment>MOCK</eui-toolbar-environment>
|
|
7
|
-
|
|
8
|
-
<eui-toolbar-items>
|
|
9
|
-
<eui-toolbar-item>
|
|
10
|
-
<eui-user-profile isShowAvatarInitials>
|
|
11
|
-
<eui-user-profile-menu>
|
|
12
|
-
<eui-user-profile-menu-item>
|
|
13
|
-
<eui-icon-svg icon="person:outline"/>{{ 'eui.my-profile-informations' | translate }}
|
|
14
|
-
</eui-user-profile-menu-item>
|
|
15
|
-
<eui-user-profile-menu-item>
|
|
16
|
-
<eui-icon-svg icon="log-out:outline"/>{{ 'eui.sign-out' | translate }}
|
|
17
|
-
</eui-user-profile-menu-item>
|
|
18
|
-
</eui-user-profile-menu>
|
|
19
|
-
</eui-user-profile>
|
|
20
|
-
</eui-toolbar-item>
|
|
21
|
-
|
|
22
|
-
<eui-toolbar-item>
|
|
23
|
-
<eui-notifications [count]="notificationItems?.length" [items]="notificationItems"></eui-notifications>
|
|
24
|
-
</eui-toolbar-item>
|
|
25
|
-
</eui-toolbar-items>
|
|
26
|
-
|
|
27
|
-
<eui-language-selector/>
|
|
28
|
-
</eui-toolbar>
|
|
29
|
-
</eui-app-toolbar>
|
|
30
|
-
<eui-app-sidebar>
|
|
31
|
-
<eui-app-sidebar-body>
|
|
32
|
-
<eui-app-sidebar-menu [items]="sidebarItems"/>
|
|
33
|
-
</eui-app-sidebar-body>
|
|
34
|
-
</eui-app-sidebar>
|
|
35
|
-
</eui-app>
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
import { RouterModule } from '@angular/router';
|
|
3
|
-
import { AppComponent } from './app.component';
|
|
4
|
-
import { EuiAppModule } from '@eui/components/layout';
|
|
5
|
-
import { routes } from './app.routes';
|
|
6
|
-
import { provideHttpClientTesting } from '@angular/common/http/testing';
|
|
7
|
-
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
8
|
-
import { AppStarterService } from './app-starter.service';
|
|
9
|
-
import { CONFIG_TOKEN, I18nService, I18nState, UserService} from '@eui/core';
|
|
10
|
-
import { EuiAppConfig } from '@eui/core';
|
|
11
|
-
import { Observable, of } from 'rxjs';
|
|
12
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
13
|
-
import SpyObj = jasmine.SpyObj;
|
|
14
|
-
|
|
15
|
-
describe('AppComponent', () => {
|
|
16
|
-
let component: AppComponent;
|
|
17
|
-
let fixture: ComponentFixture<AppComponent>;
|
|
18
|
-
let userServiceMock: SpyObj<UserService>;
|
|
19
|
-
let i18nServiceMock: SpyObj<I18nService>;
|
|
20
|
-
let configMock: EuiAppConfig;
|
|
21
|
-
|
|
22
|
-
beforeEach(async () => {
|
|
23
|
-
|
|
24
|
-
// Handle the overloaded getState method
|
|
25
|
-
type GetStateReturnType<T> = T extends keyof I18nState ? Observable<I18nState[T]> : Observable<I18nState>;
|
|
26
|
-
|
|
27
|
-
userServiceMock = jasmine.createSpyObj('UserService', ['init']);
|
|
28
|
-
i18nServiceMock = jasmine.createSpyObj<I18nService>('I18nService', ['init', 'getState']);
|
|
29
|
-
i18nServiceMock.getState.and.callFake(<K extends keyof I18nState>(key?: K): GetStateReturnType<K> => {
|
|
30
|
-
if (typeof key === 'string') {
|
|
31
|
-
return of({ activeLang: 'en' }[key]) as GetStateReturnType<K>;
|
|
32
|
-
}
|
|
33
|
-
return of({ activeLang: 'en' }) as GetStateReturnType<K>;
|
|
34
|
-
});
|
|
35
|
-
configMock = {global: {}, modules: {core: {base: 'localhost:3000', userDetails: 'dummy'}}};
|
|
36
|
-
|
|
37
|
-
await TestBed.configureTestingModule({
|
|
38
|
-
imports: [
|
|
39
|
-
RouterModule.forRoot(routes),
|
|
40
|
-
EuiAppModule,
|
|
41
|
-
TranslateModule.forRoot(),
|
|
42
|
-
],
|
|
43
|
-
providers: [
|
|
44
|
-
provideHttpClient(withInterceptorsFromDi()),
|
|
45
|
-
provideHttpClientTesting(),
|
|
46
|
-
AppStarterService,
|
|
47
|
-
{provide: UserService, useValue: userServiceMock},
|
|
48
|
-
{provide: I18nService, useValue: i18nServiceMock},
|
|
49
|
-
{provide: CONFIG_TOKEN, useValue: configMock},
|
|
50
|
-
],
|
|
51
|
-
}).compileComponents();
|
|
52
|
-
|
|
53
|
-
fixture = TestBed.createComponent(AppComponent);
|
|
54
|
-
component = fixture.componentInstance;
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
it('should create the app', () => {
|
|
58
|
-
expect(component).toBeTruthy();
|
|
59
|
-
});
|
|
60
|
-
});
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
3
|
-
import { EuiLayoutModule } from '@eui/components/layout';
|
|
4
|
-
import { EUI_LANGUAGE_SELECTOR } from '@eui/components/eui-language-selector';
|
|
5
|
-
import { EUI_USER_PROFILE } from '@eui/components/eui-user-profile';
|
|
6
|
-
import { EUI_ICON } from '@eui/components/eui-icon';
|
|
7
|
-
import { EuiMenuItem } from '@eui/components/eui-menu';
|
|
8
|
-
|
|
9
|
-
@Component({
|
|
10
|
-
selector: 'app-root',
|
|
11
|
-
templateUrl: './app.component.html',
|
|
12
|
-
imports: [
|
|
13
|
-
TranslateModule,
|
|
14
|
-
EuiLayoutModule,
|
|
15
|
-
...EUI_ICON,
|
|
16
|
-
...EUI_USER_PROFILE,
|
|
17
|
-
...EUI_LANGUAGE_SELECTOR,
|
|
18
|
-
],
|
|
19
|
-
})
|
|
20
|
-
export class AppComponent {
|
|
21
|
-
sidebarItems: EuiMenuItem[] = [
|
|
22
|
-
{ label: 'Home', url: 'screen/home' },
|
|
23
|
-
{ label: 'Module 1', url: 'screen/module1', children: [
|
|
24
|
-
{ label: 'page 1', url: 'screen/module1/page1' },
|
|
25
|
-
{ label: 'page 2', url: 'screen/module1/page2' },
|
|
26
|
-
] },
|
|
27
|
-
{ label: 'Module 2', url: 'screen/module2' },
|
|
28
|
-
];
|
|
29
|
-
notificationItems = [
|
|
30
|
-
{ label: 'Title label 1', subLabel: 'Subtitle label' },
|
|
31
|
-
{ label: 'Title label 2', subLabel: 'Subtitle label' },
|
|
32
|
-
{ label: 'Title label 3', subLabel: 'Subtitle label' },
|
|
33
|
-
{ label: 'Title label 4', subLabel: 'Subtitle label' },
|
|
34
|
-
];
|
|
35
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { inject, provideAppInitializer } from '@angular/core';
|
|
2
|
-
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
|
|
3
|
-
import { provideRouter } from '@angular/router';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
|
|
6
|
-
import { routes } from './app.routes';
|
|
7
|
-
import { AppStarterService } from './app-starter.service';
|
|
8
|
-
|
|
9
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
10
|
-
|
|
11
|
-
import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
12
|
-
import {
|
|
13
|
-
CachePreventionInterceptor,
|
|
14
|
-
CorsSecurityInterceptor,
|
|
15
|
-
CsrfPreventionInterceptor,
|
|
16
|
-
EuLoginSessionTimeoutHandlingInterceptor,
|
|
17
|
-
CoreModule as EuiCoreModule,
|
|
18
|
-
translateConfig,
|
|
19
|
-
EUI_CONFIG_TOKEN,
|
|
20
|
-
provideEuiInitializer,
|
|
21
|
-
EuiServiceStatus,
|
|
22
|
-
} from '@eui/core';
|
|
23
|
-
|
|
24
|
-
import { appConfig as euiAppConfig} from '../config';
|
|
25
|
-
import { environment } from '../environments/environment';
|
|
26
|
-
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* The provided function is injected at application startup and executed during
|
|
30
|
-
* app initialization. If the function returns a Promise or an Observable, initialization
|
|
31
|
-
* does not complete until the Promise is resolved or the Observable is completed.
|
|
32
|
-
*/
|
|
33
|
-
const init = (): Observable<EuiServiceStatus> => {
|
|
34
|
-
const appStarter = inject(AppStarterService);
|
|
35
|
-
return appStarter.start();
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export const appConfig: ApplicationConfig = {
|
|
39
|
-
providers: [
|
|
40
|
-
{
|
|
41
|
-
provide: EUI_CONFIG_TOKEN,
|
|
42
|
-
useValue: { appConfig: euiAppConfig, environment }
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
// Sets the withCredentials on Ajax Request to send the JSESSIONID cookie to another domain.
|
|
46
|
-
// This is necessary when a request is being made to another domain that is protected by EU Login.
|
|
47
|
-
provide: HTTP_INTERCEPTORS,
|
|
48
|
-
useClass: CorsSecurityInterceptor,
|
|
49
|
-
multi: true,
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
// When the authentication session is invalid, we need to re-authenticate. The browser refreshes the current URL,
|
|
53
|
-
// and lets the EU Login client redirect to the official EU Login page.
|
|
54
|
-
provide: HTTP_INTERCEPTORS,
|
|
55
|
-
useClass: EuLoginSessionTimeoutHandlingInterceptor,
|
|
56
|
-
multi: true,
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
// Adds HTTP header to each Ajax request that ensures the request is set by a piece of JavaScript code in the application.
|
|
60
|
-
// This prevents dynamically-loaded content from forging a request in the name of the currently logged-in user.
|
|
61
|
-
// Be aware that this assumes that cross-site scripting (XSS) is already put in place, (default setting in Angular).
|
|
62
|
-
provide: HTTP_INTERCEPTORS,
|
|
63
|
-
useClass: CsrfPreventionInterceptor,
|
|
64
|
-
multi: true,
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
// Asks the intermediate proxies not to return a cache copy of the resource.
|
|
68
|
-
// In matter of fact forces each server in the chain to validate the freshness of the resource.
|
|
69
|
-
provide: HTTP_INTERCEPTORS,
|
|
70
|
-
useClass: CachePreventionInterceptor,
|
|
71
|
-
multi: true,
|
|
72
|
-
},
|
|
73
|
-
provideEuiInitializer(),
|
|
74
|
-
provideAppInitializer(init),
|
|
75
|
-
provideHttpClient(withInterceptorsFromDi()),
|
|
76
|
-
importProvidersFrom(
|
|
77
|
-
EuiCoreModule.forRoot(),
|
|
78
|
-
TranslateModule.forRoot(translateConfig)
|
|
79
|
-
),
|
|
80
|
-
AppStarterService,
|
|
81
|
-
provideRouter(routes),
|
|
82
|
-
provideAnimations(),
|
|
83
|
-
],
|
|
84
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Routes } from '@angular/router';
|
|
2
|
-
|
|
3
|
-
export const routes: Routes = [
|
|
4
|
-
{ path: '', redirectTo: 'screen/home', pathMatch: 'full' },
|
|
5
|
-
{ path: 'index.jsp', redirectTo: 'screen/home' },
|
|
6
|
-
{ path: 'screen/home', loadChildren: () => import('./features/home/home.routes').then(m => m.HOME_ROUTES) },
|
|
7
|
-
{ path: 'screen/module1', loadChildren: () => import('./features/module1/module1.routes').then(m => m.MODULE1_ROUTES) },
|
|
8
|
-
{ path: 'screen/module2', loadChildren: () => import('./features/module2/module2.routes').then(m => m.MODULE2_ROUTES) },
|
|
9
|
-
];
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<eui-page>
|
|
2
|
-
<eui-page-header label="{{ 'page.home.title' | translate }}"></eui-page-header>
|
|
3
|
-
|
|
4
|
-
<eui-page-content>
|
|
5
|
-
<h3 class="eui-u-font-bold eui-u-color-info">Overview</h3>
|
|
6
|
-
|
|
7
|
-
<p>The <strong><a href="https://webgate.ec.europa.eu/fpfis/wikis/display/eUI" target="_blank" class="eui-u-text-link-external">eUI
|
|
8
|
-
Platform</a></strong> (eUI) is meant to ease development of <strong>Single Web Page
|
|
9
|
-
Applications</strong> (SPAs) providing rich <strong>User Experience</strong> (UX) starting point
|
|
10
|
-
to directly quick-start applications development.</p>
|
|
11
|
-
|
|
12
|
-
<p>It's also focusing on rationalisation and implementation of <strong><a
|
|
13
|
-
href="https://webgate.ec.europa.eu/fpfis/wikis/display/Europa/User+experience"
|
|
14
|
-
target="_blank" class="eui-u-text-link-external">European Commission's User Experience</a></strong> (UX@EC) and the adoption
|
|
15
|
-
of a common look and feel for your web applications.</p>
|
|
16
|
-
|
|
17
|
-
<p>Thereby, the <strong>eUI framework</strong> provides guidelines and recommendations on
|
|
18
|
-
<strong>collaborative and reusable web components</strong> in order to help
|
|
19
|
-
to build common and homogeneous graphical web interfaces that reflects the <strong>European
|
|
20
|
-
Commission Style Guides</strong> towards a corporate look and feel.
|
|
21
|
-
It also offers consistency from User Experience point of view through various participant projects
|
|
22
|
-
such as Opsys, MyWorkplace, Compass Corporate, Assmal, eProcurement, Sygma, Sedia, etc.</p>
|
|
23
|
-
|
|
24
|
-
<p>The target audience goes from Developers who will find a lot of usefull technical information, but
|
|
25
|
-
also Designers who want to reuse such materials to illustrate their work as well as Analysts and
|
|
26
|
-
Managers to help them during conceptual phases.</p>
|
|
27
|
-
|
|
28
|
-
<p>Feel free to participate and help to improve the eUI platform.</p>
|
|
29
|
-
<p>Contact us at <strong><a
|
|
30
|
-
href="mailto:DIGIT-EUI-SUPPORT@ec.europa.eu" class="eui-u-text-link">DIGIT-EUI-SUPPORT@ec.europa.eu</a></strong> and
|
|
31
|
-
join us on MS Teams : <a href="https://teams.microsoft.com/l/team/19%3a2f5bb6b7d1e24c4aabaa62229d3e1955%40thread.tacv2/conversations?groupId=fb6def72-c57b-4e8f-a82e-49be65d6e1f5&tenantId=b24c8b06-522c-46fe-9080-70926f8dddb1" target="_blank" class="eui-u-text-link-external">
|
|
32
|
-
MS Teams EC_eUI team
|
|
33
|
-
</a>
|
|
34
|
-
</p>
|
|
35
|
-
|
|
36
|
-
<div>
|
|
37
|
-
<strong>The eUI Team</strong>
|
|
38
|
-
</div>
|
|
39
|
-
|
|
40
|
-
</eui-page-content>
|
|
41
|
-
</eui-page>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Component, Inject } from '@angular/core';
|
|
2
|
-
import { CONFIG_TOKEN, EuiAppConfig } from '@eui/core';
|
|
3
|
-
import { EUI_PAGE } from '@eui/components/eui-page';
|
|
4
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
templateUrl: './home.component.html',
|
|
8
|
-
imports: [
|
|
9
|
-
TranslateModule,
|
|
10
|
-
...EUI_PAGE,
|
|
11
|
-
],
|
|
12
|
-
})
|
|
13
|
-
export class HomeComponent {
|
|
14
|
-
constructor(@Inject(CONFIG_TOKEN) protected config: EuiAppConfig) {
|
|
15
|
-
console.log(config);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Routes } from '@angular/router';
|
|
2
|
-
import { Page1Component } from './components/page1/page1.component';
|
|
3
|
-
import { Page2Component } from './components/page2/page2.component';
|
|
4
|
-
import { Module1Component } from './module1.component';
|
|
5
|
-
|
|
6
|
-
export const MODULE1_ROUTES: Routes = [
|
|
7
|
-
{ path: '', component: Module1Component },
|
|
8
|
-
{ path: 'page1', component: Page1Component },
|
|
9
|
-
{ path: 'page2', component: Page2Component },
|
|
10
|
-
];
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NavigationEnd } from '@angular/router';
|
|
2
|
-
import { Observable } from 'rxjs/Observable';
|
|
3
|
-
|
|
4
|
-
export class RouterMock {
|
|
5
|
-
routerState = { root: '' };
|
|
6
|
-
public navigationEnd = new NavigationEnd(0, 'http://url1', 'http://url2');
|
|
7
|
-
public events = new Observable(observer => {
|
|
8
|
-
observer.next(this.navigationEnd);
|
|
9
|
-
observer.complete();
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
constructor() {}
|
|
13
|
-
|
|
14
|
-
createUrlTree() {}
|
|
15
|
-
|
|
16
|
-
serializeUrl() {}
|
|
17
|
-
|
|
18
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { GlobalConfig } from '@eui/core';
|
|
2
|
-
|
|
3
|
-
export const GLOBAL: GlobalConfig = {
|
|
4
|
-
appTitle: 'CSDR-app',
|
|
5
|
-
i18n: {
|
|
6
|
-
i18nService: {
|
|
7
|
-
defaultLanguage: 'en',
|
|
8
|
-
languages: [
|
|
9
|
-
{
|
|
10
|
-
code: 'en',
|
|
11
|
-
label: 'English'
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
code: 'fr',
|
|
15
|
-
label: 'Français'
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
i18nLoader: {
|
|
20
|
-
i18nFolders: [
|
|
21
|
-
'i18n-eui',
|
|
22
|
-
'i18n',
|
|
23
|
-
'i18n-ecl'
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
user: {
|
|
28
|
-
defaultUserPreferences: {
|
|
29
|
-
dashboard: { },
|
|
30
|
-
lang: 'en',
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
};
|