@rocketshow/designer 1.42.0 → 1.44.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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, AfterViewInit, OnInit, ElementRef, ChangeDetectorRef, PipeTransform, EventEmitter } from '@angular/core';
|
|
2
|
+
import { NgZone, OnDestroy, AfterViewInit, OnInit, ElementRef, ChangeDetectorRef, PipeTransform, EventEmitter } from '@angular/core';
|
|
3
3
|
import * as i44 from '@ngx-translate/core';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { BsModalService, BsModalRef } from 'ngx-bootstrap/modal';
|
|
@@ -12,6 +12,8 @@ import * as i39 from '@angular/router';
|
|
|
12
12
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
13
13
|
import * as THREE from 'three';
|
|
14
14
|
import WaveSurfer from 'wavesurfer.js';
|
|
15
|
+
import * as i51 from '@ali-hm/angular-tree-component';
|
|
16
|
+
import { ITreeOptions } from '@ali-hm/angular-tree-component';
|
|
15
17
|
import * as i49 from 'ngx-dropzone-wrapper';
|
|
16
18
|
import { DropzoneConfigInterface } from 'ngx-dropzone-wrapper';
|
|
17
19
|
import * as i40 from '@angular/platform-browser';
|
|
@@ -560,6 +562,8 @@ declare class ConfigService {
|
|
|
560
562
|
|
|
561
563
|
declare class EffectService {
|
|
562
564
|
selectedEffect: Effect;
|
|
565
|
+
effectsOpen: boolean;
|
|
566
|
+
effectsOpenChanged: Subject<void>;
|
|
563
567
|
constructor();
|
|
564
568
|
static ɵfac: i0.ɵɵFactoryDeclaration<EffectService, never>;
|
|
565
569
|
static ɵprov: i0.ɵɵInjectableDeclaration<EffectService>;
|
|
@@ -588,6 +592,7 @@ declare class PresetService {
|
|
|
588
592
|
switchFixtureSelection(fixture: Fixture, pixelKey: string): void;
|
|
589
593
|
selectAllFixtures(): void;
|
|
590
594
|
selectNoFixtures(): void;
|
|
595
|
+
private presetFixtueEquals;
|
|
591
596
|
removeDeletedFixtures(): void;
|
|
592
597
|
updateFixtureSelection(): void;
|
|
593
598
|
deleteCapabilityValue(preset: Preset, capabilityType: FixtureCapabilityType, color?: FixtureCapabilityColor, wheel?: string, profileUuid?: string): void;
|
|
@@ -642,6 +647,7 @@ declare class TimelineService {
|
|
|
642
647
|
private projectService;
|
|
643
648
|
private http;
|
|
644
649
|
private configService;
|
|
650
|
+
private ngZone;
|
|
645
651
|
waveSurfer: WaveSurfer;
|
|
646
652
|
playState: string;
|
|
647
653
|
zoom: number;
|
|
@@ -659,7 +665,7 @@ declare class TimelineService {
|
|
|
659
665
|
selectedCompositionIndex: number;
|
|
660
666
|
externalCompositionsAvailable: boolean;
|
|
661
667
|
loadingAudioFile: boolean;
|
|
662
|
-
constructor(sceneService: SceneService, presetService: PresetService, projectService: ProjectService, http: HttpClient, configService: ConfigService);
|
|
668
|
+
constructor(sceneService: SceneService, presetService: PresetService, projectService: ProjectService, http: HttpClient, configService: ConfigService, ngZone: NgZone);
|
|
663
669
|
private redrawAllRegions;
|
|
664
670
|
private pad;
|
|
665
671
|
private msToTime;
|
|
@@ -734,13 +740,14 @@ declare class PreviewComponent implements AfterViewInit {
|
|
|
734
740
|
private previewService;
|
|
735
741
|
private timelineService;
|
|
736
742
|
private projectService;
|
|
743
|
+
private ngZone;
|
|
737
744
|
private renderer;
|
|
738
745
|
private scene;
|
|
739
746
|
private camera;
|
|
740
747
|
controls: OrbitControls;
|
|
741
748
|
private fixtures3d;
|
|
742
749
|
private canvasRef;
|
|
743
|
-
constructor(fixtureService: FixtureService, previewMeshService: PreviewMeshService, animationService: AnimationService, previewService: PreviewService, timelineService: TimelineService, projectService: ProjectService);
|
|
750
|
+
constructor(fixtureService: FixtureService, previewMeshService: PreviewMeshService, animationService: AnimationService, previewService: PreviewService, timelineService: TimelineService, projectService: ProjectService, ngZone: NgZone);
|
|
744
751
|
private syncFixtures;
|
|
745
752
|
private get canvas();
|
|
746
753
|
private render;
|
|
@@ -899,6 +906,7 @@ declare class DesignerComponent implements OnInit, AfterViewInit {
|
|
|
899
906
|
private fixtureService;
|
|
900
907
|
private timelineService;
|
|
901
908
|
introService: IntroService;
|
|
909
|
+
private effectService;
|
|
902
910
|
set menuHeightPx(value: number);
|
|
903
911
|
set externalCompositionsAvailable(value: boolean);
|
|
904
912
|
set restUrl(value: string);
|
|
@@ -918,7 +926,7 @@ declare class DesignerComponent implements OnInit, AfterViewInit {
|
|
|
918
926
|
currentTab: string;
|
|
919
927
|
previewComponent: PreviewComponent;
|
|
920
928
|
timelineComponent: TimelineComponent;
|
|
921
|
-
constructor(translateService: TranslateService, projectService: ProjectService, configService: ConfigService, fixturePoolService: FixturePoolService, hotkeyTargetExcludeService: HotkeyTargetExcludeService, modalService: BsModalService, userService: UserService, userEnsureLoginService: UserEnsureLoginService, projectLoadService: ProjectLoadService, warningDialogService: WarningDialogService, errorDialogService: ErrorDialogService, fixtureService: FixtureService, timelineService: TimelineService, introService: IntroService);
|
|
929
|
+
constructor(translateService: TranslateService, projectService: ProjectService, configService: ConfigService, fixturePoolService: FixturePoolService, hotkeyTargetExcludeService: HotkeyTargetExcludeService, modalService: BsModalService, userService: UserService, userEnsureLoginService: UserEnsureLoginService, projectLoadService: ProjectLoadService, warningDialogService: WarningDialogService, errorDialogService: ErrorDialogService, fixtureService: FixtureService, timelineService: TimelineService, introService: IntroService, effectService: EffectService);
|
|
922
930
|
private loadError;
|
|
923
931
|
ngOnInit(): void;
|
|
924
932
|
private calcTotalMenuHeight;
|
|
@@ -972,11 +980,13 @@ declare class EffectCurve extends Effect {
|
|
|
972
980
|
getValueAtMillis(timeMillis: number, fixtureIndex?: number): number;
|
|
973
981
|
}
|
|
974
982
|
|
|
975
|
-
declare class EffectCurveComponent implements OnInit {
|
|
983
|
+
declare class EffectCurveComponent implements OnInit, OnDestroy {
|
|
976
984
|
presetService: PresetService;
|
|
977
985
|
private animationService;
|
|
978
986
|
private fixtureService;
|
|
979
987
|
private translate;
|
|
988
|
+
private effectService;
|
|
989
|
+
private ngZone;
|
|
980
990
|
private gridUpdateSubscription;
|
|
981
991
|
private ctx;
|
|
982
992
|
private maxWidth;
|
|
@@ -995,11 +1005,15 @@ declare class EffectCurveComponent implements OnInit {
|
|
|
995
1005
|
availableChannels: Map<FixtureProfile, CachedFixtureChannel[]>;
|
|
996
1006
|
availableProfiles: FixtureProfile[];
|
|
997
1007
|
selectedProfiles: FixtureProfile[];
|
|
1008
|
+
private effectsOpenChangedSubscription;
|
|
998
1009
|
curve: EffectCurve;
|
|
999
1010
|
set isSelected(value: boolean);
|
|
1000
1011
|
curveGrid: ElementRef;
|
|
1001
|
-
constructor(presetService: PresetService, animationService: AnimationService, fixtureService: FixtureService, translate: TranslateService);
|
|
1012
|
+
constructor(presetService: PresetService, animationService: AnimationService, fixtureService: FixtureService, translate: TranslateService, effectService: EffectService, ngZone: NgZone);
|
|
1002
1013
|
ngOnInit(): void;
|
|
1014
|
+
ngOnDestroy(): void;
|
|
1015
|
+
private startUpdateTimer;
|
|
1016
|
+
private stopUpdateTimer;
|
|
1003
1017
|
private drawCurrentValue;
|
|
1004
1018
|
private getPhasingCount;
|
|
1005
1019
|
redraw(): void;
|
|
@@ -1226,8 +1240,12 @@ declare class PresetComponent implements OnInit {
|
|
|
1226
1240
|
projectService: ProjectService;
|
|
1227
1241
|
introService: IntroService;
|
|
1228
1242
|
private modalService;
|
|
1243
|
+
treeOptions: ITreeOptions;
|
|
1244
|
+
treeNodes: any;
|
|
1245
|
+
tree: ElementRef;
|
|
1229
1246
|
constructor(presetService: PresetService, sceneService: SceneService, projectService: ProjectService, introService: IntroService, modalService: BsModalService);
|
|
1230
1247
|
ngOnInit(): void;
|
|
1248
|
+
onActivate(event: any): void;
|
|
1231
1249
|
selectPreset(index: number): void;
|
|
1232
1250
|
enableCheckbox(): boolean;
|
|
1233
1251
|
activatePreset(active: boolean, index: number): void;
|
|
@@ -1651,7 +1669,7 @@ declare class DropzoneComponent {
|
|
|
1651
1669
|
|
|
1652
1670
|
declare class DesignerModule {
|
|
1653
1671
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerModule, never>;
|
|
1654
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DesignerModule, [typeof DesignerComponent, typeof WarningDialogComponent, typeof PreviewComponent, typeof EffectCurveComponent, typeof EffectPanTiltComponent, typeof SceneComponent, typeof TimelineComponent, typeof FixtureCapabilityColorComponent, typeof FixtureComponent, typeof FixtureSettingsPositionComponent, typeof FixtureCapabilityComponent, typeof FixtureSettingsComponent, typeof EffectComponent, typeof FixturePoolComponent, typeof PresetComponent, typeof MasterDimmerComponent, typeof FixtureCapabilityDimmerComponent, typeof TimelineGridComponent, typeof CompositionSettingsComponent, typeof ArraySortPipe, typeof FixtureCapabilityPanTiltComponent, typeof FixtureCapabilityChannelComponent, typeof FixtureChannelComponent, typeof FixtureCapabilityColorWheelComponent, typeof UserLoginComponent, typeof UserRegisterComponent, typeof ProjectBrowserComponent, typeof WaitDialogComponent, typeof ProjectImportComponent, typeof ProjectShareComponent, typeof ErrorDialogComponent, typeof FixtureSettingsStageComponent, typeof IntroComponent, typeof PresetSettingsComponent, typeof SceneSettingsComponent, typeof ProjectSaveComponent, typeof FixturePoolCreateFromFileComponent, typeof DropzoneComponent], [typeof i39.RouterModule, typeof i40.BrowserModule, typeof i41.BrowserAnimationsModule, typeof i42.FormsModule, typeof i43.NgxBootstrapSliderModule, typeof i44.TranslateModule, typeof i45.AccordionModule, typeof i46.PopoverModule, typeof i47.TypeaheadModule, typeof i48.SortablejsModule, typeof i49.DropzoneModule, typeof i50.ToastrModule], [typeof DesignerComponent]>;
|
|
1672
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DesignerModule, [typeof DesignerComponent, typeof WarningDialogComponent, typeof PreviewComponent, typeof EffectCurveComponent, typeof EffectPanTiltComponent, typeof SceneComponent, typeof TimelineComponent, typeof FixtureCapabilityColorComponent, typeof FixtureComponent, typeof FixtureSettingsPositionComponent, typeof FixtureCapabilityComponent, typeof FixtureSettingsComponent, typeof EffectComponent, typeof FixturePoolComponent, typeof PresetComponent, typeof MasterDimmerComponent, typeof FixtureCapabilityDimmerComponent, typeof TimelineGridComponent, typeof CompositionSettingsComponent, typeof ArraySortPipe, typeof FixtureCapabilityPanTiltComponent, typeof FixtureCapabilityChannelComponent, typeof FixtureChannelComponent, typeof FixtureCapabilityColorWheelComponent, typeof UserLoginComponent, typeof UserRegisterComponent, typeof ProjectBrowserComponent, typeof WaitDialogComponent, typeof ProjectImportComponent, typeof ProjectShareComponent, typeof ErrorDialogComponent, typeof FixtureSettingsStageComponent, typeof IntroComponent, typeof PresetSettingsComponent, typeof SceneSettingsComponent, typeof ProjectSaveComponent, typeof FixturePoolCreateFromFileComponent, typeof DropzoneComponent], [typeof i39.RouterModule, typeof i40.BrowserModule, typeof i41.BrowserAnimationsModule, typeof i42.FormsModule, typeof i43.NgxBootstrapSliderModule, typeof i44.TranslateModule, typeof i45.AccordionModule, typeof i46.PopoverModule, typeof i47.TypeaheadModule, typeof i48.SortablejsModule, typeof i49.DropzoneModule, typeof i50.ToastrModule, typeof i51.TreeModule], [typeof DesignerComponent]>;
|
|
1655
1673
|
static ɵinj: i0.ɵɵInjectorDeclaration<DesignerModule>;
|
|
1656
1674
|
}
|
|
1657
1675
|
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|