mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-13 04:26:16 -08:00
- Added `StalkerSearchComponent` for searching VOD and series content. - Integrated search form and results grid with loading states. - Implemented item selection and details display for VOD and series. - Created a new `StalkerShellComponent` for navigation and routing. - Established routing for Stalker module with nested routes for VOD, series, and favorites. - Introduced a centralized `StalkerStore` for managing state and API interactions. - Enhanced `StalkerSeriesViewComponent` to display detailed information about selected series. - Updated styles for improved layout and user experience.
41 lines
1.3 KiB
HTML
41 lines
1.3 KiB
HTML
@if (itemDetails) {
|
|
<button
|
|
mat-button
|
|
(click)="itemDetails = null"
|
|
[attr.aria-label]="'SETTINGS.BACK_TO_HOME' | translate"
|
|
class="back-button"
|
|
>
|
|
<mat-icon>arrow_back</mat-icon>
|
|
{{ 'SETTINGS.BACK_TO_HOME' | translate }}
|
|
</button>
|
|
@switch (itemDetails.category_id) {
|
|
@case ('vod') {
|
|
<app-vod-details
|
|
[item]="itemDetails"
|
|
(playClicked)="
|
|
createLinkToPlayVodItv(
|
|
itemDetails.cmd,
|
|
itemDetails.info.name,
|
|
itemDetails.info.movie_image
|
|
)
|
|
"
|
|
(addToFavoritesClicked)="addToFavorites($event)"
|
|
(removeFromFavoritesClicked)="removeFromFavorites($event)"
|
|
/>
|
|
}
|
|
@case ('series') {
|
|
<app-stalker-series-view />
|
|
}
|
|
}
|
|
} @else {
|
|
<app-favorites-layout
|
|
[categories]="categories() ?? []"
|
|
[favorites]="itemsToShow() ?? []"
|
|
[selectedCategoryId]="selectedCategoryId()"
|
|
(categoryClicked)="setCategoryId($event.category_id)"
|
|
(removeFromFavorites)="removeFromRecentlyViewed($event)"
|
|
[titleTranslationString]="'PORTALS.SIDEBAR.RECENT'"
|
|
(openItem)="openItem($event)"
|
|
/>
|
|
}
|