@rxap/plugin-angular 16.1.0-dev.12 → 16.1.0-dev.14
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 +25 -0
- package/README.md +15 -1
- package/generators.json +10 -0
- package/package.json +6 -6
- 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/monolithic/app/app.config.ts.template +34 -0
- 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/styles.scss.template +3 -0
- package/src/generators/init-application/files/styles/_fonts.scss +1 -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 +101 -0
- package/src/generators/init-application/files/styles/_variables.scss +63 -0
- package/src/generators/init-application/files/styles/fonts/_material-icons.scss +20 -0
- package/src/generators/init-application/files/styles/fonts/material-icons.ttf +0 -0
- package/src/generators/init-application/generator.js +72 -22
- package/src/generators/init-application/generator.js.map +1 -1
- package/src/generators/init-application/schema.d.ts +2 -0
- package/src/generators/init-application/schema.json +10 -0
- package/src/generators/init-feature/files/feature/__name__/routes.ts.template +10 -0
- package/src/generators/init-feature/generator.d.ts +11 -0
- package/src/generators/init-feature/generator.js +106 -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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,31 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [16.1.0-dev.14](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.13...@rxap/plugin-angular@16.1.0-dev.14) (2023-09-03)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- adapt to new layout routing concept ([f068b7e](https://gitlab.com/rxap/packages/commit/f068b7ed9261c92082913e5ecd87084633b434a6))
|
|
11
|
+
- add logo.png to application assets if not exists ([c0e7a73](https://gitlab.com/rxap/packages/commit/c0e7a73046bf1af007fa7d24da83d9917451bb35))
|
|
12
|
+
- animation loading issue ([5e241ed](https://gitlab.com/rxap/packages/commit/5e241ed4b9e83575b881f06214255c6f1d2937ce))
|
|
13
|
+
- ensure the localize init polyfill is added ([ee44428](https://gitlab.com/rxap/packages/commit/ee44428279261e6068979f8d6a669ad83cb545ff))
|
|
14
|
+
- if the application is monolithic then open-api is required ([dc2227f](https://gitlab.com/rxap/packages/commit/dc2227f460df2bb27c4e58dd27f70d5ba7eccef1))
|
|
15
|
+
- remove support for open-api client sdk packages ([ace153f](https://gitlab.com/rxap/packages/commit/ace153f977690e7714c3c4110600e2a8916a0d52))
|
|
16
|
+
- split app and layout routes ([1e7c540](https://gitlab.com/rxap/packages/commit/1e7c54055ed8f7fc4fb4dc710097783cab761813))
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- add the mdi asset ([4e973c2](https://gitlab.com/rxap/packages/commit/4e973c23866ca1771d428f0382085614da29a801))
|
|
21
|
+
- init application styles ([5963c4d](https://gitlab.com/rxap/packages/commit/5963c4df5f41d023f234abcde444183972e2157f))
|
|
22
|
+
|
|
23
|
+
# [16.1.0-dev.13](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.12...@rxap/plugin-angular@16.1.0-dev.13) (2023-09-02)
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
- add cleanup generator ([844d050](https://gitlab.com/rxap/packages/commit/844d0504ea65e41d22f4cd90b2b9c266ee93f489))
|
|
28
|
+
- add init-feature generator ([8925c31](https://gitlab.com/rxap/packages/commit/8925c31b1a2f396b5b5e753a71786b10d45afe57))
|
|
29
|
+
- add support for monolithic angular init ([270e1e2](https://gitlab.com/rxap/packages/commit/270e1e2ce27b427615ee97f5bb72fb5dad1fe095))
|
|
30
|
+
|
|
6
31
|
# [16.1.0-dev.12](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.11...@rxap/plugin-angular@16.1.0-dev.12) (2023-08-31)
|
|
7
32
|
|
|
8
33
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ yarn add @rxap/plugin-angular
|
|
|
19
19
|
```
|
|
20
20
|
**Install peer dependencies:**
|
|
21
21
|
```bash
|
|
22
|
-
yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.7 @rxap/plugin-localazy@^16.1.0-dev.6 @rxap/plugin-utilities@^16.1.0-dev.9 @rxap/ts-morph@^0.1.0-dev.
|
|
22
|
+
yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.7 @rxap/plugin-localazy@^16.1.0-dev.6 @rxap/plugin-utilities@^16.1.0-dev.9 @rxap/ts-morph@^0.1.0-dev.2 @rxap/workspace-ts-morph@^0.1.0-dev.3 @rxap/workspace-utilities@^0.1.0-dev.7 nx@^16.5.0 ts-morph@^18.0.0
|
|
23
23
|
```
|
|
24
24
|
**Execute the init generator:**
|
|
25
25
|
```bash
|
|
@@ -62,6 +62,13 @@ yarn nx g @rxap/plugin-angular:fix-schematic
|
|
|
62
62
|
yarn nx g @rxap/plugin-angular:schematic
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
+
## init-feature
|
|
66
|
+
> init-feature generator
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
yarn nx g @rxap/plugin-angular:init-feature
|
|
70
|
+
```
|
|
71
|
+
|
|
65
72
|
## init
|
|
66
73
|
> init generator
|
|
67
74
|
|
|
@@ -96,6 +103,13 @@ yarn nx g @rxap/plugin-angular:fix-schematic
|
|
|
96
103
|
```bash
|
|
97
104
|
yarn nx g @rxap/plugin-angular:schematic
|
|
98
105
|
```
|
|
106
|
+
|
|
107
|
+
## init-feature
|
|
108
|
+
> init-feature generator
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
yarn nx g @rxap/plugin-angular:init-feature
|
|
112
|
+
```
|
|
99
113
|
# Executors
|
|
100
114
|
|
|
101
115
|
## tailwind
|
package/generators.json
CHANGED
|
@@ -24,6 +24,11 @@
|
|
|
24
24
|
"factory": "./src/generators/schematic/generator",
|
|
25
25
|
"schema": "./src/generators/schematic/schema.json",
|
|
26
26
|
"description": "Create a Schematic for a project."
|
|
27
|
+
},
|
|
28
|
+
"init-feature": {
|
|
29
|
+
"factory": "./src/generators/init-feature/generator",
|
|
30
|
+
"schema": "./src/generators/init-feature/schema.json",
|
|
31
|
+
"description": "init-feature generator"
|
|
27
32
|
}
|
|
28
33
|
},
|
|
29
34
|
"schematics": {
|
|
@@ -51,6 +56,11 @@
|
|
|
51
56
|
"factory": "./src/generators/schematic/index",
|
|
52
57
|
"schema": "./src/generators/schematic/schema.json",
|
|
53
58
|
"description": "Create a Schematic for a project."
|
|
59
|
+
},
|
|
60
|
+
"init-feature": {
|
|
61
|
+
"factory": "./src/generators/init-feature/index",
|
|
62
|
+
"schema": "./src/generators/init-feature/schema.json",
|
|
63
|
+
"description": "init-feature generator"
|
|
54
64
|
}
|
|
55
65
|
}
|
|
56
66
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/plugin-angular",
|
|
3
|
-
"version": "16.1.0-dev.
|
|
3
|
+
"version": "16.1.0-dev.14",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"generators": "./generators.json",
|
|
6
6
|
"publishConfig": {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@rxap/generator-utilities": "^1.1.0-dev.7",
|
|
44
44
|
"@rxap/plugin-localazy": "^16.1.0-dev.6",
|
|
45
45
|
"@rxap/plugin-utilities": "^16.1.0-dev.9",
|
|
46
|
-
"@rxap/ts-morph": "^0.1.0-dev.
|
|
46
|
+
"@rxap/ts-morph": "^0.1.0-dev.2",
|
|
47
47
|
"@rxap/workspace-ts-morph": "^0.1.0-dev.3",
|
|
48
|
-
"@rxap/workspace-utilities": "^0.1.0-dev.
|
|
48
|
+
"@rxap/workspace-utilities": "^0.1.0-dev.7",
|
|
49
49
|
"nx": "^16.5.0",
|
|
50
50
|
"ts-morph": "^18.0.0",
|
|
51
51
|
"@rxap/node-utilities": "1.1.0-dev.4",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"package": "@rxap/ts-morph",
|
|
70
|
-
"version": "0.1.0-dev.
|
|
70
|
+
"version": "0.1.0-dev.2"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"package": "@rxap/workspace-ts-morph",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"package": "@rxap/workspace-utilities",
|
|
78
|
-
"version": "0.1.0-dev.
|
|
78
|
+
"version": "0.1.0-dev.7"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"package": "@rxap/schematics-ts-morph",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
"executors": "./executors.json",
|
|
87
87
|
"schematics": "./generators.json",
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "2452f57c3479421535ba4688e62ed100176ac15e",
|
|
89
89
|
"main": "./src/index.js",
|
|
90
90
|
"types": "./src/index.d.ts"
|
|
91
91
|
}
|
|
@@ -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,34 @@
|
|
|
1
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
2
|
+
import {
|
|
3
|
+
ApplicationConfig,
|
|
4
|
+
importProvidersFrom,
|
|
5
|
+
} from '@angular/core';
|
|
6
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
7
|
+
import {
|
|
8
|
+
provideRouter,
|
|
9
|
+
withEnabledBlockingInitialNavigation,
|
|
10
|
+
} from '@angular/router';
|
|
11
|
+
import { RXAP_ENVIRONMENT } from '@rxap/environment';
|
|
12
|
+
import { SERVICE_STATUS_CHECK_METHOD } from '@rxap/ngx-status-check';
|
|
13
|
+
import { StatusControllerHealthCheckRemoteMethod } from 'open-api-service-status/remote-methods/status-controller-health-check.remote-method';
|
|
14
|
+
import { environment } from '../environments/environment';
|
|
15
|
+
import { appRoutes } from './app.routes';
|
|
16
|
+
|
|
17
|
+
export const appConfig: ApplicationConfig = {
|
|
18
|
+
providers: [
|
|
19
|
+
// required to be imported so that the http client is available in the application for the status check method
|
|
20
|
+
importProvidersFrom(HttpClientModule),
|
|
21
|
+
provideRouter(appRoutes, withEnabledBlockingInitialNavigation()),
|
|
22
|
+
// it is required to provide the animations provider in the app config.
|
|
23
|
+
// If provided in a lazy loaded module the animations will not work
|
|
24
|
+
provideAnimations(),
|
|
25
|
+
{
|
|
26
|
+
provide: RXAP_ENVIRONMENT,
|
|
27
|
+
useValue: environment,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
provide: SERVICE_STATUS_CHECK_METHOD,
|
|
31
|
+
useClass: StatusControllerHealthCheckRemoteMethod,
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
};
|
|
@@ -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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "fonts/material-icons";
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
@mixin centre($axis: "both") {
|
|
2
|
+
position: absolute;
|
|
3
|
+
@if $axis == "y" {
|
|
4
|
+
top: 50%;
|
|
5
|
+
-webkit-transform: translateY(-50%);
|
|
6
|
+
-moz-transform: translateY(-50%);
|
|
7
|
+
-ms-transform: translateY(-50%);
|
|
8
|
+
-o-transform: translateY(-50%);
|
|
9
|
+
transform: translateY(-50%);
|
|
10
|
+
}
|
|
11
|
+
@if $axis == "x" {
|
|
12
|
+
left: 50%;
|
|
13
|
+
-webkit-transform: translateX(-50%);
|
|
14
|
+
-moz-transform: translateX(-50%);
|
|
15
|
+
-ms-transform: translateX(-50%);
|
|
16
|
+
-o-transform: translateX(-50%);
|
|
17
|
+
transform: translateX(-50%);
|
|
18
|
+
}
|
|
19
|
+
@if $axis == "both" {
|
|
20
|
+
top: 50%;
|
|
21
|
+
left: 50%;
|
|
22
|
+
-webkit-transform: translate(-51%, -50%);
|
|
23
|
+
-moz-transform: translate(-51%, -50%);
|
|
24
|
+
-ms-transform: translate(-51%, -50%);
|
|
25
|
+
-o-transform: translate(-51%, -50%);
|
|
26
|
+
transform: translate(-51%, -50%);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin font-size($sizeValue: 1.6, $lineHeight: 2.4) {
|
|
31
|
+
font-size: ($sizeValue * 10) + px;
|
|
32
|
+
font-size: $sizeValue + rem;
|
|
33
|
+
line-height: ($lineHeight * 10) + px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@mixin animation($animate...) {
|
|
37
|
+
$max: length($animate);
|
|
38
|
+
$animations: '';
|
|
39
|
+
|
|
40
|
+
@for $i from 1 through $max {
|
|
41
|
+
$animations: #{$animations + nth($animate, $i)};
|
|
42
|
+
|
|
43
|
+
@if $i < $max {
|
|
44
|
+
$animations: #{$animations + ", "};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
-webkit-animation: $animations;
|
|
48
|
+
-moz-animation: $animations;
|
|
49
|
+
-o-animation: $animations;
|
|
50
|
+
animation: $animations;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@mixin keyframes($animationName) {
|
|
54
|
+
@-webkit-keyframes #{$animationName} {
|
|
55
|
+
@content;
|
|
56
|
+
}
|
|
57
|
+
@-moz-keyframes #{$animationName} {
|
|
58
|
+
@content;
|
|
59
|
+
}
|
|
60
|
+
@-o-keyframes #{$animationName} {
|
|
61
|
+
@content;
|
|
62
|
+
}
|
|
63
|
+
@keyframes #{$animationName} {
|
|
64
|
+
@content;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@mixin loadingAnimation($background) {
|
|
69
|
+
|
|
70
|
+
$f-title: 'Roboto', sans-serif;
|
|
71
|
+
$f-body: 'Open Sans', sans-serif;
|
|
72
|
+
|
|
73
|
+
@include keyframes(outerRotate1) {
|
|
74
|
+
0% {
|
|
75
|
+
transform: translate(-50%, -50%) rotate(0)
|
|
76
|
+
}
|
|
77
|
+
100% {
|
|
78
|
+
transform: translate(-50%, -50%) rotate(360deg)
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
@include keyframes(outerRotate2) {
|
|
82
|
+
0% {
|
|
83
|
+
transform: translate(-50%, -50%) rotate(0)
|
|
84
|
+
}
|
|
85
|
+
100% {
|
|
86
|
+
transform: translate(-50%, -50%) rotate(-360deg)
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@include keyframes(textColour) {
|
|
91
|
+
0% {
|
|
92
|
+
color: #fff;
|
|
93
|
+
}
|
|
94
|
+
100% {
|
|
95
|
+
color: #3BB2D0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.e-loadholder {
|
|
100
|
+
@include centre();
|
|
101
|
+
width: 240px;
|
|
102
|
+
height: 240px;
|
|
103
|
+
border: 5px solid #1B5F70;
|
|
104
|
+
border-radius: 120px;
|
|
105
|
+
box-sizing: border-box;
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
&:after {
|
|
109
|
+
@include centre;
|
|
110
|
+
content: " ";
|
|
111
|
+
display: block;
|
|
112
|
+
background: $background;
|
|
113
|
+
transform-origin: center;
|
|
114
|
+
z-index: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&:after {
|
|
118
|
+
width: 100px;
|
|
119
|
+
height: 200%;
|
|
120
|
+
@include animation('outerRotate2 30s infinite linear');
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.m-loader {
|
|
124
|
+
@include centre();
|
|
125
|
+
width: 200px;
|
|
126
|
+
height: 200px;
|
|
127
|
+
color: #888;
|
|
128
|
+
text-align: center;
|
|
129
|
+
border: 5px solid lighten(#1B5F70, 15%);
|
|
130
|
+
border-radius: 100px;
|
|
131
|
+
box-sizing: border-box;
|
|
132
|
+
z-index: 20;
|
|
133
|
+
text-transform: uppercase;
|
|
134
|
+
|
|
135
|
+
&:after {
|
|
136
|
+
@include centre;
|
|
137
|
+
content: " ";
|
|
138
|
+
display: block;
|
|
139
|
+
background: $background;
|
|
140
|
+
transform-origin: center;
|
|
141
|
+
z-index: -1;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&:after {
|
|
145
|
+
width: 100px;
|
|
146
|
+
height: 106%;
|
|
147
|
+
@include animation('outerRotate1 15s infinite linear');
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.e-text {
|
|
151
|
+
@include font-size(1.4, 13);
|
|
152
|
+
@include centre();
|
|
153
|
+
@include animation('textColour 1s alternate linear infinite');
|
|
154
|
+
display: block;
|
|
155
|
+
width: 140px;
|
|
156
|
+
height: 140px;
|
|
157
|
+
text-align: center;
|
|
158
|
+
border: 5px solid lighten(#1B5F70, 25%);
|
|
159
|
+
border-radius: 70px;
|
|
160
|
+
box-sizing: border-box;
|
|
161
|
+
z-index: 20;
|
|
162
|
+
|
|
163
|
+
&:before, &:after {
|
|
164
|
+
@include centre;
|
|
165
|
+
content: " ";
|
|
166
|
+
display: block;
|
|
167
|
+
background: $background;
|
|
168
|
+
transform-origin: center;
|
|
169
|
+
z-index: -1;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&:before {
|
|
173
|
+
width: 110%;
|
|
174
|
+
height: 40px;
|
|
175
|
+
@include animation('outerRotate2 3.5s infinite linear');
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&:after {
|
|
179
|
+
width: 40px;
|
|
180
|
+
height: 110%;
|
|
181
|
+
@include animation('outerRotate1 8s infinite linear');
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
#particleCanvas-White {
|
|
188
|
+
@include centre();
|
|
189
|
+
width: 100%;
|
|
190
|
+
height: 50%;
|
|
191
|
+
opacity: 0.1;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
#particleCanvas-Blue {
|
|
195
|
+
@include centre();
|
|
196
|
+
width: 300px;
|
|
197
|
+
height: 300px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
$primary-pat: (
|
|
2
|
+
50: var(--primary-50),
|
|
3
|
+
100: var(--primary-100),
|
|
4
|
+
200: var(--primary-200),
|
|
5
|
+
300: var(--primary-300),
|
|
6
|
+
400: var(--primary-400),
|
|
7
|
+
500: var(--primary-500),
|
|
8
|
+
600: var(--primary-600),
|
|
9
|
+
700: var(--primary-700),
|
|
10
|
+
800: var(--primary-800),
|
|
11
|
+
900: var(--primary-900),
|
|
12
|
+
A100: var(--primary-a100),
|
|
13
|
+
A200: var(--primary-a200),
|
|
14
|
+
A400: var(--primary-a400),
|
|
15
|
+
A700: var(--primary-a700),
|
|
16
|
+
contrast: (
|
|
17
|
+
50: var(--contrast-50),
|
|
18
|
+
100: var(--contrast-100),
|
|
19
|
+
200: var(--contrast-200),
|
|
20
|
+
300: var(--contrast-300),
|
|
21
|
+
400: var(--contrast-400),
|
|
22
|
+
500: var(--contrast-500),
|
|
23
|
+
600: var(--contrast-600),
|
|
24
|
+
700: var(--contrast-700),
|
|
25
|
+
800: var(--contrast-800),
|
|
26
|
+
900: var(--contrast-900),
|
|
27
|
+
A100: var(--contrast-a100),
|
|
28
|
+
A200: var(--contrast-a200),
|
|
29
|
+
A400: var(--contrast-a400),
|
|
30
|
+
A700: var(--contrast-a700),
|
|
31
|
+
),
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
$accent-pat: (
|
|
35
|
+
50: var(--accent-50),
|
|
36
|
+
100: var(--accent-100),
|
|
37
|
+
200: var(--accent-200),
|
|
38
|
+
300: var(--accent-300),
|
|
39
|
+
400: var(--accent-400),
|
|
40
|
+
500: var(--accent-500),
|
|
41
|
+
600: var(--accent-600),
|
|
42
|
+
700: var(--accent-700),
|
|
43
|
+
800: var(--accent-800),
|
|
44
|
+
900: var(--accent-900),
|
|
45
|
+
A100: var(--accent-a100),
|
|
46
|
+
A200: var(--accent-a200),
|
|
47
|
+
A400: var(--accent-a400),
|
|
48
|
+
A700: var(--accent-a700),
|
|
49
|
+
contrast: (
|
|
50
|
+
50: var(--contrast-50),
|
|
51
|
+
100: var(--contrast-100),
|
|
52
|
+
200: var(--contrast-200),
|
|
53
|
+
300: var(--contrast-300),
|
|
54
|
+
400: var(--contrast-400),
|
|
55
|
+
500: var(--contrast-500),
|
|
56
|
+
600: var(--contrast-600),
|
|
57
|
+
700: var(--contrast-700),
|
|
58
|
+
800: var(--contrast-800),
|
|
59
|
+
900: var(--contrast-900),
|
|
60
|
+
A100: var(--contrast-a100),
|
|
61
|
+
A200: var(--contrast-a200),
|
|
62
|
+
A400: var(--contrast-a400),
|
|
63
|
+
A700: var(--contrast-a700),
|
|
64
|
+
),
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
$warn-pat: (
|
|
68
|
+
50: var(--warn-50),
|
|
69
|
+
100: var(--warn-100),
|
|
70
|
+
200: var(--warn-200),
|
|
71
|
+
300: var(--warn-300),
|
|
72
|
+
400: var(--warn-400),
|
|
73
|
+
500: var(--warn-500),
|
|
74
|
+
600: var(--warn-600),
|
|
75
|
+
700: var(--warn-700),
|
|
76
|
+
800: var(--warn-800),
|
|
77
|
+
900: var(--warn-900),
|
|
78
|
+
A100: var(--warn-a100),
|
|
79
|
+
A200: var(--warn-a200),
|
|
80
|
+
A400: var(--warn-a400),
|
|
81
|
+
A700: var(--warn-a700),
|
|
82
|
+
contrast: (
|
|
83
|
+
50: var(--contrast-50),
|
|
84
|
+
100: var(--contrast-100),
|
|
85
|
+
200: var(--contrast-200),
|
|
86
|
+
300: var(--contrast-300),
|
|
87
|
+
400: var(--contrast-400),
|
|
88
|
+
500: var(--contrast-500),
|
|
89
|
+
600: var(--contrast-600),
|
|
90
|
+
700: var(--contrast-700),
|
|
91
|
+
800: var(--contrast-800),
|
|
92
|
+
900: var(--contrast-900),
|
|
93
|
+
A100: var(--contrast-a100),
|
|
94
|
+
A200: var(--contrast-a200),
|
|
95
|
+
A400: var(--contrast-a400),
|
|
96
|
+
A700: var(--contrast-a700),
|
|
97
|
+
),
|
|
98
|
+
);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin table-theme($theme) {
|
|
4
|
+
$background: map-get($theme, background);
|
|
5
|
+
$accent: map-get($theme, accent);
|
|
6
|
+
$isDark: map-get($theme, is-dark);
|
|
7
|
+
|
|
8
|
+
.table-scroll-container {
|
|
9
|
+
// region scrollbar
|
|
10
|
+
|
|
11
|
+
&::-webkit-scrollbar {
|
|
12
|
+
height: 6px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&::-webkit-scrollbar-track {
|
|
16
|
+
border-radius: 2px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&::-webkit-scrollbar-thumb {
|
|
20
|
+
border-radius: 10px;
|
|
21
|
+
background: mat.get-color-from-palette($accent, 100);
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
background: mat.get-color-from-palette($accent, 300);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// endregion
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.dark {
|
|
32
|
+
|
|
33
|
+
.table-scroll-container {
|
|
34
|
+
&::-webkit-scrollbar-thumb {
|
|
35
|
+
background: mat.get-color-from-palette($accent, 900) !important;
|
|
36
|
+
|
|
37
|
+
&:hover {
|
|
38
|
+
background: mat.get-color-from-palette($accent, 700) !important;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
}
|