@hmcts/media-viewer 2.7.7 → 2.7.11
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/comment-set-header.scss +11 -0
- package/assets/sass/toolbar/main-toolbar.scss +3 -3
- package/assets/sass/toolbar/redaction-toolbar.scss +7 -0
- package/assets/sass/toolbar/search-bar.scss +8 -0
- package/bundles/hmcts-media-viewer.umd.js +75 -31
- package/bundles/hmcts-media-viewer.umd.js.map +1 -1
- package/bundles/hmcts-media-viewer.umd.min.js +1 -1
- package/bundles/hmcts-media-viewer.umd.min.js.map +1 -1
- package/esm2015/lib/annotations/comment-set/comment/comment.component.js +12 -12
- package/esm2015/lib/annotations/comment-set/comment-set-header/comment-set-header.component.js +9 -3
- package/esm2015/lib/annotations/comment-set/comment-set-render.service.js +2 -2
- package/esm2015/lib/annotations/comment-set/comment-set.component.js +28 -3
- package/esm2015/lib/toolbar/main-toolbar/main-toolbar.component.js +2 -2
- package/esm2015/lib/toolbar/redaction-toolbar/redaction-toolbar.component.js +8 -2
- package/esm2015/lib/toolbar/search-bar/search-bar.component.js +8 -2
- package/esm2015/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.js +7 -2
- package/esm2015/lib/viewers/pdf-viewer/pdf-viewer.component.js +2 -20
- package/esm5/lib/annotations/comment-set/comment/comment.component.js +12 -12
- package/esm5/lib/annotations/comment-set/comment-set-header/comment-set-header.component.js +12 -3
- package/esm5/lib/annotations/comment-set/comment-set-render.service.js +2 -2
- package/esm5/lib/annotations/comment-set/comment-set.component.js +32 -3
- package/esm5/lib/toolbar/main-toolbar/main-toolbar.component.js +2 -2
- package/esm5/lib/toolbar/redaction-toolbar/redaction-toolbar.component.js +11 -2
- package/esm5/lib/toolbar/search-bar/search-bar.component.js +11 -2
- package/esm5/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.js +7 -2
- package/esm5/lib/viewers/pdf-viewer/pdf-viewer.component.js +2 -20
- package/fesm2015/hmcts-media-viewer.js +1316 -1285
- package/fesm2015/hmcts-media-viewer.js.map +1 -1
- package/fesm5/hmcts-media-viewer.js +3355 -3311
- package/fesm5/hmcts-media-viewer.js.map +1 -1
- package/hmcts-media-viewer-v2.7.11.tgz +0 -0
- package/hmcts-media-viewer.metadata.json +1 -1
- package/lib/annotations/comment-set/comment/comment.component.d.ts +2 -2
- package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.d.ts +1 -0
- package/lib/annotations/comment-set/comment-set.component.d.ts +4 -1
- package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.d.ts +1 -0
- package/lib/toolbar/search-bar/search-bar.component.d.ts +1 -0
- package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts +0 -3
- package/package.json +1 -1
- package/hmcts-media-viewer-v2.7.7.tgz +0 -0
|
@@ -12,7 +12,7 @@ export declare class CommentComponent implements OnInit, OnDestroy, AfterContent
|
|
|
12
12
|
private store;
|
|
13
13
|
private readonly commentService;
|
|
14
14
|
private tagsServices;
|
|
15
|
-
|
|
15
|
+
CHAR_LIMIT: number;
|
|
16
16
|
lastUpdate: string;
|
|
17
17
|
originalComment: string;
|
|
18
18
|
fullComment: string;
|
|
@@ -22,7 +22,7 @@ export declare class CommentComponent implements OnInit, OnDestroy, AfterContent
|
|
|
22
22
|
_comment: Comment;
|
|
23
23
|
_editable: boolean;
|
|
24
24
|
_rectangle: any;
|
|
25
|
-
|
|
25
|
+
totalPrevPagesHeight: number;
|
|
26
26
|
rectTop: any;
|
|
27
27
|
rectLeft: any;
|
|
28
28
|
pageHeight: number;
|
|
@@ -21,6 +21,7 @@ export declare class CommentSetComponent implements OnInit, OnDestroy, OnChanges
|
|
|
21
21
|
rotate: number;
|
|
22
22
|
height: number;
|
|
23
23
|
pageHeights: any[];
|
|
24
|
+
contentScrollTop: number;
|
|
24
25
|
comments: Comment[];
|
|
25
26
|
tags: TagsModel[];
|
|
26
27
|
private subscriptions;
|
|
@@ -28,7 +29,8 @@ export declare class CommentSetComponent implements OnInit, OnDestroy, OnChanges
|
|
|
28
29
|
annoEntities$: Observable<{
|
|
29
30
|
[id: string]: Annotation;
|
|
30
31
|
}>;
|
|
31
|
-
container: ElementRef
|
|
32
|
+
container: ElementRef<HTMLDivElement>;
|
|
33
|
+
panel: ElementRef<HTMLDivElement>;
|
|
32
34
|
commentComponents: QueryList<CommentComponent>;
|
|
33
35
|
showCommentsPanel: boolean;
|
|
34
36
|
constructor(store: Store<fromStore.AnnotationSetState>, commentService: CommentService, renderService: CommentSetRenderService, toolbarEvents: ToolbarEventService);
|
|
@@ -38,6 +40,7 @@ export declare class CommentSetComponent implements OnInit, OnDestroy, OnChanges
|
|
|
38
40
|
onSelect(annotationId: SelectionAnnotation): void;
|
|
39
41
|
onCommentDelete(comment: Comment): void;
|
|
40
42
|
redrawComments(): void;
|
|
43
|
+
private rotateDocument;
|
|
41
44
|
onCommentUpdate(payload: {
|
|
42
45
|
comment: Comment;
|
|
43
46
|
tags: TagsModel[];
|
|
@@ -7,7 +7,6 @@ import { ToolbarEventService } from '../../toolbar/toolbar-event.service';
|
|
|
7
7
|
import { PrintService } from '../../print.service';
|
|
8
8
|
import { ResponseType, ViewerException } from '../viewer-exception.model';
|
|
9
9
|
import { ToolbarButtonVisibilityService } from '../../toolbar/toolbar-button-visibility.service';
|
|
10
|
-
import { CommentSetComponent } from '../../annotations/comment-set/comment-set.component';
|
|
11
10
|
import { Outline } from './side-bar/outline-item/outline.model';
|
|
12
11
|
import * as fromStore from '../../store/reducers/reducers';
|
|
13
12
|
import { IcpState } from '../../icp/icp.interfaces';
|
|
@@ -44,8 +43,6 @@ export declare class PdfViewerComponent implements AfterContentInit, OnChanges,
|
|
|
44
43
|
hasDifferentPageSize: boolean;
|
|
45
44
|
viewerContainer: ElementRef<HTMLDivElement>;
|
|
46
45
|
pdfViewer: ElementRef<HTMLDivElement>;
|
|
47
|
-
commentsPanel: CommentSetComponent;
|
|
48
|
-
scrollTwo: ElementRef<HTMLDivElement>;
|
|
49
46
|
private pdfWrapper;
|
|
50
47
|
private $subscription;
|
|
51
48
|
private viewerException;
|
package/package.json
CHANGED
|
Binary file
|