@hmcts/media-viewer 4.1.8 → 4.1.9-exui-1580

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.
Files changed (34) hide show
  1. package/assets/all.scss +1 -0
  2. package/assets/sass/pdf-viewer.scss +79 -1
  3. package/assets/sass/tooltip.scss +50 -0
  4. package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.mjs +80 -21
  5. package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/keyboard-text-highlight.directive.mjs +354 -0
  6. package/esm2022/lib/annotations/annotation-set/annotation-view/annotation-view.component.mjs +1 -1
  7. package/esm2022/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.mjs +31 -5
  8. package/esm2022/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.mjs +17 -4
  9. package/esm2022/lib/media-viewer.module.mjs +4 -1
  10. package/esm2022/lib/shared/directives/tooltip-dismiss.directive.mjs +36 -0
  11. package/esm2022/lib/toolbar/highlight-toolbar/highlight-toolbar.component.mjs +6 -4
  12. package/esm2022/lib/toolbar/main-toolbar/main-toolbar.component.mjs +5 -4
  13. package/esm2022/lib/toolbar/redaction-toolbar/redaction-toolbar.component.mjs +5 -4
  14. package/esm2022/lib/toolbar/toolbar.module.mjs +7 -4
  15. package/esm2022/lib/viewers/pdf-viewer/pdf-viewer.component.mjs +45 -7
  16. package/fesm2022/hmcts-media-viewer.mjs +1448 -926
  17. package/fesm2022/hmcts-media-viewer.mjs.map +1 -1
  18. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts +6 -2
  19. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts.map +1 -1
  20. package/lib/annotations/annotation-set/annotation-create/highlight-create/keyboard-text-highlight.directive.d.ts +63 -0
  21. package/lib/annotations/annotation-set/annotation-create/highlight-create/keyboard-text-highlight.directive.d.ts.map +1 -0
  22. package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts +6 -2
  23. package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts.map +1 -1
  24. package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts +3 -0
  25. package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts.map +1 -1
  26. package/lib/media-viewer.module.d.ts +19 -18
  27. package/lib/media-viewer.module.d.ts.map +1 -1
  28. package/lib/shared/directives/tooltip-dismiss.directive.d.ts +11 -0
  29. package/lib/shared/directives/tooltip-dismiss.directive.d.ts.map +1 -0
  30. package/lib/toolbar/toolbar.module.d.ts +7 -6
  31. package/lib/toolbar/toolbar.module.d.ts.map +1 -1
  32. package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts +20 -0
  33. package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts.map +1 -1
  34. package/package.json +2 -2
@@ -1,6 +1,5 @@
1
1
  import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { Store } from '@ngrx/store';
3
- import { Subscription } from 'rxjs';
4
3
  import * as fromStore from '../../../../store/reducers/reducers';
5
4
  import { ViewerEventService } from '../../../../viewers/viewer-event.service';
6
5
  import { HighlightCreateService } from './highlight-create.service';
