@rocketshow/designer 1.62.0 → 1.64.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 +5 -1
- package/assets/i18n/en.json +5 -1
- package/fesm2022/rocketshow-designer.mjs +169 -29
- package/fesm2022/rocketshow-designer.mjs.map +1 -1
- package/index.d.ts +55 -15
- package/package.json +1 -1
- package/rocketshow-designer-1.64.0.tgz +0 -0
- package/rocketshow-designer-1.62.0.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { NgZone, OnDestroy, AfterViewInit, OnInit, ElementRef, ChangeDetectorRef, PipeTransform, EventEmitter } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i46 from '@ngx-translate/core';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { BsModalService, BsModalRef } from 'ngx-bootstrap/modal';
|
|
6
6
|
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
|
|
7
7
|
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i51 from 'ngx-toastr';
|
|
9
9
|
import { ToastrService } from 'ngx-toastr';
|
|
10
10
|
import { Observable, Subject } from 'rxjs';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i41 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
15
|
import { Options } from 'sortablejs';
|
|
16
|
-
import * as
|
|
16
|
+
import * as i52 from '@ali-hm/angular-tree-component';
|
|
17
17
|
import { ITreeOptions } from '@ali-hm/angular-tree-component';
|
|
18
|
-
import * as
|
|
18
|
+
import * as i50 from 'ngx-dropzone-wrapper';
|
|
19
19
|
import { DropzoneConfigInterface } from 'ngx-dropzone-wrapper';
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
22
|
-
import * as
|
|
23
|
-
import * as
|
|
24
|
-
import * as
|
|
25
|
-
import * as
|
|
26
|
-
import * as
|
|
20
|
+
import * as i42 from '@angular/platform-browser';
|
|
21
|
+
import * as i43 from '@angular/platform-browser/animations';
|
|
22
|
+
import * as i44 from '@angular/forms';
|
|
23
|
+
import * as i45 from 'ngx-bootstrap-slider';
|
|
24
|
+
import * as i47 from 'ngx-bootstrap/accordion';
|
|
25
|
+
import * as i48 from 'ngx-bootstrap/popover';
|
|
26
|
+
import * as i49 from 'ngx-bootstrap/typeahead';
|
|
27
27
|
|
|
28
28
|
declare class DesignerService {
|
|
29
29
|
constructor();
|
|
@@ -536,7 +536,7 @@ declare class FixtureService {
|
|
|
536
536
|
getFixtureIconClass(profile: FixtureProfile): string;
|
|
537
537
|
updateProfiles(): Observable<Object>;
|
|
538
538
|
getNextFreeDmxChannel(fixturePool: Fixture[], neededChannels: number): number;
|
|
539
|
-
addFixture(profile: FixtureProfile, fixturePool: Fixture[]): Fixture;
|
|
539
|
+
addFixture(profile: FixtureProfile, fixturePool: Fixture[], channelPool?: Fixture[]): Fixture;
|
|
540
540
|
static ɵfac: i0.ɵɵFactoryDeclaration<FixtureService, never>;
|
|
541
541
|
static ɵprov: i0.ɵɵInjectableDeclaration<FixtureService>;
|
|
542
542
|
}
|
|
@@ -576,6 +576,17 @@ declare class AnimationService {
|
|
|
576
576
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnimationService>;
|
|
577
577
|
}
|
|
578
578
|
|
|
579
|
+
/**
|
|
580
|
+
* Lightweight configuration entry describing a universe that can
|
|
581
|
+
* be selected by the user inside the fixture pool. The actual
|
|
582
|
+
* runtime universe (with channel values, etc.) is represented by
|
|
583
|
+
* the `Universe` model.
|
|
584
|
+
*/
|
|
585
|
+
interface UniverseConfig {
|
|
586
|
+
uuid: string;
|
|
587
|
+
name: string;
|
|
588
|
+
}
|
|
589
|
+
|
|
579
590
|
declare class ConfigService {
|
|
580
591
|
restUrl: string;
|
|
581
592
|
enableMediaLibrary: boolean;
|
|
@@ -588,6 +599,8 @@ declare class ConfigService {
|
|
|
588
599
|
intro: boolean;
|
|
589
600
|
uniqueProjectNames: boolean;
|
|
590
601
|
dropzoneChunking: boolean;
|
|
602
|
+
universes: UniverseConfig[];
|
|
603
|
+
freeUniverseEdit: boolean;
|
|
591
604
|
menuHeightChanged: Subject<void>;
|
|
592
605
|
constructor();
|
|
593
606
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
|
|
@@ -974,6 +987,8 @@ declare class DesignerComponent implements OnInit, AfterViewInit {
|
|
|
974
987
|
set intro(value: boolean);
|
|
975
988
|
set uniqueProjectNames(value: boolean);
|
|
976
989
|
set dropzoneChunking(value: boolean);
|
|
990
|
+
set universes(value: UniverseConfig[]);
|
|
991
|
+
set freeUniverseEdit(value: boolean);
|
|
977
992
|
private designerMenuSizePx;
|
|
978
993
|
private splitGutterSizePx;
|
|
979
994
|
totalMenuHeightPx: number;
|
|
@@ -999,7 +1014,7 @@ declare class DesignerComponent implements OnInit, AfterViewInit {
|
|
|
999
1014
|
handleKeyboardEvent(event: any): void;
|
|
1000
1015
|
switchLanguage(language: string): void;
|
|
1001
1016
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerComponent, never>;
|
|
1002
|
-
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; }; "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>;
|
|
1017
|
+
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; }; "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; }; "universes": { "alias": "universes"; "required": false; }; "freeUniverseEdit": { "alias": "freeUniverseEdit"; "required": false; }; }, {}, never, never, false, never>;
|
|
1003
1018
|
}
|
|
1004
1019
|
|
|
1005
1020
|
declare class WarningDialogComponent implements OnInit {
|
|
@@ -1272,7 +1287,15 @@ declare class FixturePoolComponent implements OnInit {
|
|
|
1272
1287
|
onClose: Subject<number>;
|
|
1273
1288
|
searchExpression: string;
|
|
1274
1289
|
updatingProfiles: boolean;
|
|
1290
|
+
universes: UniverseConfig[];
|
|
1291
|
+
selectedUniverse: UniverseConfig;
|
|
1275
1292
|
constructor(bsModalRef: BsModalRef, fixtureService: FixtureService, uuidService: UuidService, projectService: ProjectService, previewService: PreviewService, translateService: TranslateService, toastrService: ToastrService, presetService: PresetService, configService: ConfigService, modalService: BsModalService, livePreviewService: LivePreviewService);
|
|
1293
|
+
get freeUniverseEdit(): boolean;
|
|
1294
|
+
/** Fixtures belonging to the currently selected universe. */
|
|
1295
|
+
get currentUniverseFixtures(): Fixture[];
|
|
1296
|
+
/** Fixtures used for channel-map calculations (same as currentUniverseFixtures). */
|
|
1297
|
+
private get channelFixtures();
|
|
1298
|
+
selectUniverse(universe: UniverseConfig): void;
|
|
1276
1299
|
ngOnInit(): void;
|
|
1277
1300
|
private loadProfiles;
|
|
1278
1301
|
selectFixture(fixture: Fixture): void;
|
|
@@ -1284,6 +1307,7 @@ declare class FixturePoolComponent implements OnInit {
|
|
|
1284
1307
|
channelOccupiedStart(index: number): boolean;
|
|
1285
1308
|
channelOccupiedEnd(index: number): boolean;
|
|
1286
1309
|
channelOverlapped(index: number): boolean;
|
|
1310
|
+
private channelOverlappedInFixtures;
|
|
1287
1311
|
channelMouseDown(event: any): void;
|
|
1288
1312
|
channelSelected(index: number): boolean;
|
|
1289
1313
|
mouseUp(event: any): void;
|
|
@@ -1291,6 +1315,7 @@ declare class FixturePoolComponent implements OnInit {
|
|
|
1291
1315
|
ok(): void;
|
|
1292
1316
|
cancel(): void;
|
|
1293
1317
|
updateProfiles(): void;
|
|
1318
|
+
openEditUniverses(): void;
|
|
1294
1319
|
createFixtureFromProfileFile(): void;
|
|
1295
1320
|
handleKeyboardEvent(event: any): void;
|
|
1296
1321
|
static ɵfac: i0.ɵɵFactoryDeclaration<FixturePoolComponent, never>;
|
|
@@ -1714,6 +1739,21 @@ declare class FixturePoolCreateFromFileComponent implements OnInit {
|
|
|
1714
1739
|
static ɵcmp: i0.ɵɵComponentDeclaration<FixturePoolCreateFromFileComponent, "lib-fixture-pool-create-from-file", never, {}, {}, never, never, false, never>;
|
|
1715
1740
|
}
|
|
1716
1741
|
|
|
1742
|
+
declare class FixturePoolEditUniversesComponent {
|
|
1743
|
+
bsModalRef: BsModalRef;
|
|
1744
|
+
private uuidService;
|
|
1745
|
+
universes: UniverseConfig[];
|
|
1746
|
+
newUniverseName: string;
|
|
1747
|
+
onClose: Subject<UniverseConfig[] | undefined>;
|
|
1748
|
+
constructor(bsModalRef: BsModalRef, uuidService: UuidService);
|
|
1749
|
+
addUniverse(): void;
|
|
1750
|
+
removeUniverse(universe: UniverseConfig): void;
|
|
1751
|
+
ok(): void;
|
|
1752
|
+
cancel(): void;
|
|
1753
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FixturePoolEditUniversesComponent, never>;
|
|
1754
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FixturePoolEditUniversesComponent, "lib-fixture-pool-edit-universes", never, {}, {}, never, never, false, never>;
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1717
1757
|
declare class DropzoneComponent {
|
|
1718
1758
|
private translateService;
|
|
1719
1759
|
private configService;
|
|
@@ -1756,7 +1796,7 @@ declare class SortablejsDirective implements AfterViewInit, OnDestroy {
|
|
|
1756
1796
|
|
|
1757
1797
|
declare class DesignerModule {
|
|
1758
1798
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignerModule, never>;
|
|
1759
|
-
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 SortablejsDirective], [typeof
|
|
1799
|
+
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 FixturePoolEditUniversesComponent, typeof DropzoneComponent, typeof SortablejsDirective], [typeof i41.RouterModule, typeof i42.BrowserModule, typeof i43.BrowserAnimationsModule, typeof i44.FormsModule, typeof i45.NgxBootstrapSliderModule, typeof i46.TranslateModule, typeof i47.AccordionModule, typeof i48.PopoverModule, typeof i49.TypeaheadModule, typeof i50.DropzoneModule, typeof i51.ToastrModule, typeof i52.TreeModule], [typeof DesignerComponent]>;
|
|
1760
1800
|
static ɵinj: i0.ɵɵInjectorDeclaration<DesignerModule>;
|
|
1761
1801
|
}
|
|
1762
1802
|
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|