Angular v19

This commit is contained in:
filip.kranjec 2025-08-14 14:57:48 +02:00
parent c966b817dc
commit ff3c70dab6
6 changed files with 2954 additions and 2096 deletions

4990
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -11,24 +11,24 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^18.2.13", "@angular/animations": "^19.2.14",
"@angular/common": "^18.2.13", "@angular/common": "^19.2.14",
"@angular/compiler": "^18.2.13", "@angular/compiler": "^19.2.14",
"@angular/core": "^18.2.13", "@angular/core": "^19.2.14",
"@angular/forms": "^18.2.13", "@angular/forms": "^19.2.14",
"@angular/platform-browser": "^18.2.13", "@angular/platform-browser": "^19.2.14",
"@angular/platform-browser-dynamic": "^18.2.13", "@angular/platform-browser-dynamic": "^19.2.14",
"@angular/router": "^18.2.13", "@angular/router": "^19.2.14",
"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.14.10" "zone.js": "~0.15.1"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^18.2.20", "@angular-devkit/build-angular": "^19.2.15",
"@angular/cli": "^18.2.20", "@angular/cli": "^19.2.15",
"@angular/compiler-cli": "^18.2.13", "@angular/compiler-cli": "^19.2.14",
"@angular/language-service": "^18.2.13", "@angular/language-service": "^19.2.14",
"@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",
@ -41,6 +41,6 @@
"protractor": "^7.0.0", "protractor": "^7.0.0",
"ts-node": "~7.0.0", "ts-node": "~7.0.0",
"tslint": "~6.1.3", "tslint": "~6.1.3",
"typescript": "~5.4.5" "typescript": "~5.8.3"
} }
} }

View file

@ -2,9 +2,10 @@ import { Component, OnInit } from '@angular/core';
import { Title, Meta } from '@angular/platform-browser'; import { Title, Meta } from '@angular/platform-browser';
@Component({ @Component({
selector: 'app-root', selector: 'app-root',
templateUrl: './app.component.html', templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'] styleUrls: ['./app.component.scss'],
standalone: false
}) })
export class AppComponent implements OnInit{ export class AppComponent implements OnInit{
title = 'TFTPaths'; title = 'TFTPaths';

View file

@ -1,9 +1,10 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
@Component({ @Component({
selector: 'app-layout', selector: 'app-layout',
templateUrl: './layout.component.html', templateUrl: './layout.component.html',
styleUrls: ['./layout.component.scss'] styleUrls: ['./layout.component.scss'],
standalone: false
}) })
export class LayoutComponent implements OnInit { export class LayoutComponent implements OnInit {

View file

@ -5,10 +5,11 @@ import { DomSanitizer } from '@angular/platform-browser';
import { Champion } from '@models/champion'; import { Champion } from '@models/champion';
@Component({ @Component({
selector: 'app-card', selector: 'app-card',
templateUrl: './card.component.html', templateUrl: './card.component.html',
styleUrls: ['./card.component.scss'] styleUrls: ['./card.component.scss'],
standalone: false
}) })
export class CardComponent{ export class CardComponent{

View file

@ -11,10 +11,11 @@ import { DataToShare } from '@models/dataToShare';
@Component({ @Component({
selector: 'app-pool', selector: 'app-pool',
templateUrl: './pool.component.html', templateUrl: './pool.component.html',
styleUrls: ['./pool.component.scss'] styleUrls: ['./pool.component.scss'],
standalone: false
}) })
export class PoolComponent implements OnInit, OnDestroy { export class PoolComponent implements OnInit, OnDestroy {