@eui/cli 17.0.0-next.1 → 17.0.0-next.11
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/lib/build.js +8 -0
- package/lib/skeletons/_angular/base/angular.json +149 -167
- package/lib/skeletons/_angular/base/package.json +2 -2
- package/lib/skeletons/_angular/base/src/app/features/home/home.component.html +2 -2
- package/lib/skeletons/_angular/base/src/main.ts +12 -7
- package/lib/skeletons/_angular/base-mobile/angular.json +140 -144
- package/lib/skeletons/_angular/base-mobile/package.json +2 -2
- package/lib/skeletons/_angular/options/ecl-ec/angular.json +158 -174
- package/lib/skeletons/_angular/options/ecl-ec/src/app/features/home/home.component.html +4 -4
- package/lib/skeletons/_angular/options/ecl-eu/angular.json +149 -152
- package/lib/skeletons/_angular/options/ecl-eu/src/app/features/home/home.component.html +4 -4
- package/lib/skeletons/_angular/options/merged-ecl-openid-jwt/package.json +26 -0
- package/lib/skeletons/_angular/options/openid-jwt/package.json +2 -2
- package/lib/skeletons/web-symfony/myapp-web/angular.json +2 -3
- package/lib/skeletons/web-symfony/myapp-web/package.json +2 -2
- package/package.json +3 -3
- package/lib/skeletons/_angular/base/src/polyfills.ts +0 -90
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
17.0.0-next.
|
|
1
|
+
17.0.0-next.11
|
package/lib/build.js
CHANGED
|
@@ -153,6 +153,14 @@ const copyAngular = (targetPath, cliConfig, overwrite = true) => {
|
|
|
153
153
|
}
|
|
154
154
|
return Promise.resolve();
|
|
155
155
|
})
|
|
156
|
+
.then(() => {
|
|
157
|
+
const allAvaiableOptionsCount = Object.keys(config.optionsPath).length - 1;
|
|
158
|
+
if (cliConfig.appOptions && cliConfig.appOptions.length === allAvaiableOptionsCount) {
|
|
159
|
+
tools.copydir(config.optionsPath["ecl-openid-jwt"], targetPath, true);
|
|
160
|
+
console.log('Applying options merge : ecl-openid-jwt');
|
|
161
|
+
}
|
|
162
|
+
return Promise.resolve();
|
|
163
|
+
})
|
|
156
164
|
.catch((e) => {
|
|
157
165
|
throw e;
|
|
158
166
|
})
|
|
@@ -1,175 +1,157 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"architect": {
|
|
23
|
-
"build": {
|
|
24
|
-
"builder": "@angular-devkit/build-angular:browser",
|
|
25
|
-
"options": {
|
|
26
|
-
"outputPath": "dist",
|
|
27
|
-
"index": "src/index.html",
|
|
28
|
-
"main": "src/main.ts",
|
|
29
|
-
"polyfills": "src/polyfills.ts",
|
|
30
|
-
"tsConfig": "src/tsconfig.app.json",
|
|
31
|
-
"inlineStyleLanguage": "scss",
|
|
32
|
-
"assets": [
|
|
33
|
-
"src/favicon.ico",
|
|
34
|
-
"src/assets",
|
|
35
|
-
{
|
|
36
|
-
"glob": "**/*",
|
|
37
|
-
"input": "node_modules/@eui/core/assets/",
|
|
38
|
-
"output": "./assets"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"glob": "**/*",
|
|
42
|
-
"input": "node_modules/@eui/styles-base/src/assets/",
|
|
43
|
-
"output": "./assets"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"styles": [
|
|
47
|
-
"node_modules/@eui/styles/dist/styles/eui.css",
|
|
48
|
-
"node_modules/@eui/styles/dist/styles/eui-extra-utilities.css",
|
|
49
|
-
"node_modules/@eui/styles/dist/styles/eui-legacy-bootstrap.css",
|
|
50
|
-
"node_modules/@eui/styles/dist/styles/eui-legacy-icons-font.css",
|
|
51
|
-
"src/styles.scss"
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
"configurations": {
|
|
55
|
-
"production": {
|
|
56
|
-
"fileReplacements": [
|
|
57
|
-
{
|
|
58
|
-
"replace": "src/environments/environment.ts",
|
|
59
|
-
"with": "src/environments/environment.prod.ts"
|
|
2
|
+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"newProjectRoot": "projects",
|
|
5
|
+
"cli": {
|
|
6
|
+
"analytics": false
|
|
7
|
+
},
|
|
8
|
+
"projects": {
|
|
9
|
+
"app": {
|
|
10
|
+
"root": "",
|
|
11
|
+
"sourceRoot": "src",
|
|
12
|
+
"projectType": "application",
|
|
13
|
+
"prefix": "app",
|
|
14
|
+
"schematics": {
|
|
15
|
+
"@schematics/angular:component": {
|
|
16
|
+
"style": "scss"
|
|
17
|
+
},
|
|
18
|
+
"@schematics/angular:application": {
|
|
19
|
+
"strict": true
|
|
60
20
|
}
|
|
61
|
-
],
|
|
62
|
-
"optimization": false,
|
|
63
|
-
"outputHashing": "all",
|
|
64
|
-
"sourceMap": false,
|
|
65
|
-
"namedChunks": true,
|
|
66
|
-
"aot": true,
|
|
67
|
-
"extractLicenses": true,
|
|
68
|
-
"vendorChunk": false,
|
|
69
|
-
"buildOptimizer": false,
|
|
70
|
-
"budgets": [
|
|
71
|
-
{
|
|
72
|
-
"type": "initial",
|
|
73
|
-
"maximumWarning": "2mb",
|
|
74
|
-
"maximumError": "11mb"
|
|
75
|
-
}
|
|
76
|
-
]
|
|
77
21
|
},
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
22
|
+
"architect": {
|
|
23
|
+
"build": {
|
|
24
|
+
"builder": "@angular-devkit/build-angular:application",
|
|
25
|
+
"options": {
|
|
26
|
+
"outputPath": "dist",
|
|
27
|
+
"index": "src/index.html",
|
|
28
|
+
"browser": "src/main.ts",
|
|
29
|
+
"polyfills": ["zone.js"],
|
|
30
|
+
"tsConfig": "src/tsconfig.app.json",
|
|
31
|
+
"inlineStyleLanguage": "scss",
|
|
32
|
+
"assets": [
|
|
33
|
+
"src/favicon.ico",
|
|
34
|
+
"src/assets",
|
|
35
|
+
{
|
|
36
|
+
"glob": "**/*",
|
|
37
|
+
"input": "node_modules/@eui/core/assets/",
|
|
38
|
+
"output": "./assets"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"glob": "**/*",
|
|
42
|
+
"input": "node_modules/@eui/styles-base/src/assets/",
|
|
43
|
+
"output": "./assets"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"styles": [
|
|
47
|
+
"node_modules/@eui/styles/dist/styles/eui.css",
|
|
48
|
+
"node_modules/@eui/styles/dist/styles/eui-utilities.css",
|
|
49
|
+
"src/styles.scss"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"configurations": {
|
|
53
|
+
"production": {
|
|
54
|
+
"fileReplacements": [
|
|
55
|
+
{
|
|
56
|
+
"replace": "src/environments/environment.ts",
|
|
57
|
+
"with": "src/environments/environment.prod.ts"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"optimization": false,
|
|
61
|
+
"outputHashing": "all",
|
|
62
|
+
"sourceMap": false,
|
|
63
|
+
"aot": true,
|
|
64
|
+
"extractLicenses": true,
|
|
65
|
+
"budgets": [
|
|
66
|
+
{
|
|
67
|
+
"type": "initial",
|
|
68
|
+
"maximumWarning": "1mb",
|
|
69
|
+
"maximumError": "2mb"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"production-optimized": {
|
|
74
|
+
"fileReplacements": [
|
|
75
|
+
{
|
|
76
|
+
"replace": "src/environments/environment.ts",
|
|
77
|
+
"with": "src/environments/environment.prod.ts"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"optimization": {
|
|
81
|
+
"scripts": true,
|
|
82
|
+
"styles": {
|
|
83
|
+
"minify": false,
|
|
84
|
+
"inlineCritical": true
|
|
85
|
+
},
|
|
86
|
+
"fonts": true
|
|
87
|
+
},
|
|
88
|
+
"outputHashing": "all",
|
|
89
|
+
"sourceMap": false,
|
|
90
|
+
"extractLicenses": true,
|
|
91
|
+
"budgets": [
|
|
92
|
+
{
|
|
93
|
+
"type": "initial",
|
|
94
|
+
"maximumWarning": "2mb",
|
|
95
|
+
"maximumError": "6mb"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"development": {
|
|
100
|
+
"optimization": false,
|
|
101
|
+
"extractLicenses": false,
|
|
102
|
+
"sourceMap": true
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"defaultConfiguration": "production"
|
|
90
106
|
},
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
107
|
+
"serve": {
|
|
108
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
109
|
+
"options": {
|
|
110
|
+
"browserTarget": "app:build"
|
|
111
|
+
},
|
|
112
|
+
"configurations": {
|
|
113
|
+
"proxy-mock": {
|
|
114
|
+
"browserTarget": "app:build:development",
|
|
115
|
+
"proxyConfig": "proxy-mock.conf.json"
|
|
116
|
+
},
|
|
117
|
+
"production": {
|
|
118
|
+
"browserTarget": "app:build:production"
|
|
119
|
+
},
|
|
120
|
+
"development": {
|
|
121
|
+
"browserTarget": "app:build:development"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"defaultConfiguration": "development"
|
|
125
|
+
},
|
|
126
|
+
"lint": {
|
|
127
|
+
"builder": "@angular-eslint/builder:lint",
|
|
128
|
+
"options": {
|
|
129
|
+
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"],
|
|
130
|
+
"eslintConfig": "src/.eslintrc.json"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"test": {
|
|
134
|
+
"builder": "@angular-devkit/build-angular:karma",
|
|
135
|
+
"options": {
|
|
136
|
+
"polyfills": ["zone.js", "zone.js/testing"],
|
|
137
|
+
"tsConfig": "src/tsconfig.spec.json",
|
|
138
|
+
"karmaConfig": "src/karma.conf.js",
|
|
139
|
+
"inlineStyleLanguage": "scss",
|
|
140
|
+
"assets": [
|
|
141
|
+
{
|
|
142
|
+
"glob": "**/*",
|
|
143
|
+
"input": "node_modules/@eui/core/assets/",
|
|
144
|
+
"output": "./assets"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"glob": "**/*",
|
|
148
|
+
"input": "node_modules/@eui/styles-base/src/assets/",
|
|
149
|
+
"output": "./assets"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
}
|
|
115
154
|
}
|
|
116
|
-
},
|
|
117
|
-
"defaultConfiguration": "production"
|
|
118
|
-
},
|
|
119
|
-
"serve": {
|
|
120
|
-
"builder": "@angular-devkit/build-angular:dev-server",
|
|
121
|
-
"options": {
|
|
122
|
-
"browserTarget": "app:build"
|
|
123
|
-
},
|
|
124
|
-
"configurations": {
|
|
125
|
-
"proxy-mock": {
|
|
126
|
-
"browserTarget": "app:build:development",
|
|
127
|
-
"proxyConfig": "proxy-mock.conf.json"
|
|
128
|
-
},
|
|
129
|
-
"production": {
|
|
130
|
-
"browserTarget": "app:build:production"
|
|
131
|
-
},
|
|
132
|
-
"development": {
|
|
133
|
-
"browserTarget": "app:build:development"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
"defaultConfiguration": "development"
|
|
137
|
-
},
|
|
138
|
-
"lint": {
|
|
139
|
-
"builder": "@angular-eslint/builder:lint",
|
|
140
|
-
"options": {
|
|
141
|
-
"lintFilePatterns": [
|
|
142
|
-
"src/**/*.ts",
|
|
143
|
-
"src/**/*.html"
|
|
144
|
-
],
|
|
145
|
-
"eslintConfig": "src/.eslintrc.json"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"test": {
|
|
149
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
150
|
-
"options": {
|
|
151
|
-
"polyfills": [
|
|
152
|
-
"zone.js",
|
|
153
|
-
"zone.js/testing"
|
|
154
|
-
],
|
|
155
|
-
"tsConfig": "src/tsconfig.spec.json",
|
|
156
|
-
"karmaConfig": "src/karma.conf.js",
|
|
157
|
-
"inlineStyleLanguage": "scss",
|
|
158
|
-
"assets": [
|
|
159
|
-
{
|
|
160
|
-
"glob": "**/*",
|
|
161
|
-
"input": "node_modules/@eui/core/assets/",
|
|
162
|
-
"output": "./assets"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"glob": "**/*",
|
|
166
|
-
"input": "node_modules/@eui/styles-base/src/assets/",
|
|
167
|
-
"output": "./assets"
|
|
168
|
-
}
|
|
169
|
-
]
|
|
170
|
-
}
|
|
171
155
|
}
|
|
172
|
-
}
|
|
173
156
|
}
|
|
174
|
-
}
|
|
175
157
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-angular-app",
|
|
3
|
-
"version": "17.0.0-next.
|
|
3
|
+
"version": "17.0.0-next.11",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"ng": "ng",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
},
|
|
21
21
|
"private": true,
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@eui/deps-base": "17.0.0-next.
|
|
23
|
+
"@eui/deps-base": "17.0.0-next.11"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
<p>It's also focusing on rationalisation and implementation of <strong><a
|
|
13
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
|
|
14
|
+
target="_blank" class="eui-u-text-link-external">European Commission's User Experience</a></strong> (UX@EC) and the adoption
|
|
15
15
|
of a common look and feel for your web applications.</p>
|
|
16
16
|
|
|
17
17
|
<p>Thereby, the <strong>eUI framework</strong> provides guidelines and recommendations on
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
<p>Feel free to participate and help to improve the eUI platform.</p>
|
|
29
29
|
<p>Contact us at <strong><a
|
|
30
|
-
href="mailto:DIGIT-EUI-SUPPORT@ec.europa.eu" class="eui-u-text-link">DIGIT-EUI-SUPPORT
|
|
30
|
+
href="mailto:DIGIT-EUI-SUPPORT@ec.europa.eu" class="eui-u-text-link">DIGIT-EUI-SUPPORT@ec.europa.eu</a></strong> and
|
|
31
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
32
|
MS Teams EC_eUI team
|
|
33
33
|
</a>
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import { enableProdMode } from
|
|
2
|
-
import { platformBrowserDynamic } from
|
|
3
|
-
import { preInitApp } from
|
|
1
|
+
import { enableProdMode } from "@angular/core";
|
|
2
|
+
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
|
|
3
|
+
import { preInitApp } from "@eui/core";
|
|
4
4
|
|
|
5
|
-
import { AppModule } from
|
|
6
|
-
import { environment } from
|
|
5
|
+
import { AppModule } from "./app/app.module";
|
|
6
|
+
import { environment } from "./environments/environment";
|
|
7
7
|
|
|
8
8
|
if (environment.production) {
|
|
9
9
|
enableProdMode();
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
preInitApp(environment).then(() =>
|
|
13
|
-
|
|
12
|
+
preInitApp(environment).then(() =>
|
|
13
|
+
platformBrowserDynamic()
|
|
14
|
+
.bootstrapModule(AppModule)
|
|
15
|
+
.catch((err) => console.error(err))
|
|
14
16
|
);
|
|
17
|
+
|
|
18
|
+
// eslint-disable-next-line
|
|
19
|
+
(window as any).global = window;
|