Upgrade to angular 14

This commit is contained in:
Chris Chen 2024-04-06 09:33:15 -07:00
parent dc49c0a958
commit c68d9ba749
5 changed files with 2745 additions and 2976 deletions

View File

@ -167,7 +167,6 @@
}
}
},
"defaultProject": "ngx-admin-demo",
"schematics": {
"@schematics/angular:component": {
"prefix": "ngx",

5666
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -30,23 +30,23 @@
"postinstall": "ngcc --properties es2015 es5 browser module main --first-only --create-ivy-entry-points --tsconfig \"./src/tsconfig.app.json\""
},
"dependencies": {
"@angular/animations": "^13.4.0",
"@angular/cdk": "13.3.9",
"@angular/common": "^13.4.0",
"@angular/compiler": "^13.4.0",
"@angular/core": "^13.4.0",
"@angular/forms": "^13.4.0",
"@angular/animations": "^14.3.0",
"@angular/cdk": "14.2.7",
"@angular/common": "^14.3.0",
"@angular/compiler": "^14.3.0",
"@angular/core": "^14.3.0",
"@angular/forms": "^14.3.0",
"@angular/google-maps": "^12.2.13",
"@angular/platform-browser": "^13.4.0",
"@angular/platform-browser-dynamic": "^13.4.0",
"@angular/router": "^13.4.0",
"@angular/platform-browser": "^14.3.0",
"@angular/platform-browser-dynamic": "^14.3.0",
"@angular/router": "^14.3.0",
"@asymmetrik/ngx-leaflet": "3.0.1",
"@microsoft/signalr": "^6.0.8",
"@nebular/auth": "9.0.3",
"@nebular/date-fns": "^9.0.3",
"@nebular/eva-icons": "9.0.3",
"@nebular/security": "9.0.3",
"@nebular/theme": "9.0.3",
"@nebular/auth": "10.0.0",
"@nebular/date-fns": "^10.0.0",
"@nebular/eva-icons": "10.0.0",
"@nebular/security": "10.0.0",
"@nebular/theme": "10.0.0",
"angular2-chartjs": "0.4.1",
"angular2-qrcode": "^2.0.3",
"bootstrap": "4.3.1",
@ -81,10 +81,10 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^13.3.11",
"@angular/cli": "^13.3.11",
"@angular/compiler-cli": "^13.4.0",
"@angular/language-service": "13.4.0",
"@angular-devkit/build-angular": "^14.2.13",
"@angular/cli": "^14.2.13",
"@angular/compiler-cli": "^14.3.0",
"@angular/language-service": "14.3.0",
"@compodoc/compodoc": "1.0.1",
"@fortawesome/fontawesome-free": "^5.2.0",
"@schematics/angular": "^14.1.3",

View File

@ -1,5 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';
@Component({
selector: 'ngx-stepper',
@ -8,11 +8,11 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
})
export class StepperComponent implements OnInit {
firstForm: FormGroup;
secondForm: FormGroup;
thirdForm: FormGroup;
firstForm: UntypedFormGroup;
secondForm: UntypedFormGroup;
thirdForm: UntypedFormGroup;
constructor(private fb: FormBuilder) {
constructor(private fb: UntypedFormBuilder) {
}
ngOnInit() {

View File

@ -8,7 +8,7 @@
"declaration": false,
"moduleResolution": "node",
"experimentalDecorators": true,
"target": "es2015",
"target": "es2020",
"typeRoots": [
"node_modules/@types"
],