@vault-tec/pip-boy 1.3.0 → 1.3.1
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.
package/package.json
CHANGED
|
@@ -113,6 +113,7 @@ interface PipBoy3000SettingsSnapshot {
|
|
|
113
113
|
perkItems: PipBoy3000StatItem[];
|
|
114
114
|
questItems: PipBoy3000QuestItem[];
|
|
115
115
|
generalItems: PipBoy3000StatItem[];
|
|
116
|
+
dataMiscItems: PipBoy3000StatItem[];
|
|
116
117
|
notesItems: PipBoy3000AudioItem[];
|
|
117
118
|
radioItems: PipBoy3000AudioItem[];
|
|
118
119
|
selectedNotesItemId: number | null;
|
|
@@ -171,6 +172,7 @@ declare class PipBoy3000Settings {
|
|
|
171
172
|
readonly skillItems: _angular_core.WritableSignal<PipBoy3000StatItem[]>;
|
|
172
173
|
readonly perkItems: _angular_core.WritableSignal<PipBoy3000StatItem[]>;
|
|
173
174
|
readonly generalItems: _angular_core.WritableSignal<PipBoy3000StatItem[]>;
|
|
175
|
+
readonly dataMiscItems: _angular_core.WritableSignal<PipBoy3000StatItem[]>;
|
|
174
176
|
readonly questItems: _angular_core.WritableSignal<PipBoy3000QuestItem[]>;
|
|
175
177
|
readonly notesItems: _angular_core.WritableSignal<PipBoy3000AudioItem[]>;
|
|
176
178
|
readonly radioItems: _angular_core.WritableSignal<PipBoy3000AudioItem[]>;
|
|
@@ -227,6 +229,11 @@ declare class PipBoy3000Settings {
|
|
|
227
229
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PipBoy3000Settings>;
|
|
228
230
|
}
|
|
229
231
|
|
|
232
|
+
interface MapImagePayload {
|
|
233
|
+
imageFile?: File | null;
|
|
234
|
+
removeImage: boolean;
|
|
235
|
+
}
|
|
236
|
+
|
|
230
237
|
interface SettingsModalPayload {
|
|
231
238
|
scanLinesEnabled: boolean;
|
|
232
239
|
rememberTabOnRefreshEnabled: boolean;
|
|
@@ -242,11 +249,6 @@ interface SettingsModalPayload {
|
|
|
242
249
|
removeBootVideo: boolean;
|
|
243
250
|
}
|
|
244
251
|
|
|
245
|
-
interface MapImagePayload {
|
|
246
|
-
imageFile?: File | null;
|
|
247
|
-
removeImage: boolean;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
252
|
interface ImageMeta {
|
|
251
253
|
id: string;
|
|
252
254
|
fileName: string;
|
|
@@ -372,7 +374,9 @@ declare class AudioPlayer {
|
|
|
372
374
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AudioPlayer>;
|
|
373
375
|
}
|
|
374
376
|
|
|
375
|
-
|
|
377
|
+
type StatusMeterKind = 'H20' | 'FOD' | 'SLP';
|
|
378
|
+
|
|
379
|
+
declare class PipBoy3000Shell implements OnInit, OnDestroy {
|
|
376
380
|
readonly returnToUrl: _angular_core.InputSignal<string>;
|
|
377
381
|
protected readonly state: PipBoy3000State;
|
|
378
382
|
protected readonly settings: PipBoy3000Settings;
|
|
@@ -381,7 +385,13 @@ declare class PipBoy3000a implements OnInit, OnDestroy {
|
|
|
381
385
|
protected readonly videoStore: VideoStore;
|
|
382
386
|
protected readonly audioPlayer: AudioPlayer;
|
|
383
387
|
private readonly hostRef;
|
|
384
|
-
protected readonly appVersion = "1.3.
|
|
388
|
+
protected readonly appVersion = "1.3.1";
|
|
389
|
+
protected readonly scanLineColorRgb: string | null;
|
|
390
|
+
protected readonly musicWaveformColorRgb: string | null;
|
|
391
|
+
protected readonly extraStatusTabs: StatusMeterKind[];
|
|
392
|
+
protected readonly dataNotesLabel: string;
|
|
393
|
+
protected readonly dataNotesTabId: string | null;
|
|
394
|
+
protected readonly dataNotesMode: 'audio' | 'text';
|
|
385
395
|
protected readonly tabsOpen: _angular_core.WritableSignal<boolean>;
|
|
386
396
|
protected readonly showResetModal: _angular_core.WritableSignal<boolean>;
|
|
387
397
|
protected readonly showExitModal: _angular_core.WritableSignal<boolean>;
|
|
@@ -389,37 +399,34 @@ declare class PipBoy3000a implements OnInit, OnDestroy {
|
|
|
389
399
|
protected readonly showSettingsModal: _angular_core.WritableSignal<boolean>;
|
|
390
400
|
private readonly settingsListFontScaleSnapshot;
|
|
391
401
|
protected readonly showWelcomeModal: _angular_core.WritableSignal<boolean>;
|
|
392
|
-
protected readonly
|
|
393
|
-
protected readonly
|
|
394
|
-
protected readonly bootSequenceShowWelcome: _angular_core.WritableSignal<boolean>;
|
|
395
|
-
protected readonly bootAutoplayAttempted: _angular_core.WritableSignal<boolean>;
|
|
396
|
-
protected readonly bootNeedsClick: _angular_core.WritableSignal<boolean>;
|
|
397
|
-
protected readonly bootIsPlaying: _angular_core.WritableSignal<boolean>;
|
|
398
|
-
protected readonly mapImageModal: _angular_core.WritableSignal<"LOCAL" | "WORLD" | null>;
|
|
402
|
+
protected readonly isMapDragging: _angular_core.WritableSignal<boolean>;
|
|
403
|
+
protected readonly viewportWidth: _angular_core.WritableSignal<number>;
|
|
399
404
|
protected readonly localMapImage: _angular_core.Signal<ElementRef<HTMLImageElement> | undefined>;
|
|
400
405
|
protected readonly worldMapImage: _angular_core.Signal<ElementRef<HTMLImageElement> | undefined>;
|
|
401
406
|
protected readonly localMapView: _angular_core.Signal<ElementRef<HTMLButtonElement> | undefined>;
|
|
402
407
|
protected readonly worldMapView: _angular_core.Signal<ElementRef<HTMLButtonElement> | undefined>;
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
protected readonly
|
|
407
|
-
protected readonly viewportWidth: _angular_core.WritableSignal<number>;
|
|
408
|
+
private readonly bootSequence;
|
|
409
|
+
private readonly mapController;
|
|
410
|
+
private readonly settingsArchive;
|
|
411
|
+
protected readonly mapImageModal: _angular_core.WritableSignal<"LOCAL" | "WORLD" | null>;
|
|
408
412
|
protected readonly mapImageModalTitle: _angular_core.Signal<"World Map" | "Local Map">;
|
|
409
413
|
protected readonly mapImageModalImage: _angular_core.Signal<string | null>;
|
|
414
|
+
protected readonly showBootSequence: _angular_core.WritableSignal<boolean>;
|
|
415
|
+
protected readonly bootNeedsClick: _angular_core.WritableSignal<boolean>;
|
|
416
|
+
protected readonly bootIsPlaying: _angular_core.WritableSignal<boolean>;
|
|
417
|
+
protected readonly bootVideoPlaybackUrl: _angular_core.Signal<string | null>;
|
|
418
|
+
protected readonly tabsActionsLeftOpen: _angular_core.WritableSignal<boolean>;
|
|
419
|
+
protected readonly tabsActionsRightOpen: _angular_core.WritableSignal<boolean>;
|
|
420
|
+
protected readonly extraOptionModal: _angular_core.WritableSignal<"STIMPAK" | "LIMBS" | "RADAWAY" | "RADX" | null>;
|
|
421
|
+
protected readonly isScreenTooSmall: _angular_core.Signal<boolean>;
|
|
410
422
|
protected readonly secondaryTabSoundLabel: _angular_core.Signal<string | null>;
|
|
411
423
|
protected readonly mainTabSoundLabel: _angular_core.Signal<string | null>;
|
|
412
424
|
protected readonly clickSoundLabel: _angular_core.Signal<string | null>;
|
|
413
425
|
protected readonly bootVideoLabel: _angular_core.Signal<string | null>;
|
|
414
426
|
protected readonly bootVideoUrl: _angular_core.Signal<string | null>;
|
|
415
|
-
protected readonly bootVideoPreviewUrl: _angular_core.WritableSignal<string | null>;
|
|
416
|
-
protected readonly bootVideoPlaybackUrl: _angular_core.Signal<string | null>;
|
|
417
|
-
private mapDragState;
|
|
418
|
-
private suppressMapClick;
|
|
419
|
-
protected readonly isScreenTooSmall: _angular_core.Signal<boolean>;
|
|
420
|
-
private readonly bootSequenceWatcher;
|
|
421
427
|
protected readonly extraOptionTitle: _angular_core.Signal<"" | "Edit Text">;
|
|
422
428
|
protected readonly extraOptionValue: _angular_core.Signal<string>;
|
|
429
|
+
private readonly bootSequenceWatcher;
|
|
423
430
|
private readonly documentClickHandler;
|
|
424
431
|
protected toggleTabs(): void;
|
|
425
432
|
protected toggleTabsActions(side: 'left' | 'right'): void;
|
|
@@ -447,11 +454,8 @@ declare class PipBoy3000a implements OnInit, OnDestroy {
|
|
|
447
454
|
protected previewMainTabSound(): void;
|
|
448
455
|
protected previewClickSound(): void;
|
|
449
456
|
protected previewBootVideo(file: File | null): void;
|
|
450
|
-
protected maybeStartBootSequence(): void;
|
|
451
457
|
protected handleBootCanPlay(video: HTMLVideoElement): void;
|
|
452
458
|
protected playBootVideo(video: HTMLVideoElement, event?: Event): void;
|
|
453
|
-
private setBootVideoPreviewUrl;
|
|
454
|
-
private clearBootVideoPreview;
|
|
455
459
|
protected openGithubProfile(): void;
|
|
456
460
|
protected selectPrimary(tab: PipBoy3000PrimaryTab): void;
|
|
457
461
|
protected selectSecondary(tab: PipBoy3000SecondaryTab): void;
|
|
@@ -459,13 +463,6 @@ declare class PipBoy3000a implements OnInit, OnDestroy {
|
|
|
459
463
|
protected closeExtraOptionModal(): void;
|
|
460
464
|
protected saveExtraOptionModal(value: string): void;
|
|
461
465
|
protected loadSettingsFromFile(event: Event): Promise<void>;
|
|
462
|
-
private stopAllSounds;
|
|
463
|
-
private collectImageIds;
|
|
464
|
-
private collectSoundIds;
|
|
465
|
-
private collectVideoIds;
|
|
466
|
-
private getExtension;
|
|
467
|
-
private getSoundExtension;
|
|
468
|
-
private getVideoExtension;
|
|
469
466
|
protected openMapImageModal(type: 'LOCAL' | 'WORLD'): void;
|
|
470
467
|
protected closeMapImageModal(): void;
|
|
471
468
|
protected zoomMap(type: 'LOCAL' | 'WORLD', delta: number): void;
|
|
@@ -476,8 +473,19 @@ declare class PipBoy3000a implements OnInit, OnDestroy {
|
|
|
476
473
|
protected fitMapZoom(type: 'LOCAL' | 'WORLD'): void;
|
|
477
474
|
protected isMapFit(type: 'LOCAL' | 'WORLD'): boolean;
|
|
478
475
|
protected saveMapImageModal(payload: MapImagePayload): Promise<void>;
|
|
476
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PipBoy3000Shell, never>;
|
|
477
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PipBoy3000Shell, never, never, { "returnToUrl": { "alias": "returnToUrl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
declare class PipBoy3000a extends PipBoy3000Shell {
|
|
481
|
+
protected readonly scanLineColorRgb = "255, 159, 28";
|
|
482
|
+
protected readonly musicWaveformColorRgb = "255, 159, 28";
|
|
483
|
+
protected readonly extraStatusTabs: StatusMeterKind[];
|
|
484
|
+
protected readonly dataNotesLabel = "Misc";
|
|
485
|
+
protected readonly dataNotesTabId = "misc";
|
|
486
|
+
protected readonly dataNotesMode: 'audio' | 'text';
|
|
479
487
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PipBoy3000a, never>;
|
|
480
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PipBoy3000a, "pip-boy-3000a", never, {
|
|
488
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PipBoy3000a, "pip-boy-3000a", never, {}, {}, never, never, true, never>;
|
|
481
489
|
}
|
|
482
490
|
|
|
483
491
|
declare class PipBoy3000MkIV {
|
|
@@ -485,112 +493,9 @@ declare class PipBoy3000MkIV {
|
|
|
485
493
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PipBoy3000MkIV, "pip-boy-3000-mk-iv", never, {}, {}, never, never, true, never>;
|
|
486
494
|
}
|
|
487
495
|
|
|
488
|
-
declare class PipBoy3000
|
|
489
|
-
readonly returnToUrl: _angular_core.InputSignal<string>;
|
|
490
|
-
protected readonly state: PipBoy3000State;
|
|
491
|
-
protected readonly settings: PipBoy3000Settings;
|
|
492
|
-
protected readonly imageStore: ImageStore;
|
|
493
|
-
protected readonly soundStore: SoundStore;
|
|
494
|
-
protected readonly videoStore: VideoStore;
|
|
495
|
-
protected readonly audioPlayer: AudioPlayer;
|
|
496
|
-
private readonly hostRef;
|
|
497
|
-
protected readonly appVersion = "1.3.0";
|
|
498
|
-
protected readonly tabsOpen: _angular_core.WritableSignal<boolean>;
|
|
499
|
-
protected readonly showResetModal: _angular_core.WritableSignal<boolean>;
|
|
500
|
-
protected readonly showExitModal: _angular_core.WritableSignal<boolean>;
|
|
501
|
-
protected readonly showBugModal: _angular_core.WritableSignal<boolean>;
|
|
502
|
-
protected readonly showSettingsModal: _angular_core.WritableSignal<boolean>;
|
|
503
|
-
private readonly settingsListFontScaleSnapshot;
|
|
504
|
-
protected readonly showWelcomeModal: _angular_core.WritableSignal<boolean>;
|
|
505
|
-
protected readonly showBootSequence: _angular_core.WritableSignal<boolean>;
|
|
506
|
-
protected readonly bootSequenceStarted: _angular_core.WritableSignal<boolean>;
|
|
507
|
-
protected readonly bootSequenceShowWelcome: _angular_core.WritableSignal<boolean>;
|
|
508
|
-
protected readonly bootAutoplayAttempted: _angular_core.WritableSignal<boolean>;
|
|
509
|
-
protected readonly bootNeedsClick: _angular_core.WritableSignal<boolean>;
|
|
510
|
-
protected readonly bootIsPlaying: _angular_core.WritableSignal<boolean>;
|
|
511
|
-
protected readonly mapImageModal: _angular_core.WritableSignal<"LOCAL" | "WORLD" | null>;
|
|
512
|
-
protected readonly localMapImage: _angular_core.Signal<ElementRef<HTMLImageElement> | undefined>;
|
|
513
|
-
protected readonly worldMapImage: _angular_core.Signal<ElementRef<HTMLImageElement> | undefined>;
|
|
514
|
-
protected readonly localMapView: _angular_core.Signal<ElementRef<HTMLButtonElement> | undefined>;
|
|
515
|
-
protected readonly worldMapView: _angular_core.Signal<ElementRef<HTMLButtonElement> | undefined>;
|
|
516
|
-
protected readonly extraOptionModal: _angular_core.WritableSignal<"STIMPAK" | "LIMBS" | "RADAWAY" | "RADX" | null>;
|
|
517
|
-
protected readonly tabsActionsLeftOpen: _angular_core.WritableSignal<boolean>;
|
|
518
|
-
protected readonly tabsActionsRightOpen: _angular_core.WritableSignal<boolean>;
|
|
519
|
-
protected readonly isMapDragging: _angular_core.WritableSignal<boolean>;
|
|
520
|
-
protected readonly viewportWidth: _angular_core.WritableSignal<number>;
|
|
521
|
-
protected readonly mapImageModalTitle: _angular_core.Signal<"World Map" | "Local Map">;
|
|
522
|
-
protected readonly mapImageModalImage: _angular_core.Signal<string | null>;
|
|
523
|
-
protected readonly secondaryTabSoundLabel: _angular_core.Signal<string | null>;
|
|
524
|
-
protected readonly mainTabSoundLabel: _angular_core.Signal<string | null>;
|
|
525
|
-
protected readonly clickSoundLabel: _angular_core.Signal<string | null>;
|
|
526
|
-
protected readonly bootVideoLabel: _angular_core.Signal<string | null>;
|
|
527
|
-
protected readonly bootVideoUrl: _angular_core.Signal<string | null>;
|
|
528
|
-
protected readonly bootVideoPreviewUrl: _angular_core.WritableSignal<string | null>;
|
|
529
|
-
protected readonly bootVideoPlaybackUrl: _angular_core.Signal<string | null>;
|
|
530
|
-
private mapDragState;
|
|
531
|
-
private suppressMapClick;
|
|
532
|
-
protected readonly isScreenTooSmall: _angular_core.Signal<boolean>;
|
|
533
|
-
private readonly bootSequenceWatcher;
|
|
534
|
-
protected readonly extraOptionTitle: _angular_core.Signal<"" | "Edit Text">;
|
|
535
|
-
protected readonly extraOptionValue: _angular_core.Signal<string>;
|
|
536
|
-
private readonly documentClickHandler;
|
|
537
|
-
protected toggleTabs(): void;
|
|
538
|
-
protected toggleTabsActions(side: 'left' | 'right'): void;
|
|
539
|
-
protected onResize(): void;
|
|
540
|
-
ngOnInit(): void;
|
|
541
|
-
ngOnDestroy(): void;
|
|
542
|
-
protected saveSettingsToFile(): Promise<void>;
|
|
543
|
-
protected openResetModal(): void;
|
|
544
|
-
protected closeResetModal(): void;
|
|
545
|
-
protected confirmReset(): void;
|
|
546
|
-
protected openExitModal(): void;
|
|
547
|
-
protected closeExitModal(): void;
|
|
548
|
-
protected confirmExit(): void;
|
|
549
|
-
protected openBugModal(): void;
|
|
550
|
-
protected closeBugModal(): void;
|
|
551
|
-
protected confirmBugReport(): void;
|
|
552
|
-
protected openSettingsModal(): void;
|
|
553
|
-
protected closeSettingsModal(): void;
|
|
554
|
-
protected cancelSettingsModal(): void;
|
|
555
|
-
protected closeWelcomeModal(): void;
|
|
556
|
-
protected finishBootSequence(): void;
|
|
557
|
-
protected saveSettingsModal(payload: SettingsModalPayload): void;
|
|
558
|
-
protected previewListFontScale(value: number): void;
|
|
559
|
-
protected previewSecondaryTabSound(): void;
|
|
560
|
-
protected previewMainTabSound(): void;
|
|
561
|
-
protected previewClickSound(): void;
|
|
562
|
-
protected previewBootVideo(file: File | null): void;
|
|
563
|
-
protected maybeStartBootSequence(): void;
|
|
564
|
-
protected handleBootCanPlay(video: HTMLVideoElement): void;
|
|
565
|
-
protected playBootVideo(video: HTMLVideoElement, event?: Event): void;
|
|
566
|
-
private setBootVideoPreviewUrl;
|
|
567
|
-
private clearBootVideoPreview;
|
|
568
|
-
protected openGithubProfile(): void;
|
|
569
|
-
protected selectPrimary(tab: PipBoy3000PrimaryTab): void;
|
|
570
|
-
protected selectSecondary(tab: PipBoy3000SecondaryTab): void;
|
|
571
|
-
protected openExtraOptionModal(option: 'STIMPAK' | 'LIMBS' | 'RADAWAY' | 'RADX'): void;
|
|
572
|
-
protected closeExtraOptionModal(): void;
|
|
573
|
-
protected saveExtraOptionModal(value: string): void;
|
|
574
|
-
protected loadSettingsFromFile(event: Event): Promise<void>;
|
|
575
|
-
private stopAllSounds;
|
|
576
|
-
private collectImageIds;
|
|
577
|
-
private collectSoundIds;
|
|
578
|
-
private collectVideoIds;
|
|
579
|
-
private getExtension;
|
|
580
|
-
private getSoundExtension;
|
|
581
|
-
private getVideoExtension;
|
|
582
|
-
protected openMapImageModal(type: 'LOCAL' | 'WORLD'): void;
|
|
583
|
-
protected closeMapImageModal(): void;
|
|
584
|
-
protected zoomMap(type: 'LOCAL' | 'WORLD', delta: number): void;
|
|
585
|
-
protected resetMapZoom(type: 'LOCAL' | 'WORLD'): void;
|
|
586
|
-
protected startMapDrag(event: MouseEvent): void;
|
|
587
|
-
protected onMapDrag(event: MouseEvent): void;
|
|
588
|
-
protected endMapDrag(): void;
|
|
589
|
-
protected fitMapZoom(type: 'LOCAL' | 'WORLD'): void;
|
|
590
|
-
protected isMapFit(type: 'LOCAL' | 'WORLD'): boolean;
|
|
591
|
-
protected saveMapImageModal(payload: MapImagePayload): Promise<void>;
|
|
496
|
+
declare class PipBoy3000 extends PipBoy3000Shell {
|
|
592
497
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PipBoy3000, never>;
|
|
593
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PipBoy3000, "pip-boy-3000", never, {
|
|
498
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PipBoy3000, "pip-boy-3000", never, {}, {}, never, never, true, never>;
|
|
594
499
|
}
|
|
595
500
|
|
|
596
501
|
export { PipBoy2000MkVI, PipBoy3000, PipBoy3000MkIV, PipBoy3000State, PipBoy3000a };
|
|
Binary file
|
|
Binary file
|