phoenix-ui-components 4.1.0 → 4.2.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/dist/index.d.ts CHANGED
@@ -224,22 +224,33 @@ declare class AnimateCameraComponent {
224
224
  playPreset(preset: string): void;
225
225
  playAnimateCamera(): void;
226
226
  downloadAnimation(preset?: string): void;
227
- animatePreset(preset: string, onEnd?: () => void): void;
228
- animateCamera(onEnd?: () => void): void;
227
+ /**
228
+ * Animate through the given preset.
229
+ * @returns Whether the animation was started.
230
+ */
231
+ animatePreset(preset: string, onEnd?: () => void): boolean;
232
+ /**
233
+ * Animate the camera through the event.
234
+ * @returns Whether the animation was started. It is refused while another
235
+ * animation is already running.
236
+ */
237
+ animateCamera(onEnd?: () => void): boolean;
229
238
  private setDetectorOpacity;
230
239
  static ɵfac: i0.ɵɵFactoryDeclaration<AnimateCameraComponent, never>;
231
240
  static ɵcmp: i0.ɵɵComponentDeclaration<AnimateCameraComponent, "app-animate-camera", never, { "animationPresets": { "alias": "animationPresets"; "required": false; }; }, {}, never, never, false, never>;
232
241
  }
233
242
 
234
- declare class DownloadAnimationDialogComponent implements OnInit {
243
+ declare class DownloadAnimationDialogComponent implements OnInit, OnDestroy {
235
244
  data: {
236
245
  progress$: Observable<number>;
237
246
  };
238
247
  progress: number;
248
+ private progressSub?;
239
249
  constructor(data: {
240
250
  progress$: Observable<number>;
241
251
  });
242
252
  ngOnInit(): void;
253
+ ngOnDestroy(): void;
243
254
  static ɵfac: i0.ɵɵFactoryDeclaration<DownloadAnimationDialogComponent, never>;
244
255
  static ɵcmp: i0.ɵɵComponentDeclaration<DownloadAnimationDialogComponent, "app-download-animation-dialog", never, {}, {}, never, never, false, never>;
245
256
  }
@@ -720,7 +731,7 @@ declare class ViewOptionsComponent implements OnInit, OnDestroy {
720
731
  static ɵcmp: i0.ɵɵComponentDeclaration<ViewOptionsComponent, "app-view-options", never, {}, {}, never, never, false, never>;
721
732
  }
722
733
 
723
- declare class CartesianGridConfigComponent implements OnInit {
734
+ declare class CartesianGridConfigComponent implements OnInit, OnDestroy {
724
735
  data: {
725
736
  gridVisible: boolean;
726
737
  scale: number;
@@ -750,6 +761,11 @@ declare class CartesianGridConfigComponent implements OnInit {
750
761
  onClose(): void;
751
762
  onSave(x: any, y: any, z: any): void;
752
763
  shiftCartesianGridByPointer(): void;
764
+ /**
765
+ * Unsubscribe from the grid-shifting subscriptions, if any are active.
766
+ */
767
+ private clearShiftSubscriptions;
768
+ ngOnDestroy(): void;
753
769
  shiftCartesianGridByValues(position: Vector3): void;
754
770
  translateGrid(position: Vector3): void;
755
771
  addXYPlanes(zDistance: Event): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phoenix-ui-components",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Reusable Angular components of the Phoenix event display application.",
5
5
  "author": "Phoenix contributors (https://github.com/HSF/phoenix/graphs/contributors)",
6
6
  "license": "Apache-2.0",
@@ -52,5 +52,6 @@
52
52
  "./theming": {
53
53
  "sass": "./_theming.scss"
54
54
  }
55
- }
56
- }
55
+ },
56
+ "gitHead": "64e6e89d7c5fc4a3fe013c3a65b21bdf9469233b"
57
+ }