using DeepDrftModels.DTOs;
using Microsoft.AspNetCore.Components;
namespace DeepDrftPublic.Client.Controls.AudioPlayerBar;
///
/// Centre zone of the player: the over the now-playing metadata row
/// (). The seeker owns the pointer-gesture seek logic and reads playback
/// state off the cascaded player service directly; this zone just forwards the seek callbacks up to
/// (whose wiring is unchanged) and renders the current track's metadata.
///
public partial class PlayerSeekZone : ComponentBase
{
[Parameter] public TrackDto? CurrentTrack { get; set; }
[Parameter] public EventCallback OnSeekStart { get; set; }
[Parameter] public EventCallback OnSeekEnd { get; set; }
[Parameter] public EventCallback OnSeekChange { get; set; }
[Parameter] public string? Class { get; set; }
}