chore: update angular dependencies

This commit is contained in:
4gray committed 2026-02-20 08:22:50 +01:00
1 parent 0b05c07462
commit fae4c44804
9 files changed
+1508 -1208

No files matched your search

@@ -1,10 +1,9 @@
import { CommonModule } from '@angular/common';
import { Component, inject } from '@angular/core';
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { MatProgressBar } from '@angular/material/progress-bar';
import { MatTooltip } from '@angular/material/tooltip';
import { TranslateModule } from '@ngx-translate/core';
import { TranslatePipe } from '@ngx-translate/core';
import {
EpgImportProgress,
EpgProgressService,
@@ -14,12 +13,11 @@ import {
selector: 'app-epg-progress-panel',
standalone: true,
imports: [
CommonModule,
MatButtonModule,
MatIconModule,
MatTooltip,
MatProgressBar,
TranslateModule,
TranslatePipe,
],
templateUrl: './epg-progress-panel.component.html',
styleUrl: './epg-progress-panel.component.scss',
@@ -151,7 +151,7 @@ export class RecentlyViewedComponent {
const playlist = this.currentPlaylist();
if (!playlist?._id) return;
const state = this.router.getCurrentNavigation()?.extras?.state
const state = this.router.currentNavigation()?.extras?.state
?? window.history.state;
const item = state?.openRecentItem;
if (!item || !RecentlyViewedComponent.isCategoryType(item.category_id)) {
@@ -1,5 +1,5 @@
import { ScrollingModule } from '@angular/cdk/scrolling';
import { CommonModule } from '@angular/common';
import {
ChangeDetectionStrategy,
Component,
@@ -31,14 +31,13 @@ export interface EnrichedChannel extends Channel {
styleUrls: ['./all-channels-tab.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [
ChannelListItemComponent,
CommonModule,
MatFormFieldModule,
MatIconModule,
MatInputModule,
ScrollingModule,
TranslatePipe,
],
ChannelListItemComponent,
MatFormFieldModule,
MatIconModule,
MatInputModule,
ScrollingModule,
TranslatePipe
],
})
export class AllChannelsTabComponent implements OnDestroy {
/** All channels (will be filtered by search) */
@@ -1,4 +1,4 @@
import { CommonModule } from '@angular/common';
import { Component, input, output } from '@angular/core';
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
@@ -8,11 +8,10 @@ import { NgxSkeletonLoaderComponent } from 'ngx-skeleton-loader';
selector: 'app-content-hero',
standalone: true,
imports: [
CommonModule,
MatIconModule,
MatButtonModule,
NgxSkeletonLoaderComponent,
],
MatIconModule,
MatButtonModule,
NgxSkeletonLoaderComponent
],
templateUrl: './content-hero.component.html',
styleUrls: ['./content-hero.component.scss'],
})
@@ -1,5 +1,5 @@
import { OverlayRef } from '@angular/cdk/overlay';
import { CommonModule } from '@angular/common';
import {
AfterViewInit,
ChangeDetectionStrategy,
@@ -38,13 +38,12 @@ interface EnrichedChannel extends EpgChannel {
@Component({
imports: [
CommonModule,
MatButtonModule,
MatIcon,
MatTooltip,
MomentDatePipe,
TranslatePipe,
],
MatButtonModule,
MatIcon,
MatTooltip,
MomentDatePipe,
TranslatePipe
],
selector: 'app-multi-epg-container',
templateUrl: './multi-epg-container.component.html',
styleUrls: ['./multi-epg-container.component.scss'],
@@ -43,13 +43,14 @@
[value]="item"
(click)="itemClicked.emit(item)"
>
<img
matListItemAvatar
class="stream-icon"
*ngIf="item.stream_icon"
[src]="item.stream_icon"
alt="channel icon"
/>
@if (item.stream_icon) {
<img
matListItemAvatar
class="stream-icon"
[src]="item.stream_icon"
alt="channel icon"
/>
}
<div class="title" matListItemTitle>
{{ item.name }}
</div>
@@ -1,5 +1,5 @@
import { ScrollingModule } from '@angular/cdk/scrolling';
import { NgIf } from '@angular/common';
import {
ChangeDetectionStrategy,
Component,
@@ -25,19 +25,18 @@ import { WebPlayerViewComponent } from '../web-player-view/web-player-view.compo
templateUrl: './live-stream-layout.component.html',
styleUrls: ['./live-stream-layout.component.scss'],
imports: [
EpgViewComponent,
FilterPipe,
FormsModule,
MatListModule,
MatIconModule,
MatInputModule,
MatFormFieldModule,
NgIf,
ResizableDirective,
ScrollingModule,
WebPlayerViewComponent,
TranslateModule,
],
EpgViewComponent,
FilterPipe,
FormsModule,
MatListModule,
MatIconModule,
MatInputModule,
MatFormFieldModule,
ResizableDirective,
ScrollingModule,
WebPlayerViewComponent,
TranslateModule
],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class LiveStreamLayoutComponent {
+41 -41
View File
@@ -37,24 +37,24 @@
"private": true,
"packageManager": "pnpm@10.17.1",
"dependencies": {
"@angular/animations": "^20.3.10",
"@angular/cdk": "^20.2.12",
"@angular/common": "~20.3.10",
"@angular/compiler": "~20.3.10",
"@angular/core": "~20.3.10",
"@angular/forms": "~20.3.10",
"@angular/material": "^20.2.12",
"@angular/platform-browser": "~20.3.10",
"@angular/platform-browser-dynamic": "~20.3.10",
"@angular/router": "~20.3.10",
"@ngrx/component-store": "20.0.0",
"@ngrx/effects": "20.0.0",
"@ngrx/entity": "20.0.0",
"@ngrx/router-store": "20.0.0",
"@ngrx/signals": "20.0.0",
"@ngrx/store": "20.0.0",
"@ngrx/store-devtools": "20.0.0",
"@ngx-pwa/local-storage": "20.0.0",
"@angular/animations": "21.1.5",
"@angular/cdk": "^21.1.5",
"@angular/common": "~21.1.5",
"@angular/compiler": "~21.1.5",
"@angular/core": "~21.1.5",
"@angular/forms": "~21.1.5",
"@angular/material": "^21.1.5",
"@angular/platform-browser": "~21.1.5",
"@angular/platform-browser-dynamic": "~21.1.5",
"@angular/router": "~21.1.5",
"@ngrx/component-store": "21.0.1",
"@ngrx/effects": "21.0.1",
"@ngrx/entity": "21.0.1",
"@ngrx/router-store": "21.0.1",
"@ngrx/signals": "21.0.1",
"@ngrx/store": "21.0.1",
"@ngrx/store-devtools": "21.0.1",
"@ngx-pwa/local-storage": "21.0.0",
"@videojs/http-streaming": "2.15.0",
"@yangkghjh/videojs-aspect-ratio-panel": "0.0.1",
"angularx-qrcode": "21.0.4",
@@ -83,31 +83,31 @@
"zone.js": "~0.15.1"
},
"devDependencies": {
"@angular-devkit/core": "~20.3.9",
"@angular-devkit/schematics": "~20.3.9",
"@angular-eslint/builder": "20.5.2",
"@angular-eslint/eslint-plugin": "20.5.2",
"@angular-eslint/eslint-plugin-template": "20.5.2",
"@angular-eslint/schematics": "20.5.2",
"@angular-eslint/template-parser": "20.5.2",
"@angular/build": "~20.3.9",
"@angular/cli": "~20.3.9",
"@angular/common": "20.3.10",
"@angular/compiler": "20.3.10",
"@angular/compiler-cli": "~20.3.10",
"@angular/core": "20.3.10",
"@angular/forms": "20.3.10",
"@angular/language-service": "~20.3.10",
"@angular/platform-browser": "20.3.10",
"@angular/platform-browser-dynamic": "20.3.10",
"@angular/router": "20.3.10",
"@angular/service-worker": "20.3.10",
"@angular-devkit/core": "~21.1.4",
"@angular-devkit/schematics": "~21.1.4",
"@angular-eslint/builder": "21.2.0",
"@angular-eslint/eslint-plugin": "21.2.0",
"@angular-eslint/eslint-plugin-template": "21.2.0",
"@angular-eslint/schematics": "21.2.0",
"@angular-eslint/template-parser": "21.2.0",
"@angular/build": "~21.1.4",
"@angular/cli": "~21.1.4",
"@angular/common": "21.1.5",
"@angular/compiler": "21.1.5",
"@angular/compiler-cli": "21.1.5",
"@angular/core": "21.1.5",
"@angular/forms": "21.1.5",
"@angular/language-service": "21.1.5",
"@angular/platform-browser": "21.1.5",
"@angular/platform-browser-dynamic": "21.1.5",
"@angular/router": "21.1.5",
"@angular/service-worker": "21.1.5",
"@astrojs/mdx": "4.3.13",
"@astrojs/sitemap": "3.7.0",
"@astrojs/tailwind": "6.0.2",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "^9.38.0",
"@ngrx/eslint-plugin": "^20.0.0",
"@ngrx/eslint-plugin": "^21.0.1",
"@ngx-translate/core": "16.0.4",
"@ngx-translate/http-loader": "16.0.1",
"@nx/angular": "22.5.1",
@@ -120,7 +120,7 @@
"@nx/web": "22.5.1",
"@nx/workspace": "22.5.1",
"@playwright/test": "^1.36.0",
"@schematics/angular": "~20.1.0",
"@schematics/angular": "~21.1.4",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/npm": "12.0.1",
@@ -157,10 +157,10 @@
"jest-preset-angular": "~15.0.0",
"jest-util": "^30.0.2",
"jsonc-eslint-parser": "^2.1.0",
"ng-mocks": "14.14.0",
"ng-mocks": "14.15.1",
"nx": "22.5.1",
"nx-electron": "^21.0.1",
"prettier": "^3.6.2",
"prettier": "^3.8.1",
"semantic-release": "24.2.9",
"sharp": "0.34.5",
"tailwindcss": "^3.4.19",
+1423 -1118
View File
File diff suppressed because it is too large. Load diff