@rocketshow/designer 1.67.0 → 1.68.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.
package/index.d.ts
CHANGED
|
@@ -397,6 +397,17 @@ declare class Scene {
|
|
|
397
397
|
constructor(data?: any);
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
+
/**
|
|
401
|
+
* Lightweight configuration entry describing a universe that can
|
|
402
|
+
* be selected by the user inside the fixture pool. The actual
|
|
403
|
+
* runtime universe (with channel values, etc.) is represented by
|
|
404
|
+
* the `Universe` model.
|
|
405
|
+
*/
|
|
406
|
+
interface UniverseConfig {
|
|
407
|
+
uuid: string;
|
|
408
|
+
name: string;
|
|
409
|
+
}
|
|
410
|
+
|
|
400
411
|
declare class Project {
|
|
401
412
|
id: number;
|
|
402
413
|
version: number;
|
|
@@ -418,6 +429,7 @@ declare class Project {
|
|
|
418
429
|
fixtureProfiles: FixtureProfile[];
|
|
419
430
|
fixtures: Fixture[];
|
|
420
431
|
presetFixtures: PresetFixture[];
|
|
432
|
+
universes: UniverseConfig[];
|
|
421
433
|
scenes: Scene[];
|
|
422
434
|
presets: Preset[];
|
|
423
435
|
constructor(data?: any);
|
|
@@ -442,6 +454,26 @@ declare class UserService {
|
|
|
442
454
|
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
443
455
|
}
|
|
444
456
|
|
|
457
|
+
declare class ConfigService {
|
|
458
|
+
restUrl: string;
|
|
459
|
+
enableMediaLibrary: boolean;
|
|
460
|
+
loginAvailable: boolean;
|
|
461
|
+
shareAvailable: boolean;
|
|
462
|
+
menuHeightPx: number;
|
|
463
|
+
languageSwitch: boolean;
|
|
464
|
+
livePreview: boolean;
|
|
465
|
+
localProfiles: boolean;
|
|
466
|
+
intro: boolean;
|
|
467
|
+
uniqueProjectNames: boolean;
|
|
468
|
+
dropzoneChunking: boolean;
|
|
469
|
+
universes: UniverseConfig[];
|
|
470
|
+
freeUniverseEdit: boolean;
|
|
471
|
+
menuHeightChanged: Subject<void>;
|
|
472
|
+
constructor();
|
|
473
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
|
|
474
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
|
|
475
|
+
}
|
|
476
|
+
|
|
445
477
|
declare class ProjectService {
|
|
446
478
|
private http;
|
|
447
479
|
private userService;
|
|
@@ -449,9 +481,10 @@ declare class ProjectService {
|
|
|
449
481
|
private activatedRoute;
|
|
450
482
|
private translateService;
|
|
451
483
|
private toastrService;
|
|
484
|
+
private configService;
|
|
452
485
|
project: Project;
|
|
453
486
|
currentProjectVersion: number;
|
|
454
|
-
constructor(http: HttpClient, userService: UserService, router: Router, activatedRoute: ActivatedRoute, translateService: TranslateService, toastrService: ToastrService);
|
|
487
|
+
constructor(http: HttpClient, userService: UserService, router: Router, activatedRoute: ActivatedRoute, translateService: TranslateService, toastrService: ToastrService, configService: ConfigService);
|
|
455
488
|
private saveApi;
|
|
456
489
|
save(project: Project): void;
|
|
457
490
|
getAllProjects(): Observable<Project[]>;
|
|
@@ -574,37 +607,6 @@ declare class AnimationService {
|
|
|
574
607
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnimationService>;
|
|
575
608
|
}
|
|
576
609
|
|
|
577
|
-
/**
|
|
578
|
-
* Lightweight configuration entry describing a universe that can
|
|
579
|
-
* be selected by the user inside the fixture pool. The actual
|
|
580
|
-
* runtime universe (with channel values, etc.) is represented by
|
|
581
|
-
* the `Universe` model.
|
|
582
|
-
*/
|
|
583
|
-
interface UniverseConfig {
|
|
584
|
-
uuid: string;
|
|
585
|
-
name: string;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
declare class ConfigService {
|
|
589
|
-
restUrl: string;
|
|
590
|
-
enableMediaLibrary: boolean;
|
|
591
|
-
loginAvailable: boolean;
|
|
592
|
-
shareAvailable: boolean;
|
|
593
|
-
menuHeightPx: number;
|
|
594
|
-
languageSwitch: boolean;
|
|
595
|
-
livePreview: boolean;
|
|
596
|
-
localProfiles: boolean;
|
|
597
|
-
intro: boolean;
|
|
598
|
-
uniqueProjectNames: boolean;
|
|
599
|
-
dropzoneChunking: boolean;
|
|
600
|
-
universes: UniverseConfig[];
|
|
601
|
-
freeUniverseEdit: boolean;
|
|
602
|
-
menuHeightChanged: Subject<void>;
|
|
603
|
-
constructor();
|
|
604
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
|
|
605
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
610
|
declare class TimelineStateService {
|
|
609
611
|
playState: string;
|
|
610
612
|
selectedComposition: Composition;
|
|
@@ -736,7 +738,7 @@ declare class TimelineService {
|
|
|
736
738
|
formatTimeCallback(seconds: number, pxPerSec: number): string | number;
|
|
737
739
|
timeInterval(pxPerSec: number): number;
|
|
738
740
|
primaryLabelInterval(pxPerSec: number): number;
|
|
739
|
-
secondaryLabelInterval(pxPerSec: number):
|
|
741
|
+
secondaryLabelInterval(pxPerSec: number): 5 | 0 | 2;
|
|
740
742
|
private seekWithTimeline;
|
|
741
743
|
applyZoom(zoom: any): void;
|
|
742
744
|
private isWaveSurferReady;
|
|
@@ -895,9 +897,11 @@ declare class ProjectLoadService {
|
|
|
895
897
|
private activatedRoute;
|
|
896
898
|
private warningDialogService;
|
|
897
899
|
private livePreviewService;
|
|
898
|
-
|
|
900
|
+
private configService;
|
|
901
|
+
constructor(projectService: ProjectService, previewService: PreviewService, fixtureService: FixtureService, presetService: PresetService, sceneService: SceneService, modalService: BsModalService, uuidService: UuidService, timelineService: TimelineService, router: Router, activatedRoute: ActivatedRoute, warningDialogService: WarningDialogService, livePreviewService: LivePreviewService, configService: ConfigService);
|
|
899
902
|
private migrateToVersion2;
|
|
900
903
|
private migrateFromOldProject;
|
|
904
|
+
private setupUniverses;
|
|
901
905
|
private afterLoad;
|
|
902
906
|
private selectScenesPresetComposition;
|
|
903
907
|
load(id: number, name: string, shareToken?: string): Observable<void>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|