@rocketshow/designer 1.63.0 → 1.65.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,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 i45 from '@ngx-translate/core';
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 i50 from 'ngx-toastr';
8
+ import * as i51 from 'ngx-toastr';
9
9
  import { ToastrService } from 'ngx-toastr';
10
10
  import { Observable, Subject } from 'rxjs';
11
- import * as i40 from '@angular/router';
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 i51 from '@ali-hm/angular-tree-component';
16
+ import * as i52 from '@ali-hm/angular-tree-component';
17
17
  import { ITreeOptions } from '@ali-hm/angular-tree-component';
18
- import * as i49 from 'ngx-dropzone-wrapper';
18
+ import * as i50 from 'ngx-dropzone-wrapper';
19
19
  import { DropzoneConfigInterface } from 'ngx-dropzone-wrapper';
20
- import * as i41 from '@angular/platform-browser';
21
- import * as i42 from '@angular/platform-browser/animations';
22
- import * as i43 from '@angular/forms';
23
- import * as i44 from 'ngx-bootstrap-slider';
24
- import * as i46 from 'ngx-bootstrap/accordion';
25
- import * as i47 from 'ngx-bootstrap/popover';
26
- import * as i48 from 'ngx-bootstrap/typeahead';
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
  }
@@ -1288,11 +1288,14 @@ declare class FixturePoolComponent implements OnInit {
1288
1288
  searchExpression: string;
1289
1289
  updatingProfiles: boolean;
1290
1290
  universes: UniverseConfig[];
1291
- newUniverseName: string;
1291
+ selectedUniverse: UniverseConfig;
1292
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
1293
  get freeUniverseEdit(): boolean;
1294
- addUniverse(name: string): void;
1295
- removeUniverse(universe: UniverseConfig): void;
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;
1296
1299
  ngOnInit(): void;
1297
1300
  private loadProfiles;
1298
1301
  selectFixture(fixture: Fixture): void;
@@ -1304,6 +1307,7 @@ declare class FixturePoolComponent implements OnInit {
1304
1307
  channelOccupiedStart(index: number): boolean;
1305
1308
  channelOccupiedEnd(index: number): boolean;
1306
1309
  channelOverlapped(index: number): boolean;
1310
+ private channelOverlappedInFixtures;
1307
1311
  channelMouseDown(event: any): void;
1308
1312
  channelSelected(index: number): boolean;
1309
1313
  mouseUp(event: any): void;
@@ -1311,6 +1315,7 @@ declare class FixturePoolComponent implements OnInit {
1311
1315
  ok(): void;
1312
1316
  cancel(): void;
1313
1317
  updateProfiles(): void;
1318
+ openEditUniverses(): void;
1314
1319
  createFixtureFromProfileFile(): void;
1315
1320
  handleKeyboardEvent(event: any): void;
1316
1321
  static ɵfac: i0.ɵɵFactoryDeclaration<FixturePoolComponent, never>;
@@ -1734,6 +1739,21 @@ declare class FixturePoolCreateFromFileComponent implements OnInit {
1734
1739
  static ɵcmp: i0.ɵɵComponentDeclaration<FixturePoolCreateFromFileComponent, "lib-fixture-pool-create-from-file", never, {}, {}, never, never, false, never>;
1735
1740
  }
1736
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
+
1737
1757
  declare class DropzoneComponent {
1738
1758
  private translateService;
1739
1759
  private configService;
@@ -1776,7 +1796,7 @@ declare class SortablejsDirective implements AfterViewInit, OnDestroy {
1776
1796
 
1777
1797
  declare class DesignerModule {
1778
1798
  static ɵfac: i0.ɵɵFactoryDeclaration<DesignerModule, never>;
1779
- 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 i40.RouterModule, typeof i41.BrowserModule, typeof i42.BrowserAnimationsModule, typeof i43.FormsModule, typeof i44.NgxBootstrapSliderModule, typeof i45.TranslateModule, typeof i46.AccordionModule, typeof i47.PopoverModule, typeof i48.TypeaheadModule, typeof i49.DropzoneModule, typeof i50.ToastrModule, typeof i51.TreeModule], [typeof DesignerComponent]>;
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]>;
1780
1800
  static ɵinj: i0.ɵɵInjectorDeclaration<DesignerModule>;
1781
1801
  }
1782
1802
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocketshow/designer",
3
- "version": "1.63.0",
3
+ "version": "1.65.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
Binary file
Binary file