@rxap/plugin-angular 16.1.0-dev.8 → 16.1.0
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/CHANGELOG.md +485 -0
- package/README.md +15 -1
- package/generators.json +10 -0
- package/package.json +61 -48
- package/src/generators/init/generator.js +14 -7
- package/src/generators/init/generator.js.map +1 -1
- package/src/generators/init/schema.d.ts +2 -0
- package/src/generators/init/schema.json +10 -0
- package/src/generators/init-application/files/app/app.navigation.ts.template +11 -0
- package/src/generators/init-application/files/app/app.routes.ts.template +14 -0
- package/src/generators/init-application/files/app/layout.routes.ts.template +33 -0
- package/src/generators/init-application/files/assets/icons/create-pwa-icons.sh +11 -0
- package/src/generators/init-application/files/assets/icons/icon-114x114.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-120x120.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-128x128.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-144x144.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-152x152.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-16x16.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-180x180.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-192x192.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-32x32.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-384x384.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-512x512.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-57x57.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-60x60.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-72x72.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-76x76.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon-96x96.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon.png +0 -0
- package/src/generators/init-application/files/assets/icons/icon.svg +43 -0
- package/src/generators/init-application/files/assets/logo.png +0 -0
- package/src/generators/init-application/files/assets/logo.svg +63 -0
- package/src/generators/init-application/files/{shared → i18n}/i18n.index.html.hbs +1 -1
- package/src/generators/init-application/files/monolithic/app/app.navigation.ts.template +11 -0
- package/src/generators/init-application/files/monolithic/app/app.routes.ts.template +14 -0
- package/src/generators/init-application/files/monolithic/app/layout.routes.ts.template +32 -0
- package/src/generators/init-application/files/monolithic/index.html.template +165 -0
- package/src/generators/init-application/files/monolithic/styles.scss.template +3 -0
- package/src/generators/init-application/files/oauth/silent-refresh.html +42 -0
- package/src/generators/init-application/files/service-worker/manifest.webmanifest +52 -0
- package/src/generators/init-application/files/shared/Dockerfile +29 -0
- package/src/generators/init-application/files/shared/assets/build.json +1 -0
- package/src/generators/init-application/files/shared/ngsw-config.json +2 -14
- package/src/generators/init-application/files/styles/_fonts.scss +9 -0
- package/src/generators/init-application/files/styles/_index.scss +10 -0
- package/src/generators/init-application/files/styles/_loading-animation.scss +200 -0
- package/src/generators/init-application/files/styles/_palette.scss +98 -0
- package/src/generators/init-application/files/styles/_table.scss +45 -0
- package/src/generators/init-application/files/styles/_theme.scss +14 -0
- package/src/generators/init-application/files/styles/_utilities.scss +112 -0
- package/src/generators/init-application/files/styles/_variables.scss +77 -0
- package/src/generators/init-application/files/styles/fonts/_croissant-one.scss +7 -0
- package/src/generators/init-application/files/styles/fonts/_fuggles.scss +7 -0
- package/src/generators/init-application/files/styles/fonts/_inclusive-sans.scss +7 -0
- package/src/generators/init-application/files/styles/fonts/_material-icons.scss +20 -0
- package/src/generators/init-application/files/styles/fonts/_mooli.scss +7 -0
- package/src/generators/init-application/files/styles/fonts/_pixelify-sans.scss +7 -0
- package/src/generators/init-application/files/styles/fonts/_roboto-mono.scss +7 -0
- package/src/generators/init-application/files/styles/fonts/_roboto.scss +95 -0
- package/src/generators/init-application/files/styles/fonts/_young-serif.scss +7 -0
- package/src/generators/init-application/files/styles/fonts/croissant-one.ttf +0 -0
- package/src/generators/init-application/files/styles/fonts/fuggles.ttf +0 -0
- package/src/generators/init-application/files/styles/fonts/inclusive-sans.ttf +0 -0
- package/src/generators/init-application/files/styles/fonts/material-icons.ttf +0 -0
- package/src/generators/init-application/files/styles/fonts/molli.ttf +0 -0
- package/src/generators/init-application/files/styles/fonts/pixelify-sans.ttf +0 -0
- package/src/generators/init-application/files/styles/fonts/roboto-mono.ttf +0 -0
- package/src/generators/init-application/files/styles/fonts/young-serif.ttf +0 -0
- package/src/generators/init-application/generator.js +560 -87
- package/src/generators/init-application/generator.js.map +1 -1
- package/src/generators/init-application/schema.d.ts +9 -0
- package/src/generators/init-application/schema.json +59 -8
- package/src/generators/init-feature/files/feature/__name__/routes.ts.template +10 -0
- package/src/generators/init-feature/generator.d.ts +4 -0
- package/src/generators/init-feature/generator.js +26 -0
- package/src/generators/init-feature/generator.js.map +1 -0
- package/src/generators/init-feature/index.d.ts +2 -0
- package/src/generators/init-feature/index.js +7 -0
- package/src/generators/init-feature/index.js.map +1 -0
- package/src/generators/init-feature/schema.d.ts +4 -0
- package/src/generators/init-feature/schema.json +20 -0
- package/src/generators/init-library/generator.js +106 -14
- package/src/generators/init-library/generator.js.map +1 -1
- package/src/generators/init-library/schema.d.ts +3 -0
- package/src/generators/init-library/schema.json +14 -0
- package/src/lib/add-route.d.ts +3 -0
- package/src/lib/add-route.js +27 -0
- package/src/lib/add-route.js.map +1 -0
- package/src/lib/build-route-object.d.ts +7 -0
- package/src/lib/build-route-object.js +18 -0
- package/src/lib/build-route-object.js.map +1 -0
- package/src/lib/coerce-cypress-component-testing.d.ts +2 -0
- package/src/lib/coerce-cypress-component-testing.js +79 -0
- package/src/lib/coerce-cypress-component-testing.js.map +1 -0
- package/src/lib/find-parent-route.d.ts +2 -0
- package/src/lib/find-parent-route.js +54 -0
- package/src/lib/find-parent-route.js.map +1 -0
- package/src/lib/skip-project.js +3 -3
- package/src/lib/skip-project.js.map +1 -1
- package/src/generators/init-application/files/shared/angular.Dockerfile +0 -3
- package/src/generators/init-application/files/shared/configuration/.gitkeep +0 -0
- /package/src/generators/init-application/files/{shared → assets}/.gitkeep +0 -0
package/package.json
CHANGED
|
@@ -1,87 +1,100 @@
|
|
|
1
1
|
{
|
|
2
|
+
"version": "16.1.0",
|
|
2
3
|
"name": "@rxap/plugin-angular",
|
|
3
|
-
"version": "16.1.0-dev.8",
|
|
4
|
-
"type": "commonjs",
|
|
5
|
-
"generators": "./generators.json",
|
|
6
|
-
"publishConfig": {
|
|
7
|
-
"access": "public",
|
|
8
|
-
"directory": "../../../dist/packages/plugin/angular"
|
|
9
|
-
},
|
|
10
|
-
"keywords": [
|
|
11
|
-
"rxap",
|
|
12
|
-
"plugin",
|
|
13
|
-
"nx",
|
|
14
|
-
"nx-plugin",
|
|
15
|
-
"packages",
|
|
16
|
-
"angular"
|
|
17
|
-
],
|
|
18
|
-
"homepage": "https:/gitlab.com/rxap/packages/packages/plugin/angular",
|
|
19
|
-
"bugs": {
|
|
20
|
-
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
21
|
-
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
22
|
-
},
|
|
23
4
|
"license": "GPL-3.0-or-later",
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "https://gitlab.com/rxap/packages.git",
|
|
27
|
-
"directory": "packages/plugin/angular"
|
|
28
|
-
},
|
|
29
|
-
"author": {
|
|
30
|
-
"name": "Merzough Münker",
|
|
31
|
-
"email": "mmuenker@digitaix.com"
|
|
32
|
-
},
|
|
33
5
|
"dependencies": {
|
|
34
|
-
"ignore": "
|
|
6
|
+
"ignore": "5.2.4",
|
|
35
7
|
"process": "0.11.10",
|
|
36
8
|
"semver": "^7.3.5",
|
|
37
|
-
"tslib": "2.6.
|
|
9
|
+
"tslib": "2.6.2",
|
|
38
10
|
"yaml": "2.3.1"
|
|
39
11
|
},
|
|
40
12
|
"peerDependencies": {
|
|
13
|
+
"@nx/angular": "^16.5.0",
|
|
41
14
|
"@nx/devkit": "^16.5.0",
|
|
42
|
-
"@rxap/generator-utilities": "^1.1.0
|
|
43
|
-
"@rxap/plugin-localazy": "^16.1.0
|
|
44
|
-
"@rxap/plugin-utilities": "^16.1.0
|
|
45
|
-
"@rxap/
|
|
46
|
-
"@rxap/
|
|
47
|
-
"@rxap/workspace-
|
|
15
|
+
"@rxap/generator-utilities": "^1.1.0",
|
|
16
|
+
"@rxap/plugin-localazy": "^16.1.0",
|
|
17
|
+
"@rxap/plugin-utilities": "^16.1.0",
|
|
18
|
+
"@rxap/ts-morph": "^1.0.1",
|
|
19
|
+
"@rxap/utilities": "^16.0.0",
|
|
20
|
+
"@rxap/workspace-ts-morph": "^16.0.1",
|
|
21
|
+
"@rxap/workspace-utilities": "^16.0.1",
|
|
48
22
|
"nx": "^16.5.0",
|
|
49
23
|
"ts-morph": "^18.0.0",
|
|
50
|
-
"
|
|
51
|
-
"@rxap/
|
|
52
|
-
|
|
24
|
+
"tslib": "2.6.2",
|
|
25
|
+
"@rxap/node-utilities": "1.1.0"
|
|
26
|
+
},
|
|
27
|
+
"author": {
|
|
28
|
+
"name": "Merzough Münker",
|
|
29
|
+
"email": "mmuenker@digitaix.com"
|
|
53
30
|
},
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
33
|
+
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
34
|
+
},
|
|
35
|
+
"executors": "./executors.json",
|
|
36
|
+
"generators": "./generators.json",
|
|
37
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/plugin/angular",
|
|
38
|
+
"keywords": [
|
|
39
|
+
"angular",
|
|
40
|
+
"nx",
|
|
41
|
+
"nx-plugin",
|
|
42
|
+
"packages",
|
|
43
|
+
"plugin",
|
|
44
|
+
"plugin-angular",
|
|
45
|
+
"rxap"
|
|
46
|
+
],
|
|
54
47
|
"nx-migrations": {
|
|
55
48
|
"packageGroup": [
|
|
56
49
|
{
|
|
57
50
|
"package": "@rxap/generator-utilities",
|
|
58
|
-
"version": "1.1.0
|
|
51
|
+
"version": "1.1.0"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"package": "@rxap/node-utilities",
|
|
55
|
+
"version": "1.1.0-dev.9"
|
|
59
56
|
},
|
|
60
57
|
{
|
|
61
58
|
"package": "@rxap/plugin-localazy",
|
|
62
|
-
"version": "16.1.0
|
|
59
|
+
"version": "16.1.0"
|
|
63
60
|
},
|
|
64
61
|
{
|
|
65
62
|
"package": "@rxap/plugin-utilities",
|
|
66
|
-
"version": "16.1.0
|
|
63
|
+
"version": "16.1.0"
|
|
67
64
|
},
|
|
68
65
|
{
|
|
69
66
|
"package": "@rxap/schematics-ts-morph",
|
|
70
|
-
"version": "16.0.0-dev.
|
|
67
|
+
"version": "16.0.0-dev.12"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"package": "@rxap/ts-morph",
|
|
71
|
+
"version": "1.0.1"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"package": "@rxap/utilities",
|
|
75
|
+
"version": "16.0.0"
|
|
71
76
|
},
|
|
72
77
|
{
|
|
73
78
|
"package": "@rxap/workspace-ts-morph",
|
|
74
|
-
"version": "0.1
|
|
79
|
+
"version": "16.0.1"
|
|
75
80
|
},
|
|
76
81
|
{
|
|
77
82
|
"package": "@rxap/workspace-utilities",
|
|
78
|
-
"version": "0.1
|
|
83
|
+
"version": "16.0.1"
|
|
79
84
|
}
|
|
80
85
|
]
|
|
81
86
|
},
|
|
82
|
-
"
|
|
87
|
+
"publishConfig": {
|
|
88
|
+
"access": "public",
|
|
89
|
+
"directory": "../../../dist/packages/plugin/angular"
|
|
90
|
+
},
|
|
91
|
+
"repository": {
|
|
92
|
+
"type": "git",
|
|
93
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
94
|
+
"directory": "packages/plugin/angular"
|
|
95
|
+
},
|
|
83
96
|
"schematics": "./generators.json",
|
|
84
|
-
"
|
|
97
|
+
"type": "commonjs",
|
|
85
98
|
"main": "./src/index.js",
|
|
86
99
|
"types": "./src/index.d.ts"
|
|
87
100
|
}
|
|
@@ -4,6 +4,8 @@ exports.initGenerator = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
|
6
6
|
const generator_utilities_1 = require("@rxap/generator-utilities");
|
|
7
|
+
const workspace_utilities_1 = require("@rxap/workspace-utilities");
|
|
8
|
+
const coerce_cypress_component_testing_1 = require("../../lib/coerce-cypress-component-testing");
|
|
7
9
|
const skip_project_1 = require("../../lib/skip-project");
|
|
8
10
|
const generator_1 = require("../init-application/generator");
|
|
9
11
|
const generator_2 = require("../init-library/generator");
|
|
@@ -20,15 +22,20 @@ function initGenerator(tree, options) {
|
|
|
20
22
|
if (skipProject(tree, options, project, projectName)) {
|
|
21
23
|
continue;
|
|
22
24
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
yield (0, generator_utilities_1.CoerceCypressComponentTesting)(tree, project, projectName);
|
|
25
|
+
if ((0, workspace_utilities_1.IsLibraryProject)(project)) {
|
|
26
|
+
yield (0, generator_2.default)(tree, Object.assign(Object.assign({}, options), { projects: [projectName], skipProjects: options.skipProjects }));
|
|
26
27
|
}
|
|
27
|
-
if (
|
|
28
|
-
yield (0,
|
|
28
|
+
if ((0, workspace_utilities_1.IsApplicationProject)(project)) {
|
|
29
|
+
yield (0, generator_1.default)(tree, Object.assign(Object.assign({}, options), { projects: [projectName], skipProjects: options.skipProjects }));
|
|
29
30
|
}
|
|
30
|
-
if (
|
|
31
|
-
|
|
31
|
+
if (!options.skipProjects) {
|
|
32
|
+
console.log(`init project: ${projectName}`);
|
|
33
|
+
// execute the add cypress if the project has components after the library/application init
|
|
34
|
+
// as the library init will remove the default components so that cypress is only added
|
|
35
|
+
// if the project has really any components
|
|
36
|
+
if ((0, generator_utilities_1.HasComponents)(tree, project.root)) {
|
|
37
|
+
yield (0, coerce_cypress_component_testing_1.CoerceCypressComponentTesting)(tree, project, projectName);
|
|
38
|
+
}
|
|
32
39
|
}
|
|
33
40
|
}
|
|
34
41
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/angular/src/generators/init/generator.ts"],"names":[],"mappings":";;;;AAAA,uCAIoB;AACpB,mEAGmC;AACnC,yDAA+D;AAC/D,6DAAqE;AACrE,yDAA6D;AAG7D,SAAS,WAAW,CAAC,IAAU,EAAE,OAA4B,EAAE,OAA6B,EAAE,WAAmB;IAE/G,IAAI,IAAA,oCAAqB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE;QAC9D,OAAO,IAAI,CAAC;KACb;IAED,OAAO,KAAK,CAAC;AAEf,CAAC;AAED,SAAsB,aAAa,CAAC,IAAU,EAAE,OAA4B;;QAC1E,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,OAAO,CAAC,CAAC;QAEhD,KAAK,MAAM,CAAE,WAAW,EAAE,OAAO,CAAE,IAAI,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE;YAElE,IAAI,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE;gBACpD,SAAS;aACV;YAED,
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/angular/src/generators/init/generator.ts"],"names":[],"mappings":";;;;AAAA,uCAIoB;AACpB,mEAA0D;AAC1D,mEAGmC;AACnC,iGAA2F;AAC3F,yDAA+D;AAC/D,6DAAqE;AACrE,yDAA6D;AAG7D,SAAS,WAAW,CAAC,IAAU,EAAE,OAA4B,EAAE,OAA6B,EAAE,WAAmB;IAE/G,IAAI,IAAA,oCAAqB,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE;QAC9D,OAAO,IAAI,CAAC;KACb;IAED,OAAO,KAAK,CAAC;AAEf,CAAC;AAED,SAAsB,aAAa,CAAC,IAAU,EAAE,OAA4B;;QAC1E,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,OAAO,CAAC,CAAC;QAEhD,KAAK,MAAM,CAAE,WAAW,EAAE,OAAO,CAAE,IAAI,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE;YAElE,IAAI,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE;gBACpD,SAAS;aACV;YAED,IAAI,IAAA,sCAAgB,EAAC,OAAO,CAAC,EAAE;gBAC7B,MAAM,IAAA,mBAAoB,EAAC,IAAI,kCAExB,OAAO,KACV,QAAQ,EAAE,CAAE,WAAW,CAAE,EACzB,YAAY,EAAE,OAAO,CAAC,YAAY,IAErC,CAAC;aACH;YAED,IAAI,IAAA,0CAAoB,EAAC,OAAO,CAAC,EAAE;gBACjC,MAAM,IAAA,mBAAwB,EAAC,IAAI,kCAE5B,OAAO,KACV,QAAQ,EAAE,CAAE,WAAW,CAAE,EACzB,YAAY,EAAE,OAAO,CAAC,YAAY,IAErC,CAAC;aACH;YAED,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE;gBAEzB,OAAO,CAAC,GAAG,CAAC,iBAAkB,WAAY,EAAE,CAAC,CAAC;gBAE9C,2FAA2F;gBAC3F,uFAAuF;gBACvF,2CAA2C;gBAC3C,IAAI,IAAA,mCAAa,EAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,EAAE;oBACrC,MAAM,IAAA,gEAA6B,EAAC,IAAI,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;iBACjE;aAEF;SAEF;IAEH,CAAC;CAAA;AA5CD,sCA4CC;AAED,kBAAe,aAAa,CAAC"}
|
|
@@ -10,6 +10,16 @@
|
|
|
10
10
|
"items": {
|
|
11
11
|
"type": "string"
|
|
12
12
|
}
|
|
13
|
+
},
|
|
14
|
+
"overwrite": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"default": false,
|
|
17
|
+
"description": "Whether to overwrite existing files"
|
|
18
|
+
},
|
|
19
|
+
"skipProjects": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"default": false,
|
|
22
|
+
"description": "Whether to skip executing project specific initialization"
|
|
13
23
|
}
|
|
14
24
|
},
|
|
15
25
|
"required": []
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NavigationWithInserts,
|
|
3
|
+
RXAP_NAVIGATION_CONFIG,
|
|
4
|
+
} from '@rxap/layout';
|
|
5
|
+
|
|
6
|
+
export const APP_NAVIGATION: () => NavigationWithInserts = () => [];
|
|
7
|
+
|
|
8
|
+
export const APP_NAVIGATION_PROVIDER = {
|
|
9
|
+
provide: RXAP_NAVIGATION_CONFIG,
|
|
10
|
+
useValue: APP_NAVIGATION,
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Route } from '@angular/router';
|
|
2
|
+
import { STATUS_CHECK_ROUTE } from '@rxap/ngx-status-check';
|
|
3
|
+
|
|
4
|
+
export const appRoutes: Route[] = [
|
|
5
|
+
STATUS_CHECK_ROUTE,
|
|
6
|
+
{
|
|
7
|
+
path: '',
|
|
8
|
+
loadChildren: () => import('./layout.routes')
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
path: '**',
|
|
12
|
+
redirectTo: '',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
2
|
+
import { Route } from '@angular/router';
|
|
3
|
+
import {
|
|
4
|
+
LayoutComponent,
|
|
5
|
+
NavigationService,
|
|
6
|
+
} from '@rxap/layout';
|
|
7
|
+
import { StatusCheckGuard } from '@rxap/ngx-status-check';
|
|
8
|
+
import { APP_NAVIGATION_PROVIDER } from './app.navigation';
|
|
9
|
+
|
|
10
|
+
const ROUTES: Route[] = [
|
|
11
|
+
{
|
|
12
|
+
path: '',
|
|
13
|
+
component: LayoutComponent,
|
|
14
|
+
canActivateChild: [ StatusCheckGuard ],
|
|
15
|
+
children: [
|
|
16
|
+
{
|
|
17
|
+
path: '**',
|
|
18
|
+
redirectTo: '',
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
providers: [
|
|
22
|
+
provideAnimations(),
|
|
23
|
+
APP_NAVIGATION_PROVIDER,
|
|
24
|
+
NavigationService,
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
path: '**',
|
|
29
|
+
redirectTo: '',
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
export default ROUTES;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
SIZES=("57x57" "60x60" "72x72" "76x76" "96x96" "114x114" "120x120" "128x128" "144x144" "152x152" "180x180" "192x192" "384x384" "512x512" "32x32" "96x96" "16x16")
|
|
4
|
+
|
|
5
|
+
for size in "${SIZES[@]}"
|
|
6
|
+
do
|
|
7
|
+
convert -resize "${size}" icon.png "icon-${size}.png"
|
|
8
|
+
done
|
|
9
|
+
|
|
10
|
+
optipng -o 7 icon-*
|
|
11
|
+
optipng -o 7 icon.png
|
|
Binary file
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<svg height="522" viewBox="0 0 522 522" width="522" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<style>.a {
|
|
4
|
+
fill: #73be90;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.b {
|
|
8
|
+
fill: #61d596;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.c {
|
|
12
|
+
fill: #e8a646;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.d {
|
|
16
|
+
fill: #01149f;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.e {
|
|
20
|
+
fill: #d3244d;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
</style>
|
|
24
|
+
</defs>
|
|
25
|
+
<!-- -23.929 -23.35 -->
|
|
26
|
+
<g class="container" transform="translate(116 116)">
|
|
27
|
+
<g id="top-left" transform="translate(0 0)">
|
|
28
|
+
<path class="a" d="M0,38.975,145.245,184.22l42.782-42.783L42.782-3.808Z" transform="translate(0 3.808)"/>
|
|
29
|
+
</g>
|
|
30
|
+
<g id="bottom-right" transform="translate(102 102)">
|
|
31
|
+
<path class="b" d="M0,38.975,145.245,184.22l42.782-42.783L42.782-3.808Z" transform="translate(0 3.808)"/>
|
|
32
|
+
</g>
|
|
33
|
+
<g id="top-right" transform="translate(145 0)">
|
|
34
|
+
<path class="c" d="M93.342,0-9.12,102.462l42.782,42.783L136.125,42.783Z" transform="translate(9.12)"/>
|
|
35
|
+
</g>
|
|
36
|
+
<g id="center" transform="translate(102 102)">
|
|
37
|
+
<path class="d" d="M38.985,0-3.809,42.794,38.985,85.576,81.767,42.783Z" transform="translate(3.809)"/>
|
|
38
|
+
</g>
|
|
39
|
+
<g id="bottom-left" transform="translate(0 145)">
|
|
40
|
+
<path class="e" d="M93.342,0-9.12,102.462l42.782,42.783L136.125,42.783Z" transform="translate(9.12)"/>
|
|
41
|
+
</g>
|
|
42
|
+
</g>
|
|
43
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<svg height="332.179" viewBox="0 0 941.156 332.179" width="941.156" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<style>.a, .d {
|
|
4
|
+
fill: #61d596;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.a, .b {
|
|
8
|
+
font-size: 69px;
|
|
9
|
+
letter-spacing: 0.235em;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.a {
|
|
13
|
+
font-family: Roboto-Medium, Roboto;
|
|
14
|
+
font-weight: 500;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.b, .f {
|
|
18
|
+
fill: #01149f;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.b {
|
|
22
|
+
font-family: Roboto-Regular, Roboto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.c {
|
|
26
|
+
fill: #73be90;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.e {
|
|
30
|
+
fill: #e8a646;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.g {
|
|
34
|
+
fill: #d3244d;
|
|
35
|
+
}</style>
|
|
36
|
+
</defs>
|
|
37
|
+
<g transform="translate(-12.682 -13.102)">
|
|
38
|
+
<text class="a" transform="translate(413.838 112.096)">
|
|
39
|
+
<tspan x="0" y="0">REACTIVE</tspan>
|
|
40
|
+
</text>
|
|
41
|
+
<text class="b" transform="translate(413.838 193.854)">
|
|
42
|
+
<tspan x="0" y="0">APPLICAION</tspan>
|
|
43
|
+
</text>
|
|
44
|
+
<text class="b" transform="translate(413.838 277.519)">
|
|
45
|
+
<tspan x="0" y="0">PLATTFORM</tspan>
|
|
46
|
+
</text>
|
|
47
|
+
<g transform="translate(12.682 13.11)">
|
|
48
|
+
<path class="c" d="M0,45.113,166.084,211.2l48.921-48.921L48.921-3.808Z" transform="translate(0 3.808)"/>
|
|
49
|
+
</g>
|
|
50
|
+
<g transform="translate(129.847 130.275)">
|
|
51
|
+
<path class="d" d="M0,45.113,166.084,211.2l48.921-48.921L48.921-3.808Z" transform="translate(0 3.808)"/>
|
|
52
|
+
</g>
|
|
53
|
+
<g transform="translate(178.765 13.102)">
|
|
54
|
+
<path class="e" d="M108.043,0-9.12,117.164,39.8,166.085,156.964,48.921Z" transform="translate(9.12)"/>
|
|
55
|
+
</g>
|
|
56
|
+
<g transform="translate(129.835 130.268)">
|
|
57
|
+
<path class="f" d="M45.125,0-3.809,48.934,45.125,97.855,94.046,48.921Z" transform="translate(3.809)"/>
|
|
58
|
+
</g>
|
|
59
|
+
<g transform="translate(12.684 179.19)">
|
|
60
|
+
<path class="g" d="M108.043,0-9.12,117.164,39.8,166.085,156.964,48.921Z" transform="translate(9.12)"/>
|
|
61
|
+
</g>
|
|
62
|
+
</g>
|
|
63
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NavigationWithInserts,
|
|
3
|
+
RXAP_NAVIGATION_CONFIG,
|
|
4
|
+
} from '@rxap/layout';
|
|
5
|
+
|
|
6
|
+
export const APP_NAVIGATION: () => NavigationWithInserts = () => [];
|
|
7
|
+
|
|
8
|
+
export const APP_NAVIGATION_PROVIDER = {
|
|
9
|
+
provide: RXAP_NAVIGATION_CONFIG,
|
|
10
|
+
useValue: APP_NAVIGATION,
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Route } from '@angular/router';
|
|
2
|
+
import { STATUS_CHECK_ROUTE } from '@rxap/ngx-status-check';
|
|
3
|
+
|
|
4
|
+
export const appRoutes: Route[] = [
|
|
5
|
+
STATUS_CHECK_ROUTE,
|
|
6
|
+
{
|
|
7
|
+
path: '',
|
|
8
|
+
loadChildren: () => import('./layout.routes')
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
path: '**',
|
|
12
|
+
redirectTo: '',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
2
|
+
import { Route } from '@angular/router';
|
|
3
|
+
import {
|
|
4
|
+
LayoutComponent,
|
|
5
|
+
NavigationService,
|
|
6
|
+
} from '@rxap/layout';
|
|
7
|
+
import { StatusCheckGuard } from '@rxap/ngx-status-check';
|
|
8
|
+
import { APP_NAVIGATION_PROVIDER } from './app.navigation';
|
|
9
|
+
|
|
10
|
+
const ROUTES: Route[] = [
|
|
11
|
+
{
|
|
12
|
+
path: '',
|
|
13
|
+
component: LayoutComponent,
|
|
14
|
+
canActivateChild: [ StatusCheckGuard ],
|
|
15
|
+
children: [
|
|
16
|
+
{
|
|
17
|
+
path: '**',
|
|
18
|
+
redirectTo: '',
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
providers: [
|
|
22
|
+
APP_NAVIGATION_PROVIDER,
|
|
23
|
+
NavigationService,
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
path: '**',
|
|
28
|
+
redirectTo: '',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
|
|
32
|
+
export default ROUTES;
|