Update to Angular 14
This commit is contained in:
parent
2601a2aa47
commit
498ce68b7f
|
@ -134,6 +134,5 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"defaultProject": "allerta-vvf"
|
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -12,15 +12,15 @@
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "~13.0.0",
|
"@angular/animations": "^14.2.12",
|
||||||
"@angular/common": "~13.0.0",
|
"@angular/common": "^14.2.12",
|
||||||
"@angular/compiler": "~13.0.0",
|
"@angular/compiler": "^14.2.12",
|
||||||
"@angular/core": "~13.0.0",
|
"@angular/core": "^14.2.12",
|
||||||
"@angular/forms": "~13.0.0",
|
"@angular/forms": "^14.2.12",
|
||||||
"@angular/platform-browser": "~13.0.0",
|
"@angular/platform-browser": "^14.2.12",
|
||||||
"@angular/platform-browser-dynamic": "~13.0.0",
|
"@angular/platform-browser-dynamic": "^14.2.12",
|
||||||
"@angular/router": "~13.0.0",
|
"@angular/router": "^14.2.12",
|
||||||
"@angular/service-worker": "~13.0.0",
|
"@angular/service-worker": "^14.2.12",
|
||||||
"@asymmetrik/ngx-leaflet": "^8.1.0",
|
"@asymmetrik/ngx-leaflet": "^8.1.0",
|
||||||
"@fortawesome/fontawesome-free": "^5.15.4",
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||||
"@ngx-translate/core": "^14.0.0",
|
"@ngx-translate/core": "^14.0.0",
|
||||||
|
@ -36,9 +36,9 @@
|
||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "~13.0.3",
|
"@angular-devkit/build-angular": "^14.2.10",
|
||||||
"@angular/cli": "~13.0.3",
|
"@angular/cli": "^14.2.10",
|
||||||
"@angular/compiler-cli": "~13.0.0",
|
"@angular/compiler-cli": "^14.2.12",
|
||||||
"@types/jasmine": "~3.10.0",
|
"@types/jasmine": "~3.10.0",
|
||||||
"@types/leaflet": "^1.7.8",
|
"@types/leaflet": "^1.7.8",
|
||||||
"@types/node": "16.11.17",
|
"@types/node": "16.11.17",
|
||||||
|
@ -48,6 +48,6 @@
|
||||||
"karma-coverage": "~2.0.3",
|
"karma-coverage": "~2.0.3",
|
||||||
"karma-jasmine": "~4.0.0",
|
"karma-jasmine": "~4.0.0",
|
||||||
"karma-jasmine-html-reporter": "~1.7.0",
|
"karma-jasmine-html-reporter": "~1.7.0",
|
||||||
"typescript": "~4.4.3"
|
"typescript": "~4.8.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { ActivatedRoute } from '@angular/router';
|
import { ActivatedRoute } from '@angular/router';
|
||||||
import { FormBuilder, Validators } from '@angular/forms';
|
import { UntypedFormBuilder, Validators } from '@angular/forms';
|
||||||
import { ApiClientService } from 'src/app/_services/api-client.service';
|
import { ApiClientService } from 'src/app/_services/api-client.service';
|
||||||
import { ToastrService } from 'ngx-toastr';
|
import { ToastrService } from 'ngx-toastr';
|
||||||
import { TranslateService } from '@ngx-translate/core';
|
import { TranslateService } from '@ngx-translate/core';
|
||||||
|
@ -67,7 +67,7 @@ export class EditServiceComponent implements OnInit {
|
||||||
private route: ActivatedRoute,
|
private route: ActivatedRoute,
|
||||||
private api: ApiClientService,
|
private api: ApiClientService,
|
||||||
private toastr: ToastrService,
|
private toastr: ToastrService,
|
||||||
private fb: FormBuilder,
|
private fb: UntypedFormBuilder,
|
||||||
private translate: TranslateService
|
private translate: TranslateService
|
||||||
) {
|
) {
|
||||||
this.route.paramMap.subscribe(params => {
|
this.route.paramMap.subscribe(params => {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"target": "es2017",
|
"target": "es2020",
|
||||||
"module": "es2020",
|
"module": "es2020",
|
||||||
"lib": [
|
"lib": [
|
||||||
"es2020",
|
"es2020",
|
||||||
|
|
Loading…
Reference in New Issue