@hmcts/media-viewer 4.1.9-exui-1580-1 → 4.1.9-exui-2821-1
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/assets/sass/pdf-viewer.scss +0 -78
- package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.mjs +21 -80
- package/esm2022/lib/annotations/annotation-set/annotation-view/annotation-view.component.mjs +1 -1
- package/esm2022/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.mjs +5 -31
- package/esm2022/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.mjs +4 -17
- package/esm2022/lib/icp/confirm-exit/confirm-action-dialog.component.mjs +13 -5
- package/esm2022/lib/media-viewer.module.mjs +1 -4
- package/esm2022/lib/viewers/pdf-viewer/pdf-viewer.component.mjs +7 -45
- package/fesm2022/hmcts-media-viewer.mjs +723 -1192
- package/fesm2022/hmcts-media-viewer.mjs.map +1 -1
- package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts +2 -6
- package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts.map +1 -1
- package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts +2 -6
- package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts.map +1 -1
- package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts +0 -3
- package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts.map +1 -1
- package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts +4 -1
- package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts.map +1 -1
- package/lib/media-viewer.module.d.ts +18 -19
- package/lib/media-viewer.module.d.ts.map +1 -1
- package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts +0 -20
- package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/keyboard-text-highlight.directive.mjs +0 -345
- package/lib/annotations/annotation-set/annotation-create/highlight-create/keyboard-text-highlight.directive.d.ts +0 -63
- package/lib/annotations/annotation-set/annotation-create/highlight-create/keyboard-text-highlight.directive.d.ts.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
3
4
|
import * as fromStore from '../../../../store/reducers/reducers';
|
|
4
5
|
import { ViewerEventService } from '../../../../viewers/viewer-event.service';
|
|
5
6
|
import { HighlightCreateService } from './highlight-create.service';
|
|
@@ -16,20 +17,15 @@ export declare class HighlightCreateDirective implements OnInit, OnDestroy {
|
|
|
16
17
|
zoom: number;
|
|
17
18
|
rotate: number;
|
|
18
19
|
allPages: object;
|
|
19
|
-
|
|
20
|
+
$subscription: Subscription;
|
|
20
21
|
constructor(element: ElementRef<HTMLElement>, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, highlightService: HighlightCreateService, store: Store<fromStore.AnnotationSetState>);
|
|
21
22
|
ngOnInit(): void;
|
|
22
23
|
ngOnDestroy(): void;
|
|
23
24
|
onMouseUp(mouseEvent: MouseEvent): void;
|
|
24
|
-
onKeyboardSelectionConfirmed(): void;
|
|
25
|
-
private getCurrentPageFromSelection;
|
|
26
|
-
private getRectanglesFromSelection;
|
|
27
25
|
onPdfViewerClick(event: MouseEvent): void;
|
|
28
26
|
private getRectangles;
|
|
29
27
|
private createTextRectangle;
|
|
30
28
|
private removeEnhancedTextModeStyling;
|
|
31
|
-
private setPageProperties;
|
|
32
|
-
private processClientRects;
|
|
33
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateDirective, never>;
|
|
34
30
|
static ɵdir: i0.ɵɵDirectiveDeclaration<HighlightCreateDirective, "[mvCreateTextHighlight]", never, {}, {}, never, never, false, never>;
|
|
35
31
|
}
|
|
@@ -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;
|
|
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,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { 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>;
|
|
8
7
|
zoom: any;
|
|
9
8
|
rotate: any;
|
|
10
9
|
pageHeight: number;
|
|
@@ -17,14 +16,12 @@ export declare class CtxToolbarComponent implements OnChanges {
|
|
|
17
16
|
deleteHighlightEvent: EventEmitter<any>;
|
|
18
17
|
addOrEditCommentEvent: EventEmitter<any>;
|
|
19
18
|
createBookmarkEvent: EventEmitter<Rectangle>;
|
|
20
|
-
cancelEvent: EventEmitter<any>;
|
|
21
19
|
rectangle: Rectangle;
|
|
22
20
|
_rectangles: Rectangle[];
|
|
23
21
|
top: number;
|
|
24
22
|
left: number;
|
|
25
23
|
constructor();
|
|
26
24
|
ngOnChanges(changes: SimpleChanges): void;
|
|
27
|
-
onEscapeKey(event: KeyboardEvent): void;
|
|
28
25
|
set rectangles(rectangles: Rectangle[]);
|
|
29
26
|
get rectangles(): Rectangle[];
|
|
30
27
|
createHighlight(): void;
|
|
@@ -34,8 +31,7 @@ export declare class CtxToolbarComponent implements OnChanges {
|
|
|
34
31
|
setRectangle(): void;
|
|
35
32
|
popupTop(): any;
|
|
36
33
|
popupLeft(): number;
|
|
37
|
-
focusToolbar(): void;
|
|
38
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<CtxToolbarComponent, 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";
|
|
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>;
|
|
40
36
|
}
|
|
41
37
|
//# 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,
|
|
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"}
|
|
@@ -6,7 +6,6 @@ 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';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
export declare class MetadataLayerComponent implements OnInit, OnDestroy {
|
|
12
11
|
private store;
|
|
@@ -15,7 +14,6 @@ export declare class MetadataLayerComponent implements OnInit, OnDestroy {
|
|
|
15
14
|
private readonly viewerEvents;
|
|
16
15
|
zoom: number;
|
|
17
16
|
rotate: number;
|
|
18
|
-
ctxToolbar: CtxToolbarComponent;
|
|
19
17
|
pages: any[];
|
|
20
18
|
annoPages$: Observable<any>;
|
|
21
19
|
drawMode: boolean;
|
|
@@ -27,7 +25,6 @@ export declare class MetadataLayerComponent implements OnInit, OnDestroy {
|
|
|
27
25
|
ngOnDestroy(): void;
|
|
28
26
|
showContextToolbar(highlight: Highlight): void;
|
|
29
27
|
clearContextToolbar(): void;
|
|
30
|
-
cancelContextToolbar(): void;
|
|
31
28
|
createHighlight(): void;
|
|
32
29
|
createBookmark(rectangle: Rectangle): void;
|
|
33
30
|
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,
|
|
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,MAA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B,sBAAsB;CA4ElC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
1
2
|
import { IcpEventService } from '../../toolbar/icp-event.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ConfirmActionDialogComponent {
|
|
4
|
+
export declare class ConfirmActionDialogComponent implements AfterViewInit {
|
|
4
5
|
private icpEventService;
|
|
6
|
+
modalContainer: ElementRef;
|
|
5
7
|
constructor(icpEventService: IcpEventService);
|
|
8
|
+
ngAfterViewInit(): void;
|
|
6
9
|
onCancel(): void;
|
|
7
10
|
onConfirm(): void;
|
|
8
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmActionDialogComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-action-dialog.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/icp/confirm-exit/confirm-action-dialog.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"confirm-action-dialog.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/icp/confirm-exit/confirm-action-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,UAAU,EAAa,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;;AAElE,qBAIa,4BAA6B,YAAW,aAAa;IAGpD,OAAO,CAAC,eAAe;IAFN,cAAc,EAAE,UAAU,CAAC;gBAEpC,eAAe,EAAE,eAAe;IAEpD,eAAe,IAAI,IAAI;IAMvB,QAAQ;IAIR,SAAS;yCAfE,4BAA4B;2CAA5B,4BAA4B;CAmBxC"}
|
|
@@ -11,27 +11,26 @@ 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 "./
|
|
15
|
-
import * as i14 from "./
|
|
16
|
-
import * as i15 from "./
|
|
17
|
-
import * as i16 from "./
|
|
18
|
-
import * as i17 from "
|
|
19
|
-
import * as i18 from "@angular/common";
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "./
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "
|
|
24
|
-
import * as i23 from "@angular/
|
|
25
|
-
import * as i24 from "@
|
|
26
|
-
import * as i25 from "@ngrx/
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "@angular/cdk/
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "rpx-xui-translation";
|
|
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";
|
|
32
31
|
export declare class MediaViewerModule {
|
|
33
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<MediaViewerModule, never>;
|
|
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.
|
|
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]>;
|
|
35
34
|
static ɵinj: i0.ɵɵInjectorDeclaration<MediaViewerModule>;
|
|
36
35
|
}
|
|
37
36
|
//# 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":"
|
|
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"}
|
|
@@ -13,7 +13,6 @@ 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';
|
|
17
16
|
import * as i0 from "@angular/core";
|
|
18
17
|
export declare class PdfViewerComponent implements AfterContentInit, OnChanges, OnDestroy {
|
|
19
18
|
private store;
|
|
@@ -50,19 +49,12 @@ export declare class PdfViewerComponent implements AfterContentInit, OnChanges,
|
|
|
50
49
|
hasDifferentPageSize: boolean;
|
|
51
50
|
viewerContainer: ElementRef<HTMLDivElement>;
|
|
52
51
|
pdfViewer: ElementRef<HTMLDivElement>;
|
|
53
|
-
highlightCreateDirective: HighlightCreateDirective;
|
|
54
52
|
private pdfWrapper;
|
|
55
53
|
private $subscription;
|
|
56
54
|
private viewerException;
|
|
57
55
|
showCommentsPanel: boolean;
|
|
58
56
|
showIcpParticipantsList: boolean;
|
|
59
57
|
enableGrabNDrag: boolean;
|
|
60
|
-
showSelectionStartCursor: boolean;
|
|
61
|
-
selectionStartCursorX: number;
|
|
62
|
-
selectionStartCursorY: number;
|
|
63
|
-
showSelectionEndCursor: boolean;
|
|
64
|
-
selectionEndCursorX: number;
|
|
65
|
-
selectionEndCursorY: number;
|
|
66
58
|
constructor(store: Store<fromStore.AnnotationSetState>, icpStore: Store<IcpState>, pdfJsWrapperFactory: PdfJsWrapperFactory, printService: PrintService, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, icpService: IcpService, toolbarButtons: ToolbarButtonVisibilityService, icpEventService: IcpEventService);
|
|
67
59
|
ngAfterContentInit(): Promise<void>;
|
|
68
60
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
@@ -84,18 +76,6 @@ export declare class PdfViewerComponent implements AfterContentInit, OnChanges,
|
|
|
84
76
|
private goToDestination;
|
|
85
77
|
private goToDestinationICP;
|
|
86
78
|
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;
|
|
99
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<PdfViewerComponent, never>;
|
|
100
80
|
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>;
|
|
101
81
|
}
|
|
@@ -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,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,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAC;AAM3D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC
|
|
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,OA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