Skip to content

Commit ee95c4e

Browse files
committed
(#146) Upgrade Angular 14.0
1 parent e3a8941 commit ee95c4e

File tree

18 files changed

+3458
-3970
lines changed

18 files changed

+3458
-3970
lines changed

.github/workflows/build-ui-angular.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v2
1818
- uses: actions/setup-node@v2
1919
with:
20-
node-version: "12"
20+
node-version: "14"
2121
- run: npm install -g @angular/cli
2222
- run: npm install
2323
working-directory: ./src/UIs/angular/

src/UIs/angular/angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
}
115115
}
116116
},
117-
"defaultProject": "angular",
118117
"cli": {
119118
"analytics": false
120119
}

src/UIs/angular/package-lock.json

Lines changed: 3409 additions & 3920 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/UIs/angular/package.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,46 +11,46 @@
1111
},
1212
"private": true,
1313
"dependencies": {
14-
"@angular/animations": "^13.0.2",
15-
"@angular/common": "~13.0.2",
16-
"@angular/compiler": "~13.0.2",
17-
"@angular/core": "~13.0.2",
18-
"@angular/forms": "~13.0.2",
19-
"@angular/platform-browser": "~13.0.2",
20-
"@angular/platform-browser-dynamic": "~13.0.2",
21-
"@angular/router": "~13.0.2",
22-
"@microsoft/signalr": "^5.0.10",
23-
"@ngrx/effects": "^12.4.0",
24-
"@ngrx/store": "^12.4.0",
25-
"@ngrx/store-devtools": "^12.4.0",
26-
"bootstrap": "^4.4.1",
14+
"@angular/animations": "^14.1.0",
15+
"@angular/common": "^14.1.0",
16+
"@angular/compiler": "^14.1.0",
17+
"@angular/core": "^14.1.0",
18+
"@angular/forms": "^14.1.0",
19+
"@angular/platform-browser": "^14.1.0",
20+
"@angular/platform-browser-dynamic": "^14.1.0",
21+
"@angular/router": "^14.1.0",
22+
"@microsoft/signalr": "^5.0.17",
23+
"@ngrx/effects": "^14.0.2",
24+
"@ngrx/store": "^14.0.2",
25+
"@ngrx/store-devtools": "^14.0.2",
26+
"bootstrap": "^4.6.2",
2727
"font-awesome": "^4.7.0",
28-
"ngx-bootstrap": "^5.5.0",
29-
"ngx-toastr": "^14.1.3",
30-
"oidc-client": "^1.10.1",
31-
"rxjs": "~6.5.4",
32-
"tslib": "^2.0.0",
33-
"zone.js": "~0.11.4"
28+
"ngx-bootstrap": "^9.0.0",
29+
"ngx-toastr": "^14.3.0",
30+
"oidc-client": "^1.11.5",
31+
"rxjs": "^6.6.7",
32+
"tslib": "^2.4.0",
33+
"zone.js": "^0.11.7"
3434
},
3535
"devDependencies": {
36-
"@angular-devkit/build-angular": "~13.0.3",
37-
"@angular/cli": "~13.0.3",
38-
"@angular/compiler-cli": "~13.0.2",
39-
"@angular/language-service": "~13.0.2",
40-
"@types/node": "^12.11.1",
41-
"@types/jasmine": "~3.6.0",
42-
"@types/jasminewd2": "~2.0.3",
43-
"codelyzer": "^6.0.0",
36+
"@angular-devkit/build-angular": "^14.1.0",
37+
"@angular/cli": "^14.1.0",
38+
"@angular/compiler-cli": "^14.1.0",
39+
"@angular/language-service": "^14.1.0",
40+
"@types/jasmine": "^3.10.6",
41+
"@types/jasminewd2": "^2.0.10",
42+
"@types/node": "^12.20.55",
43+
"codelyzer": "^6.0.2",
4444
"jasmine-core": "~3.6.0",
4545
"jasmine-spec-reporter": "~5.0.0",
46-
"karma": "~6.3.4",
47-
"karma-chrome-launcher": "~3.1.0",
46+
"karma": "^6.4.0",
47+
"karma-chrome-launcher": "^3.1.1",
4848
"karma-coverage-istanbul-reporter": "~3.0.2",
49-
"karma-jasmine": "~4.0.0",
50-
"karma-jasmine-html-reporter": "^1.5.0",
49+
"karma-jasmine": "^4.0.2",
50+
"karma-jasmine-html-reporter": "^1.7.0",
5151
"protractor": "~7.0.0",
5252
"ts-node": "~8.3.0",
5353
"tslint": "~6.1.0",
54-
"typescript": "~4.4.4"
54+
"typescript": "~4.7.4"
5555
}
5656
}

