mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-09 01:16:15 -08:00
fix(deps): complete Angular migrations after rebasing on master
This commit is contained in:
1 parent
cbf305703e
commit
897a7ef1dd
9 files changed
+55
-11
No files matched your search
@@ -5,6 +5,7 @@
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"ignoreDeprecations": "6.0"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -8,7 +8,7 @@ RUN apk add --no-cache python3 make g++ git
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY .npmrc ./
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY patches ./patches
|
||||
|
||||
# Node 25 unbundled Corepack, so `corepack enable` cannot be the way pnpm gets
|
||||
|
||||
@@ -7,6 +7,7 @@ import {
|
||||
output,
|
||||
signal,
|
||||
untracked,
|
||||
ChangeDetectionStrategy,
|
||||
} from '@angular/core';
|
||||
import { MatIcon } from '@angular/material/icon';
|
||||
import { TranslatePipe } from '@ngx-translate/core';
|
||||
@@ -59,6 +60,7 @@ import { M3uVodMetadataService } from './m3u-vod-metadata.service';
|
||||
TranslatePipe,
|
||||
],
|
||||
templateUrl: './m3u-vod-detail.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrls: ['./m3u-vod-detail.component.scss'],
|
||||
})
|
||||
export class M3uVodDetailComponent {
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
import { Component, DestroyRef, computed, effect, inject } from '@angular/core';
|
||||
import {
|
||||
Component,
|
||||
DestroyRef,
|
||||
computed,
|
||||
effect,
|
||||
inject,
|
||||
ChangeDetectionStrategy,
|
||||
} from '@angular/core';
|
||||
import { DatePipe } from '@angular/common';
|
||||
import {
|
||||
MAT_DIALOG_DATA,
|
||||
@@ -107,7 +114,9 @@ export interface SourceCleanupDialogData extends SourceCleanupContext {
|
||||
@if (entry.status === 'ready') {
|
||||
<span>{{
|
||||
'SOURCE_HEALTH.REASON.' +
|
||||
entry.health?.reason | translate
|
||||
$safeNavigationMigration(
|
||||
entry.health?.reason
|
||||
) | translate
|
||||
}}</span>
|
||||
} @else {
|
||||
<span>{{
|
||||
@@ -117,8 +126,9 @@ export interface SourceCleanupDialogData extends SourceCleanupContext {
|
||||
}
|
||||
@if (entry.health?.checkedAt) {
|
||||
<time>{{
|
||||
entry.health?.checkedAt
|
||||
| date: 'shortTime'
|
||||
$safeNavigationMigration(
|
||||
entry.health?.checkedAt
|
||||
) | date: 'shortTime'
|
||||
}}</time>
|
||||
}
|
||||
@if (entry.warning) {
|
||||
@@ -170,6 +180,7 @@ export interface SourceCleanupDialogData extends SourceCleanupContext {
|
||||
</button>
|
||||
}
|
||||
</mat-dialog-actions>`,
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styles: [
|
||||
`
|
||||
:host {
|
||||
|
||||
@@ -6,6 +6,7 @@ import {
|
||||
inject,
|
||||
input,
|
||||
untracked,
|
||||
ChangeDetectionStrategy,
|
||||
} from '@angular/core';
|
||||
import { MatTooltip } from '@angular/material/tooltip';
|
||||
import { TranslateService } from '@ngx-translate/core';
|
||||
@@ -28,6 +29,7 @@ import { PlaylistMeta, sourceHealthType } from '@iptvnator/shared/interfaces';
|
||||
role="img"
|
||||
></span>
|
||||
}`,
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styles: [
|
||||
`
|
||||
:host {
|
||||
|
||||
+17
-2
@@ -1,6 +1,13 @@
|
||||
import { EpgArchiveDownloadService } from '@iptvnator/ui/epg';
|
||||
import { EpgArchiveCopyService } from '@iptvnator/ui/epg';
|
||||
import { Component, Directive, input, output, signal } from '@angular/core';
|
||||
import {
|
||||
Component,
|
||||
Directive,
|
||||
input,
|
||||
output,
|
||||
signal,
|
||||
ChangeDetectionStrategy,
|
||||
} from '@angular/core';
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { ActivatedRoute, Router, convertToParamMap } from '@angular/router';
|
||||
@@ -40,6 +47,7 @@ import { LiveStreamLayoutComponent } from './live-stream-layout.component';
|
||||
@Component({
|
||||
selector: 'app-portal-channels-list',
|
||||
standalone: true,
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
template: '',
|
||||
})
|
||||
class StubPortalChannelsListComponent {
|
||||
@@ -56,13 +64,19 @@ class StubPortalChannelsListComponent {
|
||||
@Component({
|
||||
selector: 'app-channel-list-hidden-state',
|
||||
standalone: true,
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
template: '<div data-test-id="hidden-state-stub"></div>',
|
||||
})
|
||||
class StubChannelListHiddenStateComponent {
|
||||
readonly restore = output<void>();
|
||||
}
|
||||
|
||||
@Component({ selector: 'app-grid-list', standalone: true, template: '' })
|
||||
@Component({
|
||||
selector: 'app-grid-list',
|
||||
standalone: true,
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
template: '',
|
||||
})
|
||||
class StubGridListComponent {
|
||||
readonly items = input<unknown[]>([]);
|
||||
readonly isLoading = input(false);
|
||||
@@ -75,6 +89,7 @@ class StubGridListComponent {
|
||||
@Component({
|
||||
selector: 'app-web-player-view, app-epg-timeline, app-epg-list-view',
|
||||
standalone: true,
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
template: '',
|
||||
})
|
||||
class StubPassiveComponent {}
|
||||
|
||||
+8
-1
@@ -1,4 +1,10 @@
|
||||
import { Component, computed, inject, signal } from '@angular/core';
|
||||
import {
|
||||
Component,
|
||||
computed,
|
||||
inject,
|
||||
signal,
|
||||
ChangeDetectionStrategy,
|
||||
} from '@angular/core';
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
import {
|
||||
ActivatedRoute,
|
||||
@@ -19,6 +25,7 @@ const other = { xtream_id: 3, category_id: '20', title: 'Other' };
|
||||
|
||||
@Component({
|
||||
template: '',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
providers: [XtreamLiveChannelNavigationService],
|
||||
})
|
||||
class NavigationHostComponent {
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
"noImplicitOverride": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noPropertyAccessFromIndexSignature": true
|
||||
"noPropertyAccessFromIndexSignature": true,
|
||||
"ignoreDeprecations": "6.0"
|
||||
},
|
||||
"files": [],
|
||||
"include": [],
|
||||
|
||||
+6
-1
@@ -5,6 +5,7 @@ import {
|
||||
input,
|
||||
output,
|
||||
signal,
|
||||
ChangeDetectionStrategy,
|
||||
} from '@angular/core';
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
@@ -29,6 +30,7 @@ import { WorkspaceLiveCategoriesPopoverService } from './workspace-live-categori
|
||||
<button data-test-id="stub-pick" (click)="categorySelected.emit()">
|
||||
pick
|
||||
</button>`,
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
standalone: true,
|
||||
})
|
||||
class StubWorkspaceContextPanelComponent {
|
||||
@@ -82,7 +84,10 @@ describe('WorkspaceLiveCategoriesPopoverService', () => {
|
||||
provide: LIVE_CATEGORIES_POPOVER,
|
||||
useExisting: WorkspaceLiveCategoriesPopoverService,
|
||||
},
|
||||
{ provide: WorkspaceShellContextDrawerService, useValue: drawer },
|
||||
{
|
||||
provide: WorkspaceShellContextDrawerService,
|
||||
useValue: drawer,
|
||||
},
|
||||
{
|
||||
provide: Router,
|
||||
useValue: { events: routerEvents.asObservable() },
|
||||
|
||||
Reference in new issue
Block a user