@hmcts/media-viewer 2.7.21 → 2.7.22

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.
@@ -7,12 +7,14 @@ import { ViewerUtilService } from '../viewer-util.service';
7
7
  import { ToolbarButtonVisibilityService } from '../../toolbar/toolbar-button-visibility.service';
8
8
  import { Store } from '@ngrx/store';
9
9
  import * as fromStore from '../../store/reducers/reducers';
10
+ import { ViewerEventService } from '../viewer-event.service';
10
11
  export declare class ImageViewerComponent implements OnInit, OnDestroy, OnChanges {
11
12
  private store;
12
13
  private readonly printService;
13
14
  private readonly viewerUtilService;
14
15
  readonly toolbarEvents: ToolbarEventService;
15
16
  readonly toolbarButtons: ToolbarButtonVisibilityService;
17
+ private viewerEvents;
16
18
  url: string;
17
19
  downloadFileName: string;
18
20
  enableAnnotations: boolean;
@@ -33,8 +35,9 @@ export declare class ImageViewerComponent implements OnInit, OnDestroy, OnChange
33
35
  imageWidth: number;
34
36
  imageLeft: number;
35
37
  imageTop: number;
36
- constructor(store: Store<fromStore.AnnotationSetState>, printService: PrintService, viewerUtilService: ViewerUtilService, toolbarEvents: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService);
38
+ constructor(store: Store<fromStore.AnnotationSetState>, printService: PrintService, viewerUtilService: ViewerUtilService, toolbarEvents: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, viewerEvents: ViewerEventService);
37
39
  ngOnInit(): void;
40
+ onImageViewerClick(event: MouseEvent): void;
38
41
  ngOnDestroy(): void;
39
42
  ngOnChanges(changes: SimpleChanges): void;
40
43
  private rotateImage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/media-viewer",
3
- "version": "2.7.21",
3
+ "version": "2.7.22",
4
4
  "description": "Media Viewer",
5
5
  "keywords": [
6
6
  "Angular",
Binary file