src/UIs/angular/src/app/auditlogs/audit-log.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NgModule } from "@angular/core";
22
import { RouterModule } from "@angular/router";
33
import { EffectsModule } from "@ngrx/effects";
44
import { StoreModule } from "@ngrx/store";
5-
import { ModalModule } from "ngx-bootstrap";
5+
import { ModalModule } from "ngx-bootstrap/modal";
66

77
import { SharedModule } from "../shared/shared.module";
88
import { AuditLogListComponent } from "./audit-log-list.component";

src/UIs/angular/src/app/files/edit-file/edit-file.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Router, ActivatedRoute } from "@angular/router";
44
import { IFile } from "../file";
55
import { NgModel, NgForm } from "@angular/forms";
66
import { IAuditLogEntry } from "src/app/auditlogs/audit-log";
7-
import { BsModalService } from "ngx-bootstrap";
7+
import { BsModalService } from "ngx-bootstrap/modal";
88
import { GuidEmpty } from "src/app/shared/constants";
99

1010
@Component({

src/UIs/angular/src/app/files/file.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { UploadFileComponent } from "./upload-file/upload-file.component";
33
import { ListFilesComponent } from "./list-files/list-files.component";
44
import { RouterModule } from "@angular/router";
55
import { SharedModule } from "../shared/shared.module";
6-
import { ModalModule } from "ngx-bootstrap";
6+
import { ModalModule } from "ngx-bootstrap/modal";
77
import { EditFileComponent } from "./edit-file/edit-file.component";
88

99
@NgModule({

src/UIs/angular/src/app/files/list-files/list-files.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Component, OnInit, TemplateRef } from "@angular/core";
22
import { IFile } from "../file";
33
import { FileService } from "../file.service";
4-
import { BsModalService, BsModalRef } from "ngx-bootstrap";
4+
import { BsModalService, BsModalRef } from "ngx-bootstrap/modal";
55
import { IAuditLogEntry } from "src/app/auditlogs/audit-log";
66

77
@Component({

src/UIs/angular/src/app/products/edit-product/edit-product.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component, OnInit } from "@angular/core";
22
import { Router, ActivatedRoute } from "@angular/router";
3-
import { FormGroup, FormBuilder, Validators } from "@angular/forms";
3+
import { UntypedFormGroup, UntypedFormBuilder, Validators } from "@angular/forms";
44
import { debounceTime } from "rxjs/operators";
55

66
import { IProduct } from "../product";
@@ -16,13 +16,13 @@ export class EditProductComponent implements OnInit {
1616
postErrorMessage: string = "";
1717
postError = false;
1818

19-
productForm: FormGroup;
19+
productForm: UntypedFormGroup;
2020
isSubmitted: boolean = false;
2121

2222
constructor(
2323
private route: ActivatedRoute,
2424
private router: Router,
25-
private fb: FormBuilder,
25+
private fb: UntypedFormBuilder,
2626
private productService: ProductService
2727
) {}
2828

src/UIs/angular/src/app/products/list-products/list-products.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { IProduct } from "../product";
44
import { ProductService } from "../product.service";
55
import { Title } from "@angular/platform-browser";
66
import { IAuditLogEntry } from "../../auditlogs/audit-log";
7-
import { BsModalRef, BsModalService } from "ngx-bootstrap";
7+
import { BsModalRef, BsModalService } from "ngx-bootstrap/modal";
88
import { NgForm } from "@angular/forms";
99

1010
@Component({

0 commit comments

Comments
 (0)