@acorex/platform-generator 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/generators.json +9 -0
- package/package.json +12 -0
- package/src/generators/app-module/files/.eslintrc.json.template +40 -0
- package/src/generators/app-module/files/jest.config.ts.template +22 -0
- package/src/generators/app-module/files/project.json.template +308 -0
- package/src/generators/app-module/files/src/app/app.component.ts.template +10 -0
- package/src/generators/app-module/files/src/app/app.module.ts.template +99 -0
- package/src/generators/app-module/files/src/app/app.routes.ts.template +26 -0
- package/src/generators/app-module/files/src/app/header-interceptor.interceptor.ts.template +33 -0
- package/src/generators/app-module/files/src/app/modules/auth/application.loader.ts.template +34 -0
- package/src/generators/app-module/files/src/app/modules/auth/auth-root.module.ts.template +52 -0
- package/src/generators/app-module/files/src/app/modules/auth/auth.strategy.ts.template +83 -0
- package/src/generators/app-module/files/src/app/modules/auth/feature.loader.ts.template +17 -0
- package/src/generators/app-module/files/src/app/modules/auth/permission.loader.ts.template +21 -0
- package/src/generators/app-module/files/src/app/modules/auth/tenant.loader.ts.template +32 -0
- package/src/generators/app-module/files/src/app/modules/common/translation-root.module.ts.template +45 -0
- package/src/generators/app-module/files/src/app/modules/layout/entity.loader.ts.template +21 -0
- package/src/generators/app-module/files/src/app/modules/layout/layout-root.module.ts.template +75 -0
- package/src/generators/app-module/files/src/app/modules/layout/menu.loader.ts.template +159 -0
- package/src/generators/app-module/files/src/app/modules/root/home/home.page.html.template +3 -0
- package/src/generators/app-module/files/src/app/modules/root/home/home.page.ts.template +10 -0
- package/src/generators/app-module/files/src/app/modules/root/root.module.ts.template +30 -0
- package/src/generators/app-module/files/src/app/modules/root/sample/sample.entity.ts.template +185 -0
- package/src/generators/app-module/files/src/assets/auth-background.svg +6 -0
- package/src/generators/app-module/files/src/assets/documents.svg +9 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/brands.min.css +1457 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/fontawesome.min.css +11291 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/light.min.css +22 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/regular.min.css +22 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/css/solid.min.css +6 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/webfonts/fa-brands-400.ttf +0 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/webfonts/fa-brands-400.woff2 +0 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/webfonts/fa-light-300.ttf +0 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/webfonts/fa-light-300.woff2 +0 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/webfonts/fa-regular-400.ttf +0 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/webfonts/fa-regular-400.woff2 +0 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/webfonts/fa-solid-900.ttf +0 -0
- package/src/generators/app-module/files/src/assets/fonts/font-awesome/webfonts/fa-solid-900.woff2 +0 -0
- package/src/generators/app-module/files/src/assets/i18n/en/auth.json +49 -0
- package/src/generators/app-module/files/src/assets/i18n/en/common.json +179 -0
- package/src/generators/app-module/files/src/assets/images/error/error-401.svg +1 -0
- package/src/generators/app-module/files/src/assets/images/error/error-404.svg +336 -0
- package/src/generators/app-module/files/src/assets/images/error/error-offline.png +0 -0
- package/src/generators/app-module/files/src/assets/images/error/error-offline.svg +133 -0
- package/src/generators/app-module/files/src/assets/images/register/smart-phone.png +0 -0
- package/src/generators/app-module/files/src/assets/logos/logo-colored.svg +19 -0
- package/src/generators/app-module/files/src/assets/logos/logo-white.svg +18 -0
- package/src/generators/app-module/files/src/assets/logos/logo.png +0 -0
- package/src/generators/app-module/files/src/assets/themes/default/default.scss.template +141 -0
- package/src/generators/app-module/files/src/environments/environment.d.ts +19 -0
- package/src/generators/app-module/files/src/environments/environment.dev.d.ts +19 -0
- package/src/generators/app-module/files/src/environments/environment.dev.js +24 -0
- package/src/generators/app-module/files/src/environments/environment.dev.js.map +1 -0
- package/src/generators/app-module/files/src/environments/environment.js +24 -0
- package/src/generators/app-module/files/src/environments/environment.js.map +1 -0
- package/src/generators/app-module/files/src/environments/environment.local.d.ts +19 -0
- package/src/generators/app-module/files/src/environments/environment.local.js +24 -0
- package/src/generators/app-module/files/src/environments/environment.local.js.map +1 -0
- package/src/generators/app-module/files/src/environments/environment.prod.d.ts +19 -0
- package/src/generators/app-module/files/src/environments/environment.prod.js +24 -0
- package/src/generators/app-module/files/src/environments/environment.prod.js.map +1 -0
- package/src/generators/app-module/files/src/environments/environment.test.local.d.ts +19 -0
- package/src/generators/app-module/files/src/environments/environment.test.local.js +24 -0
- package/src/generators/app-module/files/src/environments/environment.test.local.js.map +1 -0
- package/src/generators/app-module/files/src/favicon.ico +0 -0
- package/src/generators/app-module/files/src/index.html.template +35 -0
- package/src/generators/app-module/files/src/main.ts.template +6 -0
- package/src/generators/app-module/files/src/styles.scss.template +188 -0
- package/src/generators/app-module/files/src/test-setup.ts.template +7 -0
- package/src/generators/app-module/files/tailwind.config.js.template +15 -0
- package/src/generators/app-module/files/tsconfig.app.json.template +10 -0
- package/src/generators/app-module/files/tsconfig.editor.json.template +7 -0
- package/src/generators/app-module/files/tsconfig.json.template +34 -0
- package/src/generators/app-module/files/tsconfig.spec.json.template +11 -0
- package/src/generators/app-module/generator.d.ts +5 -0
- package/src/generators/app-module/generator.js +31 -0
- package/src/generators/app-module/generator.js.map +1 -0
- package/src/generators/app-module/schema.d.ts +4 -0
- package/src/generators/app-module/schema.json +27 -0
- package/src/index.d.ts +0 -0
- package/src/index.js +1 -0
- package/src/index.js.map +1 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--ax-size-base: 2.5rem;
|
|
3
|
+
--ax-size-default: var(--ax-size-base);
|
|
4
|
+
--ax-icon-weight: 300;
|
|
5
|
+
--ax-icon-size: 100%;
|
|
6
|
+
|
|
7
|
+
--ax-rounded-border-default: 0.5rem;
|
|
8
|
+
--ax-color-border-default: 224, 224, 224;
|
|
9
|
+
|
|
10
|
+
--ax-color-background-default: 249, 250, 251;
|
|
11
|
+
--ax-color-text-default: 22, 22, 22;
|
|
12
|
+
|
|
13
|
+
--ax-color-surface: 255, 255, 255;
|
|
14
|
+
--ax-color-surface-fore: 22, 22, 22;
|
|
15
|
+
|
|
16
|
+
--ax-color-on-surface: 243, 244, 246;
|
|
17
|
+
--ax-color-on-surface-fore: 22, 22, 22;
|
|
18
|
+
|
|
19
|
+
--ax-color-input-surface: 255, 255, 255;
|
|
20
|
+
--ax-color-input-surface-fore: 22, 22, 22;
|
|
21
|
+
|
|
22
|
+
--ax-color-ghost: 255, 255, 255;
|
|
23
|
+
--ax-color-ghost-fore: 22, 22, 22;
|
|
24
|
+
|
|
25
|
+
--ax-color-primary-fore: 255, 255, 255;
|
|
26
|
+
--ax-color-primary-fore-tint: 11, 30, 71;
|
|
27
|
+
--ax-color-primary-50: 244, 247, 254;
|
|
28
|
+
--ax-color-primary-100: 233, 239, 253;
|
|
29
|
+
--ax-color-primary-200: 190, 208, 249;
|
|
30
|
+
--ax-color-primary-300: 146, 177, 245;
|
|
31
|
+
--ax-color-primary-400: 102, 146, 241;
|
|
32
|
+
--ax-color-primary-500: 37, 99, 235;
|
|
33
|
+
--ax-color-primary-600: 33, 89, 212;
|
|
34
|
+
--ax-color-primary-700: 26, 69, 165;
|
|
35
|
+
--ax-color-primary-800: 19, 50, 118;
|
|
36
|
+
--ax-color-primary-900: 11, 30, 71;
|
|
37
|
+
--ax-color-primary-950: 4, 10, 23;
|
|
38
|
+
|
|
39
|
+
--ax-color-secondary-fore: 255, 255, 255;
|
|
40
|
+
--ax-color-secondary-fore-tint: 9, 12, 18;
|
|
41
|
+
--ax-color-secondary-50: 244, 244, 245;
|
|
42
|
+
--ax-color-secondary-100: 233, 234, 235;
|
|
43
|
+
--ax-color-secondary-200: 188, 191, 196;
|
|
44
|
+
--ax-color-secondary-300: 143, 148, 157;
|
|
45
|
+
--ax-color-secondary-400: 98, 105, 118;
|
|
46
|
+
--ax-color-secondary-500: 30, 41, 59;
|
|
47
|
+
--ax-color-secondary-600: 27, 37, 53;
|
|
48
|
+
--ax-color-secondary-700: 21, 29, 41;
|
|
49
|
+
--ax-color-secondary-800: 15, 21, 30;
|
|
50
|
+
--ax-color-secondary-900: 9, 12, 18;
|
|
51
|
+
--ax-color-secondary-950: 3, 4, 6;
|
|
52
|
+
|
|
53
|
+
--ax-color-success-fore: 255, 255, 255;
|
|
54
|
+
--ax-color-success-fore-tint: 4, 120, 87;
|
|
55
|
+
--ax-color-success-50: 236, 253, 245;
|
|
56
|
+
--ax-color-success-100: 209, 250, 229;
|
|
57
|
+
--ax-color-success-200: 167, 243, 208;
|
|
58
|
+
--ax-color-success-300: 110, 231, 183;
|
|
59
|
+
--ax-color-success-400: 52, 211, 153;
|
|
60
|
+
--ax-color-success-500: 16, 185, 129;
|
|
61
|
+
--ax-color-success-600: 5, 150, 105;
|
|
62
|
+
--ax-color-success-700: 4, 120, 87;
|
|
63
|
+
--ax-color-success-800: 6, 95, 70;
|
|
64
|
+
--ax-color-success-900: 6, 78, 59;
|
|
65
|
+
--ax-color-success-950: 2, 44, 34;
|
|
66
|
+
|
|
67
|
+
--ax-color-danger-fore: 255, 255, 255;
|
|
68
|
+
--ax-color-danger-fore-tint: 185, 28, 28;
|
|
69
|
+
--ax-color-danger-50: 254, 242, 242;
|
|
70
|
+
--ax-color-danger-100: 254, 226, 226;
|
|
71
|
+
--ax-color-danger-200: 254, 202, 202;
|
|
72
|
+
--ax-color-danger-300: 252, 165, 165;
|
|
73
|
+
--ax-color-danger-400: 248, 113, 113;
|
|
74
|
+
--ax-color-danger-500: 239, 68, 68;
|
|
75
|
+
--ax-color-danger-600: 220, 38, 38;
|
|
76
|
+
--ax-color-danger-700: 185, 28, 28;
|
|
77
|
+
--ax-color-danger-800: 153, 27, 27;
|
|
78
|
+
--ax-color-danger-900: 127, 29, 29;
|
|
79
|
+
--ax-color-danger-950: 69, 10, 10;
|
|
80
|
+
|
|
81
|
+
--ax-color-warning-fore: 48, 26, 10;
|
|
82
|
+
--ax-color-warning-fore-tint: 255, 160, 0;
|
|
83
|
+
--ax-color-warning-50: 255, 248, 225;
|
|
84
|
+
--ax-color-warning-100: 255, 236, 179;
|
|
85
|
+
--ax-color-warning-200: 255, 224, 130;
|
|
86
|
+
--ax-color-warning-300: 255, 213, 79;
|
|
87
|
+
--ax-color-warning-400: 255, 202, 40;
|
|
88
|
+
--ax-color-warning-500: 255, 193, 7;
|
|
89
|
+
--ax-color-warning-600: 255, 179, 0;
|
|
90
|
+
--ax-color-warning-700: 255, 160, 0;
|
|
91
|
+
--ax-color-warning-800: 255, 143, 0;
|
|
92
|
+
--ax-color-warning-900: 255, 111, 0;
|
|
93
|
+
--ax-color-warning-950: 72, 40, 15;
|
|
94
|
+
|
|
95
|
+
--ax-color-info-fore: 255, 255, 255;
|
|
96
|
+
--ax-color-info-fore-tint: 67, 56, 202;
|
|
97
|
+
--ax-color-info-50: 238, 242, 255;
|
|
98
|
+
--ax-color-info-100: 224, 231, 255;
|
|
99
|
+
--ax-color-info-200: 199, 210, 254;
|
|
100
|
+
--ax-color-info-300: 165, 180, 252;
|
|
101
|
+
--ax-color-info-400: 129, 140, 248;
|
|
102
|
+
--ax-color-info-500: 99, 102, 241;
|
|
103
|
+
--ax-color-info-600: 79, 70, 229;
|
|
104
|
+
--ax-color-info-700: 67, 56, 202;
|
|
105
|
+
--ax-color-info-800: 55, 48, 163;
|
|
106
|
+
--ax-color-info-900: 49, 46, 129;
|
|
107
|
+
--ax-color-info-950: 30, 27, 75;
|
|
108
|
+
|
|
109
|
+
--ax-color-neutral-fore: 3, 7, 18;
|
|
110
|
+
--ax-color-neutral-fore-tint: 17, 24, 39;
|
|
111
|
+
--ax-color-neutral-50: 249, 250, 251;
|
|
112
|
+
--ax-color-neutral-100: 243, 244, 246;
|
|
113
|
+
--ax-color-neutral-200: 229, 231, 235;
|
|
114
|
+
--ax-color-neutral-300: 209, 213, 219;
|
|
115
|
+
--ax-color-neutral-400: 156, 163, 175;
|
|
116
|
+
--ax-color-neutral-500: 107, 114, 128;
|
|
117
|
+
--ax-color-neutral-600: 75, 85, 99;
|
|
118
|
+
--ax-color-neutral-700: 55, 65, 81;
|
|
119
|
+
--ax-color-neutral-800: 31, 41, 55;
|
|
120
|
+
--ax-color-neutral-900: 17, 24, 39;
|
|
121
|
+
--ax-color-neutral-950: 3, 7, 18;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.ax-dark {
|
|
125
|
+
--ax-color-border-default: 75, 85, 99;
|
|
126
|
+
|
|
127
|
+
--ax-color-background-default: 24, 32, 43;
|
|
128
|
+
--ax-color-text-default: 255, 255, 255;
|
|
129
|
+
|
|
130
|
+
--ax-color-surface: 31, 41, 55;
|
|
131
|
+
--ax-color-surface-fore: 255, 255, 255;
|
|
132
|
+
|
|
133
|
+
--ax-color-on-surface: 55, 65, 81;
|
|
134
|
+
--ax-color-on-surface-fore: 255, 255, 255;
|
|
135
|
+
|
|
136
|
+
--ax-color-input-surface: 38, 45, 57;
|
|
137
|
+
--ax-color-input-surface-fore: 224, 224, 224;
|
|
138
|
+
|
|
139
|
+
--ax-color-ghost: 77, 91, 113;
|
|
140
|
+
--ax-color-ghost-fore: 255, 255, 255;
|
|
141
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const environment: {
|
|
2
|
+
production: boolean;
|
|
3
|
+
baseUrl: string;
|
|
4
|
+
oidcConfig: {
|
|
5
|
+
authority: string;
|
|
6
|
+
end_session_endpoint: string;
|
|
7
|
+
userinfo_endpoint: string;
|
|
8
|
+
scope: string;
|
|
9
|
+
client_id: string;
|
|
10
|
+
response_type: string;
|
|
11
|
+
automaticSilentRenew: boolean;
|
|
12
|
+
monitorSession: boolean;
|
|
13
|
+
filterProtocolClaims: boolean;
|
|
14
|
+
loadUserInfo: boolean;
|
|
15
|
+
showDebugInformation: boolean;
|
|
16
|
+
redirect_uri: string;
|
|
17
|
+
silentRequestTimeoutInSeconds: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const environment: {
|
|
2
|
+
production: boolean;
|
|
3
|
+
baseUrl: string;
|
|
4
|
+
oidcConfig: {
|
|
5
|
+
authority: string;
|
|
6
|
+
end_session_endpoint: string;
|
|
7
|
+
userinfo_endpoint: string;
|
|
8
|
+
scope: string;
|
|
9
|
+
client_id: string;
|
|
10
|
+
response_type: string;
|
|
11
|
+
automaticSilentRenew: boolean;
|
|
12
|
+
monitorSession: boolean;
|
|
13
|
+
filterProtocolClaims: boolean;
|
|
14
|
+
loadUserInfo: boolean;
|
|
15
|
+
showDebugInformation: boolean;
|
|
16
|
+
redirect_uri: string;
|
|
17
|
+
silentRequestTimeoutInSeconds: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.environment = void 0;
|
|
4
|
+
exports.environment = {
|
|
5
|
+
production: false,
|
|
6
|
+
baseUrl: 'https://192.168.25.91:44320/api',
|
|
7
|
+
//?
|
|
8
|
+
oidcConfig: {
|
|
9
|
+
authority: 'https://192.168.25.91:44320',
|
|
10
|
+
end_session_endpoint: 'https://192.168.25.91:44320/api/auth/logout',
|
|
11
|
+
userinfo_endpoint: 'https://192.168.25.91:44320/api/userinfo',
|
|
12
|
+
scope: 'openid profile email offline_access api1',
|
|
13
|
+
client_id: 'acorex',
|
|
14
|
+
response_type: 'code',
|
|
15
|
+
automaticSilentRenew: true, // Enable automatic silent renew
|
|
16
|
+
monitorSession: true, // Monitor the session to detect user changes
|
|
17
|
+
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
18
|
+
loadUserInfo: true,
|
|
19
|
+
showDebugInformation: true,
|
|
20
|
+
redirect_uri: 'http://localhost:4200/auth/signincallback',
|
|
21
|
+
silentRequestTimeoutInSeconds: 20000,
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=environment.dev.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.dev.js","sourceRoot":"","sources":["../../../../../../../../generator/src/generators/app-module/files/src/environments/environment.dev.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,iCAAiC;IAC1C,GAAG;IACH,UAAU,EAAE;QACV,SAAS,EAAE,6BAA6B;QACxC,oBAAoB,EAAE,6CAA6C;QACnE,iBAAiB,EAAE,0CAA0C;QAC7D,KAAK,EAAE,0CAA0C;QACjD,SAAS,EAAE,QAAQ;QACnB,aAAa,EAAE,MAAM;QACrB,oBAAoB,EAAE,IAAI,EAAE,gCAAgC;QAC5D,cAAc,EAAE,IAAI,EAAE,6CAA6C;QACnE,oBAAoB,EAAE,IAAI,EAAE,mCAAmC;QAC/D,YAAY,EAAE,IAAI;QAClB,oBAAoB,EAAE,IAAI;QAC1B,YAAY,EAAE,2CAA2C;QACzD,6BAA6B,EAAE,KAAK;KACrC;CACF,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.environment = void 0;
|
|
4
|
+
exports.environment = {
|
|
5
|
+
production: false,
|
|
6
|
+
baseUrl: 'https://localhost:44320/api',
|
|
7
|
+
//?
|
|
8
|
+
oidcConfig: {
|
|
9
|
+
authority: 'https://localhost:44320',
|
|
10
|
+
end_session_endpoint: 'https://localhost:44320/api/auth/logout',
|
|
11
|
+
userinfo_endpoint: 'https://localhost:44320/api/userinfo',
|
|
12
|
+
scope: 'openid profile email offline_access api1',
|
|
13
|
+
client_id: 'acorex',
|
|
14
|
+
response_type: 'code',
|
|
15
|
+
automaticSilentRenew: true, // Enable automatic silent renew
|
|
16
|
+
monitorSession: true, // Monitor the session to detect user changes
|
|
17
|
+
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
18
|
+
loadUserInfo: true,
|
|
19
|
+
showDebugInformation: true,
|
|
20
|
+
redirect_uri: 'https://localhost:4200/auth/signincallback',
|
|
21
|
+
silentRequestTimeoutInSeconds: 2000,
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=environment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../../../../../../../generator/src/generators/app-module/files/src/environments/environment.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,6BAA6B;IACtC,GAAG;IACH,UAAU,EAAE;QACV,SAAS,EAAE,yBAAyB;QACpC,oBAAoB,EAAE,yCAAyC;QAC/D,iBAAiB,EAAE,sCAAsC;QACzD,KAAK,EAAE,0CAA0C;QACjD,SAAS,EAAE,QAAQ;QACnB,aAAa,EAAE,MAAM;QACrB,oBAAoB,EAAE,IAAI,EAAE,gCAAgC;QAC5D,cAAc,EAAE,IAAI,EAAE,6CAA6C;QACnE,oBAAoB,EAAE,IAAI,EAAE,mCAAmC;QAC/D,YAAY,EAAE,IAAI;QAClB,oBAAoB,EAAE,IAAI;QAC1B,YAAY,EAAE,4CAA4C;QAC1D,6BAA6B,EAAE,IAAI;KACpC;CACF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const environment: {
|
|
2
|
+
production: boolean;
|
|
3
|
+
baseUrl: string;
|
|
4
|
+
oidcConfig: {
|
|
5
|
+
authority: string;
|
|
6
|
+
end_session_endpoint: string;
|
|
7
|
+
userinfo_endpoint: string;
|
|
8
|
+
scope: string;
|
|
9
|
+
client_id: string;
|
|
10
|
+
response_type: string;
|
|
11
|
+
automaticSilentRenew: boolean;
|
|
12
|
+
monitorSession: boolean;
|
|
13
|
+
filterProtocolClaims: boolean;
|
|
14
|
+
loadUserInfo: boolean;
|
|
15
|
+
showDebugInformation: boolean;
|
|
16
|
+
redirect_uri: string;
|
|
17
|
+
silentRequestTimeoutInSeconds: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.environment = void 0;
|
|
4
|
+
exports.environment = {
|
|
5
|
+
production: false,
|
|
6
|
+
baseUrl: 'https://localhost:44320/api',
|
|
7
|
+
//?
|
|
8
|
+
oidcConfig: {
|
|
9
|
+
authority: 'https://localhost:44320',
|
|
10
|
+
end_session_endpoint: 'https://localhost:44320/api/auth/logout',
|
|
11
|
+
userinfo_endpoint: 'https://localhost:44320/api/userinfo',
|
|
12
|
+
scope: 'openid profile email offline_access api1',
|
|
13
|
+
client_id: 'acorex',
|
|
14
|
+
response_type: 'code',
|
|
15
|
+
automaticSilentRenew: true, // Enable automatic silent renew
|
|
16
|
+
monitorSession: true, // Monitor the session to detect user changes
|
|
17
|
+
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
18
|
+
loadUserInfo: true,
|
|
19
|
+
showDebugInformation: true,
|
|
20
|
+
redirect_uri: 'http://localhost:4200/auth/signincallback',
|
|
21
|
+
silentRequestTimeoutInSeconds: 20000,
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=environment.local.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.local.js","sourceRoot":"","sources":["../../../../../../../../generator/src/generators/app-module/files/src/environments/environment.local.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,6BAA6B;IACtC,GAAG;IACH,UAAU,EAAE;QACV,SAAS,EAAE,yBAAyB;QACpC,oBAAoB,EAAE,yCAAyC;QAC/D,iBAAiB,EAAE,sCAAsC;QACzD,KAAK,EAAE,0CAA0C;QACjD,SAAS,EAAE,QAAQ;QACnB,aAAa,EAAE,MAAM;QACrB,oBAAoB,EAAE,IAAI,EAAE,gCAAgC;QAC5D,cAAc,EAAE,IAAI,EAAE,6CAA6C;QACnE,oBAAoB,EAAE,IAAI,EAAE,mCAAmC;QAC/D,YAAY,EAAE,IAAI;QAClB,oBAAoB,EAAE,IAAI;QAC1B,YAAY,EAAE,2CAA2C;QACzD,6BAA6B,EAAE,KAAK;KACrC;CACF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const environment: {
|
|
2
|
+
production: boolean;
|
|
3
|
+
baseUrl: string;
|
|
4
|
+
oidcConfig: {
|
|
5
|
+
authority: string;
|
|
6
|
+
end_session_endpoint: string;
|
|
7
|
+
userinfo_endpoint: string;
|
|
8
|
+
scope: string;
|
|
9
|
+
client_id: string;
|
|
10
|
+
response_type: string;
|
|
11
|
+
automaticSilentRenew: boolean;
|
|
12
|
+
monitorSession: boolean;
|
|
13
|
+
filterProtocolClaims: boolean;
|
|
14
|
+
loadUserInfo: boolean;
|
|
15
|
+
showDebugInformation: boolean;
|
|
16
|
+
redirect_uri: string;
|
|
17
|
+
silentRequestTimeoutInSeconds: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.environment = void 0;
|
|
4
|
+
exports.environment = {
|
|
5
|
+
production: true,
|
|
6
|
+
baseUrl: 'https://asc.acorexui.com:44320/api',
|
|
7
|
+
//?
|
|
8
|
+
oidcConfig: {
|
|
9
|
+
authority: 'https://asc.acorexui.com:44320',
|
|
10
|
+
end_session_endpoint: 'https://asc.acorexui.com:44320/api/auth/logout',
|
|
11
|
+
userinfo_endpoint: 'https://asc.acorexui.com:44320/api/userinfo',
|
|
12
|
+
scope: 'openid profile email offline_access api1',
|
|
13
|
+
client_id: 'acorex',
|
|
14
|
+
response_type: 'code',
|
|
15
|
+
automaticSilentRenew: true, // Enable automatic silent renew
|
|
16
|
+
monitorSession: true, // Monitor the session to detect user changes
|
|
17
|
+
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
18
|
+
loadUserInfo: true,
|
|
19
|
+
showDebugInformation: false,
|
|
20
|
+
redirect_uri: 'https://asc.acorexui.com/auth/signincallback',
|
|
21
|
+
silentRequestTimeoutInSeconds: 20000,
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=environment.prod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.prod.js","sourceRoot":"","sources":["../../../../../../../../generator/src/generators/app-module/files/src/environments/environment.prod.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE,oCAAoC;IAC7C,GAAG;IACH,UAAU,EAAE;QACV,SAAS,EAAE,gCAAgC;QAC3C,oBAAoB,EAAE,gDAAgD;QACtE,iBAAiB,EAAE,6CAA6C;QAChE,KAAK,EAAE,0CAA0C;QACjD,SAAS,EAAE,QAAQ;QACnB,aAAa,EAAE,MAAM;QACrB,oBAAoB,EAAE,IAAI,EAAE,gCAAgC;QAC5D,cAAc,EAAE,IAAI,EAAE,6CAA6C;QACnE,oBAAoB,EAAE,IAAI,EAAE,mCAAmC;QAC/D,YAAY,EAAE,IAAI;QAClB,oBAAoB,EAAE,KAAK;QAC3B,YAAY,EAAE,8CAA8C;QAC5D,6BAA6B,EAAE,KAAK;KACrC;CACF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const environment: {
|
|
2
|
+
production: boolean;
|
|
3
|
+
baseUrl: string;
|
|
4
|
+
oidcConfig: {
|
|
5
|
+
authority: string;
|
|
6
|
+
end_session_endpoint: string;
|
|
7
|
+
userinfo_endpoint: string;
|
|
8
|
+
scope: string;
|
|
9
|
+
client_id: string;
|
|
10
|
+
response_type: string;
|
|
11
|
+
automaticSilentRenew: boolean;
|
|
12
|
+
monitorSession: boolean;
|
|
13
|
+
filterProtocolClaims: boolean;
|
|
14
|
+
loadUserInfo: boolean;
|
|
15
|
+
showDebugInformation: boolean;
|
|
16
|
+
redirect_uri: string;
|
|
17
|
+
silentRequestTimeoutInSeconds: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.environment = void 0;
|
|
4
|
+
exports.environment = {
|
|
5
|
+
production: false,
|
|
6
|
+
baseUrl: 'https://asctest.acorexui.com:44320/api',
|
|
7
|
+
//?
|
|
8
|
+
oidcConfig: {
|
|
9
|
+
authority: 'https://asctest.acorexui.com:44320',
|
|
10
|
+
end_session_endpoint: 'https://asctest.acorexui.com:44320/api/auth/logout',
|
|
11
|
+
userinfo_endpoint: 'https://asctest.acorexui.com:44320/api/userinfo',
|
|
12
|
+
scope: 'openid profile email offline_access api1',
|
|
13
|
+
client_id: 'acorex',
|
|
14
|
+
response_type: 'code',
|
|
15
|
+
automaticSilentRenew: true, // Enable automatic silent renew
|
|
16
|
+
monitorSession: true, // Monitor the session to detect user changes
|
|
17
|
+
filterProtocolClaims: true, // Filter out OIDC protocol claims,
|
|
18
|
+
loadUserInfo: true,
|
|
19
|
+
showDebugInformation: true,
|
|
20
|
+
redirect_uri: 'http://localhost:4200/auth/signincallback',
|
|
21
|
+
silentRequestTimeoutInSeconds: 20000,
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=environment.test.local.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.test.local.js","sourceRoot":"","sources":["../../../../../../../../generator/src/generators/app-module/files/src/environments/environment.test.local.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,wCAAwC;IACjD,GAAG;IACH,UAAU,EAAE;QACV,SAAS,EAAE,oCAAoC;QAC/C,oBAAoB,EAAE,oDAAoD;QAC1E,iBAAiB,EAAE,iDAAiD;QACpE,KAAK,EAAE,0CAA0C;QACjD,SAAS,EAAE,QAAQ;QACnB,aAAa,EAAE,MAAM;QACrB,oBAAoB,EAAE,IAAI,EAAE,gCAAgC;QAC5D,cAAc,EAAE,IAAI,EAAE,6CAA6C;QACnE,oBAAoB,EAAE,IAAI,EAAE,mCAAmC;QAC/D,YAAY,EAAE,IAAI;QAClB,oBAAoB,EAAE,IAAI;QAC1B,YAAY,EAAE,2CAA2C;QACzD,6BAA6B,EAAE,KAAK;KACrC;CACF,CAAC"}
|
|
Binary file
|
|
@@ -0,0 +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
|
+
|
|
35
|
+
</html>
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
@tailwind base;
|
|
2
|
+
@tailwind components;
|
|
3
|
+
@tailwind utilities;
|
|
4
|
+
|
|
5
|
+
@import '@angular/cdk/overlay-prebuilt.css';
|
|
6
|
+
@import '@acorex/styles/index.scss';
|
|
7
|
+
@import '@acorex/styles/icons/fontawesome/fontawesome.scss';
|
|
8
|
+
@import '@acorex/styles/icons/index.scss';
|
|
9
|
+
|
|
10
|
+
@import './assets/fonts/font-awesome/css/fontawesome.min.css';
|
|
11
|
+
@import './assets/fonts/font-awesome/css/brands.min.css';
|
|
12
|
+
@import './assets/fonts/font-awesome/css/light.min.css';
|
|
13
|
+
@import './assets/fonts/font-awesome/css/solid.min.css';
|
|
14
|
+
@import './assets/themes/default/default.scss';
|
|
15
|
+
|
|
16
|
+
html,
|
|
17
|
+
body {
|
|
18
|
+
height: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
* {
|
|
22
|
+
overscroll-behavior: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ax-heading {
|
|
26
|
+
width: 100%;
|
|
27
|
+
border-bottom: 1px solid;
|
|
28
|
+
border-color: rgba(var(--ax-color-border-default));
|
|
29
|
+
line-height: 0.1em;
|
|
30
|
+
margin: 1rem auto;
|
|
31
|
+
&.ax-heading-center {
|
|
32
|
+
text-align: center;
|
|
33
|
+
}
|
|
34
|
+
&.ax-heading-start {
|
|
35
|
+
text-align: start;
|
|
36
|
+
}
|
|
37
|
+
&.ax-heading-end {
|
|
38
|
+
text-align: end;
|
|
39
|
+
}
|
|
40
|
+
span {
|
|
41
|
+
background: rgba(var(--ax-color-surface));
|
|
42
|
+
padding: 0 0.75rem;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ax-card {
|
|
47
|
+
@apply ax-overflow-hidden;
|
|
48
|
+
.ax-card-header {
|
|
49
|
+
@apply ax-flex ax-items-center ax-justify-between ax-p-4 md:ax-py-4 md:ax-px-6 ax-border-b;
|
|
50
|
+
p {
|
|
51
|
+
@apply ax-text-xl ax-font-medium;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
.ax-card-body {
|
|
55
|
+
@apply ax-flex ax-flex-col ax-gap-4 md:ax-gap-6 ax-p-4 md:ax-p-6;
|
|
56
|
+
}
|
|
57
|
+
& > ax-footer {
|
|
58
|
+
@apply ax-bg-on-surface ax-py-3 ax-px-4;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
::-webkit-scrollbar {
|
|
63
|
+
width: 5px;
|
|
64
|
+
height: 7px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
::-webkit-scrollbar-button {
|
|
68
|
+
width: 0px;
|
|
69
|
+
height: 0px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
::-webkit-scrollbar-thumb {
|
|
73
|
+
background: #c6ccd8;
|
|
74
|
+
border: 0px none #ffffff;
|
|
75
|
+
border-radius: 50px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
::-webkit-scrollbar-thumb:hover {
|
|
79
|
+
background: #b5bdce;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
::-webkit-scrollbar-thumb:active {
|
|
83
|
+
background: #848ea0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
::-webkit-scrollbar-track {
|
|
87
|
+
background: transparent;
|
|
88
|
+
border: 0px none #ffffff;
|
|
89
|
+
border-radius: 50px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
::-webkit-scrollbar-track:hover {
|
|
93
|
+
background: transparent;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
::-webkit-scrollbar-track:active {
|
|
97
|
+
background: transparent;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
::-webkit-scrollbar-corner {
|
|
101
|
+
background: transparent;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.no-scrollbar::-webkit-scrollbar {
|
|
105
|
+
display: none;
|
|
106
|
+
}
|
|
107
|
+
/* Hide scrollbar for IE, Edge and Firefox */
|
|
108
|
+
.no-scrollbar {
|
|
109
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
110
|
+
scrollbar-width: none; /* Firefox */
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@include darkMode() {
|
|
114
|
+
::-webkit-scrollbar-thumb {
|
|
115
|
+
background: #42454b;
|
|
116
|
+
border: 0px none #ffffff;
|
|
117
|
+
border-radius: 50px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
::-webkit-scrollbar-thumb:hover {
|
|
121
|
+
background: #5d6168;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
::-webkit-scrollbar-thumb:active {
|
|
125
|
+
background: #282a2e;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.loading-container {
|
|
130
|
+
@apply ax-flex ax-justify-center ax-items-center ax-flex-col ax-h-full;
|
|
131
|
+
.loading-content {
|
|
132
|
+
@apply ax-w-72;
|
|
133
|
+
.logo {
|
|
134
|
+
@apply ax-w-3/5 ax-mx-auto;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
.loading-step {
|
|
138
|
+
@apply ax-absolute ax-bottom-5 ax-text-sm dark:ax-text-neutral-300 ax-text-neutral-500 ax-mt-4;
|
|
139
|
+
}
|
|
140
|
+
.progress-bar {
|
|
141
|
+
@apply ax-h-1 dark:ax-bg-neutral-500 ax-bg-neutral-200 ax-w-full ax-overflow-hidden ax-mt-12;
|
|
142
|
+
}
|
|
143
|
+
.progress-bar-value {
|
|
144
|
+
@apply ax-w-full ax-h-full ax-bg-primary-500;
|
|
145
|
+
animation: indeterminateAnimation 1s infinite linear;
|
|
146
|
+
transform-origin: 0% 50%;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
ax-side-menu {
|
|
151
|
+
& > ax-title {
|
|
152
|
+
margin-top: 1rem !important;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.ax-icon-more-horizontal,
|
|
157
|
+
.ax-eye {
|
|
158
|
+
font-weight: 900;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.axp-validation-message {
|
|
162
|
+
@apply ax-text-xs ax-text-danger-500;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.axp-auth-bk {
|
|
166
|
+
background-image: url('/assets/auth-background.svg');
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.axp-navigating-progress {
|
|
170
|
+
@apply ax-h-1 dark:ax-bg-neutral-500 ax-bg-neutral-200 ax-w-full ax-overflow-hidden ax-absolute ax-top-0;
|
|
171
|
+
& > div {
|
|
172
|
+
@apply ax-w-full ax-h-full ax-bg-primary-500;
|
|
173
|
+
animation: indeterminateAnimation 1s infinite linear;
|
|
174
|
+
transform-origin: 0% 50%;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@keyframes indeterminateAnimation {
|
|
179
|
+
0% {
|
|
180
|
+
transform: translateX(0) scaleX(0);
|
|
181
|
+
}
|
|
182
|
+
40% {
|
|
183
|
+
transform: translateX(0) scaleX(0.4);
|
|
184
|
+
}
|
|
185
|
+
100% {
|
|
186
|
+
transform: translateX(100%) scaleX(0.5);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const { createGlobPatternsForDependencies } = require('@nx/angular/tailwind');
|
|
2
|
+
const { join } = require('path');
|
|
3
|
+
|
|
4
|
+
/** @type {import('tailwindcss').Config} */
|
|
5
|
+
module.exports = {
|
|
6
|
+
presets: [require('@acorex/styles/tailwind-base')],
|
|
7
|
+
content: [
|
|
8
|
+
join(__dirname, 'src/**/!(*.stories|*.spec).{ts,html}'),
|
|
9
|
+
...createGlobPatternsForDependencies(__dirname),
|
|
10
|
+
],
|
|
11
|
+
theme: {
|
|
12
|
+
extend: {},
|
|
13
|
+
},
|
|
14
|
+
plugins: [],
|
|
15
|
+
};
|