@eui/cli 15.4.1 → 15.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.version.properties +1 -1
- package/LICENSE +296 -296
- package/README.md +26 -26
- package/bin/eui-cli.js +70 -70
- package/lib/build.js +153 -153
- package/lib/cli.js +111 -111
- package/lib/config.js +54 -54
- package/lib/generators.js +64 -64
- package/lib/install.js +54 -54
- package/lib/maven-build/build.xml +115 -115
- package/lib/maven-build/pom.xml +64 -64
- package/lib/post-build.js +33 -33
- package/lib/skeletons/_angular/base/.browserslistrc +16 -16
- package/lib/skeletons/_angular/base/.editorconfig +16 -16
- package/lib/skeletons/_angular/base/.euirc.json +8 -8
- package/lib/skeletons/_angular/base/.stylelintrc +24 -24
- package/lib/skeletons/_angular/base/README.md +26 -26
- package/lib/skeletons/_angular/base/angular.json +176 -176
- package/lib/skeletons/_angular/base/gitignore_TO_REPLACE +50 -50
- package/lib/skeletons/_angular/base/mock/app/models/user.js +8 -8
- package/lib/skeletons/_angular/base/mock/app/routes/index.js +5 -5
- package/lib/skeletons/_angular/base/mock/app/routes/user_routes.js +24 -24
- package/lib/skeletons/_angular/base/mock/db/db.json +12 -12
- package/lib/skeletons/_angular/base/mock/server.js +21 -21
- package/lib/skeletons/_angular/base/package.json +24 -24
- package/lib/skeletons/_angular/base/proxy-mock.conf.json +6 -6
- package/lib/skeletons/_angular/base/proxy.conf.json +6 -6
- package/lib/skeletons/_angular/base/src/.eslintrc.json +118 -118
- package/lib/skeletons/_angular/base/src/app/app-routing.module.ts +17 -17
- package/lib/skeletons/_angular/base/src/app/app-starter.service.ts +66 -66
- package/lib/skeletons/_angular/base/src/app/app.component.html +29 -29
- package/lib/skeletons/_angular/base/src/app/app.component.ts +51 -51
- package/lib/skeletons/_angular/base/src/app/app.module.ts +35 -35
- package/lib/skeletons/_angular/base/src/app/core/core.module.ts +87 -87
- package/lib/skeletons/_angular/base/src/app/core/reducers/index.ts +31 -31
- package/lib/skeletons/_angular/base/src/app/features/home/home-routing.module.ts +15 -15
- package/lib/skeletons/_angular/base/src/app/features/home/home.component.html +39 -39
- package/lib/skeletons/_angular/base/src/app/features/home/home.component.ts +11 -11
- package/lib/skeletons/_angular/base/src/app/features/home/home.module.ts +18 -18
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page1/page1.component.html +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page1/page1.component.ts +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page2/page2.component.html +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page2/page2.component.ts +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/module1-routing.module.ts +18 -18
- package/lib/skeletons/_angular/base/src/app/features/module1/module1.component.html +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/module1.component.ts +8 -8
- package/lib/skeletons/_angular/base/src/app/features/module1/module1.module.ts +21 -21
- package/lib/skeletons/_angular/base/src/app/features/module2/module2-routing.module.ts +16 -16
- package/lib/skeletons/_angular/base/src/app/features/module2/module2.component.html +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module2/module2.component.ts +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module2/module2.module.ts +17 -17
- package/lib/skeletons/_angular/base/src/app/shared/shared.module.ts +45 -45
- package/lib/skeletons/_angular/base/src/app/shared/testing/router.mock.ts +18 -18
- package/lib/skeletons/_angular/base/src/assets/config/env-json-config-dev.json +8 -8
- package/lib/skeletons/_angular/base/src/assets/config/env-json-config-prod.json +8 -8
- package/lib/skeletons/_angular/base/src/assets/config/env-json-config.json +7 -7
- package/lib/skeletons/_angular/base/src/assets/i18n/en.json +6 -6
- package/lib/skeletons/_angular/base/src/assets/i18n/fr.json +6 -6
- package/lib/skeletons/_angular/base/src/config/global.ts +20 -20
- package/lib/skeletons/_angular/base/src/config/index.ts +8 -8
- package/lib/skeletons/_angular/base/src/config/modules.ts +7 -7
- package/lib/skeletons/_angular/base/src/dummy.spec.ts +6 -6
- package/lib/skeletons/_angular/base/src/environments/environment.prod.ts +11 -11
- package/lib/skeletons/_angular/base/src/environments/environment.ts +11 -11
- package/lib/skeletons/_angular/base/src/index.html +21 -21
- package/lib/skeletons/_angular/base/src/karma.conf.js +7 -7
- package/lib/skeletons/_angular/base/src/main.ts +14 -14
- package/lib/skeletons/_angular/base/src/polyfills.ts +89 -89
- package/lib/skeletons/_angular/base/src/styles.scss +1 -1
- package/lib/skeletons/_angular/base/src/tsconfig.app.json +18 -18
- package/lib/skeletons/_angular/base/src/tsconfig.spec.json +14 -14
- package/lib/skeletons/_angular/base/tsconfig.json +27 -27
- package/lib/skeletons/_angular/base-mobile/angular.json +160 -160
- package/lib/skeletons/_angular/base-mobile/ionic.config.json +5 -5
- package/lib/skeletons/_angular/base-mobile/ngsw-config.json +33 -33
- package/lib/skeletons/_angular/base-mobile/package.json +28 -28
- package/lib/skeletons/_angular/base-mobile/src/app/app-routing.module.ts +17 -17
- package/lib/skeletons/_angular/base-mobile/src/app/app-starter.service.ts +73 -73
- package/lib/skeletons/_angular/base-mobile/src/app/app.component.html +27 -27
- package/lib/skeletons/_angular/base-mobile/src/app/app.component.ts +55 -55
- package/lib/skeletons/_angular/base-mobile/src/app/app.module.ts +44 -44
- package/lib/skeletons/_angular/base-mobile/src/app/core/core.module.ts +89 -89
- package/lib/skeletons/_angular/base-mobile/src/app/core/reducers/index.ts +31 -31
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home-routing.module.ts +15 -15
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.component.html +14 -14
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.component.ts +11 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.module.ts +18 -18
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page1/page1.component.html +11 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page1/page1.component.ts +7 -7
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page2/page2.component.html +11 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page2/page2.component.ts +7 -7
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1-routing.module.ts +18 -18
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.component.html +15 -15
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.component.ts +17 -17
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.module.ts +21 -21
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2-routing.module.ts +16 -16
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.component.html +11 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.component.ts +7 -7
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.module.ts +17 -17
- package/lib/skeletons/_angular/base-mobile/src/app/shared/shared.module.ts +16 -16
- package/lib/skeletons/_angular/base-mobile/src/app/shared/testing/router.mock.ts +18 -18
- package/lib/skeletons/_angular/base-mobile/src/index.html +27 -27
- package/lib/skeletons/_angular/base-mobile/src/manifest.webmanifest +51 -51
- package/lib/skeletons/_angular/base-mobile/src/tsconfig.app.json +19 -19
- package/lib/skeletons/_angular/options/ecl/angular.json +193 -193
- package/lib/skeletons/_angular/options/ecl/src/app/app.component.html +262 -262
- package/lib/skeletons/_angular/options/ecl/src/app/app.component.ts +59 -59
- package/lib/skeletons/_angular/options/ecl/src/app/features/home/home.component.html +70 -70
- package/lib/skeletons/_angular/options/ecl/src/app/features/module1/components/page1/page1.component.html +1 -1
- package/lib/skeletons/_angular/options/ecl/src/app/features/module1/components/page2/page2.component.html +1 -1
- package/lib/skeletons/_angular/options/ecl/src/app/features/module1/module1.component.html +1 -1
- package/lib/skeletons/_angular/options/ecl/src/app/features/module2/module2.component.html +1 -1
- package/lib/skeletons/_angular/options/ecl/src/app/shared/shared.module.ts +19 -19
- package/lib/skeletons/_angular/options/ecl/src/config/global.ts +20 -20
- package/lib/skeletons/_angular/options/openid-jwt/package.json +22 -22
- package/lib/skeletons/_angular/options/openid-jwt/src/app/core/core.module.ts +94 -94
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-dev.json +24 -24
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-local-mock.json +10 -10
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-local.json +23 -23
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-prod.json +23 -23
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config.json +10 -10
- package/lib/skeletons/_angular/options/openid-jwt/src/environments/environment.prod.ts +11 -11
- package/lib/skeletons/_angular/options/openid-jwt/src/environments/environment.ts +11 -11
- package/lib/skeletons/_angular/options/openid-jwt/src/index.html +21 -21
- package/lib/skeletons/web-maven/package.json +17 -17
- package/lib/skeletons/web-maven/pom.xml +55 -55
- package/lib/skeletons/web-maven/src/main/java/eu/europa/ec/digit/eui/angular2clistarter/servlet/SpringWebApplicationInitializer.java +22 -22
- package/lib/skeletons/web-maven/src/main/java/eu/europa/ec/digit/eui/angular2clistarter/spring/SpringRestConfiguration.java +24 -24
- package/lib/skeletons/web-maven/src/main/java/eu/europa/ec/digit/eui/angular2clistarter/spring/rest/UserDetailsResource.java +23 -23
- package/lib/skeletons/web-maven/src/main/resources/ecas-config-application-name.xml +7 -7
- package/lib/skeletons/web-maven/src/main/webapp/WEB-INF/dispatcher-servlet.xml +10 -10
- package/lib/skeletons/web-maven/src/main/webapp/WEB-INF/web.xml +38 -38
- package/lib/skeletons/web-maven/src/main/webapp/WEB-INF/weblogic.xml +15 -15
- package/lib/skeletons/web-maven/src/main/webapp/index.jsp +29 -29
- package/lib/skeletons/web-spring-boot/myapp-web/pom.xml +77 -77
- package/lib/skeletons/web-spring-boot/myapp-web-rest/pom.xml +84 -84
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/MyappApplication.java +46 -46
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/domain/Address.java +65 -65
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/domain/Building.java +44 -44
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/repositories/BuildingRepository.java +10 -10
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/BuildingResource.java +26 -26
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/SwaggerConfig.java +20 -20
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/support/HateoasPageableHandlerMethodArgumentResolver.java +45 -45
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/support/HypermediaSupport.java +25 -25
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/support/PageJsonSerializer.java +17 -17
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/CachingPreventionFilter.java +29 -29
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/CsrfPreventionFilter.java +35 -35
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/FakeAuthenticationFilter.java +372 -372
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/SecurityConfig.java +47 -47
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/services/BuildingSearchCriteria.java +25 -25
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/services/BuildingService.java +9 -9
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/services/BuildingServiceImpl.java +25 -25
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/resources/data.sql +10 -10
- package/lib/skeletons/web-spring-boot/pom.xml +30 -30
- package/lib/skeletons/web-symfony/myapp-web/angular.json +170 -170
- package/lib/skeletons/web-symfony/myapp-web/package.json +23 -23
- package/lib/skeletons/web-symfony/myapp-web/src/app/app-routing.module.ts +18 -18
- package/lib/skeletons/web-symfony/myapp-web/src/app/app.component.ts +77 -77
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/components/products.component.html +160 -160
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/components/products.component.ts +104 -104
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/models/product.model.ts +6 -6
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/products-routing.module.ts +16 -16
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/products.module.ts +16 -16
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/services/products.service.ts +29 -29
- package/lib/skeletons/web-symfony/myapp-web/src/environments/environment.ts +17 -17
- package/lib/skeletons/web-symfony/myapp-web-rest/.env +28 -28
- package/lib/skeletons/web-symfony/myapp-web-rest/bin/console +42 -42
- package/lib/skeletons/web-symfony/myapp-web-rest/composer.json +67 -67
- package/lib/skeletons/web-symfony/myapp-web-rest/composer.lock +3572 -3572
- package/lib/skeletons/web-symfony/myapp-web-rest/config/bootstrap.php +21 -21
- package/lib/skeletons/web-symfony/myapp-web-rest/config/bundles.php +12 -12
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/cache.yaml +19 -19
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/dev/routing.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/doctrine.yaml +29 -29
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/doctrine_migrations.yaml +5 -5
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/framework.yaml +17 -17
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/prod/doctrine.yaml +32 -32
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/routing.yaml +4 -4
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/sensio_framework_extra.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/test/framework.yaml +4 -4
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/test/routing.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/twig.yaml +4 -4
- package/lib/skeletons/web-symfony/myapp-web-rest/config/routes/annotations.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/routes/dev/twig.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/routes.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/services.yaml +27 -27
- package/lib/skeletons/web-symfony/myapp-web-rest/public/index.php +27 -27
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Controller/ProductController.php +196 -196
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Entity/Product.php +99 -99
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Kernel.php +53 -53
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Migrations/Version20190604101623.php +31 -31
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Migrations/Version20190604101638.php +35 -35
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Repository/ProductRepository.php +51 -51
- package/lib/skeletons/web-symfony/myapp-web-rest/symfony.lock +274 -274
- package/lib/skeletons/web-symfony/myapp-web-rest/templates/base.html.twig +12 -12
- package/lib/skeletons/web-symfony/myapp-web-rest/templates/product/index.html.twig +20 -20
- package/lib/utils.js +17 -17
- package/package.json +3 -3
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
<div class="ecl-container">
|
|
2
|
-
<div class="ecl-row">
|
|
3
|
-
<div class="ecl-col-12">
|
|
4
|
-
<main>
|
|
5
|
-
<h2 class="ecl-u-type-heading-2 ecl-u-mv-none">Purpose</h2>
|
|
6
|
-
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-none">
|
|
7
|
-
This library contains useful components that you can use to build your own website, following DG COMM guidelines.
|
|
8
|
-
</p>
|
|
9
|
-
|
|
10
|
-
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-m">All library elements are accompanied by</p>
|
|
11
|
-
<ul eclUnorderedList>
|
|
12
|
-
<li eclUnorderedListItem>documentation explaining what a component is and how it should be used</li>
|
|
13
|
-
<li eclUnorderedListItem>a visual demonstration</li>
|
|
14
|
-
<li eclUnorderedListItem>HTML/CSS code for implementation</li>
|
|
15
|
-
</ul>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<h2 class="ecl-u-type-heading-2 ecl-u-mt-xl ecl-u-mb-none">eUI/ECL integration</h2>
|
|
19
|
-
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-none">
|
|
20
|
-
eUI provides <a eclLink href="http://www.angular.io">Angular</a> implementation of <a eclLink href="https://ec.europa.eu/component-library/">ECL components,</a> enabling projects based on angular, get all benefints of having ECL compliant web application.
|
|
21
|
-
</p>
|
|
22
|
-
|
|
23
|
-
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-none">
|
|
24
|
-
It is also possible to use all eUI components in eui/ECL application by importing specific component module
|
|
25
|
-
or by importing all components pulling UxAllModule / EuiAllModule
|
|
26
|
-
</p>
|
|
27
|
-
|
|
28
|
-
<h2 class="ecl-u-type-heading-2 ecl-u-mt-xl ecl-u-mb-none">Documentation</h2>
|
|
29
|
-
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-m">
|
|
30
|
-
Documentation can be found as live showcase of all components available, as well as other building blocks, such
|
|
31
|
-
as utility css classes, typography, colors etc.
|
|
32
|
-
</p>
|
|
33
|
-
|
|
34
|
-
<ul eclUnorderedList>
|
|
35
|
-
<li eclUnorderedListItem><a eclLink href="https://ec.europa.eu/component-library">ECL reference documentation</a></li>
|
|
36
|
-
<li eclUnorderedListItem><a eclLink href="https://eui.ecdevops.eu/">eUI library</a></li>
|
|
37
|
-
</ul>
|
|
38
|
-
|
|
39
|
-
<h2 class="ecl-u-type-heading-2 ecl-u-mt-xl ecl-u-mb-none">Support</h2>
|
|
40
|
-
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-none">
|
|
41
|
-
For support in building a European Commission website using the ECL, please contact <a eclLink href="mailto:Europamanagement@ec.europa.eu">COMM Europa Management</a> (CEM)
|
|
42
|
-
</p>
|
|
43
|
-
|
|
44
|
-
<p>For support in building a European Commission website using the eui/ECL integration, please contact
|
|
45
|
-
<a eclLink href="DIGIT-EUI-SUPPORT@ec.europa.eu">DIGIT eUI Support</a> team.
|
|
46
|
-
</p>
|
|
47
|
-
|
|
48
|
-
<h2 class="ecl-u-type-heading-2 ecl-u-mt-xl ecl-u-mb-none">Contact</h2>
|
|
49
|
-
|
|
50
|
-
<dl eclDescriptionList [isHorizontal]="true" class="ecl-u-mt-m">
|
|
51
|
-
<dt eclDescriptionListTerm>Microsoft Teams</dt>
|
|
52
|
-
<dd eclDescriptionListDefinition>
|
|
53
|
-
<a eclLink href="https://teams.microsoft.com/l/team/19%3a2f5bb6b7d1e24c4aabaa62229d3e1955%40thread.tacv2/conversations?groupId=fb6def72-c57b-4e8f-a82e-49be65d6e1f5&tenantId=b24c8b06-522c-46fe-9080-70926f8dddb1">
|
|
54
|
-
https://teams.microsoft.com
|
|
55
|
-
</a>
|
|
56
|
-
</dd>
|
|
57
|
-
|
|
58
|
-
<dt eclDescriptionListTerm>DIGIT eUI Support</dt>
|
|
59
|
-
<dd eclDescriptionListDefinition>
|
|
60
|
-
<a eclLink href="mailto:DIGIT-EUI-SUPPORT@ec.europa.eu">DIGIT-EUI-SUPPORT@ec.europa.eu</a>
|
|
61
|
-
</dd>
|
|
62
|
-
|
|
63
|
-
<dt eclDescriptionListTerm>COMM Europa Management</dt>
|
|
64
|
-
<dd eclDescriptionListDefinition>
|
|
65
|
-
<a eclLink href="mailto:Europamanagement@ec.europa.eu">Europamanagement@ec.europa.eu</a>
|
|
66
|
-
</dd>
|
|
67
|
-
</dl>
|
|
68
|
-
</main>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
1
|
+
<div class="ecl-container">
|
|
2
|
+
<div class="ecl-row">
|
|
3
|
+
<div class="ecl-col-12">
|
|
4
|
+
<main>
|
|
5
|
+
<h2 class="ecl-u-type-heading-2 ecl-u-mv-none">Purpose</h2>
|
|
6
|
+
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-none">
|
|
7
|
+
This library contains useful components that you can use to build your own website, following DG COMM guidelines.
|
|
8
|
+
</p>
|
|
9
|
+
|
|
10
|
+
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-m">All library elements are accompanied by</p>
|
|
11
|
+
<ul eclUnorderedList>
|
|
12
|
+
<li eclUnorderedListItem>documentation explaining what a component is and how it should be used</li>
|
|
13
|
+
<li eclUnorderedListItem>a visual demonstration</li>
|
|
14
|
+
<li eclUnorderedListItem>HTML/CSS code for implementation</li>
|
|
15
|
+
</ul>
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
<h2 class="ecl-u-type-heading-2 ecl-u-mt-xl ecl-u-mb-none">eUI/ECL integration</h2>
|
|
19
|
+
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-none">
|
|
20
|
+
eUI provides <a eclLink href="http://www.angular.io">Angular</a> implementation of <a eclLink href="https://ec.europa.eu/component-library/">ECL components,</a> enabling projects based on angular, get all benefints of having ECL compliant web application.
|
|
21
|
+
</p>
|
|
22
|
+
|
|
23
|
+
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-none">
|
|
24
|
+
It is also possible to use all eUI components in eui/ECL application by importing specific component module
|
|
25
|
+
or by importing all components pulling UxAllModule / EuiAllModule
|
|
26
|
+
</p>
|
|
27
|
+
|
|
28
|
+
<h2 class="ecl-u-type-heading-2 ecl-u-mt-xl ecl-u-mb-none">Documentation</h2>
|
|
29
|
+
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-m">
|
|
30
|
+
Documentation can be found as live showcase of all components available, as well as other building blocks, such
|
|
31
|
+
as utility css classes, typography, colors etc.
|
|
32
|
+
</p>
|
|
33
|
+
|
|
34
|
+
<ul eclUnorderedList>
|
|
35
|
+
<li eclUnorderedListItem><a eclLink href="https://ec.europa.eu/component-library">ECL reference documentation</a></li>
|
|
36
|
+
<li eclUnorderedListItem><a eclLink href="https://eui.ecdevops.eu/">eUI library</a></li>
|
|
37
|
+
</ul>
|
|
38
|
+
|
|
39
|
+
<h2 class="ecl-u-type-heading-2 ecl-u-mt-xl ecl-u-mb-none">Support</h2>
|
|
40
|
+
<p class="ecl-u-type-paragraph ecl-u-mt-m ecl-u-mb-none">
|
|
41
|
+
For support in building a European Commission website using the ECL, please contact <a eclLink href="mailto:Europamanagement@ec.europa.eu">COMM Europa Management</a> (CEM)
|
|
42
|
+
</p>
|
|
43
|
+
|
|
44
|
+
<p>For support in building a European Commission website using the eui/ECL integration, please contact
|
|
45
|
+
<a eclLink href="DIGIT-EUI-SUPPORT@ec.europa.eu">DIGIT eUI Support</a> team.
|
|
46
|
+
</p>
|
|
47
|
+
|
|
48
|
+
<h2 class="ecl-u-type-heading-2 ecl-u-mt-xl ecl-u-mb-none">Contact</h2>
|
|
49
|
+
|
|
50
|
+
<dl eclDescriptionList [isHorizontal]="true" class="ecl-u-mt-m">
|
|
51
|
+
<dt eclDescriptionListTerm>Microsoft Teams</dt>
|
|
52
|
+
<dd eclDescriptionListDefinition>
|
|
53
|
+
<a eclLink href="https://teams.microsoft.com/l/team/19%3a2f5bb6b7d1e24c4aabaa62229d3e1955%40thread.tacv2/conversations?groupId=fb6def72-c57b-4e8f-a82e-49be65d6e1f5&tenantId=b24c8b06-522c-46fe-9080-70926f8dddb1">
|
|
54
|
+
https://teams.microsoft.com
|
|
55
|
+
</a>
|
|
56
|
+
</dd>
|
|
57
|
+
|
|
58
|
+
<dt eclDescriptionListTerm>DIGIT eUI Support</dt>
|
|
59
|
+
<dd eclDescriptionListDefinition>
|
|
60
|
+
<a eclLink href="mailto:DIGIT-EUI-SUPPORT@ec.europa.eu">DIGIT-EUI-SUPPORT@ec.europa.eu</a>
|
|
61
|
+
</dd>
|
|
62
|
+
|
|
63
|
+
<dt eclDescriptionListTerm>COMM Europa Management</dt>
|
|
64
|
+
<dd eclDescriptionListDefinition>
|
|
65
|
+
<a eclLink href="mailto:Europamanagement@ec.europa.eu">Europamanagement@ec.europa.eu</a>
|
|
66
|
+
</dd>
|
|
67
|
+
</dl>
|
|
68
|
+
</main>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
71
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<h2>Module1 - Page 1</h2>
|
|
1
|
+
<h2>Module1 - Page 1</h2>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<h2>Module 1 - page 2</h2>
|
|
1
|
+
<h2>Module 1 - page 2</h2>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<h2>Module1 - HOME</h2>
|
|
1
|
+
<h2>Module1 - HOME</h2>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<h2>Module2 - HOME</h2>
|
|
1
|
+
<h2>Module2 - HOME</h2>
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { RouterModule } from '@angular/router';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
5
|
-
|
|
6
|
-
import { EclAllModule } from '@eui/ecl';
|
|
7
|
-
|
|
8
|
-
const MODULES = [
|
|
9
|
-
RouterModule,
|
|
10
|
-
EclAllModule,
|
|
11
|
-
TranslateModule,
|
|
12
|
-
CommonModule,
|
|
13
|
-
];
|
|
14
|
-
@NgModule({
|
|
15
|
-
imports: [...MODULES],
|
|
16
|
-
declarations: [],
|
|
17
|
-
exports: [...MODULES],
|
|
18
|
-
})
|
|
19
|
-
export class SharedModule {}
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { RouterModule } from '@angular/router';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
5
|
+
|
|
6
|
+
import { EclAllModule } from '@eui/ecl';
|
|
7
|
+
|
|
8
|
+
const MODULES = [
|
|
9
|
+
RouterModule,
|
|
10
|
+
EclAllModule,
|
|
11
|
+
TranslateModule,
|
|
12
|
+
CommonModule,
|
|
13
|
+
];
|
|
14
|
+
@NgModule({
|
|
15
|
+
imports: [...MODULES],
|
|
16
|
+
declarations: [],
|
|
17
|
+
exports: [...MODULES],
|
|
18
|
+
})
|
|
19
|
+
export class SharedModule {}
|
|
@@ -1,20 +1,20 @@
|
|
|
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: ['en', 'fr'],
|
|
9
|
-
},
|
|
10
|
-
i18nLoader: {
|
|
11
|
-
i18nFolders: ['i18n-eui', 'i18n-ecl', 'i18n'],
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
user: {
|
|
15
|
-
defaultUserPreferences: {
|
|
16
|
-
dashboard: { },
|
|
17
|
-
lang: 'en',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
};
|
|
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: ['en', 'fr'],
|
|
9
|
+
},
|
|
10
|
+
i18nLoader: {
|
|
11
|
+
i18nFolders: ['i18n-eui', 'i18n-ecl', 'i18n'],
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
user: {
|
|
15
|
+
defaultUserPreferences: {
|
|
16
|
+
dashboard: { },
|
|
17
|
+
lang: 'en',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "eui-angular-app",
|
|
3
|
-
"version": "15.4.
|
|
4
|
-
"license": "EUPL-1.1",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"ng": "ng",
|
|
7
|
-
"start-mock-server": "nodemon --watch ./mock ./mock/server.js",
|
|
8
|
-
"start-serve": "eui-scripts serve-app --openid --configuration=proxy-mock --configEnvTarget=local-mock",
|
|
9
|
-
"start": "npm-run-all --parallel start-mock-server start-serve",
|
|
10
|
-
"start-proxy": "eui-scripts serve-app --openid",
|
|
11
|
-
"start-openid": "eui-scripts serve-app --openid --configEnvTarget=local",
|
|
12
|
-
"build": "eui-scripts build-app",
|
|
13
|
-
"build-openid-dev": "eui-scripts build-app --configuration=production-optimized --openid --configEnvTarget=dev",
|
|
14
|
-
"build-openid-prod": "eui-scripts build-app --configuration=production-optimized --openid --configEnvTarget=prod",
|
|
15
|
-
"app:build": "eui-scripts build-app",
|
|
16
|
-
"app:inject-config": "eui-scripts inject-config-app",
|
|
17
|
-
"generate-changelog": "eui-scripts generate-changelog"
|
|
18
|
-
},
|
|
19
|
-
"private": true,
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"@eui/deps-base": "15.4.
|
|
22
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "eui-angular-app",
|
|
3
|
+
"version": "15.4.2",
|
|
4
|
+
"license": "EUPL-1.1",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"ng": "ng",
|
|
7
|
+
"start-mock-server": "nodemon --watch ./mock ./mock/server.js",
|
|
8
|
+
"start-serve": "eui-scripts serve-app --openid --configuration=proxy-mock --configEnvTarget=local-mock",
|
|
9
|
+
"start": "npm-run-all --parallel start-mock-server start-serve",
|
|
10
|
+
"start-proxy": "eui-scripts serve-app --openid",
|
|
11
|
+
"start-openid": "eui-scripts serve-app --openid --configEnvTarget=local",
|
|
12
|
+
"build": "eui-scripts build-app",
|
|
13
|
+
"build-openid-dev": "eui-scripts build-app --configuration=production-optimized --openid --configEnvTarget=dev",
|
|
14
|
+
"build-openid-prod": "eui-scripts build-app --configuration=production-optimized --openid --configEnvTarget=prod",
|
|
15
|
+
"app:build": "eui-scripts build-app",
|
|
16
|
+
"app:inject-config": "eui-scripts inject-config-app",
|
|
17
|
+
"generate-changelog": "eui-scripts generate-changelog"
|
|
18
|
+
},
|
|
19
|
+
"private": true,
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@eui/deps-base": "15.4.2"
|
|
22
|
+
}
|
|
23
23
|
}
|
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
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
|
-
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
CachePreventionInterceptor,
|
|
10
|
-
CorsSecurityInterceptor,
|
|
11
|
-
CsrfPreventionInterceptor,
|
|
12
|
-
EuLoginSessionTimeoutHandlingInterceptor,
|
|
13
|
-
OpenIdConnectInterceptor,
|
|
14
|
-
CoreModule as EuiCoreModule,
|
|
15
|
-
translateConfig,
|
|
16
|
-
CoreModuleEffects,
|
|
17
|
-
EUI_CONFIG_TOKEN,
|
|
18
|
-
} from '@eui/core';
|
|
19
|
-
import { EuiLayoutModule } from '@eui/components/layout';
|
|
20
|
-
|
|
21
|
-
import { appConfig } from '../../config/index';
|
|
22
|
-
import { environment } from '../../environments/environment';
|
|
23
|
-
|
|
24
|
-
import { REDUCER_TOKEN, getReducers, metaReducers } from './reducers/index';
|
|
25
|
-
|
|
26
|
-
import { SharedModule } from '@shared/shared.module';
|
|
27
|
-
|
|
28
|
-
@NgModule({
|
|
29
|
-
imports: [
|
|
30
|
-
EuiLayoutModule,
|
|
31
|
-
SharedModule,
|
|
32
|
-
HttpClientModule,
|
|
33
|
-
EuiCoreModule.forRoot(),
|
|
34
|
-
EffectsModule.forRoot([...CoreModuleEffects]),
|
|
35
|
-
TranslateModule.forRoot(translateConfig),
|
|
36
|
-
StoreModule.forRoot(REDUCER_TOKEN, { metaReducers }),
|
|
37
|
-
!environment.production ? StoreDevtoolsModule.instrument({ maxAge: 50 }) : [],
|
|
38
|
-
],
|
|
39
|
-
declarations: [
|
|
40
|
-
],
|
|
41
|
-
exports: [
|
|
42
|
-
EuiLayoutModule,
|
|
43
|
-
SharedModule,
|
|
44
|
-
],
|
|
45
|
-
providers: [
|
|
46
|
-
{
|
|
47
|
-
provide: REDUCER_TOKEN,
|
|
48
|
-
deps: [],
|
|
49
|
-
useFactory: getReducers,
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
provide: EUI_CONFIG_TOKEN,
|
|
53
|
-
useValue: { appConfig, environment },
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
// Sets the withCredentials on Ajax Request to send the JSESSIONID cookie to another domain.
|
|
57
|
-
// This is necessary when a request is being made to another domain that is protected by EU Login.
|
|
58
|
-
provide: HTTP_INTERCEPTORS,
|
|
59
|
-
useClass: CorsSecurityInterceptor,
|
|
60
|
-
multi: true,
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
// WARNING: in case of OpenID this is not needed since OpenID is stateless therefore no revalidation needed.
|
|
64
|
-
// When the authentication session is invalid, we need to re-authenticate. The browser refreshes the current URL,
|
|
65
|
-
// and lets the EU Login client redirect to the official EU Login page.
|
|
66
|
-
provide: HTTP_INTERCEPTORS,
|
|
67
|
-
useClass: EuLoginSessionTimeoutHandlingInterceptor,
|
|
68
|
-
multi: true,
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
// Adds HTTP header to each Ajax request that ensures the request is set by a piece of JavaScript code in the application.
|
|
72
|
-
// This prevents dynamically-loaded content from forging a request in the name of the currently logged-in user.
|
|
73
|
-
// Be aware that this assumes that cross-site scripting (XSS) is already put in place, (default setting in Angular).
|
|
74
|
-
provide: HTTP_INTERCEPTORS,
|
|
75
|
-
useClass: CsrfPreventionInterceptor,
|
|
76
|
-
multi: true,
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
// Asks the intermediate proxies not to return a cache copy of the resource.
|
|
80
|
-
// In matter of fact forces each server in the chain to validate the freshness of the resource.
|
|
81
|
-
provide: HTTP_INTERCEPTORS,
|
|
82
|
-
useClass: CachePreventionInterceptor,
|
|
83
|
-
multi: true,
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
provide: HTTP_INTERCEPTORS,
|
|
87
|
-
useClass: OpenIdConnectInterceptor,
|
|
88
|
-
multi: true,
|
|
89
|
-
},
|
|
90
|
-
]
|
|
91
|
-
})
|
|
92
|
-
export class CoreModule {
|
|
93
|
-
|
|
94
|
-
}
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
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
|
+
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
CachePreventionInterceptor,
|
|
10
|
+
CorsSecurityInterceptor,
|
|
11
|
+
CsrfPreventionInterceptor,
|
|
12
|
+
EuLoginSessionTimeoutHandlingInterceptor,
|
|
13
|
+
OpenIdConnectInterceptor,
|
|
14
|
+
CoreModule as EuiCoreModule,
|
|
15
|
+
translateConfig,
|
|
16
|
+
CoreModuleEffects,
|
|
17
|
+
EUI_CONFIG_TOKEN,
|
|
18
|
+
} from '@eui/core';
|
|
19
|
+
import { EuiLayoutModule } from '@eui/components/layout';
|
|
20
|
+
|
|
21
|
+
import { appConfig } from '../../config/index';
|
|
22
|
+
import { environment } from '../../environments/environment';
|
|
23
|
+
|
|
24
|
+
import { REDUCER_TOKEN, getReducers, metaReducers } from './reducers/index';
|
|
25
|
+
|
|
26
|
+
import { SharedModule } from '@shared/shared.module';
|
|
27
|
+
|
|
28
|
+
@NgModule({
|
|
29
|
+
imports: [
|
|
30
|
+
EuiLayoutModule,
|
|
31
|
+
SharedModule,
|
|
32
|
+
HttpClientModule,
|
|
33
|
+
EuiCoreModule.forRoot(),
|
|
34
|
+
EffectsModule.forRoot([...CoreModuleEffects]),
|
|
35
|
+
TranslateModule.forRoot(translateConfig),
|
|
36
|
+
StoreModule.forRoot(REDUCER_TOKEN, { metaReducers }),
|
|
37
|
+
!environment.production ? StoreDevtoolsModule.instrument({ maxAge: 50 }) : [],
|
|
38
|
+
],
|
|
39
|
+
declarations: [
|
|
40
|
+
],
|
|
41
|
+
exports: [
|
|
42
|
+
EuiLayoutModule,
|
|
43
|
+
SharedModule,
|
|
44
|
+
],
|
|
45
|
+
providers: [
|
|
46
|
+
{
|
|
47
|
+
provide: REDUCER_TOKEN,
|
|
48
|
+
deps: [],
|
|
49
|
+
useFactory: getReducers,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
provide: EUI_CONFIG_TOKEN,
|
|
53
|
+
useValue: { appConfig, environment },
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
// Sets the withCredentials on Ajax Request to send the JSESSIONID cookie to another domain.
|
|
57
|
+
// This is necessary when a request is being made to another domain that is protected by EU Login.
|
|
58
|
+
provide: HTTP_INTERCEPTORS,
|
|
59
|
+
useClass: CorsSecurityInterceptor,
|
|
60
|
+
multi: true,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
// WARNING: in case of OpenID this is not needed since OpenID is stateless therefore no revalidation needed.
|
|
64
|
+
// When the authentication session is invalid, we need to re-authenticate. The browser refreshes the current URL,
|
|
65
|
+
// and lets the EU Login client redirect to the official EU Login page.
|
|
66
|
+
provide: HTTP_INTERCEPTORS,
|
|
67
|
+
useClass: EuLoginSessionTimeoutHandlingInterceptor,
|
|
68
|
+
multi: true,
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
// Adds HTTP header to each Ajax request that ensures the request is set by a piece of JavaScript code in the application.
|
|
72
|
+
// This prevents dynamically-loaded content from forging a request in the name of the currently logged-in user.
|
|
73
|
+
// Be aware that this assumes that cross-site scripting (XSS) is already put in place, (default setting in Angular).
|
|
74
|
+
provide: HTTP_INTERCEPTORS,
|
|
75
|
+
useClass: CsrfPreventionInterceptor,
|
|
76
|
+
multi: true,
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
// Asks the intermediate proxies not to return a cache copy of the resource.
|
|
80
|
+
// In matter of fact forces each server in the chain to validate the freshness of the resource.
|
|
81
|
+
provide: HTTP_INTERCEPTORS,
|
|
82
|
+
useClass: CachePreventionInterceptor,
|
|
83
|
+
multi: true,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
provide: HTTP_INTERCEPTORS,
|
|
87
|
+
useClass: OpenIdConnectInterceptor,
|
|
88
|
+
multi: true,
|
|
89
|
+
},
|
|
90
|
+
]
|
|
91
|
+
})
|
|
92
|
+
export class CoreModule {
|
|
93
|
+
|
|
94
|
+
}
|
package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-dev.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openIdConnect": {
|
|
3
|
-
"enabled": true,
|
|
4
|
-
"allowDevelopmentLogin": true,
|
|
5
|
-
"stripIdTokenFromLocation": true,
|
|
6
|
-
"maximumRequestRetries": 1,
|
|
7
|
-
"metadataUrl": "https://webgate.ec.europa.eu/cas/oauth2/.well-known/openid-configuration",
|
|
8
|
-
"spaClientId": "your-webapp-EU-Login-ACC-client-ID-here",
|
|
9
|
-
"spaRedirectUrl": "https://your-development-server-url/",
|
|
10
|
-
"apiGatewayAccessTokenUrl": "https://api.tech.ec.europa.eu/federation/oauth/token",
|
|
11
|
-
"apiGatewayAccessTokenAudienceId": "DFlp4emQ6jCLjNw8U7ko18zNjb9bwJ3ACrnP89iPsVv4zcChOEVRPHCT88Q7jPpNGCFa0hJEtV77rBj6L1XvOt-Jj71zxYb8yr7ujzQt669zSG",
|
|
12
|
-
"apiGatewayConsumerKey": "API-Gateway-sandbox-URL-consumer-key-here",
|
|
13
|
-
"apiGatewayServices": {
|
|
14
|
-
},
|
|
15
|
-
"services": {
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"modules": {
|
|
19
|
-
"core": {
|
|
20
|
-
"base": "/api",
|
|
21
|
-
"userDetails": "/user-details"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"openIdConnect": {
|
|
3
|
+
"enabled": true,
|
|
4
|
+
"allowDevelopmentLogin": true,
|
|
5
|
+
"stripIdTokenFromLocation": true,
|
|
6
|
+
"maximumRequestRetries": 1,
|
|
7
|
+
"metadataUrl": "https://webgate.ec.europa.eu/cas/oauth2/.well-known/openid-configuration",
|
|
8
|
+
"spaClientId": "your-webapp-EU-Login-ACC-client-ID-here",
|
|
9
|
+
"spaRedirectUrl": "https://your-development-server-url/",
|
|
10
|
+
"apiGatewayAccessTokenUrl": "https://api.tech.ec.europa.eu/federation/oauth/token",
|
|
11
|
+
"apiGatewayAccessTokenAudienceId": "DFlp4emQ6jCLjNw8U7ko18zNjb9bwJ3ACrnP89iPsVv4zcChOEVRPHCT88Q7jPpNGCFa0hJEtV77rBj6L1XvOt-Jj71zxYb8yr7ujzQt669zSG",
|
|
12
|
+
"apiGatewayConsumerKey": "API-Gateway-sandbox-URL-consumer-key-here",
|
|
13
|
+
"apiGatewayServices": {
|
|
14
|
+
},
|
|
15
|
+
"services": {
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"modules": {
|
|
19
|
+
"core": {
|
|
20
|
+
"base": "/api",
|
|
21
|
+
"userDetails": "/user-details"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-local-mock.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openIdConnect": {
|
|
3
|
-
"enabled": false
|
|
4
|
-
},
|
|
5
|
-
"modules": {
|
|
6
|
-
"core": {
|
|
7
|
-
"userDetails": "/user-details"
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"openIdConnect": {
|
|
3
|
+
"enabled": false
|
|
4
|
+
},
|
|
5
|
+
"modules": {
|
|
6
|
+
"core": {
|
|
7
|
+
"userDetails": "/user-details"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-local.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openIdConnect": {
|
|
3
|
-
"enabled": true,
|
|
4
|
-
"stripIdTokenFromLocation": true,
|
|
5
|
-
"maximumRequestRetries": 1,
|
|
6
|
-
"metadataUrl": "https://webgate.ec.europa.eu/cas/oauth2/.well-known/openid-configuration",
|
|
7
|
-
"spaClientId": "your-webapp-EU-Login-ACC-client-ID-here",
|
|
8
|
-
"spaRedirectUrl": "https://your-development-server-url/",
|
|
9
|
-
"apiGatewayAccessTokenUrl": "https://api.tech.ec.europa.eu/federation/oauth/token",
|
|
10
|
-
"apiGatewayAccessTokenAudienceId": "DFlp4emQ6jCLjNw8U7ko18zNjb9bwJ3ACrnP89iPsVv4zcChOEVRPHCT88Q7jPpNGCFa0hJEtV77rBj6L1XvOt-Jj71zxYb8yr7ujzQt669zSG",
|
|
11
|
-
"apiGatewayConsumerKey": "API-Gateway-sandbox-URL-consumer-key-here",
|
|
12
|
-
"apiGatewayServices": {
|
|
13
|
-
},
|
|
14
|
-
"services": {
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"modules": {
|
|
18
|
-
"core": {
|
|
19
|
-
"base": "/api",
|
|
20
|
-
"userDetails": "/user-details"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"openIdConnect": {
|
|
3
|
+
"enabled": true,
|
|
4
|
+
"stripIdTokenFromLocation": true,
|
|
5
|
+
"maximumRequestRetries": 1,
|
|
6
|
+
"metadataUrl": "https://webgate.ec.europa.eu/cas/oauth2/.well-known/openid-configuration",
|
|
7
|
+
"spaClientId": "your-webapp-EU-Login-ACC-client-ID-here",
|
|
8
|
+
"spaRedirectUrl": "https://your-development-server-url/",
|
|
9
|
+
"apiGatewayAccessTokenUrl": "https://api.tech.ec.europa.eu/federation/oauth/token",
|
|
10
|
+
"apiGatewayAccessTokenAudienceId": "DFlp4emQ6jCLjNw8U7ko18zNjb9bwJ3ACrnP89iPsVv4zcChOEVRPHCT88Q7jPpNGCFa0hJEtV77rBj6L1XvOt-Jj71zxYb8yr7ujzQt669zSG",
|
|
11
|
+
"apiGatewayConsumerKey": "API-Gateway-sandbox-URL-consumer-key-here",
|
|
12
|
+
"apiGatewayServices": {
|
|
13
|
+
},
|
|
14
|
+
"services": {
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"modules": {
|
|
18
|
+
"core": {
|
|
19
|
+
"base": "/api",
|
|
20
|
+
"userDetails": "/user-details"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|