@ngxsplayer/ngx-smart-player-ui-audio 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1086 @@
1
+ import * as i0 from "@angular/core";
2
+ import { AfterViewChecked, EventEmitter } from "@angular/core";
3
+ import { EngineFactory, PlayerConfig, PlayerPlugin, PlayerPorts, PlayerState, SmartCompactMode, SmartPlayerIconName, SmartPlayerProgress, SmartSettingAction, SmartSettingChange, SmartSettingsSection } from "@ngxsplayer/ngx-smart-player";
4
+ declare namespace audio_player_ui_component_d_exports {
5
+ export { AudioUiBrowseChip, AudioUiBrowseSection, AudioUiDeviceItem, AudioUiLanguageOption, AudioUiListItem, AudioUiLyricsLine, AudioUiLyricsPanel, AudioUiPanelTab, AudioUiPlaybackIntent, AudioUiPlaylistOption, AudioUiServerDiscovery, AudioUiServerForm, AudioUiServerKind, AudioUiStationForm, AudioUiStatusKind, NgxSmartPlayerAudioUiComponent };
6
+ }
7
+ export interface AudioUiListItem {
8
+ id: string;
9
+ title: string;
10
+ subtitle?: string;
11
+ meta?: string;
12
+ artist?: string;
13
+ album?: string;
14
+ genre?: string;
15
+ duration?: string;
16
+ artworkUrl?: string;
17
+ favorite?: boolean;
18
+ /** Whether this track is kept behind the lock. Only ever true while the vault is open to show it. */
19
+ locked?: boolean;
20
+ lastPlayedLabel?: string;
21
+ progressPercent?: number;
22
+ active?: boolean;
23
+ }
24
+ /** Form shown above a library view, to add a station by its address. */
25
+ export interface AudioUiStationForm {
26
+ title: string;
27
+ namePlaceholder: string;
28
+ urlPlaceholder: string;
29
+ submitLabel: string;
30
+ hint?: string;
31
+ }
32
+ /** A server type of the connection form. */
33
+ export interface AudioUiServerKind {
34
+ id: string;
35
+ label: string;
36
+ /** False for servers without accounts (DLNA): the user name and password fields are hidden. */
37
+ credentials?: boolean;
38
+ /** Placeholder of the address field for this type. */
39
+ addressPlaceholder?: string;
40
+ /** The app can look for servers of this type on the local network. */
41
+ discoverable?: boolean;
42
+ }
43
+ export interface AudioUiServerDiscovery {
44
+ searchLabel: string;
45
+ searchingLabel: string;
46
+ connectLabel: string;
47
+ /** Shown after a search that found nothing. */
48
+ emptyLabel?: string;
49
+ busy?: boolean;
50
+ servers: Array<{
51
+ id: string;
52
+ name: string;
53
+ subtitle?: string;
54
+ }>;
55
+ }
56
+ /** Form shown above a library view, to connect a media server. */
57
+ export interface AudioUiServerForm {
58
+ title: string;
59
+ /** Server types to choose from; the first one is selected by default. */
60
+ kinds?: AudioUiServerKind[];
61
+ kindLabel?: string;
62
+ addressPlaceholder: string;
63
+ usernamePlaceholder: string;
64
+ passwordPlaceholder: string;
65
+ submitLabel: string;
66
+ hint?: string;
67
+ busy?: boolean;
68
+ /** Servers found on the local network, for the kinds marked `discoverable`. */
69
+ discovery?: AudioUiServerDiscovery;
70
+ }
71
+ export interface AudioUiBrowseChip {
72
+ id: string;
73
+ label: string;
74
+ count?: number;
75
+ active?: boolean;
76
+ }
77
+ export interface AudioUiBrowseSection {
78
+ id: string;
79
+ title: string;
80
+ layout?: 'list' | 'cards';
81
+ items: AudioUiListItem[];
82
+ }
83
+ export interface AudioUiDeviceItem {
84
+ id: string;
85
+ name: string;
86
+ subtitle?: string;
87
+ active?: boolean;
88
+ /** The play button's text, for devices where it does something else (another app: "Transfer"). */
89
+ actionLabel?: string;
90
+ /** False where there is nothing to stop (another app takes playback over for good). */
91
+ stoppable?: boolean;
92
+ }
93
+ export interface AudioUiPlaylistOption {
94
+ id: string;
95
+ name: string;
96
+ trackCount?: number;
97
+ }
98
+ export interface AudioUiLanguageOption {
99
+ id: string;
100
+ label: string;
101
+ }
102
+ export type AudioUiStatusKind = 'info' | 'success' | 'error';
103
+ export type AudioUiPlaybackIntent = 'play' | 'pause';
104
+ export type AudioUiPanelTab = 'queue' | 'playlists' | 'devices' | 'lyrics';
105
+ /** One line of lyrics; timed lines can be clicked to play from there, and the player follows them by itself. */
106
+ export interface AudioUiLyricsLine {
107
+ text: string;
108
+ timeSec?: number;
109
+ }
110
+ /** Lyrics of the playing track, timed when the source has them. */
111
+ export interface AudioUiLyricsPanel {
112
+ title: string;
113
+ /** Where they come from, or why there are none. */
114
+ status?: string;
115
+ lines: AudioUiLyricsLine[];
116
+ searchLabel?: string;
117
+ busy?: boolean;
118
+ /** Prefix of the label of a clickable line, e.g. "Play from". */
119
+ seekLabel?: string;
120
+ }
121
+ export declare class NgxSmartPlayerAudioUiComponent implements AfterViewChecked {
122
+ readonly visualizerBars: number[];
123
+ private readonly cdr;
124
+ private readonly host;
125
+ private readonly failedArtworkUrls;
126
+ config: PlayerConfig | null;
127
+ plugins: PlayerPlugin[];
128
+ ports?: Partial<PlayerPorts>;
129
+ engines?: EngineFactory[];
130
+ debug: boolean;
131
+ startTimeSec: number | null;
132
+ /** A music library opens silently; playback starts when the listener picks something. */
133
+ autoplayOnInit: boolean;
134
+ /** Incremented by the host when the listener picks something to play. */
135
+ playRequest: number;
136
+ canPrev: boolean;
137
+ canNext: boolean;
138
+ shuffleActive: boolean;
139
+ shuffleLabel: string;
140
+ repeatMode: 'off' | 'one' | 'all';
141
+ repeatLabel: string;
142
+ hasPlaylistControls: boolean;
143
+ castEnabled: boolean;
144
+ libraryViewsLabel: string;
145
+ transportLabel: string;
146
+ seekLabel: string;
147
+ libraryTitle: string;
148
+ libraryContentTitle: string;
149
+ /** "Back to Albums": shown above the title while something is open; null at the start of a view. */
150
+ backLabel: string | null;
151
+ libraryMeta: string;
152
+ libraryEyebrow: string;
153
+ searchPlaceholder: string;
154
+ searchLabel: string;
155
+ searchTerm: string;
156
+ libraryViews: AudioUiBrowseChip[];
157
+ activeLibraryView: string;
158
+ librarySections: AudioUiBrowseSection[];
159
+ queueTitle: string;
160
+ queueEyebrow: string;
161
+ tracksLabel: string;
162
+ titleColumnLabel: string;
163
+ artistColumnLabel: string;
164
+ albumColumnLabel: string;
165
+ timeColumnLabel: string;
166
+ nowPlayingLabel: string;
167
+ nowListeningLabel: string;
168
+ noTrackTitle: string;
169
+ miniPlayerLabel: string;
170
+ readyLabel: string;
171
+ selectTrackTitle: string;
172
+ selectTrackBody: string;
173
+ emptyLibraryLabel: string;
174
+ playlistsLabel: string;
175
+ hidePlaylistsLabel: string;
176
+ devicesLabel: string;
177
+ /** The window's size (desktop): the whole app, a floating mini player or a bottom strip. */
178
+ compactMode: SmartCompactMode;
179
+ /** True where the host can resize its window: shows the buttons that switch between the three. */
180
+ compactModes: boolean;
181
+ compactMiniLabel: string;
182
+ compactBarLabel: string;
183
+ compactRestoreLabel: string;
184
+ compactModeChange: EventEmitter<SmartCompactMode>;
185
+ /** Lyrics in the compact windows: a pane above the mini player, the line being sung in the bottom strip. */
186
+ compactLyrics: boolean;
187
+ compactLyricsLabel: string;
188
+ compactLyricsToggle: EventEmitter<void>;
189
+ /** The host app's logo in the title bar (an image URL); without it, a generic music tile. */
190
+ brandLogoSrc: string;
191
+ hideDevicesLabel: string;
192
+ previousLabel: string;
193
+ nextLabel: string;
194
+ playLabel: string;
195
+ pauseLabel: string;
196
+ stopLabel: string;
197
+ addLabel: string;
198
+ queueNextLabel: string;
199
+ queueAddLabel: string;
200
+ createLabel: string;
201
+ renameLabel: string;
202
+ deleteLabel: string;
203
+ saveLabel: string;
204
+ cancelLabel: string;
205
+ refreshLabel: string;
206
+ tracksCountLabel: string;
207
+ newPlaylistPlaceholder: string;
208
+ renamePlaylistPlaceholder: string;
209
+ remotePlaybackLabel: string;
210
+ emptyQueueLabel: string;
211
+ emptyPlaylistTargetsLabel: string;
212
+ selectTrackForPlaylistLabel: string;
213
+ addToPlaylistLabel: string;
214
+ playlistTargetLabel: string;
215
+ removeItemLabel: string;
216
+ emptyDevicesLabel: string;
217
+ currentDuration: string;
218
+ currentTrackId: string;
219
+ currentTitle: string;
220
+ currentSubtitle: string;
221
+ currentMeta: string;
222
+ currentArtworkUrl: string;
223
+ favoriteActive: boolean;
224
+ favoriteLabel: string;
225
+ /** Whether anything can be locked: there has to be a code to unlock with first. */
226
+ lockAvailable: boolean;
227
+ /** Whether a piece of a track can be made into a ringtone here. */
228
+ ringtoneAvailable: boolean;
229
+ ringtoneLabel: string;
230
+ lockLabel: string;
231
+ unlockLabel: string;
232
+ favoriteActiveLabel: string;
233
+ favoritesLabel: string;
234
+ queueItems: AudioUiListItem[];
235
+ currentTrackAvailable: boolean;
236
+ playlistOptions: AudioUiPlaylistOption[];
237
+ /** Track waiting to be filed, chosen from a library row; without it the playing track is the target. */
238
+ set playlistTargetTrack(track: {
239
+ id: string;
240
+ title: string;
241
+ } | null);
242
+ get playlistTargetTrack(): {
243
+ id: string;
244
+ title: string;
245
+ } | null;
246
+ private playlistTarget;
247
+ /** Items the listener may remove where they are shown: an own station, a track inside an open playlist. */
248
+ removableItemIds: readonly string[];
249
+ /** Shown above the library sections, to add a station by its address. */
250
+ stationForm: AudioUiStationForm | null;
251
+ /** The Settings view's sections, shown in place of the library while the host passes them. */
252
+ settingsSections: SmartSettingsSection[];
253
+ /** Shown above the library sections, to connect a media server. */
254
+ serverForm: AudioUiServerForm | null;
255
+ devicesOpen: boolean;
256
+ /** Lyrics of the playing track; the panel tab only appears when the host provides them. */
257
+ lyricsPanel: AudioUiLyricsPanel | null;
258
+ showDeviceButton: boolean;
259
+ deviceItems: AudioUiDeviceItem[];
260
+ closeLabel: string;
261
+ sourceChangeLabel: string;
262
+ sourceChangeTitle: string;
263
+ sourceDropTitle: string;
264
+ sourceDropHint: string;
265
+ sourceChangeAccept: string;
266
+ /** When set (desktop shell), the rail offers folder import and keeps single-file import as a secondary action. */
267
+ folderImportLabel: string;
268
+ libraryStatus: string;
269
+ libraryBusy: boolean;
270
+ languageLabel: string;
271
+ activeLanguage: string;
272
+ languageOptions: AudioUiLanguageOption[];
273
+ statusMessage: string;
274
+ statusKind: AudioUiStatusKind;
275
+ showResumeProgress: boolean;
276
+ outputVolume: number;
277
+ outputVolumeLabel: string;
278
+ outputMuteLabel: string;
279
+ outputUnmuteLabel: string;
280
+ ended: EventEmitter<void>;
281
+ videoSize: EventEmitter<{
282
+ width: number;
283
+ height: number;
284
+ }>;
285
+ progress: EventEmitter<SmartPlayerProgress>;
286
+ prev: EventEmitter<void>;
287
+ next: EventEmitter<void>;
288
+ toggleShuffle: EventEmitter<void>;
289
+ cycleRepeat: EventEmitter<void>;
290
+ cast: EventEmitter<void>;
291
+ subtitles: EventEmitter<void>;
292
+ selectLibraryView: EventEmitter<string>;
293
+ /** Back to the screen the open album, artist, genre or list came from (see `backLabel`). */
294
+ back: EventEmitter<void>;
295
+ settingChange: EventEmitter<SmartSettingChange>;
296
+ settingAction: EventEmitter<SmartSettingAction>;
297
+ selectLibraryItem: EventEmitter<string>;
298
+ /** Plays a whole card (album, artist, playlist). Falls back to `selectLibraryItem` when nobody listens. */
299
+ playLibraryItem: EventEmitter<string>;
300
+ addLibraryItemNext: EventEmitter<string>;
301
+ addLibraryItemToQueue: EventEmitter<string>;
302
+ selectQueueItem: EventEmitter<string>;
303
+ createPlaylist: EventEmitter<string>;
304
+ addCurrentToPlaylist: EventEmitter<string>;
305
+ addTrackToPlaylist: EventEmitter<{
306
+ trackId: string;
307
+ playlistId: string;
308
+ }>;
309
+ /** A library row asks to be filed: the host answers by setting `playlistTargetTrack`. */
310
+ requestPlaylistTarget: EventEmitter<string>;
311
+ cancelPlaylistTarget: EventEmitter<void>;
312
+ removeLibraryItem: EventEmitter<string>;
313
+ addStation: EventEmitter<{
314
+ name: string;
315
+ url: string;
316
+ }>;
317
+ connectServer: EventEmitter<{
318
+ kind?: string;
319
+ address: string;
320
+ username: string;
321
+ password: string;
322
+ }>;
323
+ /** Looks for servers of this kind on the local network. */
324
+ discoverServers: EventEmitter<string>;
325
+ connectDiscoveredServer: EventEmitter<string>;
326
+ renamePlaylist: EventEmitter<{
327
+ id: string;
328
+ name: string;
329
+ }>;
330
+ deletePlaylist: EventEmitter<string>;
331
+ toggleDevices: EventEmitter<void>;
332
+ refreshDevices: EventEmitter<void>;
333
+ /** The listener opened the lyrics; the host can look them up then, instead of for every track played. */
334
+ openLyrics: EventEmitter<void>;
335
+ /** Looks for the lyrics of the playing track again. */
336
+ refreshLyrics: EventEmitter<void>;
337
+ /** Plays from the start of a lyrics line. */
338
+ seekLyrics: EventEmitter<number>;
339
+ playOnDevice: EventEmitter<string>;
340
+ stopOnDevice: EventEmitter<string>;
341
+ primaryPlay: EventEmitter<void>;
342
+ primaryPlaybackToggle: EventEmitter<AudioUiPlaybackIntent>;
343
+ playerStateChange: EventEmitter<PlayerState>;
344
+ toggleFavorite: EventEmitter<string>;
345
+ toggleLock: EventEmitter<string>;
346
+ makeRingtone: EventEmitter<string>;
347
+ /** "Show in Finder" for the track playing, where the host can show its file (desktop); empty hides the button. */
348
+ revealFileLabel: string;
349
+ revealFile: EventEmitter<string>;
350
+ sourceFileChange: EventEmitter<File>;
351
+ addFolder: EventEmitter<void>;
352
+ languageChange: EventEmitter<string>;
353
+ searchTermChange: EventEmitter<string>;
354
+ outputVolumeChange: EventEmitter<number>;
355
+ outputMuteToggle: EventEmitter<void>;
356
+ private smartPlayer?;
357
+ private audioFileInput?;
358
+ private readonly document;
359
+ private libraryScroll?;
360
+ private lyricsLinesEl?;
361
+ private queueListEl?;
362
+ private compactLyricsEl?;
363
+ private compactLyricsFollowed;
364
+ private panelEl?;
365
+ private sheetButtonEl?;
366
+ private lyricsFollowed;
367
+ private queueFollowed;
368
+ fileDragActive: boolean;
369
+ /** Phones only: the queue, lists, devices and lyrics live in a sheet the listener opens. */
370
+ panelSheetOpen: boolean;
371
+ playlistToolsOpen: boolean;
372
+ lyricsOpen: boolean;
373
+ queuePanelOpen: boolean;
374
+ /** The queue's own switch. It used to be the panel shown whenever no other one was. */
375
+ queueOpen: boolean;
376
+ /**
377
+ * The stack's order, fixed rather than the order they were opened in: a panel always in the
378
+ * same place is found by eye instead of by memory.
379
+ */
380
+ private readonly panelOrder;
381
+ private readonly collapsedPanels;
382
+ playlistDraftName: string;
383
+ stationNameDraft: string;
384
+ stationUrlDraft: string;
385
+ serverKindDraft: string;
386
+ serverAddressDraft: string;
387
+ serverUsernameDraft: string;
388
+ serverPasswordDraft: string;
389
+ editingPlaylistId: string | null;
390
+ renameDraftName: string;
391
+ playerState: PlayerState | null;
392
+ progressPercent: number;
393
+ currentTimeSec: number;
394
+ durationSec: number;
395
+ elapsedLabel: string;
396
+ detectedDurationLabel: string;
397
+ private fileDragDepth;
398
+ get isPlaying(): boolean;
399
+ get isHomeView(): boolean;
400
+ get primaryViews(): AudioUiBrowseChip[];
401
+ get appViews(): AudioUiBrowseChip[];
402
+ get collectionViews(): AudioUiBrowseChip[];
403
+ /** The first open panel, for the few places that still speak of one at a time. */
404
+ get panelTab(): AudioUiPanelTab;
405
+ get lyricsTitle(): string;
406
+ isPanelOpen(panel: AudioUiPanelTab): boolean;
407
+ isPanelCollapsed(panel: AudioUiPanelTab): boolean;
408
+ /** Folds a panel to its header, so four open ones still fit without hiding any of them. */
409
+ togglePanelCollapsed(panel: AudioUiPanelTab): void;
410
+ /** Opens or closes one panel and leaves the others where they are. */
411
+ togglePanel(panel: AudioUiPanelTab): void;
412
+ get displayDurationLabel(): string;
413
+ viewIcon(id: string): SmartPlayerIconName;
414
+ playItem(id: string): void;
415
+ /** Artwork that failed to load (dead favicon, removed cover) falls back to the placeholder icon. */
416
+ artworkSrc(url: string | undefined): string;
417
+ markArtworkFailed(url: string): void;
418
+ artTone(seed: string): number;
419
+ isBarPlayed(index: number): boolean;
420
+ artistOf(item: AudioUiListItem): string;
421
+ albumOf(item: AudioUiListItem): string;
422
+ durationOf(item: AudioUiListItem): string;
423
+ togglePrimaryPlayback(): void;
424
+ openSourcePicker(): void;
425
+ seekTo(timeSec: number): void;
426
+ /**
427
+ * How far the library is scrolled. A host that moves between screens reads it before leaving one, so coming
428
+ * back can put the listener where they were rather than at the top of a list they had already walked down.
429
+ * On a narrow layout the page scrolls instead of the panel, so whichever one moved is the one reported.
430
+ */
431
+ contentScrollTop(): number;
432
+ /** Puts the library back where it was, or at the top with 0 on entering a screen for the first time. */
433
+ setContentScrollTop(value: number): void;
434
+ setOutputVolumePercent(value: number): void;
435
+ onOutputVolumeRatioChange(value: number): void;
436
+ onSourceFileInput(event: Event): void;
437
+ onSearchInput(event: Event): void;
438
+ onFileDragEnter(event: DragEvent): void;
439
+ onFileDragOver(event: DragEvent): void;
440
+ onFileDragLeave(event: DragEvent): void;
441
+ onFileDrop(event: DragEvent): void;
442
+ onPlayerStateChange(state: PlayerState): void;
443
+ onPlayerProgress(event: SmartPlayerProgress): void;
444
+ toggleQueuePanel(): void;
445
+ /** The panels as their switches show them — order, icon and name, named once for both places. */
446
+ get panelSwitches(): Array<{
447
+ id: AudioUiPanelTab;
448
+ icon: SmartPlayerIconName;
449
+ label: string;
450
+ }>;
451
+ /** Whether a panel is on screen: open, and in a column that is not itself put away. */
452
+ isPanelShowing(panel: AudioUiPanelTab): boolean;
453
+ /**
454
+ * The transport bar's switch for one panel. Turning one on opens the column, or the sheet on a
455
+ * phone; turning the last one off puts the column away rather than leaving it empty.
456
+ */
457
+ togglePanelFromBar(panel: AudioUiPanelTab): void;
458
+ /** Makes sure a panel is showing, without closing the ones already there. */
459
+ selectPanelTab(tab: AudioUiPanelTab): void;
460
+ /** The viewport the sheet styles use: below it the panel only exists as a sheet. */
461
+ private isSheetLayout;
462
+ /** Shows the panel, which on a phone means opening the sheet it lives in. */
463
+ private revealPanel;
464
+ /** Opens the sheet that holds the queue, the lists, the devices and the lyrics on a phone. */
465
+ openPanelSheet(): void;
466
+ closePanelSheet(): void;
467
+ /** The track playing has lyrics a compact window can show. */
468
+ get hasCompactLyrics(): boolean;
469
+ get showCompactLyrics(): boolean;
470
+ /** The line being sung, from the position the player reports; -1 before the first one or without timed lines. */
471
+ get activeLyricsIndex(): number;
472
+ /** Plays from the start of a line, and tells the host so it can record the move. */
473
+ playFromLyrics(timeSec: number): void;
474
+ /**
475
+ * Keeps what is playing in sight: the track in the queue, and the line being sung in the
476
+ * lyrics panel and in the mini window. Each only scrolls when what it follows changes, and
477
+ * each scrolls inside its own list rather than moving the page under everything else.
478
+ */
479
+ ngAfterViewChecked(): void;
480
+ togglePlaylistTools(): void;
481
+ get hasPlaylists(): boolean;
482
+ isRemovable(itemId: string): boolean;
483
+ /** Files the chosen track, or the playing one when the listener did not pick a row. */
484
+ /** Width of the row actions column: favourite, play next and add to queue, then a list and a remove button when a row has them. */
485
+ rowActionsWidth(items: ReadonlyArray<{
486
+ id: string;
487
+ }>): string;
488
+ addToPlaylist(playlistId: string): void;
489
+ onServerKindChange(event: Event): void;
490
+ onServerAddressInput(event: Event): void;
491
+ onServerUsernameInput(event: Event): void;
492
+ onServerPasswordInput(event: Event): void;
493
+ selectedServerKind(form: AudioUiServerForm): AudioUiServerKind | undefined;
494
+ submitServer(event: Event): void;
495
+ onStationNameInput(event: Event): void;
496
+ onStationUrlInput(event: Event): void;
497
+ submitStation(event: Event): void;
498
+ onPlaylistDraftInput(event: Event): void;
499
+ submitCreatePlaylist(): void;
500
+ startRenamePlaylist(id: string, name: string): void;
501
+ onRenameDraftInput(event: Event): void;
502
+ cancelRenamePlaylist(): void;
503
+ submitRenamePlaylist(): void;
504
+ private splitSubtitle;
505
+ private durationFromMeta;
506
+ private formatTime;
507
+ private normalizeOutputVolume;
508
+ private dragHasFiles;
509
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxSmartPlayerAudioUiComponent, never>;
510
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgxSmartPlayerAudioUiComponent, "ngxsp-audio-player-ui", never, {
511
+ "config": {
512
+ "alias": "config";
513
+ "required": false;
514
+ };
515
+ "plugins": {
516
+ "alias": "plugins";
517
+ "required": false;
518
+ };
519
+ "ports": {
520
+ "alias": "ports";
521
+ "required": false;
522
+ };
523
+ "engines": {
524
+ "alias": "engines";
525
+ "required": false;
526
+ };
527
+ "debug": {
528
+ "alias": "debug";
529
+ "required": false;
530
+ };
531
+ "startTimeSec": {
532
+ "alias": "startTimeSec";
533
+ "required": false;
534
+ };
535
+ "autoplayOnInit": {
536
+ "alias": "autoplayOnInit";
537
+ "required": false;
538
+ };
539
+ "playRequest": {
540
+ "alias": "playRequest";
541
+ "required": false;
542
+ };
543
+ "canPrev": {
544
+ "alias": "canPrev";
545
+ "required": false;
546
+ };
547
+ "canNext": {
548
+ "alias": "canNext";
549
+ "required": false;
550
+ };
551
+ "shuffleActive": {
552
+ "alias": "shuffleActive";
553
+ "required": false;
554
+ };
555
+ "shuffleLabel": {
556
+ "alias": "shuffleLabel";
557
+ "required": false;
558
+ };
559
+ "repeatMode": {
560
+ "alias": "repeatMode";
561
+ "required": false;
562
+ };
563
+ "repeatLabel": {
564
+ "alias": "repeatLabel";
565
+ "required": false;
566
+ };
567
+ "hasPlaylistControls": {
568
+ "alias": "hasPlaylistControls";
569
+ "required": false;
570
+ };
571
+ "castEnabled": {
572
+ "alias": "castEnabled";
573
+ "required": false;
574
+ };
575
+ "libraryViewsLabel": {
576
+ "alias": "libraryViewsLabel";
577
+ "required": false;
578
+ };
579
+ "transportLabel": {
580
+ "alias": "transportLabel";
581
+ "required": false;
582
+ };
583
+ "seekLabel": {
584
+ "alias": "seekLabel";
585
+ "required": false;
586
+ };
587
+ "libraryTitle": {
588
+ "alias": "libraryTitle";
589
+ "required": false;
590
+ };
591
+ "libraryContentTitle": {
592
+ "alias": "libraryContentTitle";
593
+ "required": false;
594
+ };
595
+ "backLabel": {
596
+ "alias": "backLabel";
597
+ "required": false;
598
+ };
599
+ "libraryMeta": {
600
+ "alias": "libraryMeta";
601
+ "required": false;
602
+ };
603
+ "libraryEyebrow": {
604
+ "alias": "libraryEyebrow";
605
+ "required": false;
606
+ };
607
+ "searchPlaceholder": {
608
+ "alias": "searchPlaceholder";
609
+ "required": false;
610
+ };
611
+ "searchLabel": {
612
+ "alias": "searchLabel";
613
+ "required": false;
614
+ };
615
+ "searchTerm": {
616
+ "alias": "searchTerm";
617
+ "required": false;
618
+ };
619
+ "libraryViews": {
620
+ "alias": "libraryViews";
621
+ "required": false;
622
+ };
623
+ "activeLibraryView": {
624
+ "alias": "activeLibraryView";
625
+ "required": false;
626
+ };
627
+ "librarySections": {
628
+ "alias": "librarySections";
629
+ "required": false;
630
+ };
631
+ "queueTitle": {
632
+ "alias": "queueTitle";
633
+ "required": false;
634
+ };
635
+ "queueEyebrow": {
636
+ "alias": "queueEyebrow";
637
+ "required": false;
638
+ };
639
+ "tracksLabel": {
640
+ "alias": "tracksLabel";
641
+ "required": false;
642
+ };
643
+ "titleColumnLabel": {
644
+ "alias": "titleColumnLabel";
645
+ "required": false;
646
+ };
647
+ "artistColumnLabel": {
648
+ "alias": "artistColumnLabel";
649
+ "required": false;
650
+ };
651
+ "albumColumnLabel": {
652
+ "alias": "albumColumnLabel";
653
+ "required": false;
654
+ };
655
+ "timeColumnLabel": {
656
+ "alias": "timeColumnLabel";
657
+ "required": false;
658
+ };
659
+ "nowPlayingLabel": {
660
+ "alias": "nowPlayingLabel";
661
+ "required": false;
662
+ };
663
+ "nowListeningLabel": {
664
+ "alias": "nowListeningLabel";
665
+ "required": false;
666
+ };
667
+ "noTrackTitle": {
668
+ "alias": "noTrackTitle";
669
+ "required": false;
670
+ };
671
+ "miniPlayerLabel": {
672
+ "alias": "miniPlayerLabel";
673
+ "required": false;
674
+ };
675
+ "readyLabel": {
676
+ "alias": "readyLabel";
677
+ "required": false;
678
+ };
679
+ "selectTrackTitle": {
680
+ "alias": "selectTrackTitle";
681
+ "required": false;
682
+ };
683
+ "selectTrackBody": {
684
+ "alias": "selectTrackBody";
685
+ "required": false;
686
+ };
687
+ "emptyLibraryLabel": {
688
+ "alias": "emptyLibraryLabel";
689
+ "required": false;
690
+ };
691
+ "playlistsLabel": {
692
+ "alias": "playlistsLabel";
693
+ "required": false;
694
+ };
695
+ "hidePlaylistsLabel": {
696
+ "alias": "hidePlaylistsLabel";
697
+ "required": false;
698
+ };
699
+ "devicesLabel": {
700
+ "alias": "devicesLabel";
701
+ "required": false;
702
+ };
703
+ "compactMode": {
704
+ "alias": "compactMode";
705
+ "required": false;
706
+ };
707
+ "compactModes": {
708
+ "alias": "compactModes";
709
+ "required": false;
710
+ };
711
+ "compactMiniLabel": {
712
+ "alias": "compactMiniLabel";
713
+ "required": false;
714
+ };
715
+ "compactBarLabel": {
716
+ "alias": "compactBarLabel";
717
+ "required": false;
718
+ };
719
+ "compactRestoreLabel": {
720
+ "alias": "compactRestoreLabel";
721
+ "required": false;
722
+ };
723
+ "compactLyrics": {
724
+ "alias": "compactLyrics";
725
+ "required": false;
726
+ };
727
+ "compactLyricsLabel": {
728
+ "alias": "compactLyricsLabel";
729
+ "required": false;
730
+ };
731
+ "brandLogoSrc": {
732
+ "alias": "brandLogoSrc";
733
+ "required": false;
734
+ };
735
+ "hideDevicesLabel": {
736
+ "alias": "hideDevicesLabel";
737
+ "required": false;
738
+ };
739
+ "previousLabel": {
740
+ "alias": "previousLabel";
741
+ "required": false;
742
+ };
743
+ "nextLabel": {
744
+ "alias": "nextLabel";
745
+ "required": false;
746
+ };
747
+ "playLabel": {
748
+ "alias": "playLabel";
749
+ "required": false;
750
+ };
751
+ "pauseLabel": {
752
+ "alias": "pauseLabel";
753
+ "required": false;
754
+ };
755
+ "stopLabel": {
756
+ "alias": "stopLabel";
757
+ "required": false;
758
+ };
759
+ "addLabel": {
760
+ "alias": "addLabel";
761
+ "required": false;
762
+ };
763
+ "queueNextLabel": {
764
+ "alias": "queueNextLabel";
765
+ "required": false;
766
+ };
767
+ "queueAddLabel": {
768
+ "alias": "queueAddLabel";
769
+ "required": false;
770
+ };
771
+ "createLabel": {
772
+ "alias": "createLabel";
773
+ "required": false;
774
+ };
775
+ "renameLabel": {
776
+ "alias": "renameLabel";
777
+ "required": false;
778
+ };
779
+ "deleteLabel": {
780
+ "alias": "deleteLabel";
781
+ "required": false;
782
+ };
783
+ "saveLabel": {
784
+ "alias": "saveLabel";
785
+ "required": false;
786
+ };
787
+ "cancelLabel": {
788
+ "alias": "cancelLabel";
789
+ "required": false;
790
+ };
791
+ "refreshLabel": {
792
+ "alias": "refreshLabel";
793
+ "required": false;
794
+ };
795
+ "tracksCountLabel": {
796
+ "alias": "tracksCountLabel";
797
+ "required": false;
798
+ };
799
+ "newPlaylistPlaceholder": {
800
+ "alias": "newPlaylistPlaceholder";
801
+ "required": false;
802
+ };
803
+ "renamePlaylistPlaceholder": {
804
+ "alias": "renamePlaylistPlaceholder";
805
+ "required": false;
806
+ };
807
+ "remotePlaybackLabel": {
808
+ "alias": "remotePlaybackLabel";
809
+ "required": false;
810
+ };
811
+ "emptyQueueLabel": {
812
+ "alias": "emptyQueueLabel";
813
+ "required": false;
814
+ };
815
+ "emptyPlaylistTargetsLabel": {
816
+ "alias": "emptyPlaylistTargetsLabel";
817
+ "required": false;
818
+ };
819
+ "selectTrackForPlaylistLabel": {
820
+ "alias": "selectTrackForPlaylistLabel";
821
+ "required": false;
822
+ };
823
+ "addToPlaylistLabel": {
824
+ "alias": "addToPlaylistLabel";
825
+ "required": false;
826
+ };
827
+ "playlistTargetLabel": {
828
+ "alias": "playlistTargetLabel";
829
+ "required": false;
830
+ };
831
+ "removeItemLabel": {
832
+ "alias": "removeItemLabel";
833
+ "required": false;
834
+ };
835
+ "emptyDevicesLabel": {
836
+ "alias": "emptyDevicesLabel";
837
+ "required": false;
838
+ };
839
+ "currentDuration": {
840
+ "alias": "currentDuration";
841
+ "required": false;
842
+ };
843
+ "currentTrackId": {
844
+ "alias": "currentTrackId";
845
+ "required": false;
846
+ };
847
+ "currentTitle": {
848
+ "alias": "currentTitle";
849
+ "required": false;
850
+ };
851
+ "currentSubtitle": {
852
+ "alias": "currentSubtitle";
853
+ "required": false;
854
+ };
855
+ "currentMeta": {
856
+ "alias": "currentMeta";
857
+ "required": false;
858
+ };
859
+ "currentArtworkUrl": {
860
+ "alias": "currentArtworkUrl";
861
+ "required": false;
862
+ };
863
+ "favoriteActive": {
864
+ "alias": "favoriteActive";
865
+ "required": false;
866
+ };
867
+ "favoriteLabel": {
868
+ "alias": "favoriteLabel";
869
+ "required": false;
870
+ };
871
+ "lockAvailable": {
872
+ "alias": "lockAvailable";
873
+ "required": false;
874
+ };
875
+ "ringtoneAvailable": {
876
+ "alias": "ringtoneAvailable";
877
+ "required": false;
878
+ };
879
+ "ringtoneLabel": {
880
+ "alias": "ringtoneLabel";
881
+ "required": false;
882
+ };
883
+ "lockLabel": {
884
+ "alias": "lockLabel";
885
+ "required": false;
886
+ };
887
+ "unlockLabel": {
888
+ "alias": "unlockLabel";
889
+ "required": false;
890
+ };
891
+ "favoriteActiveLabel": {
892
+ "alias": "favoriteActiveLabel";
893
+ "required": false;
894
+ };
895
+ "favoritesLabel": {
896
+ "alias": "favoritesLabel";
897
+ "required": false;
898
+ };
899
+ "queueItems": {
900
+ "alias": "queueItems";
901
+ "required": false;
902
+ };
903
+ "currentTrackAvailable": {
904
+ "alias": "currentTrackAvailable";
905
+ "required": false;
906
+ };
907
+ "playlistOptions": {
908
+ "alias": "playlistOptions";
909
+ "required": false;
910
+ };
911
+ "playlistTargetTrack": {
912
+ "alias": "playlistTargetTrack";
913
+ "required": false;
914
+ };
915
+ "removableItemIds": {
916
+ "alias": "removableItemIds";
917
+ "required": false;
918
+ };
919
+ "stationForm": {
920
+ "alias": "stationForm";
921
+ "required": false;
922
+ };
923
+ "settingsSections": {
924
+ "alias": "settingsSections";
925
+ "required": false;
926
+ };
927
+ "serverForm": {
928
+ "alias": "serverForm";
929
+ "required": false;
930
+ };
931
+ "devicesOpen": {
932
+ "alias": "devicesOpen";
933
+ "required": false;
934
+ };
935
+ "lyricsPanel": {
936
+ "alias": "lyricsPanel";
937
+ "required": false;
938
+ };
939
+ "showDeviceButton": {
940
+ "alias": "showDeviceButton";
941
+ "required": false;
942
+ };
943
+ "deviceItems": {
944
+ "alias": "deviceItems";
945
+ "required": false;
946
+ };
947
+ "closeLabel": {
948
+ "alias": "closeLabel";
949
+ "required": false;
950
+ };
951
+ "sourceChangeLabel": {
952
+ "alias": "sourceChangeLabel";
953
+ "required": false;
954
+ };
955
+ "sourceChangeTitle": {
956
+ "alias": "sourceChangeTitle";
957
+ "required": false;
958
+ };
959
+ "sourceDropTitle": {
960
+ "alias": "sourceDropTitle";
961
+ "required": false;
962
+ };
963
+ "sourceDropHint": {
964
+ "alias": "sourceDropHint";
965
+ "required": false;
966
+ };
967
+ "sourceChangeAccept": {
968
+ "alias": "sourceChangeAccept";
969
+ "required": false;
970
+ };
971
+ "folderImportLabel": {
972
+ "alias": "folderImportLabel";
973
+ "required": false;
974
+ };
975
+ "libraryStatus": {
976
+ "alias": "libraryStatus";
977
+ "required": false;
978
+ };
979
+ "libraryBusy": {
980
+ "alias": "libraryBusy";
981
+ "required": false;
982
+ };
983
+ "languageLabel": {
984
+ "alias": "languageLabel";
985
+ "required": false;
986
+ };
987
+ "activeLanguage": {
988
+ "alias": "activeLanguage";
989
+ "required": false;
990
+ };
991
+ "languageOptions": {
992
+ "alias": "languageOptions";
993
+ "required": false;
994
+ };
995
+ "statusMessage": {
996
+ "alias": "statusMessage";
997
+ "required": false;
998
+ };
999
+ "statusKind": {
1000
+ "alias": "statusKind";
1001
+ "required": false;
1002
+ };
1003
+ "showResumeProgress": {
1004
+ "alias": "showResumeProgress";
1005
+ "required": false;
1006
+ };
1007
+ "outputVolume": {
1008
+ "alias": "outputVolume";
1009
+ "required": false;
1010
+ };
1011
+ "outputVolumeLabel": {
1012
+ "alias": "outputVolumeLabel";
1013
+ "required": false;
1014
+ };
1015
+ "outputMuteLabel": {
1016
+ "alias": "outputMuteLabel";
1017
+ "required": false;
1018
+ };
1019
+ "outputUnmuteLabel": {
1020
+ "alias": "outputUnmuteLabel";
1021
+ "required": false;
1022
+ };
1023
+ "revealFileLabel": {
1024
+ "alias": "revealFileLabel";
1025
+ "required": false;
1026
+ };
1027
+ }, {
1028
+ "compactModeChange": "compactModeChange";
1029
+ "compactLyricsToggle": "compactLyricsToggle";
1030
+ "ended": "ended";
1031
+ "videoSize": "videoSize";
1032
+ "progress": "progress";
1033
+ "prev": "prev";
1034
+ "next": "next";
1035
+ "toggleShuffle": "toggleShuffle";
1036
+ "cycleRepeat": "cycleRepeat";
1037
+ "cast": "cast";
1038
+ "subtitles": "subtitles";
1039
+ "selectLibraryView": "selectLibraryView";
1040
+ "back": "back";
1041
+ "settingChange": "settingChange";
1042
+ "settingAction": "settingAction";
1043
+ "selectLibraryItem": "selectLibraryItem";
1044
+ "playLibraryItem": "playLibraryItem";
1045
+ "addLibraryItemNext": "addLibraryItemNext";
1046
+ "addLibraryItemToQueue": "addLibraryItemToQueue";
1047
+ "selectQueueItem": "selectQueueItem";
1048
+ "createPlaylist": "createPlaylist";
1049
+ "addCurrentToPlaylist": "addCurrentToPlaylist";
1050
+ "addTrackToPlaylist": "addTrackToPlaylist";
1051
+ "requestPlaylistTarget": "requestPlaylistTarget";
1052
+ "cancelPlaylistTarget": "cancelPlaylistTarget";
1053
+ "removeLibraryItem": "removeLibraryItem";
1054
+ "addStation": "addStation";
1055
+ "connectServer": "connectServer";
1056
+ "discoverServers": "discoverServers";
1057
+ "connectDiscoveredServer": "connectDiscoveredServer";
1058
+ "renamePlaylist": "renamePlaylist";
1059
+ "deletePlaylist": "deletePlaylist";
1060
+ "toggleDevices": "toggleDevices";
1061
+ "refreshDevices": "refreshDevices";
1062
+ "openLyrics": "openLyrics";
1063
+ "refreshLyrics": "refreshLyrics";
1064
+ "seekLyrics": "seekLyrics";
1065
+ "playOnDevice": "playOnDevice";
1066
+ "stopOnDevice": "stopOnDevice";
1067
+ "primaryPlay": "primaryPlay";
1068
+ "primaryPlaybackToggle": "primaryPlaybackToggle";
1069
+ "playerStateChange": "playerStateChange";
1070
+ "toggleFavorite": "toggleFavorite";
1071
+ "toggleLock": "toggleLock";
1072
+ "makeRingtone": "makeRingtone";
1073
+ "revealFile": "revealFile";
1074
+ "sourceFileChange": "sourceFileChange";
1075
+ "addFolder": "addFolder";
1076
+ "languageChange": "languageChange";
1077
+ "searchTermChange": "searchTermChange";
1078
+ "outputVolumeChange": "outputVolumeChange";
1079
+ "outputMuteToggle": "outputMuteToggle";
1080
+ }, never, never, true, never>;
1081
+ }
1082
+ export declare class NgxSmartPlayerAudioUiModule {
1083
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxSmartPlayerAudioUiModule, never>;
1084
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSmartPlayerAudioUiModule, never, [typeof NgxSmartPlayerAudioUiComponent], [typeof NgxSmartPlayerAudioUiComponent]>;
1085
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgxSmartPlayerAudioUiModule>;
1086
+ }