@acorex/platform-generator 18.0.7 → 18.0.8
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/README.md +11 -11
- package/generators.json +9 -9
- package/package.json +1 -1
- package/src/generators/app-module/files/.eslintrc.json.template +40 -40
- package/src/generators/app-module/files/jest.config.ts.template +22 -22
- package/src/generators/app-module/files/project.json.template +308 -308
- package/src/generators/app-module/files/src/app/app.component.ts.template +10 -10
- package/src/generators/app-module/files/src/app/app.module.ts.template +99 -99
- package/src/generators/app-module/files/src/app/app.routes.ts.template +13 -13
- package/src/generators/app-module/files/src/app/header-interceptor.interceptor.ts.template +33 -33
- package/src/generators/app-module/files/src/app/modules/auth/application.loader.ts.template +34 -34
- package/src/generators/app-module/files/src/app/modules/auth/auth-root.module.ts.template +52 -52
- package/src/generators/app-module/files/src/app/modules/auth/auth.strategy.ts.template +91 -91
- package/src/generators/app-module/files/src/app/modules/auth/feature.loader.ts.template +17 -17
- package/src/generators/app-module/files/src/app/modules/auth/permission.loader.ts.template +21 -21
- package/src/generators/app-module/files/src/app/modules/auth/tenant.loader.ts.template +32 -32
- package/src/generators/app-module/files/src/app/modules/common/translation-root.module.ts.template +45 -45
- package/src/generators/app-module/files/src/app/modules/layout/entity.loader.ts.template +21 -21
- package/src/generators/app-module/files/src/app/modules/layout/layout-root.module.ts.template +79 -79
- package/src/generators/app-module/files/src/app/modules/layout/menu.loader.ts.template +159 -159
- package/src/generators/app-module/files/src/app/modules/root/home/home.page.html.template +2 -2
- package/src/generators/app-module/files/src/app/modules/root/home/home.page.ts.template +9 -9
- package/src/generators/app-module/files/src/app/modules/root/root.module.ts.template +32 -32
- package/src/generators/app-module/files/src/app/modules/root/sample/sample.entity.ts.template +184 -184
- package/src/generators/app-module/files/src/assets/auth-background.svg +6 -6
- package/src/generators/app-module/files/src/assets/documents.svg +9 -9
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/brands.min.css +1457 -1457
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/fontawesome.min.css +11291 -11291
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/light.min.css +22 -22
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/regular.min.css +22 -22
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/solid.min.css +5 -5
- package/src/generators/app-module/files/src/assets/i18n/en/auth.json +49 -49
- package/src/generators/app-module/files/src/assets/i18n/en/common.json +179 -179
- package/src/generators/app-module/files/src/assets/images/error/error-404.svg +336 -336
- package/src/generators/app-module/files/src/assets/images/error/error-offline.svg +133 -133
- package/src/generators/app-module/files/src/assets/logos/logo-colored.svg +18 -18
- package/src/generators/app-module/files/src/assets/logos/logo-white.svg +17 -17
- package/src/generators/app-module/files/src/assets/themes/default/default.scss.template +141 -141
- package/src/generators/app-module/files/src/environments/environment.dev.ts.template +19 -19
- package/src/generators/app-module/files/src/environments/environment.local.ts.template +19 -19
- package/src/generators/app-module/files/src/environments/environment.prod.ts.template +19 -19
- package/src/generators/app-module/files/src/environments/environment.test.local.ts.template +19 -19
- package/src/generators/app-module/files/src/environments/environment.test.ts.template +19 -19
- package/src/generators/app-module/files/src/environments/environment.ts.template +19 -19
- package/src/generators/app-module/files/src/index.html.template +34 -34
- package/src/generators/app-module/files/src/main.ts.template +6 -6
- package/src/generators/app-module/files/src/styles.scss.template +188 -188
- package/src/generators/app-module/files/src/test-setup.ts.template +7 -7
- package/src/generators/app-module/files/tailwind.config.js.template +18 -18
- package/src/generators/app-module/files/tsconfig.app.json.template +10 -10
- package/src/generators/app-module/files/tsconfig.editor.json.template +7 -7
- package/src/generators/app-module/files/tsconfig.json.template +34 -34
- package/src/generators/app-module/files/tsconfig.spec.json.template +11 -11
- package/src/generators/app-module/schema.d.ts +4 -4
- package/src/generators/app-module/schema.json +27 -27
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export const environment = {
|
|
2
|
-
production: false,
|
|
3
|
-
baseUrl: 'https://192.168.25.91:44320/api',
|
|
4
|
-
//?
|
|
5
|
-
oidcConfig: {
|
|
6
|
-
authority: 'https://192.168.25.91:44320',
|
|
7
|
-
userinfo_endpoint: 'https://192.168.25.91:44320/api/userinfo',
|
|
8
|
-
scope: 'openid profile email offline_access api1',
|
|
9
|
-
client_id: 'acorex',
|
|
10
|
-
response_type: 'code',
|
|
11
|
-
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
-
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
-
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
-
loadUserInfo: true,
|
|
15
|
-
showDebugInformation: true,
|
|
16
|
-
redirect_uri: 'http://localhost:4200/auth/signincallback',
|
|
17
|
-
silentRequestTimeoutInSeconds: 20000,
|
|
18
|
-
},
|
|
19
|
-
};
|
|
1
|
+
export const environment = {
|
|
2
|
+
production: false,
|
|
3
|
+
baseUrl: 'https://192.168.25.91:44320/api',
|
|
4
|
+
//?
|
|
5
|
+
oidcConfig: {
|
|
6
|
+
authority: 'https://192.168.25.91:44320',
|
|
7
|
+
userinfo_endpoint: 'https://192.168.25.91:44320/api/userinfo',
|
|
8
|
+
scope: 'openid profile email offline_access api1',
|
|
9
|
+
client_id: 'acorex',
|
|
10
|
+
response_type: 'code',
|
|
11
|
+
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
+
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
+
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
+
loadUserInfo: true,
|
|
15
|
+
showDebugInformation: true,
|
|
16
|
+
redirect_uri: 'http://localhost:4200/auth/signincallback',
|
|
17
|
+
silentRequestTimeoutInSeconds: 20000,
|
|
18
|
+
},
|
|
19
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export const environment = {
|
|
2
|
-
production: false,
|
|
3
|
-
baseUrl: 'https://localhost:44320/api',
|
|
4
|
-
//?
|
|
5
|
-
oidcConfig: {
|
|
6
|
-
authority: 'https://localhost:44320',
|
|
7
|
-
userinfo_endpoint: 'https://localhost:44320/api/userinfo',
|
|
8
|
-
scope: 'openid profile email offline_access api1',
|
|
9
|
-
client_id: 'acorex',
|
|
10
|
-
response_type: 'code',
|
|
11
|
-
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
-
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
-
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
-
loadUserInfo: true,
|
|
15
|
-
showDebugInformation: true,
|
|
16
|
-
redirect_uri: 'http://localhost:4200/auth/signincallback',
|
|
17
|
-
silentRequestTimeoutInSeconds: 20000,
|
|
18
|
-
},
|
|
19
|
-
};
|
|
1
|
+
export const environment = {
|
|
2
|
+
production: false,
|
|
3
|
+
baseUrl: 'https://localhost:44320/api',
|
|
4
|
+
//?
|
|
5
|
+
oidcConfig: {
|
|
6
|
+
authority: 'https://localhost:44320',
|
|
7
|
+
userinfo_endpoint: 'https://localhost:44320/api/userinfo',
|
|
8
|
+
scope: 'openid profile email offline_access api1',
|
|
9
|
+
client_id: 'acorex',
|
|
10
|
+
response_type: 'code',
|
|
11
|
+
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
+
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
+
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
+
loadUserInfo: true,
|
|
15
|
+
showDebugInformation: true,
|
|
16
|
+
redirect_uri: 'http://localhost:4200/auth/signincallback',
|
|
17
|
+
silentRequestTimeoutInSeconds: 20000,
|
|
18
|
+
},
|
|
19
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export const environment = {
|
|
2
|
-
production: true,
|
|
3
|
-
baseUrl: 'https://asc.acorexui.com:44320/api',
|
|
4
|
-
//?
|
|
5
|
-
oidcConfig: {
|
|
6
|
-
authority: 'https://asc.acorexui.com:44320',
|
|
7
|
-
userinfo_endpoint: 'https://asc.acorexui.com:44320/api/userinfo',
|
|
8
|
-
scope: 'openid profile email offline_access api1',
|
|
9
|
-
client_id: 'acorex',
|
|
10
|
-
response_type: 'code',
|
|
11
|
-
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
-
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
-
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
-
loadUserInfo: true,
|
|
15
|
-
showDebugInformation: false,
|
|
16
|
-
redirect_uri: 'https://asc.acorexui.com/auth/signincallback',
|
|
17
|
-
silentRequestTimeoutInSeconds: 20000,
|
|
18
|
-
},
|
|
19
|
-
};
|
|
1
|
+
export const environment = {
|
|
2
|
+
production: true,
|
|
3
|
+
baseUrl: 'https://asc.acorexui.com:44320/api',
|
|
4
|
+
//?
|
|
5
|
+
oidcConfig: {
|
|
6
|
+
authority: 'https://asc.acorexui.com:44320',
|
|
7
|
+
userinfo_endpoint: 'https://asc.acorexui.com:44320/api/userinfo',
|
|
8
|
+
scope: 'openid profile email offline_access api1',
|
|
9
|
+
client_id: 'acorex',
|
|
10
|
+
response_type: 'code',
|
|
11
|
+
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
+
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
+
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
+
loadUserInfo: true,
|
|
15
|
+
showDebugInformation: false,
|
|
16
|
+
redirect_uri: 'https://asc.acorexui.com/auth/signincallback',
|
|
17
|
+
silentRequestTimeoutInSeconds: 20000,
|
|
18
|
+
},
|
|
19
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export const environment = {
|
|
2
|
-
production: false,
|
|
3
|
-
baseUrl: 'https://asctest.acorexui.com:44320/api',
|
|
4
|
-
//?
|
|
5
|
-
oidcConfig: {
|
|
6
|
-
authority: 'https://asctest.acorexui.com:44320',
|
|
7
|
-
userinfo_endpoint: 'https://asctest.acorexui.com:44320/api/userinfo',
|
|
8
|
-
scope: 'openid profile email offline_access api1',
|
|
9
|
-
client_id: 'acorex',
|
|
10
|
-
response_type: 'code',
|
|
11
|
-
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
-
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
-
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
-
loadUserInfo: true,
|
|
15
|
-
showDebugInformation: true,
|
|
16
|
-
redirect_uri: 'http://localhost:4200/auth/signincallback',
|
|
17
|
-
silentRequestTimeoutInSeconds: 20000,
|
|
18
|
-
},
|
|
19
|
-
};
|
|
1
|
+
export const environment = {
|
|
2
|
+
production: false,
|
|
3
|
+
baseUrl: 'https://asctest.acorexui.com:44320/api',
|
|
4
|
+
//?
|
|
5
|
+
oidcConfig: {
|
|
6
|
+
authority: 'https://asctest.acorexui.com:44320',
|
|
7
|
+
userinfo_endpoint: 'https://asctest.acorexui.com:44320/api/userinfo',
|
|
8
|
+
scope: 'openid profile email offline_access api1',
|
|
9
|
+
client_id: 'acorex',
|
|
10
|
+
response_type: 'code',
|
|
11
|
+
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
+
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
+
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
+
loadUserInfo: true,
|
|
15
|
+
showDebugInformation: true,
|
|
16
|
+
redirect_uri: 'http://localhost:4200/auth/signincallback',
|
|
17
|
+
silentRequestTimeoutInSeconds: 20000,
|
|
18
|
+
},
|
|
19
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export const environment = {
|
|
2
|
-
production: false,
|
|
3
|
-
baseUrl: 'https://asctest.acorexui.com:44320/api',
|
|
4
|
-
//?
|
|
5
|
-
oidcConfig: {
|
|
6
|
-
authority: 'https://asctest.acorexui.com:44320',
|
|
7
|
-
userinfo_endpoint: 'https://asctest.acorexui.com:44320/api/userinfo',
|
|
8
|
-
scope: 'openid profile email offline_access api1',
|
|
9
|
-
client_id: 'acorex',
|
|
10
|
-
response_type: 'code',
|
|
11
|
-
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
-
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
-
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
-
loadUserInfo: true,
|
|
15
|
-
showDebugInformation: true,
|
|
16
|
-
redirect_uri: 'https://asctest.acorexui.com/auth/signincallback',
|
|
17
|
-
silentRequestTimeoutInSeconds: 20000,
|
|
18
|
-
},
|
|
19
|
-
};
|
|
1
|
+
export const environment = {
|
|
2
|
+
production: false,
|
|
3
|
+
baseUrl: 'https://asctest.acorexui.com:44320/api',
|
|
4
|
+
//?
|
|
5
|
+
oidcConfig: {
|
|
6
|
+
authority: 'https://asctest.acorexui.com:44320',
|
|
7
|
+
userinfo_endpoint: 'https://asctest.acorexui.com:44320/api/userinfo',
|
|
8
|
+
scope: 'openid profile email offline_access api1',
|
|
9
|
+
client_id: 'acorex',
|
|
10
|
+
response_type: 'code',
|
|
11
|
+
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
+
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
+
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
+
loadUserInfo: true,
|
|
15
|
+
showDebugInformation: true,
|
|
16
|
+
redirect_uri: 'https://asctest.acorexui.com/auth/signincallback',
|
|
17
|
+
silentRequestTimeoutInSeconds: 20000,
|
|
18
|
+
},
|
|
19
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export const environment = {
|
|
2
|
-
production: false,
|
|
3
|
-
baseUrl: 'https://localhost:44320/api',
|
|
4
|
-
//?
|
|
5
|
-
oidcConfig: {
|
|
6
|
-
authority: 'https://localhost:44320',
|
|
7
|
-
userinfo_endpoint: 'https://localhost:44320/api/userinfo',
|
|
8
|
-
scope: 'openid profile email offline_access api1',
|
|
9
|
-
client_id: 'acorex',
|
|
10
|
-
response_type: 'code',
|
|
11
|
-
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
-
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
-
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
-
loadUserInfo: true,
|
|
15
|
-
showDebugInformation: true,
|
|
16
|
-
redirect_uri: 'https://localhost:4200/auth/signincallback',
|
|
17
|
-
silentRequestTimeoutInSeconds: 2000,
|
|
18
|
-
},
|
|
19
|
-
};
|
|
1
|
+
export const environment = {
|
|
2
|
+
production: false,
|
|
3
|
+
baseUrl: 'https://localhost:44320/api',
|
|
4
|
+
//?
|
|
5
|
+
oidcConfig: {
|
|
6
|
+
authority: 'https://localhost:44320',
|
|
7
|
+
userinfo_endpoint: 'https://localhost:44320/api/userinfo',
|
|
8
|
+
scope: 'openid profile email offline_access api1',
|
|
9
|
+
client_id: 'acorex',
|
|
10
|
+
response_type: 'code',
|
|
11
|
+
automaticSilentRenew: true, // Enable automatic silent renew
|
|
12
|
+
monitorSession: true, // Monitor the session to detect user changes
|
|
13
|
+
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
14
|
+
loadUserInfo: true,
|
|
15
|
+
showDebugInformation: true,
|
|
16
|
+
redirect_uri: 'https://localhost:4200/auth/signincallback',
|
|
17
|
+
silentRequestTimeoutInSeconds: 2000,
|
|
18
|
+
},
|
|
19
|
+
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8" />
|
|
6
|
-
<title>
|
|
7
|
-
<%= title %>
|
|
8
|
-
</title>
|
|
9
|
-
<base href="/" />
|
|
10
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
11
|
-
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
|
12
|
-
</head>
|
|
13
|
-
|
|
14
|
-
<body>
|
|
15
|
-
<acorex-platform-root>
|
|
16
|
-
<div class="loading-container">
|
|
17
|
-
<div class="loading-content">
|
|
18
|
-
<img id="logoImg" class="logo" src="assets/logos/logo.png" alt="app-logo" />
|
|
19
|
-
<div class="progress-bar">
|
|
20
|
-
<div class="progress-bar-value"></div>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
<div class="loading-step">
|
|
24
|
-
<i class="fa-solid fa-spinner ax-animate-twSpin ax-animate-infinite ax-mx-2"></i>
|
|
25
|
-
<span id="loadingText">Loading...</span>
|
|
26
|
-
<span></span>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</acorex-platform-root>
|
|
30
|
-
<script>
|
|
31
|
-
|
|
32
|
-
</script>
|
|
33
|
-
</body>
|
|
34
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
<%= title %>
|
|
8
|
+
</title>
|
|
9
|
+
<base href="/" />
|
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
11
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
|
12
|
+
</head>
|
|
13
|
+
|
|
14
|
+
<body>
|
|
15
|
+
<acorex-platform-root>
|
|
16
|
+
<div class="loading-container">
|
|
17
|
+
<div class="loading-content">
|
|
18
|
+
<img id="logoImg" class="logo" src="assets/logos/logo.png" alt="app-logo" />
|
|
19
|
+
<div class="progress-bar">
|
|
20
|
+
<div class="progress-bar-value"></div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="loading-step">
|
|
24
|
+
<i class="fa-solid fa-spinner ax-animate-twSpin ax-animate-infinite ax-mx-2"></i>
|
|
25
|
+
<span id="loadingText">Loading...</span>
|
|
26
|
+
<span></span>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</acorex-platform-root>
|
|
30
|
+
<script>
|
|
31
|
+
|
|
32
|
+
</script>
|
|
33
|
+
</body>
|
|
34
|
+
|
|
35
35
|
</html>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
2
|
-
import { AppModule } from './app/app.module';
|
|
3
|
-
|
|
4
|
-
platformBrowserDynamic()
|
|
5
|
-
.bootstrapModule(AppModule)
|
|
6
|
-
.catch((err) => console.error(err));
|
|
1
|
+
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
2
|
+
import { AppModule } from './app/app.module';
|
|
3
|
+
|
|
4
|
+
platformBrowserDynamic()
|
|
5
|
+
.bootstrapModule(AppModule)
|
|
6
|
+
.catch((err) => console.error(err));
|