@@ -17,15 +16,20 @@ export declare class HighlightCreateDirective implements OnInit, OnDestroy {
17
16
  zoom: number;
18
17
  rotate: number;
19
18
  allPages: object;
20
- $subscription: Subscription;
19
+ private $subscriptions;
21
20
  constructor(element: ElementRef<HTMLElement>, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, highlightService: HighlightCreateService, store: Store<fromStore.AnnotationSetState>);
22
21
  ngOnInit(): void;
23
22
  ngOnDestroy(): void;
24
23
  onMouseUp(mouseEvent: MouseEvent): void;
24
+ onKeyboardSelectionConfirmed(): void;
25
+ private getCurrentPageFromSelection;
26
+ private getRectanglesFromSelection;
25
27
  onPdfViewerClick(event: MouseEvent): void;
26
28
  private getRectangles;
27
29
  private createTextRectangle;
28
30
  private removeEnhancedTextModeStyling;
31
+ private setPageProperties;
32
+ private processClientRects;
29
33
  static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateDirective, never>;
30
34
  static ɵdir: i0.ɵɵDirectiveDeclaration<HighlightCreateDirective, "[mvCreateTextHighlight]", never, {}, {}, never, never, false, never>;
31
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"highlight-create.directive.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAgB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvF,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,KAAK,SAAS,MAAM,qCAAqC,CAAC;AAEjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;;AAGhF,qBAGa,wBAAyB,YAAW,MAAM,EAAE,SAAS;IAU9D,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,KAAK;IAbf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IAEjB,aAAa,EAAE,YAAY,CAAC;gBAGlB,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,EAChC,aAAa,EAAE,mBAAmB,EAClC,YAAY,EAAE,kBAAkB,EAChC,gBAAgB,EAAE,sBAAsB,EACxC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC;IAGpD,QAAQ;IAQR,WAAW;IAOX,SAAS,CAAC,UAAU,EAAE,UAAU;IAmBhC,gBAAgB,CAAC,KAAK,EAAE,UAAU;IAWlC,OAAO,CAAC,aAAa;IAmCrB,OAAO,CAAC,mBAAmB;IAoB3B,OAAO,CAAC,6BAA6B;yCArH1B,wBAAwB;2CAAxB,wBAAwB;CAkIpC"}
1
+ {"version":3,"file":"highlight-create.directive.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAgB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvF,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAIpC,OAAO,KAAK,SAAS,MAAM,qCAAqC,CAAC;AAEjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;;AAGhF,qBAGa,wBAAyB,YAAW,MAAM,EAAE,SAAS;IAU9D,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,KAAK;IAbf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IAEjB,OAAO,CAAC,cAAc,CAAsB;gBAGlC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,EAChC,aAAa,EAAE,mBAAmB,EAClC,YAAY,EAAE,kBAAkB,EAChC,gBAAgB,EAAE,sBAAsB,EACxC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC;IAGpD,QAAQ;IAiBR,WAAW;IAKX,SAAS,CAAC,UAAU,EAAE,UAAU;IAkBzB,4BAA4B,IAAI,IAAI;IAa3C,OAAO,CAAC,2BAA2B;IAoBnC,OAAO,CAAC,0BAA0B;IA8BlC,gBAAgB,CAAC,KAAK,EAAE,UAAU;IAWlC,OAAO,CAAC,aAAa;IAqBrB,OAAO,CAAC,mBAAmB;IAoB3B,OAAO,CAAC,6BAA6B;IAcrC,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,kBAAkB;yCAjMf,wBAAwB;2CAAxB,wBAAwB;CAiNpC"}
@@ -0,0 +1,63 @@
1
+ import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export interface KeyboardTextHighlightEvent {
4
+ page: number;
5
+ startX: number;
6
+ startY: number;
7
+ endX: number;
8
+ endY: number;
9
+ }
10
+ export interface CursorPosition {
11
+ x: number;
12
+ y: number;
13
+ visible: boolean;
14
+ }
15
+ export declare class KeyboardTextHighlightDirective implements OnDestroy {
16
+ private elementRef;
17
+ set enabled(value: boolean);
18
+ get enabled(): boolean;
19
+ private _enabled;
20
+ incrementSmall: number;
21
+ incrementMedium: number;
22
+ incrementLarge: number;
23
+ selectionStarted: EventEmitter<void>;
24
+ selectionUpdated: EventEmitter<KeyboardTextHighlightEvent>;
25
+ selectionConfirmed: EventEmitter<void>;
26
+ selectionCancelled: EventEmitter<void>;
27
+ cursorPositionChanged: EventEmitter<CursorPosition>;
28
+ selectionCursorPositionChanged: EventEmitter<CursorPosition>;
29
+ private isSelecting;
30
+ private cursorX;
31
+ private cursorY;
32
+ private showCursor;
33
+ private selectionStartX;
34
+ private selectionStartY;
35
+ private selectionEndX;
36
+ private selectionEndY;
37
+ private currentPage;
38
+ private lastValidEndNode;
39
+ private lastValidEndOffset;
40
+ private static lastInteractionWasKeyboard;
41
+ constructor(elementRef: ElementRef<HTMLElement>);
42
+ private static onGlobalKeyDown;
43
+ private static onGlobalMouseDown;
44
+ ngOnDestroy(): void;
45
+ onKeyDown(event: KeyboardEvent): void;
46
+ onBlur(): void;
47
+ private moveCursor;
48
+ private startTextSelection;
49
+ private expandTextSelection;
50
+ private createTextSelectionAtPoint;
51
+ private updateTextSelection;
52
+ private confirmTextSelection;
53
+ private cancelTextSelection;
54
+ private hideCursor;
55
+ private cleanup;
56
+ private getCurrentPageNumber;
57
+ private emitCursorPosition;
58
+ private emitSelectionUpdated;
59
+ reset(): void;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeyboardTextHighlightDirective, never>;
61
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KeyboardTextHighlightDirective, "[mvKeyboardTextHighlight]", never, { "enabled": { "alias": "enabled"; "required": false; }; "incrementSmall": { "alias": "incrementSmall"; "required": false; }; "incrementMedium": { "alias": "incrementMedium"; "required": false; }; "incrementLarge": { "alias": "incrementLarge"; "required": false; }; }, { "selectionStarted": "selectionStarted"; "selectionUpdated": "selectionUpdated"; "selectionConfirmed": "selectionConfirmed"; "selectionCancelled": "selectionCancelled"; "cursorPositionChanged": "cursorPositionChanged"; "selectionCursorPositionChanged": "selectionCursorPositionChanged"; }, never, never, false, never>;
62
+ }
63
+ //# sourceMappingURL=keyboard-text-highlight.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyboard-text-highlight.directive.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-create/highlight-create/keyboard-text-highlight.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,YAAY,EAAuB,SAAS,EAAU,MAAM,eAAe,CAAC;;AAE5G,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC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C,oBAAoB;IAU5B,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,OAAO;IAcf,OAAO,CAAC,oBAAoB;IAc5B,OAAO,CAAC,kBAAkB;IAS1B,OAAO,CAAC,oBAAoB;IAUrB,KAAK,IAAI,IAAI;yCArXT,8BAA8B;2CAA9B,8BAA8B;CAyX1C"}
@@ -1,9 +1,10 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { Rectangle } from '../annotation-view/rectangle/rectangle.model';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class CtxToolbarComponent implements OnChanges {
5
5
  readonly defaultHeight: any;
6
6
  readonly defaultWidth: any;
7
+ toolbarContainer: ElementRef<HTMLDivElement>;
7
8
  zoom: any;
8
9
  rotate: any;
9
10
  pageHeight: number;
@@ -16,12 +17,14 @@ export declare class CtxToolbarComponent implements OnChanges {
16
17
  deleteHighlightEvent: EventEmitter<any>;
17
18
  addOrEditCommentEvent: EventEmitter<any>;
18
19
  createBookmarkEvent: EventEmitter<Rectangle>;
20
+ cancelEvent: EventEmitter<any>;
19
21
  rectangle: Rectangle;
20
22
  _rectangles: Rectangle[];
21
23
  top: number;
22
24
  left: number;
23
25
  constructor();
24
26
  ngOnChanges(changes: SimpleChanges): void;
27
+ onEscapeKey(event: KeyboardEvent): void;
25
28
  set rectangles(rectangles: Rectangle[]);
26
29
  get rectangles(): Rectangle[];
27
30
  createHighlight(): void;
@@ -31,7 +34,8 @@ export declare class CtxToolbarComponent implements OnChanges {
31
34
  setRectangle(): void;
32
35
  popupTop(): any;
33
36
  popupLeft(): number;
37
+ focusToolbar(): void;
34
38
  static ɵfac: i0.ɵɵFactoryDeclaration<CtxToolbarComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<CtxToolbarComponent, "mv-ctx-toolbar", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; "canHighlight": { "alias": "canHighlight"; "required": false; }; "canBookmark": { "alias": "canBookmark"; "required": false; }; "canComment": { "alias": "canComment"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "rectangles": { "alias": "rectangles"; "required": false; }; }, { "createHighlightEvent": "createHighlightEvent"; "deleteHighlightEvent": "deleteHighlightEvent"; "addOrEditCommentEvent": "addOrEditCommentEvent"; "createBookmarkEvent": "createBookmarkEvent"; }, never, never, false, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<CtxToolbarComponent, "mv-ctx-toolbar", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; "canHighlight": { "alias": "canHighlight"; "required": false; }; "canBookmark": { "alias": "canBookmark"; "required": false; }; "canComment": { "alias": "canComment"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "rectangles": { "alias": "rectangles"; "required": false; }; }, { "createHighlightEvent": "createHighlightEvent"; "deleteHighlightEvent": "deleteHighlightEvent"; "addOrEditCommentEvent": "addOrEditCommentEvent"; "createBookmarkEvent": "createBookmarkEvent"; "cancelEvent": "cancelEvent"; }, never, never, false, never>;
36
40
  }
37
41
  //# sourceMappingURL=ctx-toolbar.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ctx-toolbar.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,SAAS,EAET,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;;AAEzE,qBAIa,mBAAoB,YAAW,SAAS;IAEnD,QAAQ,CAAC,aAAa,MAAC;IACvB,QAAQ,CAAC,YAAY,MAAC;IAEb,IAAI,MAAC;IACL,MAAM,MAAC;IACP,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAElB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IAElB,oBAAoB,oBAAsB;IAC1C,oBAAoB,oBAAsB;IAC1C,qBAAqB,oBAAsB;IAC3C,mBAAmB,0BAAiC;IAE9D,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,SAAS,EAAE,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;;IAOb,WAAW,CAAC,OAAO,EAAE,aAAa;IAMlC,IAAa,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,EAK9C;IAED,IAAI,UAAU,IAPsB,SAAS,EAAE,CAS9C;IAED,eAAe;IAKf,eAAe;IAIf,gBAAgB;IAUhB,cAAc;IAKd,YAAY;IAwBZ,QAAQ;IAKR,SAAS;yCApGE,mBAAmB;2CAAnB,mBAAmB;CA8G/B"}
1
+ {"version":3,"file":"ctx-toolbar.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACV,YAAY,EAGZ,SAAS,EAET,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;;AAEzE,qBAIa,mBAAoB,YAAW,SAAS;IAEnD,QAAQ,CAAC,aAAa,MAAC;IACvB,QAAQ,CAAC,YAAY,MAAC;IAE4B,gBAAgB,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC;IAEtF,IAAI,MAAC;IACL,MAAM,MAAC;IACP,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAElB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IAElB,oBAAoB,oBAAsB;IAC1C,oBAAoB,oBAAsB;IAC1C,qBAAqB,oBAAsB;IAC3C,mBAAmB,0BAAiC;IACpD,WAAW,oBAAsB;IAE3C,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,SAAS,EAAE,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;;IAOb,WAAW,CAAC,OAAO,EAAE,aAAa;IAOlC,WAAW,CAAC,KAAK,EAAE,aAAa;IAShC,IAAa,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,EAK9C;IAED,IAAI,UAAU,IAPsB,SAAS,EAAE,CAS9C;IAED,eAAe;IAKf,eAAe;IAIf,gBAAgB;IAUhB,cAAc;IAKd,YAAY;IAwBZ,QAAQ;IAKR,SAAS;IAWT,YAAY,IAAI,IAAI;yCA5HT,mBAAmB;2CAAnB,mBAAmB;CAsI/B"}
@@ -6,6 +6,7 @@ import { HighlightCreateService } from '../annotation-create/highlight-create/hi
6
6
  import { Rectangle } from '../annotation-view/rectangle/rectangle.model';
7
7
  import { ToolbarEventService } from '../../../toolbar/toolbar-event.service';
8
8
  import { Highlight, ViewerEventService } from '../../../viewers/viewer-event.service';
9
+ import { CtxToolbarComponent } from '../ctx-toolbar/ctx-toolbar.component';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class MetadataLayerComponent implements OnInit, OnDestroy {
11
12
  private store;
@@ -14,6 +15,7 @@ export declare class MetadataLayerComponent implements OnInit, OnDestroy {
14
15
  private readonly viewerEvents;
15
16
  zoom: number;
16
17
  rotate: number;
18
+ ctxToolbar: CtxToolbarComponent;
17
19
  pages: any[];
18
20
  annoPages$: Observable<any>;
19
21
  drawMode: boolean;
@@ -25,6 +27,7 @@ export declare class MetadataLayerComponent implements OnInit, OnDestroy {
25
27
  ngOnDestroy(): void;
26
28
  showContextToolbar(highlight: Highlight): void;
27
29
  clearContextToolbar(): void;
30
+ cancelContextToolbar(): void;
28
31
  createHighlight(): void;
29
32
  createBookmark(rectangle: Rectangle): void;
30
33
  saveAnnotation({ rectangles, page }: {
@@ -1 +1 @@
1
- {"version":3,"file":"metadata-layer.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,UAAU,EAAgB,MAAM,MAAM,CAAC;AAEhD,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAG5C,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAC;AAG9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AACxG,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAGzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;;AAEtF,qBAIa,sBAAuB,YAAW,MAAM,EAAE,SAAS;IAe5D,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAhBtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IAExB,KAAK,EAAE,GAAG,EAAE,CAAM;IAClB,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IAE5B,QAAQ,UAAS;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,SAAS,EAAE,CAAC;IAExB,OAAO,CAAC,cAAc,CAAe;gBAG3B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,EACjC,gBAAgB,EAAE,sBAAsB,EACxC,aAAa,EAAE,mBAAmB,EAClC,YAAY,EAAE,kBAAkB;IAEnD,QAAQ,IAAI,IAAI;IAUhB,WAAW,IAAI,IAAI;IAInB,kBAAkB,CAAC,SAAS,EAAE,SAAS;IAQvC,mBAAmB;IAInB,eAAe;IAMf,cAAc,CAAC,SAAS,EAAE,SAAS;IAoBnC,cAAc,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE;QAAE,UAAU,EAAE,SAAS,EAAE,CAAC;QAAC,IAAI,EAAE,GAAG,CAAA;KAAE;yCAxEhE,sBAAsB;2CAAtB,sBAAsB;CA4ElC"}
1
+ {"version":3,"file":"metadata-layer.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAa,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAgB,MAAM,MAAM,CAAC;AAEhD,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAG5C,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAC;AAG9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AACxG,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAGzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;;AAE3E,qBAIa,sBAAuB,YAAW,MAAM,EAAE,SAAS;IAiB5D,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAlBtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IAE2B,UAAU,EAAE,mBAAmB,CAAC;IAEnF,KAAK,EAAE,GAAG,EAAE,CAAM;IAClB,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IAE5B,QAAQ,UAAS;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,SAAS,EAAE,CAAC;IAExB,OAAO,CAAC,cAAc,CAAe;gBAG3B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,EACjC,gBAAgB,EAAE,sBAAsB,EACxC,aAAa,EAAE,mBAAmB,EAClC,YAAY,EAAE,kBAAkB;IAEnD,QAAQ,IAAI,IAAI;IAUhB,WAAW,IAAI,IAAI;IAInB,kBAAkB,CAAC,SAAS,EAAE,SAAS;IASvC,mBAAmB;IAInB,oBAAoB;IASpB,eAAe;IAMf,cAAc,CAAC,SAAS,EAAE,SAAS;IAoBnC,cAAc,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE;QAAE,UAAU,EAAE,SAAS,EAAE,CAAC;QAAC,IAAI,EAAE,GAAG,CAAA;KAAE;yCApFhE,sBAAsB;2CAAtB,sBAAsB;CAwFlC"}
@@ -11,26 +11,27 @@ import * as i9 from "./viewers/convertible-content-viewer/convertible-content-vi
11
11
  import * as i10 from "./viewers/grab-n-drag.directive";
12
12
  import * as i11 from "./viewers/rotation-persist/rotation-persist.directive";
13
13
  import * as i12 from "./annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive";
14
- import * as i13 from "./icp/confirm-exit/confirm-action-dialog.component";
15
- import * as i14 from "./redaction/components/redaction.component";
16
- import * as i15 from "./bookmark/components/bookmark-icons.component";
17
- import * as i16 from "./icp/participants-list/participants-list.component";
18
- import * as i17 from "@angular/common";
19
- import * as i18 from "@angular/common/http";
20
- import * as i19 from "./toolbar/toolbar.module";
21
- import * as i20 from "./annotations/annotations.module";
22
- import * as i21 from "ngx-chips";
23
- import * as i22 from "@angular/forms";
24
- import * as i23 from "@angular/router";
25
- import * as i24 from "@ngrx/store";
26
- import * as i25 from "@ngrx/effects";
27
- import * as i26 from "mutable-div";
28
- import * as i27 from "@angular/cdk/tree";
29
- import * as i28 from "@angular/cdk/drag-drop";
30
- import * as i29 from "rpx-xui-translation";
14
+ import * as i13 from "./annotations/annotation-set/annotation-create/highlight-create/keyboard-text-highlight.directive";
15
+ import * as i14 from "./icp/confirm-exit/confirm-action-dialog.component";
16
+ import * as i15 from "./redaction/components/redaction.component";
17
+ import * as i16 from "./bookmark/components/bookmark-icons.component";
18
+ import * as i17 from "./icp/participants-list/participants-list.component";
19
+ import * as i18 from "@angular/common";
20
+ import * as i19 from "@angular/common/http";
21
+ import * as i20 from "./toolbar/toolbar.module";
22
+ import * as i21 from "./annotations/annotations.module";
23
+ import * as i22 from "ngx-chips";
24
+ import * as i23 from "@angular/forms";
25
+ import * as i24 from "@angular/router";
26
+ import * as i25 from "@ngrx/store";
27
+ import * as i26 from "@ngrx/effects";
28
+ import * as i27 from "mutable-div";
29
+ import * as i28 from "@angular/cdk/tree";
30
+ import * as i29 from "@angular/cdk/drag-drop";
31
+ import * as i30 from "rpx-xui-translation";
31
32
  export declare class MediaViewerModule {
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<MediaViewerModule, never>;
33
- static ɵmod: i0.ɵɵNgModuleDeclaration<MediaViewerModule, [typeof i1.PdfViewerComponent, typeof i2.SideBarComponent, typeof i3.BookmarksComponent, typeof i4.OutlineItemComponent, typeof i5.ImageViewerComponent, typeof i6.UnsupportedViewerComponent, typeof i7.MultimediaPlayerComponent, typeof i8.MediaViewerComponent, typeof i9.ConvertibleContentViewerComponent, typeof i10.GrabNDragDirective, typeof i11.RotationPersistDirective, typeof i12.HighlightCreateDirective, typeof i13.ConfirmActionDialogComponent, typeof i14.RedactionComponent, typeof i15.BookmarkIconsComponent, typeof i16.ParticipantsListComponent], [typeof i17.CommonModule, typeof i18.HttpClientModule, typeof i19.ToolbarModule, typeof i20.AnnotationsModule, typeof i21.TagInputModule, typeof i22.FormsModule, typeof i22.ReactiveFormsModule, typeof i23.RouterModule, typeof i24.StoreFeatureModule, typeof i25.EffectsFeatureModule, typeof i26.MutableDivModule, typeof i27.CdkTreeModule, typeof i28.DragDropModule, typeof i29.RpxTranslationModule], [typeof i8.MediaViewerComponent]>;
34
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MediaViewerModule, [typeof i1.PdfViewerComponent, typeof i2.SideBarComponent, typeof i3.BookmarksComponent, typeof i4.OutlineItemComponent, typeof i5.ImageViewerComponent, typeof i6.UnsupportedViewerComponent, typeof i7.MultimediaPlayerComponent, typeof i8.MediaViewerComponent, typeof i9.ConvertibleContentViewerComponent, typeof i10.GrabNDragDirective, typeof i11.RotationPersistDirective, typeof i12.HighlightCreateDirective, typeof i13.KeyboardTextHighlightDirective, typeof i14.ConfirmActionDialogComponent, typeof i15.RedactionComponent, typeof i16.BookmarkIconsComponent, typeof i17.ParticipantsListComponent], [typeof i18.CommonModule, typeof i19.HttpClientModule, typeof i20.ToolbarModule, typeof i21.AnnotationsModule, typeof i22.TagInputModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.RouterModule, typeof i25.StoreFeatureModule, typeof i26.EffectsFeatureModule, typeof i27.MutableDivModule, typeof i28.CdkTreeModule, typeof i29.DragDropModule, typeof i30.RpxTranslationModule], [typeof i8.MediaViewerComponent]>;
34
35
  static ɵinj: i0.ɵɵInjectorDeclaration<MediaViewerModule>;
35
36
  }
36
37
  //# sourceMappingURL=media-viewer.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"media-viewer.module.d.ts","sourceRoot":"","sources":["../../../projects/media-viewer/src/lib/media-viewer.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,qBA8Ca,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAI"}
1
+ {"version":3,"file":"media-viewer.module.d.ts","sourceRoot":"","sources":["../../../projects/media-viewer/src/lib/media-viewer.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,qBA+Ca,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAI"}
@@ -0,0 +1,11 @@
1
+ import { ElementRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class TooltipDismissDirective {
4
+ private el;
5
+ constructor(el: ElementRef);
6
+ onEscapeDismissTooltip(): void;
7
+ onShowTooltip(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDismissDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDismissDirective, ".mv-tooltip, [mvTooltipDismiss]", never, {}, {}, never, never, false, never>;
10
+ }
11
+ //# sourceMappingURL=tooltip-dismiss.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip-dismiss.directive.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/shared/directives/tooltip-dismiss.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAgB,MAAM,eAAe,CAAC;;AAEpE,qBAGa,uBAAuB;IACtB,OAAO,CAAC,EAAE;gBAAF,EAAE,EAAE,UAAU;IAGlC,sBAAsB;IAQtB,aAAa;yCAZF,uBAAuB;2CAAvB,uBAAuB;CAiBnC"}
@@ -5,15 +5,16 @@ import * as i3 from "./redaction-toolbar/redaction-toolbar.component";
5
5
  import * as i4 from "./icp-toolbar/icp-toolbar.component";
6
6
  import * as i5 from "./redaction-search-bar/redaction-search-bar.component";
7
7
  import * as i6 from "./highlight-toolbar/highlight-toolbar.component";
8
- import * as i7 from "@angular/common";
9
- import * as i8 from "@angular/forms";
10
- import * as i9 from "@angular/cdk/overlay";
11
- import * as i10 from "@angular/router";
12
- import * as i11 from "rpx-xui-translation";
8
+ import * as i7 from "../shared/directives/tooltip-dismiss.directive";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "@angular/forms";
11
+ import * as i10 from "@angular/cdk/overlay";
12
+ import * as i11 from "@angular/router";
13
+ import * as i12 from "rpx-xui-translation";
13
14
  export { ToolbarButtonVisibilityService } from './toolbar-button-visibility.service';
14
15
  export declare class ToolbarModule {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof i1.SearchBarComponent, typeof i2.MainToolbarComponent, typeof i3.RedactionToolbarComponent, typeof i4.IcpToolbarComponent, typeof i5.RedactionSearchBarComponent, typeof i6.HighlightToolbarComponent], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.OverlayModule, typeof i10.RouterModule, typeof i11.RpxTranslationModule], [typeof i2.MainToolbarComponent, typeof i1.SearchBarComponent, typeof i3.RedactionToolbarComponent, typeof i4.IcpToolbarComponent, typeof i5.RedactionSearchBarComponent, typeof i6.HighlightToolbarComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof i1.SearchBarComponent, typeof i2.MainToolbarComponent, typeof i3.RedactionToolbarComponent, typeof i4.IcpToolbarComponent, typeof i5.RedactionSearchBarComponent, typeof i6.HighlightToolbarComponent, typeof i7.TooltipDismissDirective], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.OverlayModule, typeof i11.RouterModule, typeof i12.RpxTranslationModule], [typeof i2.MainToolbarComponent, typeof i1.SearchBarComponent, typeof i3.RedactionToolbarComponent, typeof i4.IcpToolbarComponent, typeof i5.RedactionSearchBarComponent, typeof i6.HighlightToolbarComponent]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
18
19
  }
19
20
  //# sourceMappingURL=toolbar.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar.module.d.ts","sourceRoot":"","sources":["../../../../projects/media-viewer/src/lib/toolbar/toolbar.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AASA,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAOrF,qBA4Ba,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAI"}
1
+ {"version":3,"file":"toolbar.module.d.ts","sourceRoot":"","sources":["../../../../projects/media-viewer/src/lib/toolbar/toolbar.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;AASA,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAQrF,qBA6Ba,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAI"}
@@ -13,6 +13,7 @@ import { IcpState } from '../../icp/icp.interfaces';
13
13
  import { ViewerEventService } from '../viewer-event.service';
14
14
  import { IcpService } from '../../icp/icp.service';
15
15
  import { IcpEventService } from '../../toolbar/icp-event.service';
16
+ import { HighlightCreateDirective } from '../../annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive';
16
17
  import * as i0 from "@angular/core";
17
18
  export declare class PdfViewerComponent implements AfterContentInit, OnChanges, OnDestroy {
18
19
  private store;
@@ -49,12 +50,19 @@ export declare class PdfViewerComponent implements AfterContentInit, OnChanges,
49
50
  hasDifferentPageSize: boolean;
50
51
  viewerContainer: ElementRef<HTMLDivElement>;
51
52
  pdfViewer: ElementRef<HTMLDivElement>;
53
+ highlightCreateDirective: HighlightCreateDirective;
52
54
  private pdfWrapper;
53
55
  private $subscription;
54
56
  private viewerException;
55
57
  showCommentsPanel: boolean;
56
58
  showIcpParticipantsList: boolean;
57
59
  enableGrabNDrag: boolean;
60
+ showSelectionStartCursor: boolean;
61
+ selectionStartCursorX: number;
62
+ selectionStartCursorY: number;
63
+ showSelectionEndCursor: boolean;
64
+ selectionEndCursorX: number;
65
+ selectionEndCursorY: number;
58
66
  constructor(store: Store<fromStore.AnnotationSetState>, icpStore: Store<IcpState>, pdfJsWrapperFactory: PdfJsWrapperFactory, printService: PrintService, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, icpService: IcpService, toolbarButtons: ToolbarButtonVisibilityService, icpEventService: IcpEventService);
59
67
  ngAfterContentInit(): Promise<void>;
60
68
  ngOnChanges(changes: SimpleChanges): Promise<void>;
@@ -76,6 +84,18 @@ export declare class PdfViewerComponent implements AfterContentInit, OnChanges,
76
84
  private goToDestination;
77
85
  private goToDestinationICP;
78
86
  getCurrentPageNumber(): number;
87
+ onKeyboardTextSelectionConfirmed(): void;
88
+ onKeyboardTextSelectionCancelled(): void;
89
+ onSelectionStartCursorChanged(position: {
90
+ x: number;
91
+ y: number;
92
+ visible: boolean;
93
+ }): void;
94
+ onSelectionEndCursorChanged(position: {
95
+ x: number;
96
+ y: number;
97
+ visible: boolean;
98
+ }): void;
79
99
  static ɵfac: i0.ɵɵFactoryDeclaration<PdfViewerComponent, never>;
80
100
  static ɵcmp: i0.ɵɵComponentDeclaration<PdfViewerComponent, "mv-pdf-viewer", never, { "downloadUrl": { "alias": "downloadUrl"; "required": false; }; "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "enableRedactions": { "alias": "enableRedactions"; "required": false; }; "enableICP": { "alias": "enableICP"; "required": false; }; "annotationSet": { "alias": "annotationSet"; "required": false; }; "enableRedactSearch": { "alias": "enableRedactSearch"; "required": false; }; "height": { "alias": "height"; "required": false; }; "caseId": { "alias": "caseId"; "required": false; }; "searchBarHidden": { "alias": "searchBarHidden"; "required": false; }; }, { "mediaLoadStatus": "mediaLoadStatus"; "pdfViewerException": "pdfViewerException"; "documentTitle": "documentTitle"; }, never, never, false, never>;
81
101
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-viewer.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/viewers/pdf-viewer/pdf-viewer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,E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AAC;IAqCnC,WAAW,CAAC,OAAO,EAAE,aAAa;IAgBxC,aAAa;IAOb,WAAW,IAAI,IAAI;YAIL,YAAY;IAS1B,OAAO,CAAC,sBAAsB;IAM9B,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,oBAAoB;IAS5B,OAAO,CAAC,WAAW;IAMnB,IACI,eAAe,CAAC,MAAM,EAAE,OAAO,EAIlC;IAED,qBAAqB;IAIrB,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,oBAAoB;IAM5B,OAAO,CAAC,OAAO;IAQf,OAAO,CAAC,QAAQ;IAQhB,cAAc;IAQd,kBAAkB,CAAC,SAAS,KAAA,EAAE,SAAS,SAAI;IAW3C,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,kBAAkB;IAI1B,oBAAoB,IAAI,MAAM;yCAvOnB,kBAAkB;2CAAlB,kBAAkB;CA0O9B"}
1
+ {"version":3,"file":"pdf-viewer.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/viewers/pdf-viewer/pdf-viewer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAEhB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EAET,aAAa,EAGd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAkB,eAAe,EAAE,UAAU,EAAgB,MAAM,MAAM,CAAC;AAEjF,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAG5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAEjG,OAA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IAIrB,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,oBAAoB;IAM5B,OAAO,CAAC,OAAO;IAQf,OAAO,CAAC,QAAQ;IAQhB,cAAc;IAQd,kBAAkB,CAAC,SAAS,KAAA,EAAE,SAAS,SAAI;IAW3C,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,kBAAkB;IAI1B,oBAAoB,IAAI,MAAM;IAI9B,gCAAgC,IAAI,IAAI;IAMxC,gCAAgC,IAAI,IAAI;IAOxC,6BAA6B,CAAC,QAAQ,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI;IAUzF,2BAA2B,CAAC,QAAQ,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI;yCA3Q5E,kBAAkB;2CAAlB,kBAAkB;CAoR9B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/media-viewer",
3
- "version": "4.1.8",
3
+ "version": "4.1.9-exui-1580",
4
4
  "description": "Media Viewer",
5
5
  "keywords": [
6
6
  "Angular",
@@ -36,7 +36,7 @@
36
36
  "@ngrx/store": "^17.0.0",
37
37
  "@ngrx/store-devtools": "^17.0.0"
38
38
  },
39
- "packageManager": "yarn@3.8.5",
39
+ "packageManager": "yarn@4.5.0",
40
40
  "module": "fesm2022/hmcts-media-viewer.mjs",
41
41
  "typings": "index.d.ts",
42
42
  "exports": {