@rocketshow/designer 1.33.0 → 1.36.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/assets/i18n/de.json +2 -1
- package/assets/i18n/en.json +2 -1
- package/esm2022/lib/designer.component.mjs +197 -130
- package/esm2022/lib/designer.module.mjs +5 -2
- package/esm2022/lib/dropzone/dropzone.component.mjs +93 -0
- package/esm2022/lib/effect/effect-curve/effect-curve.component.mjs +14 -6
- package/esm2022/lib/fixture/fixture-capability/fixture-capability.component.mjs +5 -5
- package/esm2022/lib/fixture/fixture-channel/fixture-channel.component.mjs +6 -4
- package/esm2022/lib/fixture/fixture.component.mjs +25 -15
- package/esm2022/lib/fixture-pool/fixture-pool-create-from-file/fixture-pool-create-from-file.component.mjs +4 -4
- package/esm2022/lib/fixture-pool/fixture-pool.component.mjs +73 -21
- package/esm2022/lib/models/cached-fixture.mjs +1 -1
- package/esm2022/lib/models/fixture-matrix-pixel-group-constraints.mjs +27 -0
- package/esm2022/lib/models/fixture-matrix-pixel-group.mjs +12 -0
- package/esm2022/lib/models/fixture-matrix.mjs +25 -0
- package/esm2022/lib/models/fixture-mode-channel.mjs +26 -0
- package/esm2022/lib/models/fixture-mode.mjs +5 -2
- package/esm2022/lib/models/fixture-physical.mjs +14 -0
- package/esm2022/lib/models/fixture-profile.mjs +16 -1
- package/esm2022/lib/models/fixture.mjs +2 -2
- package/esm2022/lib/models/preset-fixture.mjs +10 -0
- package/esm2022/lib/models/preset.mjs +10 -1
- package/esm2022/lib/models/project.mjs +11 -1
- package/esm2022/lib/preview/models/color-changer-3d.mjs +5 -108
- package/esm2022/lib/preview/models/fixture-3d.mjs +125 -1
- package/esm2022/lib/preview/models/moving-head-3d.mjs +3 -122
- package/esm2022/lib/preview/preview.component.mjs +21 -16
- package/esm2022/lib/services/config.service.mjs +2 -1
- package/esm2022/lib/services/fixture.service.mjs +306 -44
- package/esm2022/lib/services/preset.service.mjs +92 -42
- package/esm2022/lib/services/preview.service.mjs +29 -60
- package/esm2022/lib/services/project-load.service.mjs +61 -4
- package/esm2022/lib/services/project.service.mjs +11 -15
- package/esm2022/lib/timeline/composition-settings/composition-settings.component.mjs +14 -44
- package/fesm2022/rocketshow-designer.mjs +1319 -758
- package/fesm2022/rocketshow-designer.mjs.map +1 -1
- package/lib/designer.component.d.ts +5 -5
- package/lib/designer.module.d.ts +15 -14
- package/lib/dropzone/dropzone.component.d.ts +24 -0
- package/lib/fixture/fixture.component.d.ts +4 -3
- package/lib/models/cached-fixture.d.ts +1 -0
- package/lib/models/fixture-matrix-pixel-group-constraints.d.ts +8 -0
- package/lib/models/fixture-matrix-pixel-group.d.ts +6 -0
- package/lib/models/fixture-matrix.d.ts +6 -0
- package/lib/models/fixture-mode-channel.d.ts +8 -0
- package/lib/models/fixture-mode.d.ts +3 -1
- package/lib/models/fixture-physical.d.ts +4 -0
- package/lib/models/fixture-profile.d.ts +5 -0
- package/lib/models/preset-fixture.d.ts +5 -0
- package/lib/models/preset.d.ts +2 -0
- package/lib/models/project.d.ts +3 -0
- package/lib/preview/models/color-changer-3d.d.ts +1 -11
- package/lib/preview/models/fixture-3d.d.ts +11 -0
- package/lib/preview/models/moving-head-3d.d.ts +1 -11
- package/lib/services/config.service.d.ts +1 -0
- package/lib/services/fixture.service.d.ts +12 -2
- package/lib/services/preset.service.d.ts +5 -2
- package/lib/services/preview.service.d.ts +2 -5
- package/lib/services/project-load.service.d.ts +5 -1
- package/lib/services/project.service.d.ts +2 -3
- package/lib/services/timeline.service.d.ts +1 -1
- package/lib/timeline/composition-settings/composition-settings.component.d.ts +2 -1
- package/package.json +1 -1
- package/rocketshow-designer-1.36.0.tgz +0 -0
- package/esm2022/lib/models/universe.mjs +0 -11
- package/esm2022/lib/services/universe.service.mjs +0 -23
- package/lib/models/universe.d.ts +0 -8
- package/lib/services/universe.service.d.ts +0 -9
- package/rocketshow-designer-1.33.0.tgz +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, OnInit } from '@angular/core';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import { BsModalService } from 'ngx-bootstrap/modal';
|
|
4
|
-
import { ToastrService } from 'ngx-toastr';
|
|
5
4
|
import { PreviewComponent } from './preview/preview.component';
|
|
6
5
|
import { ConfigService } from './services/config.service';
|
|
7
6
|
import { ErrorDialogService } from './services/error-dialog.service';
|
|
@@ -19,14 +18,13 @@ import { TimelineComponent } from './timeline/timeline.component';
|
|
|
19
18
|
import * as i0 from "@angular/core";
|
|
20
19
|
export declare class DesignerComponent implements OnInit, AfterViewInit {
|
|
21
20
|
private translateService;
|
|
22
|
-
|
|
21
|
+
projectService: ProjectService;
|
|
23
22
|
configService: ConfigService;
|
|
24
23
|
private fixturePoolService;
|
|
25
24
|
private hotkeyTargetExcludeService;
|
|
26
25
|
private modalService;
|
|
27
26
|
userService: UserService;
|
|
28
27
|
private userEnsureLoginService;
|
|
29
|
-
private toastrService;
|
|
30
28
|
private projectLoadService;
|
|
31
29
|
private warningDialogService;
|
|
32
30
|
private errorDialogService;
|
|
@@ -45,13 +43,15 @@ export declare class DesignerComponent implements OnInit, AfterViewInit {
|
|
|
45
43
|
set localProfiles(value: boolean);
|
|
46
44
|
set intro(value: boolean);
|
|
47
45
|
set uniqueProjectNames(value: boolean);
|
|
46
|
+
set dropzoneChunking(value: boolean);
|
|
48
47
|
private designerMenuSizePx;
|
|
49
48
|
private splitGutterSizePx;
|
|
50
49
|
totalMenuHeightPx: number;
|
|
51
50
|
currentTab: string;
|
|
52
51
|
previewComponent: PreviewComponent;
|
|
53
52
|
timelineComponent: TimelineComponent;
|
|
54
|
-
constructor(translateService: TranslateService, projectService: ProjectService, configService: ConfigService, fixturePoolService: FixturePoolService, hotkeyTargetExcludeService: HotkeyTargetExcludeService, modalService: BsModalService, userService: UserService, userEnsureLoginService: UserEnsureLoginService,
|
|
53
|
+
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);
|
|
54
|
+
private loadError;
|
|
55
55
|
ngOnInit(): void;
|
|
56
56
|
private calcTotalMenuHeight;
|
|
57
57
|
private onResize;
|
|
@@ -69,5 +69,5 @@ export declare class DesignerComponent implements OnInit, AfterViewInit {
|
|
|
69
69
|
handleKeyboardEvent(event: any): void;
|
|
70
70
|
switchLanguage(language: string): void;
|
|
71
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DesignerComponent, "lib-designer", never, { "menuHeightPx": { "alias": "menuHeightPx"; "required": false; }; "externalCompositionsAvailable": { "alias": "externalCompositionsAvailable"; "required": false; }; "restUrl": { "alias": "restUrl"; "required": false; }; "enableMediaLibrary": { "alias": "enableMediaLibrary"; "required": false; }; "loginAvailable": { "alias": "loginAvailable"; "required": false; }; "shareAvailable": { "alias": "shareAvailable"; "required": false; }; "languageSwitch": { "alias": "languageSwitch"; "required": false; }; "newProjectTemplate": { "alias": "newProjectTemplate"; "required": false; }; "livePreview": { "alias": "livePreview"; "required": false; }; "localProfiles": { "alias": "localProfiles"; "required": false; }; "intro": { "alias": "intro"; "required": false; }; "uniqueProjectNames": { "alias": "uniqueProjectNames"; "required": false; }; }, {}, never, never, false, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DesignerComponent, "lib-designer", never, { "menuHeightPx": { "alias": "menuHeightPx"; "required": false; }; "externalCompositionsAvailable": { "alias": "externalCompositionsAvailable"; "required": false; }; "restUrl": { "alias": "restUrl"; "required": false; }; "enableMediaLibrary": { "alias": "enableMediaLibrary"; "required": false; }; "loginAvailable": { "alias": "loginAvailable"; "required": false; }; "shareAvailable": { "alias": "shareAvailable"; "required": false; }; "languageSwitch": { "alias": "languageSwitch"; "required": false; }; "newProjectTemplate": { "alias": "newProjectTemplate"; "required": false; }; "livePreview": { "alias": "livePreview"; "required": false; }; "localProfiles": { "alias": "localProfiles"; "required": false; }; "intro": { "alias": "intro"; "required": false; }; "uniqueProjectNames": { "alias": "uniqueProjectNames"; "required": false; }; "dropzoneChunking": { "alias": "dropzoneChunking"; "required": false; }; }, {}, never, never, false, never>;
|
|
73
73
|
}
|
package/lib/designer.module.d.ts
CHANGED
|
@@ -36,21 +36,22 @@ import * as i34 from "./preset/preset-settings/preset-settings.component";
|
|
|
36
36
|
import * as i35 from "./scene/scene-settings/scene-settings.component";
|
|
37
37
|
import * as i36 from "./project/project-save/project-save.component";
|
|
38
38
|
import * as i37 from "./fixture-pool/fixture-pool-create-from-file/fixture-pool-create-from-file.component";
|
|
39
|
-
import * as i38 from "
|
|
40
|
-
import * as i39 from "@angular/
|
|
41
|
-
import * as i40 from "@angular/platform-browser
|
|
42
|
-
import * as i41 from "@angular/
|
|
43
|
-
import * as i42 from "@angular/
|
|
44
|
-
import * as i43 from "
|
|
45
|
-
import * as i44 from "
|
|
46
|
-
import * as i45 from "ngx-
|
|
47
|
-
import * as i46 from "ngx-bootstrap/
|
|
48
|
-
import * as i47 from "ngx-bootstrap/
|
|
49
|
-
import * as i48 from "ngx-
|
|
50
|
-
import * as i49 from "ngx-
|
|
51
|
-
import * as i50 from "ngx-
|
|
39
|
+
import * as i38 from "./dropzone/dropzone.component";
|
|
40
|
+
import * as i39 from "@angular/router";
|
|
41
|
+
import * as i40 from "@angular/platform-browser";
|
|
42
|
+
import * as i41 from "@angular/platform-browser/animations";
|
|
43
|
+
import * as i42 from "@angular/common/http";
|
|
44
|
+
import * as i43 from "@angular/forms";
|
|
45
|
+
import * as i44 from "ngx-bootstrap-slider";
|
|
46
|
+
import * as i45 from "@ngx-translate/core";
|
|
47
|
+
import * as i46 from "ngx-bootstrap/accordion";
|
|
48
|
+
import * as i47 from "ngx-bootstrap/popover";
|
|
49
|
+
import * as i48 from "ngx-bootstrap/typeahead";
|
|
50
|
+
import * as i49 from "ngx-sortablejs-plus";
|
|
51
|
+
import * as i50 from "ngx-dropzone-wrapper";
|
|
52
|
+
import * as i51 from "ngx-toastr";
|
|
52
53
|
export declare class DesignerModule {
|
|
53
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerModule, never>;
|
|
54
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DesignerModule, [typeof i1.DesignerComponent, typeof i2.WarningDialogComponent, typeof i3.PreviewComponent, typeof i4.EffectCurveComponent, typeof i5.EffectPanTiltComponent, typeof i6.SceneComponent, typeof i7.TimelineComponent, typeof i8.FixtureCapabilityColorComponent, typeof i9.FixtureComponent, typeof i10.FixtureSettingsPositionComponent, typeof i11.FixtureCapabilityComponent, typeof i12.FixtureSettingsComponent, typeof i13.EffectComponent, typeof i14.FixturePoolComponent, typeof i15.PresetComponent, typeof i16.MasterDimmerComponent, typeof i17.FixtureCapabilityDimmerComponent, typeof i18.TimelineGridComponent, typeof i19.CompositionSettingsComponent, typeof i20.ArraySortPipe, typeof i21.FixtureCapabilityPanTiltComponent, typeof i22.FixtureCapabilityChannelComponent, typeof i23.FixtureChannelComponent, typeof i24.FixtureCapabilityColorWheelComponent, typeof i25.UserLoginComponent, typeof i26.UserRegisterComponent, typeof i27.ProjectBrowserComponent, typeof i28.WaitDialogComponent, typeof i29.ProjectImportComponent, typeof i30.ProjectShareComponent, typeof i31.ErrorDialogComponent, typeof i32.FixtureSettingsStageComponent, typeof i33.IntroComponent, typeof i34.PresetSettingsComponent, typeof i35.SceneSettingsComponent, typeof i36.ProjectSaveComponent, typeof i37.FixturePoolCreateFromFileComponent], [typeof
|
|
55
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DesignerModule, [typeof i1.DesignerComponent, typeof i2.WarningDialogComponent, typeof i3.PreviewComponent, typeof i4.EffectCurveComponent, typeof i5.EffectPanTiltComponent, typeof i6.SceneComponent, typeof i7.TimelineComponent, typeof i8.FixtureCapabilityColorComponent, typeof i9.FixtureComponent, typeof i10.FixtureSettingsPositionComponent, typeof i11.FixtureCapabilityComponent, typeof i12.FixtureSettingsComponent, typeof i13.EffectComponent, typeof i14.FixturePoolComponent, typeof i15.PresetComponent, typeof i16.MasterDimmerComponent, typeof i17.FixtureCapabilityDimmerComponent, typeof i18.TimelineGridComponent, typeof i19.CompositionSettingsComponent, typeof i20.ArraySortPipe, typeof i21.FixtureCapabilityPanTiltComponent, typeof i22.FixtureCapabilityChannelComponent, typeof i23.FixtureChannelComponent, typeof i24.FixtureCapabilityColorWheelComponent, typeof i25.UserLoginComponent, typeof i26.UserRegisterComponent, typeof i27.ProjectBrowserComponent, typeof i28.WaitDialogComponent, typeof i29.ProjectImportComponent, typeof i30.ProjectShareComponent, typeof i31.ErrorDialogComponent, typeof i32.FixtureSettingsStageComponent, typeof i33.IntroComponent, typeof i34.PresetSettingsComponent, typeof i35.SceneSettingsComponent, typeof i36.ProjectSaveComponent, typeof i37.FixturePoolCreateFromFileComponent, typeof i38.DropzoneComponent], [typeof i39.RouterModule, typeof i40.BrowserModule, typeof i41.BrowserAnimationsModule, typeof i42.HttpClientModule, typeof i43.FormsModule, typeof i44.NgxBootstrapSliderModule, typeof i45.TranslateModule, typeof i46.AccordionModule, typeof i47.PopoverModule, typeof i48.TypeaheadModule, typeof i49.SortablejsModule, typeof i50.DropzoneModule, typeof i51.ToastrModule], [typeof i1.DesignerComponent]>;
|
|
55
56
|
static ɵinj: i0.ɵɵInjectorDeclaration<DesignerModule>;
|
|
56
57
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { DropzoneConfigInterface } from 'ngx-dropzone-wrapper';
|
|
4
|
+
import { ConfigService } from '../services/config.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DropzoneComponent {
|
|
7
|
+
private translateService;
|
|
8
|
+
private configService;
|
|
9
|
+
error: EventEmitter<any>;
|
|
10
|
+
success: EventEmitter<any>;
|
|
11
|
+
addedFile: EventEmitter<any>;
|
|
12
|
+
private _url;
|
|
13
|
+
private _acceptedFiles;
|
|
14
|
+
private _maxFiles;
|
|
15
|
+
set url(value: string);
|
|
16
|
+
set acceptedFiles(value: string);
|
|
17
|
+
set maxFiles(value: number);
|
|
18
|
+
dropzoneConfig: DropzoneConfigInterface;
|
|
19
|
+
uploadMessage: string;
|
|
20
|
+
constructor(translateService: TranslateService, configService: ConfigService);
|
|
21
|
+
updateConfig(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropzoneComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropzoneComponent, "app-dropzone", never, { "url": { "alias": "url"; "required": false; }; "acceptedFiles": { "alias": "acceptedFiles"; "required": false; }; "maxFiles": { "alias": "maxFiles"; "required": false; }; }, { "error": "error"; "success": "success"; "addedFile": "addedFile"; }, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Fixture } from '../models/fixture';
|
|
3
2
|
import { FixturePoolService } from '../services/fixture-pool.service';
|
|
4
3
|
import { FixtureService } from '../services/fixture.service';
|
|
5
4
|
import { IntroService } from '../services/intro.service';
|
|
6
5
|
import { PresetService } from '../services/preset.service';
|
|
7
6
|
import { ProjectService } from '../services/project.service';
|
|
7
|
+
import { PresetFixture } from '../models/preset-fixture';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class FixtureComponent implements OnInit {
|
|
10
10
|
projectService: ProjectService;
|
|
@@ -14,8 +14,9 @@ export declare class FixtureComponent implements OnInit {
|
|
|
14
14
|
introService: IntroService;
|
|
15
15
|
constructor(projectService: ProjectService, presetService: PresetService, fixturePoolService: FixturePoolService, fixtureService: FixtureService, introService: IntroService);
|
|
16
16
|
ngOnInit(): void;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
fixtureName(presetFixture: PresetFixture): string;
|
|
18
|
+
fixtureIsSelected(presetFixture: PresetFixture): boolean;
|
|
19
|
+
selectFixture(event: any, presetFixture: PresetFixture): void;
|
|
19
20
|
selectAll(): void;
|
|
20
21
|
selectNone(): void;
|
|
21
22
|
openFixturePool(): void;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { FixtureMatrix } from './fixture-matrix';
|
|
1
2
|
import { FixtureMode } from './fixture-mode';
|
|
3
|
+
import { FixturePhysical } from './fixture-physical';
|
|
2
4
|
export declare enum FixtureCategory {
|
|
3
5
|
Blinder = "Blinder",
|
|
4
6
|
'Color Changer' = "Color Changer",
|
|
@@ -26,7 +28,10 @@ export declare class FixtureProfile {
|
|
|
26
28
|
manufacturerShortName: string;
|
|
27
29
|
manufacturerName: string;
|
|
28
30
|
categories: FixtureCategory[];
|
|
31
|
+
physical: FixturePhysical;
|
|
32
|
+
matrix: FixtureMatrix;
|
|
29
33
|
availableChannels: any;
|
|
34
|
+
templateChannels: any;
|
|
30
35
|
shortName: string;
|
|
31
36
|
wheels: any;
|
|
32
37
|
modes: FixtureMode[];
|
package/lib/models/preset.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Effect } from './effect';
|
|
2
2
|
import { FixtureCapabilityValue } from './fixture-capability-value';
|
|
3
3
|
import { FixtureChannelValue } from './fixture-channel-value';
|
|
4
|
+
import { PresetFixture } from './preset-fixture';
|
|
4
5
|
export declare class Preset {
|
|
5
6
|
uuid: string;
|
|
6
7
|
name: string;
|
|
7
8
|
fixtureUuids: string[];
|
|
9
|
+
fixtures: PresetFixture[];
|
|
8
10
|
fixtureChannelValues: FixtureChannelValue[];
|
|
9
11
|
fixtureCapabilityValues: FixtureCapabilityValue[];
|
|
10
12
|
effects: Effect[];
|
package/lib/models/project.d.ts
CHANGED
|
@@ -2,9 +2,11 @@ import { Composition } from './composition';
|
|
|
2
2
|
import { Fixture } from './fixture';
|
|
3
3
|
import { FixtureProfile } from './fixture-profile';
|
|
4
4
|
import { Preset } from './preset';
|
|
5
|
+
import { PresetFixture } from './preset-fixture';
|
|
5
6
|
import { Scene } from './scene';
|
|
6
7
|
export declare class Project {
|
|
7
8
|
id: number;
|
|
9
|
+
version: number;
|
|
8
10
|
uuid: string;
|
|
9
11
|
name: string;
|
|
10
12
|
shareToken: string;
|
|
@@ -22,6 +24,7 @@ export declare class Project {
|
|
|
22
24
|
compositions: Composition[];
|
|
23
25
|
fixtureProfiles: FixtureProfile[];
|
|
24
26
|
fixtures: Fixture[];
|
|
27
|
+
presetFixtures: PresetFixture[];
|
|
25
28
|
scenes: Scene[];
|
|
26
29
|
presets: Preset[];
|
|
27
30
|
constructor(data?: any);
|
|
@@ -5,21 +5,11 @@ import { FixtureService } from '../../services/fixture.service';
|
|
|
5
5
|
import { PreviewMeshService } from '../../services/preview-mesh.service';
|
|
6
6
|
import { Fixture3d } from './fixture-3d';
|
|
7
7
|
export declare class ColorChanger3d extends Fixture3d {
|
|
8
|
-
private readonly pointLightMaxIntensity;
|
|
9
|
-
private readonly spotLightMaxIntensity;
|
|
10
8
|
private mesh;
|
|
11
9
|
private objectGroup;
|
|
12
|
-
private spotlightGroup;
|
|
13
|
-
private spotLight;
|
|
14
|
-
private spotLightHelper;
|
|
15
|
-
private spotLightBeam;
|
|
16
|
-
private pointLight;
|
|
17
10
|
private lastSelected;
|
|
18
11
|
private material;
|
|
19
|
-
|
|
20
|
-
private atmosphereMat;
|
|
21
|
-
private createSpotLightBeam;
|
|
22
|
-
private createObjects;
|
|
12
|
+
protected createObjects(): void;
|
|
23
13
|
constructor(fixtureService: FixtureService, previewMeshService: PreviewMeshService, fixture: CachedFixture, scene: any);
|
|
24
14
|
getObject(): THREE.Object3D;
|
|
25
15
|
updatePreview(channelValues: FixtureChannelValue[], masterDimmerValue: number): void;
|
|
@@ -6,6 +6,8 @@ import { FixtureChannelValue } from '../../models/fixture-channel-value';
|
|
|
6
6
|
import { FixtureService } from '../../services/fixture.service';
|
|
7
7
|
export declare abstract class Fixture3d {
|
|
8
8
|
fixtureService: FixtureService;
|
|
9
|
+
private readonly pointLightMaxIntensity;
|
|
10
|
+
private readonly spotLightLightMaxIntensity;
|
|
9
11
|
fixture: CachedFixture;
|
|
10
12
|
fixtureHasDimmer: boolean;
|
|
11
13
|
fixtureHasColorWheel: boolean;
|
|
@@ -18,9 +20,18 @@ export declare abstract class Fixture3d {
|
|
|
18
20
|
isSelected: boolean;
|
|
19
21
|
isLoaded: boolean;
|
|
20
22
|
protected selectedMaterial: THREE.MeshLambertMaterial;
|
|
23
|
+
protected pointLight: THREE.PointLight;
|
|
24
|
+
protected atmosphereMaterial: THREE.ShaderMaterial;
|
|
25
|
+
protected spotLight: THREE.SpotLight;
|
|
26
|
+
protected spotLightHelper: THREE.SpotLightHelper;
|
|
27
|
+
protected spotLightBeam: THREE.Mesh;
|
|
28
|
+
protected spotlightGroup: THREE.Object3D;
|
|
21
29
|
constructor(fixtureService: FixtureService, fixture: CachedFixture, scene: any);
|
|
30
|
+
protected createObjects(): void;
|
|
22
31
|
protected getCapabilityInValue(channel: CachedFixtureChannel, value: number): CachedFixtureCapability;
|
|
23
32
|
updatePreview(channelValues: FixtureChannelValue[], masterDimmerValue: number): void;
|
|
24
33
|
updatePosition(object: THREE.Object3D): void;
|
|
34
|
+
protected atmosphereMat(): any;
|
|
35
|
+
protected createSpotLightBeam(): void;
|
|
25
36
|
destroy(): void;
|
|
26
37
|
}
|
|
@@ -5,28 +5,18 @@ import { FixtureService } from '../../services/fixture.service';
|
|
|
5
5
|
import { PreviewMeshService } from '../../services/preview-mesh.service';
|
|
6
6
|
import { Fixture3d } from './fixture-3d';
|
|
7
7
|
export declare class MovingHead3d extends Fixture3d {
|
|
8
|
-
private readonly pointLightMaxIntensity;
|
|
9
|
-
private readonly spotLightLightMaxIntensity;
|
|
10
8
|
private pan;
|
|
11
9
|
private tilt;
|
|
12
10
|
private socket;
|
|
13
11
|
private arm;
|
|
14
12
|
private head;
|
|
15
13
|
private headGroup;
|
|
16
|
-
private spotlightGroup;
|
|
17
14
|
private armGroup;
|
|
18
15
|
private objectGroup;
|
|
19
|
-
private spotLight;
|
|
20
|
-
private spotLightHelper;
|
|
21
|
-
private spotLightBeam;
|
|
22
|
-
private pointLight;
|
|
23
16
|
private lastBeamAngleDegrees;
|
|
24
17
|
private lastSelected;
|
|
25
18
|
private material;
|
|
26
|
-
|
|
27
|
-
private atmosphereMat;
|
|
28
|
-
private createSpotLightBeam;
|
|
29
|
-
private createObjects;
|
|
19
|
+
protected createObjects(): void;
|
|
30
20
|
constructor(fixtureService: FixtureService, previewMeshService: PreviewMeshService, fixture: CachedFixture, scene: any);
|
|
31
21
|
getObject(): THREE.Object3D;
|
|
32
22
|
updatePreview(channelValues: FixtureChannelValue[], masterDimmerValue: number): void;
|
|
@@ -12,6 +12,7 @@ export declare class ConfigService {
|
|
|
12
12
|
localProfiles: boolean;
|
|
13
13
|
intro: boolean;
|
|
14
14
|
uniqueProjectNames: boolean;
|
|
15
|
+
dropzoneChunking: boolean;
|
|
15
16
|
menuHeightChanged: Subject<void>;
|
|
16
17
|
constructor();
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
|
|
@@ -25,7 +25,8 @@ export declare class FixtureService {
|
|
|
25
25
|
selectedSettingsFixtures: Fixture[];
|
|
26
26
|
constructor(http: HttpClient, projectService: ProjectService, translateService: TranslateService, toastrService: ToastrService, uuidService: UuidService);
|
|
27
27
|
getFixtureByUuid(uuid: string): Fixture;
|
|
28
|
-
|
|
28
|
+
private fixtureUuidAndPixelKeyEquals;
|
|
29
|
+
getCachedFixtureByUuid(uuid: string, pixelKey: string): CachedFixture;
|
|
29
30
|
getSearchProfiles(): Observable<FixtureProfile[]>;
|
|
30
31
|
getProfileByUuid(uuid: string): FixtureProfile;
|
|
31
32
|
loadProfileByUuid(uuid: string): Observable<void>;
|
|
@@ -46,7 +47,16 @@ export declare class FixtureService {
|
|
|
46
47
|
private getDefaultValueByChannel;
|
|
47
48
|
private getColorWheelByChannel;
|
|
48
49
|
getChannelByName(fixture: CachedFixture, channelName: string): CachedFixtureChannel;
|
|
49
|
-
|
|
50
|
+
private getChannelNameWithPixelKey;
|
|
51
|
+
private addCachedChannel;
|
|
52
|
+
private alphanumericSort;
|
|
53
|
+
private getAllPixelKeys;
|
|
54
|
+
private getAllPixelGroups;
|
|
55
|
+
private getPixelKeysInOrder;
|
|
56
|
+
getModeChannelCount(profile: FixtureProfile, mode: FixtureMode): number;
|
|
57
|
+
getCachedChannels(profile: FixtureProfile, mode: FixtureMode, pixelKey: string): CachedFixtureChannel[];
|
|
58
|
+
fixtureGetUniquePixelKeys(fixture: Fixture): string[];
|
|
59
|
+
fixtureHasGeneralChannel(fixture: Fixture): boolean;
|
|
50
60
|
updateCachedFixtures(): void;
|
|
51
61
|
capabilitiesMatch(type1: FixtureCapabilityType, type2: FixtureCapabilityType, color1: FixtureCapabilityColor, color2: FixtureCapabilityColor, wheel1: string, wheel2: string, profileUuid1: string, profileUuid2: string): boolean;
|
|
52
62
|
settingsFixtureIsSelected(fixture: Fixture): boolean;
|
|
@@ -13,6 +13,7 @@ import { EffectService } from './effect.service';
|
|
|
13
13
|
import { FixtureService } from './fixture.service';
|
|
14
14
|
import { ProjectService } from './project.service';
|
|
15
15
|
import { UuidService } from './uuid.service';
|
|
16
|
+
import { PresetFixture } from '../models/preset-fixture';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
export declare class PresetService {
|
|
18
19
|
private effectService;
|
|
@@ -31,8 +32,10 @@ export declare class PresetService {
|
|
|
31
32
|
liveChangePending: boolean;
|
|
32
33
|
constructor(effectService: EffectService, uuidService: UuidService, projectService: ProjectService, fixtureService: FixtureService, configService: ConfigService, http: HttpClient, animationService: AnimationService);
|
|
33
34
|
getPresetByUuid(uuid: string): Preset;
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
fixtureUuidAndPixelKeyEquals(fixtureUuid1: string, fixtureUuid2: string, pixelKey1: string, pixelKey2: string): boolean;
|
|
36
|
+
getPresetFixture(preset: Preset, fixtureUuid: string, pixelKey?: string): PresetFixture;
|
|
37
|
+
fixtureIsSelected(fixture: Fixture, pixelKey: string, preset?: Preset): boolean;
|
|
38
|
+
switchFixtureSelection(fixture: Fixture, pixelKey: string): void;
|
|
36
39
|
selectAllFixtures(): void;
|
|
37
40
|
selectNoFixtures(): void;
|
|
38
41
|
removeDeletedFixtures(): void;
|
|
@@ -8,20 +8,18 @@ import { PresetService } from './preset.service';
|
|
|
8
8
|
import { ProjectService } from './project.service';
|
|
9
9
|
import { SceneService } from './scene.service';
|
|
10
10
|
import { TimelineService } from './timeline.service';
|
|
11
|
-
import { UniverseService } from './universe.service';
|
|
12
11
|
import * as i0 from "@angular/core";
|
|
13
12
|
export declare class PreviewService {
|
|
14
13
|
private presetService;
|
|
15
14
|
private fixtureService;
|
|
16
15
|
private sceneService;
|
|
17
16
|
private timelineService;
|
|
18
|
-
private universeService;
|
|
19
17
|
private projectService;
|
|
20
18
|
doUpdateFixtureSetup: Subject<void>;
|
|
21
19
|
scene: THREE.Scene;
|
|
22
20
|
private stageMeshes;
|
|
23
21
|
private stageMaterial;
|
|
24
|
-
constructor(presetService: PresetService, fixtureService: FixtureService, sceneService: SceneService, timelineService: TimelineService,
|
|
22
|
+
constructor(presetService: PresetService, fixtureService: FixtureService, sceneService: SceneService, timelineService: TimelineService, projectService: ProjectService);
|
|
25
23
|
private getAlreadyCalculatedFixture;
|
|
26
24
|
getPresets(timeMillis: number): PresetRegionScene[];
|
|
27
25
|
private mixChannelValue;
|
|
@@ -31,8 +29,7 @@ export declare class PreviewService {
|
|
|
31
29
|
private mixChannelValues;
|
|
32
30
|
private mixEffects;
|
|
33
31
|
getChannelValues(timeMillis: number, presets: PresetRegionScene[]): Map<CachedFixture, FixtureChannelValue[]>;
|
|
34
|
-
|
|
35
|
-
fixtureIsSelected(uuid: string, presets: PresetRegionScene[]): boolean;
|
|
32
|
+
fixtureIsSelected(uuid: string, pixelKey: string, presets: PresetRegionScene[]): boolean;
|
|
36
33
|
updateFixtureSetup(): void;
|
|
37
34
|
private prepareStageMesh;
|
|
38
35
|
updateStage(): void;
|
|
@@ -8,6 +8,7 @@ import { ProjectService } from './project.service';
|
|
|
8
8
|
import { SceneService } from './scene.service';
|
|
9
9
|
import { TimelineService } from './timeline.service';
|
|
10
10
|
import { UuidService } from './uuid.service';
|
|
11
|
+
import { WarningDialogService } from './warning-dialog.service';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class ProjectLoadService {
|
|
13
14
|
private projectService;
|
|
@@ -20,7 +21,10 @@ export declare class ProjectLoadService {
|
|
|
20
21
|
private timelineService;
|
|
21
22
|
private router;
|
|
22
23
|
private activatedRoute;
|
|
23
|
-
|
|
24
|
+
private warningDialogService;
|
|
25
|
+
constructor(projectService: ProjectService, previewService: PreviewService, fixtureService: FixtureService, presetService: PresetService, sceneService: SceneService, modalService: BsModalService, uuidService: UuidService, timelineService: TimelineService, router: Router, activatedRoute: ActivatedRoute, warningDialogService: WarningDialogService);
|
|
26
|
+
private migrateToVersion2;
|
|
27
|
+
private migrateFromOldProject;
|
|
24
28
|
private afterLoad;
|
|
25
29
|
private selectScenesPresetComposition;
|
|
26
30
|
load(id: number, name: string, shareToken?: string): Observable<void>;
|
|
@@ -5,10 +5,8 @@ import { ToastrService } from 'ngx-toastr';
|
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { Project } from '../models/project';
|
|
7
7
|
import { UserService } from './user.service';
|
|
8
|
-
import { UuidService } from './uuid.service';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class ProjectService {
|
|
11
|
-
private uuidService;
|
|
12
10
|
private http;
|
|
13
11
|
private userService;
|
|
14
12
|
private router;
|
|
@@ -16,7 +14,8 @@ export declare class ProjectService {
|
|
|
16
14
|
private translateService;
|
|
17
15
|
private toastrService;
|
|
18
16
|
project: Project;
|
|
19
|
-
|
|
17
|
+
currentProjectVersion: number;
|
|
18
|
+
constructor(http: HttpClient, userService: UserService, router: Router, activatedRoute: ActivatedRoute, translateService: TranslateService, toastrService: ToastrService);
|
|
20
19
|
private saveApi;
|
|
21
20
|
save(project: Project): void;
|
|
22
21
|
getAllProjects(): Observable<Project[]>;
|
|
@@ -42,7 +42,7 @@ export declare class TimelineService {
|
|
|
42
42
|
formatTimeCallback(seconds: number, pxPerSec: number): string | number;
|
|
43
43
|
timeInterval(pxPerSec: number): number;
|
|
44
44
|
primaryLabelInterval(pxPerSec: number): number;
|
|
45
|
-
secondaryLabelInterval(pxPerSec: number):
|
|
45
|
+
secondaryLabelInterval(pxPerSec: number): 0 | 2 | 5;
|
|
46
46
|
private seeekWithTimeline;
|
|
47
47
|
applyZoom(zoom: any): void;
|
|
48
48
|
private isWaveSurferReady;
|
|
@@ -19,7 +19,7 @@ export declare class CompositionSettingsComponent implements OnInit {
|
|
|
19
19
|
private http;
|
|
20
20
|
private warningDialogService;
|
|
21
21
|
private toastrService;
|
|
22
|
-
|
|
22
|
+
projectService: ProjectService;
|
|
23
23
|
composition: Composition;
|
|
24
24
|
existingCompositionNames: string[];
|
|
25
25
|
onClose: Subject<number>;
|
|
@@ -30,6 +30,7 @@ export declare class CompositionSettingsComponent implements OnInit {
|
|
|
30
30
|
uploading: boolean;
|
|
31
31
|
constructor(bsModalRef: BsModalRef, timelineService: TimelineService, configService: ConfigService, translateService: TranslateService, http: HttpClient, warningDialogService: WarningDialogService, toastrService: ToastrService, projectService: ProjectService);
|
|
32
32
|
ngOnInit(): void;
|
|
33
|
+
getDropzoneUrl(): string;
|
|
33
34
|
ok(): void;
|
|
34
35
|
cancel(): void;
|
|
35
36
|
handleKeyboardEvent(event: any): void;
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class Universe {
|
|
2
|
-
// TODO Add output configuration
|
|
3
|
-
constructor(uuidService) {
|
|
4
|
-
this.uuidService = uuidService;
|
|
5
|
-
this.channelValues = [];
|
|
6
|
-
if (this.uuidService) {
|
|
7
|
-
this.uuid = this.uuidService.getUuid();
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5pdmVyc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kZXNpZ25lci9zcmMvbGliL21vZGVscy91bml2ZXJzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sUUFBUTtJQUtuQixnQ0FBZ0M7SUFFaEMsWUFBb0IsV0FBd0I7UUFBeEIsZ0JBQVcsR0FBWCxXQUFXLENBQWE7UUFKNUMsa0JBQWEsR0FBYSxFQUFFLENBQUM7UUFLM0IsSUFBSSxJQUFJLENBQUMsV0FBVyxFQUFFLENBQUM7WUFDckIsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLENBQUMsV0FBVyxDQUFDLE9BQU8sRUFBRSxDQUFDO1FBQ3pDLENBQUM7SUFDSCxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBVdWlkU2VydmljZSB9IGZyb20gJy4uL3NlcnZpY2VzL3V1aWQuc2VydmljZSc7XG5cbmV4cG9ydCBjbGFzcyBVbml2ZXJzZSB7XG4gIHV1aWQ6IHN0cmluZztcbiAgbmFtZTogc3RyaW5nO1xuICBjaGFubmVsVmFsdWVzOiBudW1iZXJbXSA9IFtdO1xuXG4gIC8vIFRPRE8gQWRkIG91dHB1dCBjb25maWd1cmF0aW9uXG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSB1dWlkU2VydmljZTogVXVpZFNlcnZpY2UpIHtcbiAgICBpZiAodGhpcy51dWlkU2VydmljZSkge1xuICAgICAgdGhpcy51dWlkID0gdGhpcy51dWlkU2VydmljZS5nZXRVdWlkKCk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class UniverseService {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.universes = [];
|
|
6
|
-
}
|
|
7
|
-
getUniverseByUuid(uuid) {
|
|
8
|
-
for (const universe of this.universes) {
|
|
9
|
-
if (universe.uuid === uuid) {
|
|
10
|
-
return universe;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
static { this.ɵfac = function UniverseService_Factory(t) { return new (t || UniverseService)(); }; }
|
|
15
|
-
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: UniverseService, factory: UniverseService.ɵfac, providedIn: 'root' }); }
|
|
16
|
-
}
|
|
17
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UniverseService, [{
|
|
18
|
-
type: Injectable,
|
|
19
|
-
args: [{
|
|
20
|
-
providedIn: 'root',
|
|
21
|
-
}]
|
|
22
|
-
}], () => [], null); })();
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5pdmVyc2Uuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Rlc2lnbmVyL3NyYy9saWIvc2VydmljZXMvdW5pdmVyc2Uuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU0zQyxNQUFNLE9BQU8sZUFBZTtJQUcxQjtRQUZBLGNBQVMsR0FBZSxFQUFFLENBQUM7SUFFWixDQUFDO0lBRWhCLGlCQUFpQixDQUFDLElBQVk7UUFDNUIsS0FBSyxNQUFNLFFBQVEsSUFBSSxJQUFJLENBQUMsU0FBUyxFQUFFLENBQUM7WUFDdEMsSUFBSSxRQUFRLENBQUMsSUFBSSxLQUFLLElBQUksRUFBRSxDQUFDO2dCQUMzQixPQUFPLFFBQVEsQ0FBQztZQUNsQixDQUFDO1FBQ0gsQ0FBQztJQUNILENBQUM7Z0ZBWFUsZUFBZTt1RUFBZixlQUFlLFdBQWYsZUFBZSxtQkFGZCxNQUFNOztpRkFFUCxlQUFlO2NBSDNCLFVBQVU7ZUFBQztnQkFDVixVQUFVLEVBQUUsTUFBTTthQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFVuaXZlcnNlIH0gZnJvbSAnLi4vbW9kZWxzL3VuaXZlcnNlJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIFVuaXZlcnNlU2VydmljZSB7XG4gIHVuaXZlcnNlczogVW5pdmVyc2VbXSA9IFtdO1xuXG4gIGNvbnN0cnVjdG9yKCkge31cblxuICBnZXRVbml2ZXJzZUJ5VXVpZCh1dWlkOiBzdHJpbmcpOiBVbml2ZXJzZSB7XG4gICAgZm9yIChjb25zdCB1bml2ZXJzZSBvZiB0aGlzLnVuaXZlcnNlcykge1xuICAgICAgaWYgKHVuaXZlcnNlLnV1aWQgPT09IHV1aWQpIHtcbiAgICAgICAgcmV0dXJuIHVuaXZlcnNlO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19
|
package/lib/models/universe.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Universe } from '../models/universe';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class UniverseService {
|
|
4
|
-
universes: Universe[];
|
|
5
|
-
constructor();
|
|
6
|
-
getUniverseByUuid(uuid: string): Universe;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UniverseService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UniverseService>;
|
|
9
|
-
}
|
|
Binary file
|