Skip to content

Commit fccf626

Browse files
author
Konstantin Dinev
authored
Merge pull request #3021 from IgniteUI/14.0.0-update
feat(ng14): migrating the project
2 parents 56e01b0 + e1e0a48 commit fccf626

14 files changed

Lines changed: 4736 additions & 3324 deletions

File tree

angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,6 @@
357357
}
358358
}
359359
},
360-
"defaultProject": "my-app",
361360
"schematics": {
362361
"@schematics/angular:component": {
363362
"prefix": "app",

package-lock.json

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

package.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -40,31 +40,31 @@
4040
"url": "git://github.com/IgniteUI/igniteui-angular-samples/repository.git"
4141
},
4242
"dependencies": {
43-
"@angular/animations": "^13.2.1",
44-
"@angular/cdk": "^13.1.1",
45-
"@angular/common": "^13.2.1",
46-
"@angular/compiler": "^13.2.1",
47-
"@angular/core": "^13.2.1",
48-
"@angular/forms": "^13.2.1",
49-
"@angular/localize": "^13.2.1",
50-
"@angular/material": "^13.1.1",
51-
"@angular/platform-browser": "^13.2.1",
52-
"@angular/platform-browser-dynamic": "^13.2.1",
53-
"@angular/router": "^13.2.1",
43+
"@angular/animations": "^14.0.0",
44+
"@angular/cdk": "^14.0.0",
45+
"@angular/common": "^14.0.0",
46+
"@angular/compiler": "^14.0.0",
47+
"@angular/core": "^14.0.0",
48+
"@angular/forms": "^14.0.0",
49+
"@angular/localize": "^14.0.0",
50+
"@angular/material": "^14.0.0",
51+
"@angular/platform-browser": "^14.0.0",
52+
"@angular/platform-browser-dynamic": "^14.0.0",
53+
"@angular/router": "^14.0.0",
5454
"@igniteui/material-icons-extended": "^2.10.0",
5555
"@microsoft/signalr": "^5.0.11",
56-
"@ng-bootstrap/ng-bootstrap": "^10.0.0",
56+
"@ng-bootstrap/ng-bootstrap": "^12.1.2",
5757
"@types/file-saver": "^2.0.2",
5858
"@types/hammerjs": "^2.0.39",
5959
"angular-in-memory-web-api": "0.9.0",
60-
"bootstrap": "^4.6.1",
60+
"bootstrap": "^5.1.3",
6161
"core-js": "2.6.2",
6262
"domino": "^2.1.4",
6363
"file-saver": "^2.0.2",
6464
"hammerjs": "^2.0.8",
65-
"igniteui-angular": "^13.2.0",
66-
"igniteui-angular-charts": "^12.1.1",
67-
"igniteui-angular-core": "^12.1.1",
65+
"igniteui-angular": "^14.0.0-beta.1",
66+
"igniteui-angular-charts": "^13.1.1",
67+
"igniteui-angular-core": "^13.1.1",
6868
"igniteui-angular-i18n": "^12.2.4",
6969
"igniteui-dockmanager": "^1.7.0",
7070
"igniteui-live-editing": "^1.1.3",
@@ -79,24 +79,24 @@
7979
"zone.js": "~0.11.4"
8080
},
8181
"devDependencies": {
82-
"@angular-devkit/build-angular": "^13.0.1",
83-
"@angular-eslint/builder": "^13.0.1",
84-
"@angular-eslint/eslint-plugin": "^13.0.1",
85-
"@angular-eslint/eslint-plugin-template": "^13.0.1",
86-
"@angular-eslint/schematics": "13.0.1",
87-
"@angular-eslint/template-parser": "^13.0.1",
88-
"@angular/cli": "^13.1.2",
89-
"@angular/compiler-cli": "^13.2.1",
90-
"@angular/language-service": "^13.2.1",
91-
"@igniteui/angular-schematics": "^13.0.904",
82+
"@angular-devkit/build-angular": "^14.0.0",
83+
"@angular-eslint/builder": "^14.0.0-alpha.0",
84+
"@angular-eslint/eslint-plugin": "^14.0.0-alpha.0",
85+
"@angular-eslint/eslint-plugin-template": "^14.0.0-alpha.0",
86+
"@angular-eslint/schematics": "14.0.0-alpha.0",
87+
"@angular-eslint/template-parser": "^14.0.0-alpha.0",
88+
"@angular/cli": "^14.0.0",
89+
"@angular/compiler-cli": "^14.0.0",
90+
"@angular/language-service": "^14.0.0",
91+
"@igniteui/angular-schematics": "^13.2.920",
9292
"@juggle/resize-observer": "^3.3.1",
9393
"@types/jasmine": "^3.10.2",
9494
"@types/jasminewd2": "^2.0.9",
9595
"@types/node": "^13.13.52",
9696
"@typescript-eslint/eslint-plugin": "5.3.0",
9797
"@typescript-eslint/parser": "5.3.0",
9898
"codelyzer": "^6.0.2",
99-
"eslint": "^8.2.0",
99+
"eslint": "^8.17.0",
100100
"eslint-plugin-import": "2.25.2",
101101
"eslint-plugin-jsdoc": "30.7.6",
102102
"eslint-plugin-prefer-arrow": "1.2.2",
@@ -112,10 +112,10 @@
112112
"karma-jasmine": "~3.3.0",
113113
"karma-jasmine-html-reporter": "^1.6.0",
114114
"protractor": "~7.0.0",
115-
"sass-embedded": "^1.0.0-beta.4",
115+
"sass-embedded": "^1.52.2",
116116
"sass.js": "0.11.1",
117117
"ts-node": "^8.8.1",
118-
"typescript": "4.4.4",
118+
"typescript": "4.7.3",
119119
"webpack-bundle-analyzer": "^4.5.0"
120120
}
121-
}
121+
}

