Angular v14
This commit is contained in:
parent
fd04414c17
commit
f2b1997b1a
5 changed files with 1781 additions and 1571 deletions
|
|
@ -114,6 +114,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}},
|
}
|
||||||
"defaultProject": "TFTPaths"
|
}
|
||||||
}
|
}
|
||||||
3314
package-lock.json
generated
3314
package-lock.json
generated
File diff suppressed because it is too large
Load diff
24
package.json
24
package.json
|
|
@ -11,24 +11,24 @@
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^13.4.0",
|
"@angular/animations": "^14.3.0",
|
||||||
"@angular/common": "^13.4.0",
|
"@angular/common": "^14.3.0",
|
||||||
"@angular/compiler": "^13.4.0",
|
"@angular/compiler": "^14.3.0",
|
||||||
"@angular/core": "^13.4.0",
|
"@angular/core": "^14.3.0",
|
||||||
"@angular/forms": "^13.4.0",
|
"@angular/forms": "^14.3.0",
|
||||||
"@angular/platform-browser": "^13.4.0",
|
"@angular/platform-browser": "^14.3.0",
|
||||||
"@angular/platform-browser-dynamic": "^13.4.0",
|
"@angular/platform-browser-dynamic": "^14.3.0",
|
||||||
"@angular/router": "^13.4.0",
|
"@angular/router": "^14.3.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"rxjs": "~6.6.7",
|
"rxjs": "~6.6.7",
|
||||||
"tslib": "^1.14.1",
|
"tslib": "^1.14.1",
|
||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^13.3.11",
|
"@angular-devkit/build-angular": "^14.2.13",
|
||||||
"@angular/cli": "^13.3.11",
|
"@angular/cli": "^14.2.13",
|
||||||
"@angular/compiler-cli": "^13.4.0",
|
"@angular/compiler-cli": "^14.3.0",
|
||||||
"@angular/language-service": "^13.4.0",
|
"@angular/language-service": "^14.3.0",
|
||||||
"@types/jasmine": "~3.3.8",
|
"@types/jasmine": "~3.3.8",
|
||||||
"@types/jasminewd2": "^2.0.8",
|
"@types/jasminewd2": "^2.0.8",
|
||||||
"@types/jest": "^27.0.2",
|
"@types/jest": "^27.0.2",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { Component, OnDestroy, OnInit } from '@angular/core';
|
import { Component, OnDestroy, OnInit } from '@angular/core';
|
||||||
import { FormBuilder, FormGroup } from '@angular/forms';
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
||||||
|
|
||||||
import { Champion } from '@models/champion';
|
import { Champion } from '@models/champion';
|
||||||
import { Bonus } from '@models/bonus';
|
import { Bonus } from '@models/bonus';
|
||||||
|
|
@ -18,7 +18,7 @@ import { DataToShare } from '@models/dataToShare';
|
||||||
})
|
})
|
||||||
|
|
||||||
export class PoolComponent implements OnInit, OnDestroy {
|
export class PoolComponent implements OnInit, OnDestroy {
|
||||||
formFilters: FormGroup;
|
formFilters: UntypedFormGroup;
|
||||||
bonusesPool: Bonus[] = [];
|
bonusesPool: Bonus[] = [];
|
||||||
champions: Champion[] = [];
|
champions: Champion[] = [];
|
||||||
noChampSelected = true;
|
noChampSelected = true;
|
||||||
|
|
@ -30,7 +30,7 @@ export class PoolComponent implements OnInit, OnDestroy {
|
||||||
|
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private fb: FormBuilder,
|
private fb: UntypedFormBuilder,
|
||||||
private poolService: PoolService
|
private poolService: PoolService
|
||||||
) {
|
) {
|
||||||
this.subscription = this.poolService.setChampions().subscribe( (data: DataToShare) => {
|
this.subscription = this.poolService.setChampions().subscribe( (data: DataToShare) => {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"target": "es2015",
|
"target": "es2020",
|
||||||
"typeRoots": [
|
"typeRoots": [
|
||||||
"node_modules/@types"
|
"node_modules/@types"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue