@rocketshow/designer 1.44.0 → 1.48.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/fesm2022/rocketshow-designer.mjs +1021 -4119
- package/fesm2022/rocketshow-designer.mjs.map +1 -1
- package/index.d.ts +38 -6
- package/package.json +23 -16
- package/rocketshow-designer-1.48.0.tgz +0 -0
- package/rocketshow-designer-1.44.0.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -199,6 +199,16 @@ declare class CachedFixtureChannel {
|
|
|
199
199
|
colorWheel: FixtureWheel;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
declare class CachedFixturePixel {
|
|
203
|
+
key: string;
|
|
204
|
+
x: number;
|
|
205
|
+
y: number;
|
|
206
|
+
z: number;
|
|
207
|
+
positionX: number;
|
|
208
|
+
positionY: number;
|
|
209
|
+
positionZ: number;
|
|
210
|
+
}
|
|
211
|
+
|
|
202
212
|
declare enum Positioning {
|
|
203
213
|
topFront = "topFront",
|
|
204
214
|
topBack = "topBack",
|
|
@@ -291,7 +301,7 @@ declare class FixtureProfile {
|
|
|
291
301
|
|
|
292
302
|
declare class CachedFixture {
|
|
293
303
|
fixture: Fixture;
|
|
294
|
-
|
|
304
|
+
pixel: CachedFixturePixel;
|
|
295
305
|
profile: FixtureProfile;
|
|
296
306
|
mode: FixtureMode;
|
|
297
307
|
channels: CachedFixtureChannel[];
|
|
@@ -460,16 +470,30 @@ declare class UuidService {
|
|
|
460
470
|
static ɵprov: i0.ɵɵInjectableDeclaration<UuidService>;
|
|
461
471
|
}
|
|
462
472
|
|
|
473
|
+
type Axis = 'x' | 'y' | 'z';
|
|
474
|
+
type GroupDef = 'all' | string[] | (Partial<Record<Axis, string[]>> & {
|
|
475
|
+
name?: string[];
|
|
476
|
+
});
|
|
477
|
+
declare class FixturePixelGroupResolveService {
|
|
478
|
+
private matchNumberRule;
|
|
479
|
+
private matchesAllConstraints;
|
|
480
|
+
resolveGroupPixels(group: string, pixelGroups: Record<string, GroupDef>, allPixels: CachedFixturePixel[]): CachedFixturePixel[];
|
|
481
|
+
getPixelsForKeyOrGroup(profile: FixtureProfile, allPixelKeys: CachedFixturePixel[], keyOrGroup: string): CachedFixturePixel[];
|
|
482
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FixturePixelGroupResolveService, never>;
|
|
483
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FixturePixelGroupResolveService>;
|
|
484
|
+
}
|
|
485
|
+
|
|
463
486
|
declare class FixtureService {
|
|
464
487
|
private http;
|
|
465
488
|
private projectService;
|
|
466
489
|
private translateService;
|
|
467
490
|
private toastrService;
|
|
468
491
|
private uuidService;
|
|
492
|
+
private fixturePixelGroupResolveService;
|
|
469
493
|
cachedFixtures: CachedFixture[];
|
|
470
494
|
settingsSelection: boolean;
|
|
471
495
|
selectedSettingsFixtures: Fixture[];
|
|
472
|
-
constructor(http: HttpClient, projectService: ProjectService, translateService: TranslateService, toastrService: ToastrService, uuidService: UuidService);
|
|
496
|
+
constructor(http: HttpClient, projectService: ProjectService, translateService: TranslateService, toastrService: ToastrService, uuidService: UuidService, fixturePixelGroupResolveService: FixturePixelGroupResolveService);
|
|
473
497
|
getFixtureByUuid(uuid: string): Fixture;
|
|
474
498
|
private fixtureUuidAndPixelKeyEquals;
|
|
475
499
|
getCachedFixtureByUuid(uuid: string, pixelKey: string): CachedFixture;
|
|
@@ -496,12 +520,14 @@ declare class FixtureService {
|
|
|
496
520
|
private getChannelNameWithPixelKey;
|
|
497
521
|
private addCachedChannel;
|
|
498
522
|
private alphanumericSort;
|
|
523
|
+
private evenlySpacedPosCm;
|
|
524
|
+
private createPixel;
|
|
499
525
|
private getAllPixelKeys;
|
|
500
|
-
private
|
|
501
|
-
private
|
|
526
|
+
private getAllPixelsInGroups;
|
|
527
|
+
private getPixelsInOrder;
|
|
502
528
|
getModeChannelCount(profile: FixtureProfile, mode: FixtureMode): number;
|
|
503
529
|
getCachedChannels(profile: FixtureProfile, mode: FixtureMode, pixelKey: string): CachedFixtureChannel[];
|
|
504
|
-
|
|
530
|
+
fixtureGetUniquePixels(fixture: Fixture): CachedFixturePixel[];
|
|
505
531
|
fixtureHasGeneralChannel(fixture: Fixture): boolean;
|
|
506
532
|
updateCachedFixtures(): void;
|
|
507
533
|
capabilitiesMatch(type1: FixtureCapabilityType, type2: FixtureCapabilityType, color1: FixtureCapabilityColor, color2: FixtureCapabilityColor, wheel1: string, wheel2: string, profileUuid1: string, profileUuid2: string): boolean;
|
|
@@ -709,6 +735,9 @@ declare class PreviewService implements OnDestroy {
|
|
|
709
735
|
private timelineService;
|
|
710
736
|
private projectService;
|
|
711
737
|
doUpdateFixtureSetup: Subject<void>;
|
|
738
|
+
doUpdateStageAndPositions: Subject<void>;
|
|
739
|
+
private updateStageAndPositionsSubscription;
|
|
740
|
+
stageAndPositionsDirty: boolean;
|
|
712
741
|
scene: THREE.Scene;
|
|
713
742
|
private stageMeshes;
|
|
714
743
|
private stageMaterial;
|
|
@@ -746,6 +775,7 @@ declare class PreviewComponent implements AfterViewInit {
|
|
|
746
775
|
private camera;
|
|
747
776
|
controls: OrbitControls;
|
|
748
777
|
private fixtures3d;
|
|
778
|
+
private fixtureGroups;
|
|
749
779
|
private canvasRef;
|
|
750
780
|
constructor(fixtureService: FixtureService, previewMeshService: PreviewMeshService, animationService: AnimationService, previewService: PreviewService, timelineService: TimelineService, projectService: ProjectService, ngZone: NgZone);
|
|
751
781
|
private syncFixtures;
|
|
@@ -1108,6 +1138,7 @@ declare class FixtureComponent implements OnInit {
|
|
|
1108
1138
|
declare class FixtureSettingsPositionComponent implements OnInit {
|
|
1109
1139
|
fixtureService: FixtureService;
|
|
1110
1140
|
private presetService;
|
|
1141
|
+
private previewService;
|
|
1111
1142
|
selectUndefinedOptionValue: any;
|
|
1112
1143
|
selectedPositioning: string;
|
|
1113
1144
|
positionX: number;
|
|
@@ -1124,8 +1155,9 @@ declare class FixtureSettingsPositionComponent implements OnInit {
|
|
|
1124
1155
|
rotationZ: number;
|
|
1125
1156
|
rotationMin: number;
|
|
1126
1157
|
rotationMax: number;
|
|
1127
|
-
constructor(fixtureService: FixtureService, presetService: PresetService);
|
|
1158
|
+
constructor(fixtureService: FixtureService, presetService: PresetService, previewService: PreviewService);
|
|
1128
1159
|
ngOnInit(): void;
|
|
1160
|
+
private updated;
|
|
1129
1161
|
private updateSelection;
|
|
1130
1162
|
changePosition(positioningStr: string): void;
|
|
1131
1163
|
changePositionManual(position: string, value: any): void;
|
package/package.json
CHANGED
|
@@ -1,23 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocketshow/designer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.0.0"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@angular
|
|
9
|
-
"@angular/
|
|
10
|
-
"@
|
|
11
|
-
"@
|
|
12
|
-
"
|
|
8
|
+
"@ali-hm/angular-tree-component": "^20.3.4",
|
|
9
|
+
"@angular/animations": ">=20.0.0 <21.0.0",
|
|
10
|
+
"@angular/common": ">=20.0.0 <21.0.0",
|
|
11
|
+
"@angular/core": ">=20.0.0 <21.0.0",
|
|
12
|
+
"@angular/forms": ">=20.0.0 <21.0.0",
|
|
13
|
+
"@angular/platform-browser": ">=20.0.0 <21.0.0",
|
|
14
|
+
"@angular/router": ">=20.0.0 <21.0.0",
|
|
15
|
+
"@ngx-translate/core": "^15.0.0",
|
|
16
|
+
"@ngx-translate/http-loader": "^3.0.1",
|
|
17
|
+
"bootstrap": "^4.1.2",
|
|
13
18
|
"font-awesome": "^4.7.0",
|
|
14
|
-
"jquery": "^3.
|
|
15
|
-
"ngx-bootstrap": "^
|
|
16
|
-
"ngx-bootstrap-slider": "^1.
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
+
"jquery": "^3.5.1",
|
|
20
|
+
"ngx-bootstrap": "^20.0.2",
|
|
21
|
+
"ngx-bootstrap-slider": "^2.1.0",
|
|
22
|
+
"ngx-dropzone-wrapper": "^16.0.0",
|
|
23
|
+
"ngx-sortablejs-plus": "^15.0.2",
|
|
24
|
+
"ngx-toastr": "^19.0.0",
|
|
25
|
+
"rxjs": "^6.5.3 || ^7.4.0",
|
|
26
|
+
"sortablejs": "^1.15.2",
|
|
19
27
|
"split.js": "^1.3.5",
|
|
20
|
-
"
|
|
28
|
+
"three": "^0.182.0",
|
|
29
|
+
"wavesurfer.js": "^6.6.3",
|
|
30
|
+
"web-audio-beat-detector": "^8.2.34"
|
|
21
31
|
},
|
|
22
32
|
"module": "fesm2022/rocketshow-designer.mjs",
|
|
23
33
|
"typings": "index.d.ts",
|
|
@@ -30,8 +40,5 @@
|
|
|
30
40
|
"default": "./fesm2022/rocketshow-designer.mjs"
|
|
31
41
|
}
|
|
32
42
|
},
|
|
33
|
-
"sideEffects": false
|
|
34
|
-
"scripts": {
|
|
35
|
-
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with partial compilation mode, before attempting to publish.\\n')\" && exit 1"
|
|
36
|
-
}
|
|
43
|
+
"sideEffects": false
|
|
37
44
|
}
|
|
Binary file
|
|
Binary file
|