projects/app-lob/src/app/grid-dynamic-chart-data/grid-dynamic-chart-data.module.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ import { FilterTypePipe, GridDynamicChartDataComponent, NamePipe } from './grid-
5151
GridDynamicChartDataRoutingModule
5252
],
5353
providers: [],
54-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
55-
entryComponents: [
56-
IgxDataChartComponent,
57-
IgxItemLegendComponent,
58-
IgxLegendComponent,
59-
IgxPieChartComponent
60-
]
54+
schemas: [CUSTOM_ELEMENTS_SCHEMA]
6155
})
6256
export class GridDynamicChartDataModule {}

projects/app-lob/src/app/grid-finjs-dock-manager/grid-finjs-dock-manager.module.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ import { DockSlotComponent, GridHostDirective } from './dock-slot.component';
2929
IgxTabsModule
3030
],
3131
providers: [],
32-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
33-
entryComponents: [
34-
IgxGridComponent,
35-
DockSlotComponent
36-
]
32+
schemas: [CUSTOM_ELEMENTS_SCHEMA]
3733
})
3834
export class GridFinJSDockManagerModule { }

projects/app-lob/src/app/grid/grids.module.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,6 @@ import { GridsDVRoutingModule } from './grids-routing.module';
8282
IgxDataChartScatterModule,
8383
IgxBarSeriesModule,
8484
IgxCategoryChartModule
85-
],
86-
entryComponents: [
87-
IgxDoughnutChartComponent,
88-
IgxDataChartComponent,
89-
IgxCategoryXAxisComponent,
90-
IgxNumericYAxisComponent,
91-
IgxItemLegendComponent,
92-
IgxLegendComponent,
93-
IgxNumericXAxisComponent,
94-
IgxPieChartComponent
9585
]
9686
})
9787
export class GridsDVModule { }

src/app/data-entries/radio/radio-group-sample/radio-group-sample.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import { Component } from '@angular/core';
2-
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
2+
import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';
33

44
@Component({
55
selector: 'app-radio-group-sample',
66
styleUrls: ['./radio-group-sample.component.scss'],
77
templateUrl: './radio-group-sample.component.html'
88
})
99
export class RadioGroupSampleComponent {
10-
public fruitsForm: FormGroup;
10+
public fruitsForm: UntypedFormGroup;
1111
public fruits = ['Apple', 'Mango', 'Banana', 'Orange'];
1212
public newModel: FruitData;
1313
public model: FruitData;
1414

15-
constructor(private _formBuilder: FormBuilder) {
15+
constructor(private _formBuilder: UntypedFormBuilder) {
1616
// Simulate getting data from external service
1717
this.model = {
1818
favFruit: this.fruits[0],

src/app/how-to/reactive-forms/reactive-forms.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component } from '@angular/core';
2-
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
2+
import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';
33

44
@Component({
55
selector: 'app-reactive-form',
@@ -8,14 +8,14 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
88
})
99
export class ReactiveFormsSampleComponent {
1010
public genres = [];
11-
public user: FormGroup;
11+
public user: UntypedFormGroup;
1212
public minTime = '06:15:30';
1313
public maxTime = '09:15:30';
1414
public minDate = new Date();
1515
public maxDate = new Date(new Date(this.minDate.getFullYear(), this.minDate.getMonth(), this.minDate.getDate() + 14));
1616

1717

18-
constructor(fb: FormBuilder) {
18+
constructor(fb: UntypedFormBuilder) {
1919
this.user = fb.group({
2020
date: ['', Validators.required],
2121
time: ['', Validators.required],

src/app/interactions/interactions.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ import { TooltipStyleComponent } from './tooltip/tooltip-style/tooltip-style.com
130130
DialogStylingSampleComponent,
131131
TooltipStyleComponent
132132
],
133-
entryComponents: [MyDynamicCardComponent],
134133
imports: [
135134
CommonModule,
136135
FormsModule,

src/app/layouts/stepper/stepper-overview-sample/stepper-overview-sample.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ChangeDetectorRef, Component, ViewChild } from '@angular/core';
2-
import { FormGroup } from '@angular/forms';
2+
import { UntypedFormGroup } from '@angular/forms';
33
import { IgxStepperComponent } from 'igniteui-angular';
44

55
@Component({
@@ -83,7 +83,7 @@ export class StepperOverviewSampleComponent {
8383
this.stepper.next();
8484
}
8585

86-
public resetStepper(form1: FormGroup, form2: FormGroup, form3: FormGroup): void {
86+
public resetStepper(form1: UntypedFormGroup, form2: UntypedFormGroup, form3: UntypedFormGroup): void {
8787
this.stepper.reset();
8888
this.selectedCard = null;
8989
form1.reset();

0 commit comments

Comments
 (0)