Upgrade to angular 16
This commit is contained in:
parent
56d2bd17e4
commit
e2f55f0b8b
5580
package-lock.json
generated
5580
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
20
package.json
20
package.json
@ -31,10 +31,10 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^16.2.12",
|
"@angular/animations": "^16.2.12",
|
||||||
"@angular/cdk": "15.2.9",
|
"@angular/cdk": "16.2.14",
|
||||||
"@angular/common": "^16.2.12",
|
"@angular/common": "^16.2.12",
|
||||||
"@angular/compiler": "^16.2.12",
|
"@angular/compiler": "^16.2.12",
|
||||||
"@angular/core": "^15.2.10",
|
"@angular/core": "^16.2.12",
|
||||||
"@angular/forms": "^16.2.12",
|
"@angular/forms": "^16.2.12",
|
||||||
"@angular/google-maps": "^12.2.13",
|
"@angular/google-maps": "^12.2.13",
|
||||||
"@angular/platform-browser": "^16.2.12",
|
"@angular/platform-browser": "^16.2.12",
|
||||||
@ -42,11 +42,11 @@
|
|||||||
"@angular/router": "^16.2.12",
|
"@angular/router": "^16.2.12",
|
||||||
"@asymmetrik/ngx-leaflet": "3.0.1",
|
"@asymmetrik/ngx-leaflet": "3.0.1",
|
||||||
"@microsoft/signalr": "^6.0.8",
|
"@microsoft/signalr": "^6.0.8",
|
||||||
"@nebular/auth": "11.0.0",
|
"@nebular/auth": "12.0.0",
|
||||||
"@nebular/date-fns": "^11.0.0",
|
"@nebular/date-fns": "^12.0.0",
|
||||||
"@nebular/eva-icons": "11.0.0",
|
"@nebular/eva-icons": "12.0.0",
|
||||||
"@nebular/security": "11.0.0",
|
"@nebular/security": "12.0.0",
|
||||||
"@nebular/theme": "11.0.0",
|
"@nebular/theme": "12.0.0",
|
||||||
"angular2-chartjs": "0.4.1",
|
"angular2-chartjs": "0.4.1",
|
||||||
"angular2-qrcode": "^2.0.3",
|
"angular2-qrcode": "^2.0.3",
|
||||||
"bootstrap": "4.3.1",
|
"bootstrap": "4.3.1",
|
||||||
@ -78,11 +78,11 @@
|
|||||||
"tslib": "^2.3.1",
|
"tslib": "^2.3.1",
|
||||||
"typeface-exo": "0.0.22",
|
"typeface-exo": "0.0.22",
|
||||||
"typeit": "^8.7.0",
|
"typeit": "^8.7.0",
|
||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.13.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^15.2.11",
|
"@angular-devkit/build-angular": "^16.2.13",
|
||||||
"@angular/cli": "^15.2.11",
|
"@angular/cli": "^16.2.13",
|
||||||
"@angular/compiler-cli": "^16.2.12",
|
"@angular/compiler-cli": "^16.2.12",
|
||||||
"@angular/language-service": "16.2.12",
|
"@angular/language-service": "16.2.12",
|
||||||
"@compodoc/compodoc": "1.0.1",
|
"@compodoc/compodoc": "1.0.1",
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { CanActivate, CanActivateChild, CanLoad, Route, Router, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
|
import { Route, Router, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { HttpClient } from '@angular/common/http';
|
import { HttpClient } from '@angular/common/http';
|
||||||
import { first, map } from 'rxjs/operators';
|
import { first, map } from 'rxjs/operators';
|
||||||
@ -13,7 +13,7 @@ import { EnumUtils } from '../utilities/enum-utils';
|
|||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: "root",
|
providedIn: "root",
|
||||||
})
|
})
|
||||||
export class AuthGuardService implements CanActivate, CanActivateChild, CanLoad {
|
export class AuthGuardService {
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private authService: AuthService,
|
private authService: AuthService,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user