Skip to content

Commit 5f109bd

Browse files
committed
chore: update Angular dependencies to version 19.x and ng-bootstrap to version 18.x
feat: add standalone property to multiple components for improved modularity refactor: clean up component selectors and styles for consistency across the application
1 parent 16ab203 commit 5f109bd

File tree

17 files changed

+3636
-2228
lines changed

17 files changed

+3636
-2228
lines changed

Angular/Enrollment/package-lock.json

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

Angular/Enrollment/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
},
1212
"private": true,
1313
"dependencies": {
14-
"@angular/animations": "^18.2.13",
15-
"@angular/common": "^18.2.13",
16-
"@angular/compiler": "^18.2.13",
17-
"@angular/core": "^18.2.13",
18-
"@angular/forms": "^18.2.13",
19-
"@angular/localize": "^18.2.13",
20-
"@angular/platform-browser": "^18.2.13",
21-
"@angular/platform-browser-dynamic": "^18.2.13",
22-
"@angular/router": "^18.2.13",
14+
"@angular/animations": "^19.2.15",
15+
"@angular/common": "^19.2.15",
16+
"@angular/compiler": "^19.2.15",
17+
"@angular/core": "^19.2.15",
18+
"@angular/forms": "^19.2.15",
19+
"@angular/localize": "^19.2.15",
20+
"@angular/platform-browser": "^19.2.15",
21+
"@angular/platform-browser-dynamic": "^19.2.15",
22+
"@angular/router": "^19.2.15",
2323
"@fortawesome/angular-fontawesome": "^0.10.2",
24-
"@ng-bootstrap/ng-bootstrap": "^17.0.1",
24+
"@ng-bootstrap/ng-bootstrap": "^18.0.0",
2525
"@popperjs/core": "^2.11.6",
2626
"@progress/kendo-angular-buttons": "latest",
2727
"@progress/kendo-angular-common": "latest",
@@ -46,13 +46,13 @@
4646
"rxjs": "~6.5.3",
4747
"rxjs-compat": "^6.5.3",
4848
"tslib": "^2.4.0",
49-
"zone.js": "^0.14.10"
49+
"zone.js": "^0.15.1"
5050
},
5151
"devDependencies": {
52-
"@angular-devkit/build-angular": "^18.2.12",
53-
"@angular/cli": "^18.2.12",
54-
"@angular/compiler-cli": "^18.2.13",
55-
"@angular/language-service": "^18.2.13",
52+
"@angular-devkit/build-angular": "^19.2.18",
53+
"@angular/cli": "^19.2.18",
54+
"@angular/compiler-cli": "^19.2.15",
55+
"@angular/language-service": "^19.2.15",
5656
"@types/jasmine": "~3.6.0",
5757
"@types/jasminewd2": "^2.0.10",
5858
"@types/node": "^12.20.55",

Angular/Enrollment/src/app/app.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { Component } from '@angular/core';
22

33
@Component({
4-
selector: 'app-root',
5-
templateUrl: './app.component.html',
6-
styleUrls: ['./app.component.css']
4+
selector: 'app-root',
5+
templateUrl: './app.component.html',
6+
styleUrls: ['./app.component.css'],
7+
standalone: false
78
})
89
export class AppComponent {
910
title = 'Enrollment';

Angular/Enrollment/src/app/generic/display-dropdown-value/display-dropdown-value.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import { IDetailDropDownTemplate } from 'src/app/stuctures/screens/detail/i-deta
44
import { SettingsService } from '../../http/settings.service';
55

66
@Component({
7-
selector: '[app-display-dropdown-value]',
8-
templateUrl: './display-dropdown-value.component.html',
9-
styleUrls: ['./display-dropdown-value.component.css']
7+
selector: '[app-display-dropdown-value]',
8+
templateUrl: './display-dropdown-value.component.html',
9+
styleUrls: ['./display-dropdown-value.component.css'],
10+
standalone: false
1011
})
1112
export class DisplayDropdownValueComponent implements OnInit {
1213

Angular/Enrollment/src/app/generic/form-field-dropdown/form-field-dropdown.component.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@ import { GenericService } from '../../http/generic.service';
55
import { SettingsService } from '../../http/settings.service';
66

77
@Component({
8-
selector: 'app-form-field-dropdown',
9-
providers: [
10-
{
11-
provide: NG_VALUE_ACCESSOR,
12-
multi: true,
13-
useExisting: forwardRef(() => FormFieldDropdownComponent),
14-
}
15-
],
16-
templateUrl: './form-field-dropdown.component.html',
17-
styleUrls: ['./form-field-dropdown.component.css']
8+
selector: 'app-form-field-dropdown',
9+
providers: [
10+
{
11+
provide: NG_VALUE_ACCESSOR,
12+
multi: true,
13+
useExisting: forwardRef(() => FormFieldDropdownComponent),
14+
}
15+
],
16+
templateUrl: './form-field-dropdown.component.html',
17+
styleUrls: ['./form-field-dropdown.component.css'],
18+
standalone: false
1819
})
1920
export class FormFieldDropdownComponent implements OnInit, ControlValueAccessor
2021
{

Angular/Enrollment/src/app/generic/form-field-multiselect/form-field-multiselect.component.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@ import { IMultiSelectTemplate } from '../../stuctures/screens/edit/i-edit-form-s
44
import { GenericService } from '../../http/generic.service';
55

66
@Component({
7-
selector: 'app-form-field-multiselect',
8-
providers: [
9-
{
10-
provide: NG_VALUE_ACCESSOR,
11-
multi: true,
12-
useExisting: forwardRef(() => FormFieldMultiselectComponent),
13-
}
14-
],
15-
templateUrl: './form-field-multiselect.component.html',
16-
styleUrls: ['./form-field-multiselect.component.css']
7+
selector: 'app-form-field-multiselect',
8+
providers: [
9+
{
10+
provide: NG_VALUE_ACCESSOR,
11+
multi: true,
12+
useExisting: forwardRef(() => FormFieldMultiselectComponent),
13+
}
14+
],
15+
templateUrl: './form-field-multiselect.component.html',
16+
styleUrls: ['./form-field-multiselect.component.css'],
17+
standalone: false
1718
})
1819
export class FormFieldMultiselectComponent implements OnInit, ControlValueAccessor {
1920

Angular/Enrollment/src/app/generic/generic-create/generic-create.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ import { Directives } from 'src/app/common/directives';
1414
import { DateService } from 'src/app/common/date.service';
1515

1616
@Component({
17-
selector: 'app-generic-create',
18-
templateUrl: './generic-create.component.html',
19-
styleUrls: ['./generic-create.component.css']
17+
selector: 'app-generic-create',
18+
templateUrl: './generic-create.component.html',
19+
styleUrls: ['./generic-create.component.css'],
20+
standalone: false
2021
})
2122
export class GenericCreateComponent implements OnInit, AfterViewInit {
2223
@ViewChild('labelTemplate', { static: true }) labelTemplate: TemplateRef<any>;

Angular/Enrollment/src/app/generic/generic-delete/generic-delete.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ import { EntityType } from '../../stuctures/screens/i-base-model';
77
import { ViewTypeEnum } from '../../stuctures/screens/i-view-type';
88

99
@Component({
10-
selector: 'app-generic-delete',
11-
templateUrl: './generic-delete.component.html',
12-
styleUrls: ['./generic-delete.component.css']
10+
selector: 'app-generic-delete',
11+
templateUrl: './generic-delete.component.html',
12+
styleUrls: ['./generic-delete.component.css'],
13+
standalone: false
1314
})
1415
export class GenericDeleteComponent implements OnInit {
1516
@ViewChild('currencyTemplate', { static: true }) currencyTemplate: TemplateRef<any>;

Angular/Enrollment/src/app/generic/generic-detail/generic-detail.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ import { ViewTypeEnum } from '../../stuctures/screens/i-view-type';
88
import { IDetailRequest } from '../../stuctures/screens/requests/i-requests-base';
99

1010
@Component({
11-
selector: 'app-generic-detail',
12-
templateUrl: './generic-detail.component.html',
13-
styleUrls: ['./generic-detail.component.css']
11+
selector: 'app-generic-detail',
12+
templateUrl: './generic-detail.component.html',
13+
styleUrls: ['./generic-detail.component.css'],
14+
standalone: false
1415
})
1516
export class GenericDetailComponent implements OnInit {
1617
@ViewChild('currencyTemplate', { static: true }) currencyTemplate: TemplateRef<any>;

Angular/Enrollment/src/app/generic/generic-edit/generic-edit.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ import { EntityStateType } from 'src/app/stuctures/screens/entity-state-type';
1515
import { Directives } from 'src/app/common/directives';
1616

1717
@Component({
18-
selector: 'app-generic-edit',
19-
templateUrl: './generic-edit.component.html',
20-
styleUrls: ['./generic-edit.component.css']
18+
selector: 'app-generic-edit',
19+
templateUrl: './generic-edit.component.html',
20+
styleUrls: ['./generic-edit.component.css'],
21+
standalone: false
2122
})
2223
export class GenericEditComponent implements OnInit, AfterViewInit
2324
{

0 commit comments

Comments
 (0)