@hmcts/media-viewer 4.2.38 → 4.2.39-CME-776-dart-angular-20
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/.yarn/cache/engine.io-client-npm-6.6.7-505818a2b5-18201a4109.zip +0 -0
- package/.yarn/cache/socket.io-client-npm-4.8.4-cb678c2836-9b39697b00.zip +0 -0
- package/.yarn/install-state.gz +0 -0
- package/README.md +5 -5
- package/assets/all.scss +27 -29
- package/assets/sass/comment-filter.scss +6 -2
- package/assets/sass/comment-search.scss +2 -0
- package/assets/sass/comment-set-header.scss +2 -0
- package/assets/sass/comment.scss +9 -3
- package/assets/sass/comments-summary-dialog.scss +2 -2
- package/assets/sass/document.scss +37 -25
- package/assets/sass/participants-list.scss +6 -2
- package/assets/sass/settings.scss +10 -2
- package/assets/sass/tabs.scss +2 -0
- package/assets/sass/tags.scss +4 -4
- package/assets/sass/toolbar/main.scss +15 -15
- package/assets/sass/toolbar/search-bar.scss +6 -2
- package/fesm2022/hmcts-media-viewer.mjs +2930 -2929
- package/fesm2022/hmcts-media-viewer.mjs.map +1 -1
- package/index.d.ts +606 -939
- package/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/package.tgz +0 -0
- package/.yarn/cache/engine.io-client-npm-6.6.6-fd14f4b531-9fe1af84a1.zip +0 -0
- package/.yarn/cache/socket.io-client-npm-4.8.3-6800638250-ee83c08cb3.zip +0 -0
package/index.d.ts
CHANGED
|
@@ -1,45 +1,28 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { OnInit, OnDestroy, AfterContentInit, OnChanges, EventEmitter, ElementRef, SimpleChanges, AfterViewChecked, AfterViewInit, QueryList, AfterContentChecked, PipeTransform } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { BehaviorSubject, Subject, Observable, Subscription } from 'rxjs';
|
|
5
|
-
import * as _ngrx_store from '@ngrx/store';
|
|
6
|
-
import { Action, Store } from '@ngrx/store';
|
|
7
|
-
import { PDFViewer, DownloadManager } from 'pdfjs-dist/web/pdf_viewer.mjs';
|
|
8
5
|
import { ArrayDataSource, SelectionModel } from '@angular/cdk/collections';
|
|
9
6
|
import * as i28 from '@angular/cdk/tree';
|
|
10
7
|
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
11
8
|
import * as i29$1 from '@angular/cdk/drag-drop';
|
|
12
9
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
13
|
-
import * as i25 from '@angular/common/http';
|
|
14
|
-
import { HttpClient } from '@angular/common/http';
|
|
15
10
|
import * as i6 from '@angular/common';
|
|
16
11
|
import { DatePipe } from '@angular/common';
|
|
12
|
+
import * as i25 from '@angular/common/http';
|
|
17
13
|
import * as i10 from '@angular/cdk/overlay';
|
|
18
14
|
import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
19
15
|
import * as i7 from '@angular/forms';
|
|
20
|
-
import { FormGroup,
|
|
16
|
+
import { FormGroup, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
21
17
|
import * as i8 from '@angular/router';
|
|
22
18
|
import * as i12 from 'rpx-xui-translation';
|
|
23
19
|
import * as i22 from '@angular/cdk/a11y';
|
|
24
20
|
import * as i26 from 'mutable-div';
|
|
25
21
|
import * as i27 from 'ngx-chips';
|
|
26
22
|
import * as i29 from '@swimlane/ngx-datatable';
|
|
23
|
+
import * as _ngrx_store from '@ngrx/store';
|
|
24
|
+
import { Action } from '@ngrx/store';
|
|
27
25
|
import * as _ngrx_effects from '@ngrx/effects';
|
|
28
|
-
import { Actions } from '@ngrx/effects';
|
|
29
|
-
|
|
30
|
-
interface Outline {
|
|
31
|
-
bold: boolean;
|
|
32
|
-
color: Uint8ClampedArray;
|
|
33
|
-
count: number | undefined;
|
|
34
|
-
dest: string | Array<any> | null;
|
|
35
|
-
italic: boolean;
|
|
36
|
-
items: Outline[];
|
|
37
|
-
newWindow: boolean | undefined;
|
|
38
|
-
pageNumber?: number;
|
|
39
|
-
title: string;
|
|
40
|
-
unsafeUrl: string | undefined;
|
|
41
|
-
url: string | null;
|
|
42
|
-
}
|
|
43
26
|
|
|
44
27
|
interface User {
|
|
45
28
|
forename: string;
|
|
@@ -65,6 +48,41 @@ interface Rectangle extends ApiPersisted {
|
|
|
65
48
|
y: number;
|
|
66
49
|
}
|
|
67
50
|
|
|
51
|
+
interface TagsModel {
|
|
52
|
+
name: string;
|
|
53
|
+
label: string;
|
|
54
|
+
color?: string;
|
|
55
|
+
id?: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface Comment extends ApiPersisted {
|
|
59
|
+
annotationId: string;
|
|
60
|
+
content: string;
|
|
61
|
+
tags: TagsModel[];
|
|
62
|
+
page: number;
|
|
63
|
+
pages: object;
|
|
64
|
+
pageHeight: number;
|
|
65
|
+
selected: boolean;
|
|
66
|
+
editable: boolean;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
interface Annotation extends ApiPersisted {
|
|
70
|
+
annotationSetId?: string;
|
|
71
|
+
annotationId?: string;
|
|
72
|
+
page?: number;
|
|
73
|
+
color?: string;
|
|
74
|
+
comments?: Comment[];
|
|
75
|
+
rectangles?: Rectangle[];
|
|
76
|
+
type?: string;
|
|
77
|
+
tags: TagsModel[];
|
|
78
|
+
redactionId?: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
interface AnnotationSet extends ApiPersisted {
|
|
82
|
+
documentId: string;
|
|
83
|
+
annotations: Annotation[];
|
|
84
|
+
}
|
|
85
|
+
|
|
68
86
|
interface RedactionSearch {
|
|
69
87
|
page?: number;
|
|
70
88
|
matchedIndex?: number;
|
|
@@ -76,25 +94,6 @@ interface RedactRectangle {
|
|
|
76
94
|
rectangles?: Rectangle[];
|
|
77
95
|
}
|
|
78
96
|
|
|
79
|
-
declare class IcpEventService {
|
|
80
|
-
enabled: BehaviorSubject<boolean>;
|
|
81
|
-
sessionLaunch: Subject<void>;
|
|
82
|
-
becomingPresenter: Subject<void>;
|
|
83
|
-
stoppingPresenting: Subject<void>;
|
|
84
|
-
leavingSession: BehaviorSubject<boolean>;
|
|
85
|
-
sessionExitConfirmed: Subject<void>;
|
|
86
|
-
participantsListVisible: BehaviorSubject<boolean>;
|
|
87
|
-
constructor();
|
|
88
|
-
launchSession: () => void;
|
|
89
|
-
enable: () => void;
|
|
90
|
-
becomePresenter: () => void;
|
|
91
|
-
stopPresenting: () => void;
|
|
92
|
-
leaveSession: () => void;
|
|
93
|
-
confirmExit: () => void;
|
|
94
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IcpEventService, never>;
|
|
95
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IcpEventService>;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
97
|
interface SearchOperation {
|
|
99
98
|
searchTerm: string;
|
|
100
99
|
highlightAll: boolean;
|
|
@@ -118,7 +117,6 @@ interface SearchMode {
|
|
|
118
117
|
}
|
|
119
118
|
declare class ToolbarEventService {
|
|
120
119
|
private icpEventService;
|
|
121
|
-
constructor(icpEventService: IcpEventService);
|
|
122
120
|
readonly highlightModeSubject: BehaviorSubject<boolean>;
|
|
123
121
|
readonly highlightToolbarSubject: BehaviorSubject<boolean>;
|
|
124
122
|
readonly drawModeSubject: BehaviorSubject<boolean>;
|
|
@@ -185,159 +183,6 @@ declare class ToolbarEventService {
|
|
|
185
183
|
static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarEventService>;
|
|
186
184
|
}
|
|
187
185
|
|
|
188
|
-
interface DocumentState {
|
|
189
|
-
convertedDocument: {
|
|
190
|
-
url: string;
|
|
191
|
-
error: string;
|
|
192
|
-
};
|
|
193
|
-
documentId: string;
|
|
194
|
-
pdfPosition: PdfPosition;
|
|
195
|
-
pages: {
|
|
196
|
-
[id: string]: DocumentPages;
|
|
197
|
-
};
|
|
198
|
-
hasDifferentPageSize: boolean;
|
|
199
|
-
rotation: number;
|
|
200
|
-
rotationLoaded: boolean;
|
|
201
|
-
loaded: boolean;
|
|
202
|
-
loading: boolean;
|
|
203
|
-
}
|
|
204
|
-
interface DocumentPages {
|
|
205
|
-
numberOfPages: number;
|
|
206
|
-
styles: {
|
|
207
|
-
left: number;
|
|
208
|
-
height: number;
|
|
209
|
-
width: number;
|
|
210
|
-
};
|
|
211
|
-
scaleRotation: {
|
|
212
|
-
scale: string;
|
|
213
|
-
rotation: string;
|
|
214
|
-
};
|
|
215
|
-
viewportScale: number;
|
|
216
|
-
}
|
|
217
|
-
interface PdfPosition {
|
|
218
|
-
pageNumber: number;
|
|
219
|
-
scale: number;
|
|
220
|
-
top: number;
|
|
221
|
-
left: number;
|
|
222
|
-
rotation: number;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
declare class PdfJsWrapper {
|
|
226
|
-
private readonly pdfViewer;
|
|
227
|
-
private readonly downloadManager;
|
|
228
|
-
private readonly toolbarEvents;
|
|
229
|
-
readonly documentLoadInit: Subject<string>;
|
|
230
|
-
readonly documentLoadProgress: Subject<DocumentLoadProgress>;
|
|
231
|
-
readonly documentLoaded: Subject<any>;
|
|
232
|
-
readonly outlineLoaded: Subject<Outline[]>;
|
|
233
|
-
readonly documentLoadFailed: Subject<Error>;
|
|
234
|
-
readonly pageRendered: Subject<PageEvent[]>;
|
|
235
|
-
readonly positionUpdated: Subject<{
|
|
236
|
-
location: PdfPosition;
|
|
237
|
-
}>;
|
|
238
|
-
private zoomValue;
|
|
239
|
-
private documentTitle;
|
|
240
|
-
private documentOutline;
|
|
241
|
-
redactionPages: {
|
|
242
|
-
start: number;
|
|
243
|
-
end: number;
|
|
244
|
-
}[];
|
|
245
|
-
constructor(pdfViewer: PDFViewer, downloadManager: DownloadManager, toolbarEvents: ToolbarEventService, documentLoadInit: Subject<string>, documentLoadProgress: Subject<DocumentLoadProgress>, documentLoaded: Subject<any>, outlineLoaded: Subject<Outline[]>, documentLoadFailed: Subject<Error>, pageRendered: Subject<PageEvent[]>, positionUpdated: Subject<{
|
|
246
|
-
location: PdfPosition;
|
|
247
|
-
}>);
|
|
248
|
-
sendSearchDetails(event: any): void;
|
|
249
|
-
drawMissingPages(e: any): void;
|
|
250
|
-
onRedactionModeChanged(redactionMode: boolean): void;
|
|
251
|
-
private emitDocumentInfo;
|
|
252
|
-
loadDocument(documentUrl: string): Promise<void>;
|
|
253
|
-
private createLoadingTask;
|
|
254
|
-
private setOutlinePageNumbers;
|
|
255
|
-
private setNestedOutlinePageNumbers;
|
|
256
|
-
private getOutlinePageNumber;
|
|
257
|
-
downloadFile(url: string, filename: string): void;
|
|
258
|
-
setPageNumber(pageNumber: number): void;
|
|
259
|
-
getPageNumber(): number;
|
|
260
|
-
changePageNumber(numPages: number): void;
|
|
261
|
-
search(operation: SearchOperation): void;
|
|
262
|
-
clearSearch(): void;
|
|
263
|
-
navigateTo(destination: string | any[]): void;
|
|
264
|
-
nativeNavigate(destination: string | any[]): void;
|
|
265
|
-
setZoom(zoomValue: number): void;
|
|
266
|
-
stepZoom(zoomValue: number): void;
|
|
267
|
-
private getZoomValue;
|
|
268
|
-
rotate(rotation: number): number;
|
|
269
|
-
resetRotation(rotation: number): number;
|
|
270
|
-
getNormalisedPagesRotation(): number;
|
|
271
|
-
getCurrentPDFZoomValue(): number;
|
|
272
|
-
setCurrentPDFTitle(title: string): void;
|
|
273
|
-
getCurrentPDFTitle(): string;
|
|
274
|
-
}
|
|
275
|
-
interface DocumentLoadProgress {
|
|
276
|
-
loaded: number;
|
|
277
|
-
total: number;
|
|
278
|
-
}
|
|
279
|
-
interface PageEvent {
|
|
280
|
-
div: object;
|
|
281
|
-
scale: number;
|
|
282
|
-
rotation: number;
|
|
283
|
-
id: string;
|
|
284
|
-
viewportScale: number;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
declare class PdfJsWrapperFactory {
|
|
288
|
-
private readonly toolbarEvents;
|
|
289
|
-
private linkService;
|
|
290
|
-
private eventBus;
|
|
291
|
-
private pdfJsWrapper;
|
|
292
|
-
constructor(toolbarEvents: ToolbarEventService);
|
|
293
|
-
create(container: ElementRef): PdfJsWrapper;
|
|
294
|
-
pdfWrapper(): PdfJsWrapper;
|
|
295
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PdfJsWrapperFactory, never>;
|
|
296
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PdfJsWrapperFactory>;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
interface TagsModel {
|
|
300
|
-
name: string;
|
|
301
|
-
label: string;
|
|
302
|
-
color?: string;
|
|
303
|
-
id?: string;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
interface Comment extends ApiPersisted {
|
|
307
|
-
annotationId: string;
|
|
308
|
-
content: string;
|
|
309
|
-
tags: TagsModel[];
|
|
310
|
-
page: number;
|
|
311
|
-
pages: object;
|
|
312
|
-
pageHeight: number;
|
|
313
|
-
selected: boolean;
|
|
314
|
-
editable: boolean;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
interface Annotation extends ApiPersisted {
|
|
318
|
-
annotationSetId?: string;
|
|
319
|
-
annotationId?: string;
|
|
320
|
-
page?: number;
|
|
321
|
-
color?: string;
|
|
322
|
-
comments?: Comment[];
|
|
323
|
-
rectangles?: Rectangle[];
|
|
324
|
-
type?: string;
|
|
325
|
-
tags: TagsModel[];
|
|
326
|
-
redactionId?: string;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
interface AnnotationSet extends ApiPersisted {
|
|
330
|
-
documentId: string;
|
|
331
|
-
annotations: Annotation[];
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
declare class PrintService {
|
|
335
|
-
printDocumentNatively(url: string): void;
|
|
336
|
-
printElementNatively(element: HTMLElement, width: number, height: number): void;
|
|
337
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PrintService, never>;
|
|
338
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PrintService>;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
186
|
declare enum ResponseType {
|
|
342
187
|
SUCCESS = "SUCCESS",
|
|
343
188
|
FAILURE = "FAILURE",
|
|
@@ -378,473 +223,47 @@ declare class ToolbarButtonVisibilityService {
|
|
|
378
223
|
static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarButtonVisibilityService>;
|
|
379
224
|
}
|
|
380
225
|
|
|
381
|
-
interface
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
226
|
+
interface Outline {
|
|
227
|
+
bold: boolean;
|
|
228
|
+
color: Uint8ClampedArray;
|
|
229
|
+
count: number | undefined;
|
|
230
|
+
dest: string | Array<any> | null;
|
|
231
|
+
italic: boolean;
|
|
232
|
+
items: Outline[];
|
|
233
|
+
newWindow: boolean | undefined;
|
|
234
|
+
pageNumber?: number;
|
|
235
|
+
title: string;
|
|
236
|
+
unsafeUrl: string | undefined;
|
|
237
|
+
url: string | null;
|
|
385
238
|
}
|
|
386
239
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
readonly type = "[Annotations] Load Annotation Set";
|
|
415
|
-
constructor(payload: string);
|
|
416
|
-
}
|
|
417
|
-
declare class SaveAnnotationSet implements Action {
|
|
418
|
-
payload: AnnotationSet;
|
|
419
|
-
readonly type = "[Annotations] Save Annotation Set";
|
|
420
|
-
constructor(payload: AnnotationSet);
|
|
421
|
-
}
|
|
422
|
-
declare class LoadAnnotationSetSucess implements Action {
|
|
423
|
-
payload: {
|
|
424
|
-
status: number;
|
|
425
|
-
body: AnnotationSet;
|
|
426
|
-
};
|
|
427
|
-
readonly type = "[Annotations] Load Annotation Set Success";
|
|
428
|
-
constructor(payload: {
|
|
429
|
-
status: number;
|
|
430
|
-
body: AnnotationSet;
|
|
431
|
-
});
|
|
432
|
-
}
|
|
433
|
-
declare class SaveAnnotationSetSuccess implements Action {
|
|
434
|
-
payload: AnnotationSet;
|
|
435
|
-
readonly type = "[Annotations] Save Annotation Set Success";
|
|
436
|
-
constructor(payload: AnnotationSet);
|
|
437
|
-
}
|
|
438
|
-
declare class LoadAnnotationSetFail implements Action {
|
|
439
|
-
payload: {
|
|
440
|
-
status: number;
|
|
441
|
-
body: any;
|
|
442
|
-
};
|
|
443
|
-
readonly type = "[Annotations] Load Annotation Set Fail";
|
|
444
|
-
constructor(payload: {
|
|
445
|
-
status: number;
|
|
446
|
-
body: any;
|
|
447
|
-
});
|
|
448
|
-
}
|
|
449
|
-
declare class SaveAnnotationSetFail implements Action {
|
|
450
|
-
payload: {
|
|
451
|
-
status: number;
|
|
452
|
-
body: any;
|
|
453
|
-
};
|
|
454
|
-
readonly type = "[Annotations] Save Annotation Set Fail";
|
|
455
|
-
constructor(payload: {
|
|
456
|
-
status: number;
|
|
457
|
-
body: any;
|
|
458
|
-
});
|
|
459
|
-
}
|
|
460
|
-
declare class SaveAnnotation implements Action {
|
|
461
|
-
payload: Annotation;
|
|
462
|
-
autoSelect?: boolean;
|
|
463
|
-
readonly type = "[Annotations] Save Annotation";
|
|
464
|
-
constructor(payload: Annotation, autoSelect?: boolean);
|
|
465
|
-
}
|
|
466
|
-
declare class SaveAnnotationSuccess implements Action {
|
|
467
|
-
payload: any;
|
|
468
|
-
readonly type = "[Annotations] Save Annotation Success";
|
|
469
|
-
constructor(payload: any);
|
|
470
|
-
}
|
|
471
|
-
declare class SaveAnnotationFail implements Action {
|
|
472
|
-
payload: Error;
|
|
473
|
-
readonly type = "[Annotations] Save Annotation Fail";
|
|
474
|
-
constructor(payload: Error);
|
|
475
|
-
}
|
|
476
|
-
declare class AddOrEditComment implements Action {
|
|
477
|
-
payload: Comment;
|
|
478
|
-
readonly type = "[Annotations] Add or Edit Comment";
|
|
479
|
-
constructor(payload: Comment);
|
|
480
|
-
}
|
|
481
|
-
declare class DeleteAnnotation implements Action {
|
|
482
|
-
payload: string;
|
|
483
|
-
readonly type = "[Annotations] Delete Annotation";
|
|
484
|
-
constructor(payload: string);
|
|
485
|
-
}
|
|
486
|
-
declare class DeleteAnnotationSuccess implements Action {
|
|
487
|
-
payload: string;
|
|
488
|
-
readonly type = "[Annotations] Delete Annotation Success";
|
|
489
|
-
constructor(payload: string);
|
|
490
|
-
}
|
|
491
|
-
declare class DeleteAnnotationFail implements Action {
|
|
492
|
-
payload: Error;
|
|
493
|
-
readonly type = "[Annotations] Delete Annotation Fail";
|
|
494
|
-
constructor(payload: Error);
|
|
495
|
-
}
|
|
496
|
-
declare class SelectedAnnotation implements Action {
|
|
497
|
-
payload: SelectionAnnotation;
|
|
498
|
-
readonly type = "[Annotations] Select Annotation";
|
|
499
|
-
constructor(payload: SelectionAnnotation);
|
|
500
|
-
}
|
|
501
|
-
declare class SearchComment implements Action {
|
|
502
|
-
payload: string;
|
|
503
|
-
readonly type = "[Comments] Search Comments";
|
|
504
|
-
constructor(payload: string);
|
|
505
|
-
}
|
|
506
|
-
declare class ApplyCommentSymmaryFilter implements Action {
|
|
507
|
-
payload: Filters;
|
|
508
|
-
readonly type = "[Comments] Apply Comment Summary Filter";
|
|
509
|
-
constructor(payload: Filters);
|
|
510
|
-
}
|
|
511
|
-
declare class ClearCommentSummaryFilters implements Action {
|
|
512
|
-
readonly type = "[Comments] Clear Comment Summary Filter";
|
|
513
|
-
}
|
|
514
|
-
type AnnotationsActions = LoadAnnotationSet | LoadAnnotationSetSucess | LoadAnnotationSetFail | SaveAnnotation | SaveAnnotationSuccess | SaveAnnotationFail | SaveAnnotationSetSuccess | AddOrEditComment | DeleteAnnotation | DeleteAnnotationSuccess | DeleteAnnotationFail | SelectedAnnotation | SearchComment | ApplyCommentSymmaryFilter | ClearCommentSummaryFilters;
|
|
515
|
-
|
|
516
|
-
interface AnnotationSetState {
|
|
517
|
-
annotationSet: any;
|
|
518
|
-
annotationEntities: {
|
|
519
|
-
[id: string]: any;
|
|
520
|
-
};
|
|
521
|
-
annotationPageEntities: {
|
|
522
|
-
[id: string]: Annotation[];
|
|
523
|
-
};
|
|
524
|
-
commentEntities: {
|
|
525
|
-
[id: string]: Comment;
|
|
526
|
-
};
|
|
527
|
-
selectedAnnotation: SelectionAnnotation;
|
|
528
|
-
commentSearchQueries: {
|
|
529
|
-
commentSearch: string;
|
|
530
|
-
};
|
|
531
|
-
commentSummaryFilters: {
|
|
532
|
-
hasFilter: boolean;
|
|
533
|
-
filters: Filters;
|
|
534
|
-
};
|
|
535
|
-
loaded: boolean;
|
|
536
|
-
loading: boolean;
|
|
537
|
-
}
|
|
538
|
-
declare const initialState: AnnotationSetState;
|
|
539
|
-
declare function reducer(state: AnnotationSetState, action: AnnotationsActions): AnnotationSetState;
|
|
540
|
-
declare const getAnnoSet: (state: AnnotationSetState) => any;
|
|
541
|
-
declare const getCommentEnts: (state: AnnotationSetState) => {
|
|
542
|
-
[id: string]: Comment;
|
|
543
|
-
};
|
|
544
|
-
declare const getAnnoPageEnt: (state: AnnotationSetState) => {
|
|
545
|
-
[id: string]: Annotation[];
|
|
546
|
-
};
|
|
547
|
-
declare const getAnnoEnt: (state: AnnotationSetState) => {
|
|
548
|
-
[id: string]: any;
|
|
549
|
-
};
|
|
550
|
-
declare const getSelectedAnno: (state: AnnotationSetState) => SelectionAnnotation;
|
|
551
|
-
declare const commentSearchQ: (state: AnnotationSetState) => {
|
|
552
|
-
commentSearch: string;
|
|
553
|
-
};
|
|
554
|
-
declare const getSummaryFilters: (state: AnnotationSetState) => {
|
|
555
|
-
hasFilter: boolean;
|
|
556
|
-
filters: Filters;
|
|
557
|
-
};
|
|
558
|
-
|
|
559
|
-
interface TagsState {
|
|
560
|
-
tagNameEnt: {
|
|
561
|
-
[id: string]: string[];
|
|
562
|
-
};
|
|
563
|
-
filteredComments: {
|
|
564
|
-
[id: string]: string[];
|
|
565
|
-
};
|
|
566
|
-
filteredPageEntities: {
|
|
567
|
-
[id: string]: Annotation[];
|
|
568
|
-
};
|
|
569
|
-
annotations: Annotation[];
|
|
570
|
-
formFilterState: {
|
|
571
|
-
[id: string]: boolean;
|
|
572
|
-
};
|
|
573
|
-
filters: string[];
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
interface Bookmark$1 {
|
|
577
|
-
id: string;
|
|
578
|
-
documentId: string;
|
|
579
|
-
name: string;
|
|
580
|
-
pageNumber: number;
|
|
581
|
-
xCoordinate: number;
|
|
582
|
-
yCoordinate: number;
|
|
583
|
-
children: any[];
|
|
584
|
-
previous: string;
|
|
585
|
-
index: number;
|
|
586
|
-
}
|
|
587
|
-
interface BookmarksPerPage {
|
|
588
|
-
bookmark: {
|
|
589
|
-
[id: string]: Bookmark$1;
|
|
590
|
-
};
|
|
591
|
-
styles: {
|
|
592
|
-
left: number;
|
|
593
|
-
height: number;
|
|
594
|
-
width: number;
|
|
595
|
-
};
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
interface BookmarksState {
|
|
599
|
-
bookmarks: Bookmark$1[];
|
|
600
|
-
bookmarkEntities: {
|
|
601
|
-
[id: string]: Bookmark$1;
|
|
602
|
-
};
|
|
603
|
-
bookmarkPageEntities: {
|
|
604
|
-
[id: string]: any;
|
|
605
|
-
};
|
|
606
|
-
editableBookmark: string;
|
|
607
|
-
loaded: boolean;
|
|
608
|
-
loading: boolean;
|
|
609
|
-
scrollTop?: number;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
interface Redaction {
|
|
613
|
-
redactionId?: string;
|
|
614
|
-
documentId?: string;
|
|
615
|
-
page?: number;
|
|
616
|
-
rectangles?: Rectangle[];
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
interface RedactionState {
|
|
620
|
-
redactionEntities: {
|
|
621
|
-
[id: string]: Redaction;
|
|
622
|
-
};
|
|
623
|
-
redactionPageEntities: {
|
|
624
|
-
[id: string]: any;
|
|
625
|
-
};
|
|
626
|
-
selectedRedaction: SelectionAnnotation | {};
|
|
627
|
-
redactedDocumentInfo: {
|
|
628
|
-
blob: Blob;
|
|
629
|
-
filename: string;
|
|
630
|
-
};
|
|
631
|
-
documentId: string;
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
interface IcpState {
|
|
635
|
-
session: IcpSession;
|
|
636
|
-
presenter: IcpParticipant;
|
|
637
|
-
client: IcpParticipant;
|
|
638
|
-
participants: IcpParticipant[];
|
|
639
|
-
}
|
|
640
|
-
interface IcpSession {
|
|
641
|
-
sessionId: string;
|
|
642
|
-
documentId: string;
|
|
643
|
-
caseId: string;
|
|
644
|
-
dateOfHearing: Date;
|
|
645
|
-
connectionUrl: string;
|
|
646
|
-
}
|
|
647
|
-
interface IcpParticipant {
|
|
648
|
-
id: string;
|
|
649
|
-
username: string;
|
|
650
|
-
}
|
|
651
|
-
interface IcpScreenUpdate {
|
|
652
|
-
pdfPosition: PdfPosition;
|
|
653
|
-
document: string;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
interface State {
|
|
657
|
-
document: DocumentState;
|
|
658
|
-
annotations: AnnotationSetState;
|
|
659
|
-
tags: TagsState;
|
|
660
|
-
bookmarks: BookmarksState;
|
|
661
|
-
redactions: RedactionState;
|
|
662
|
-
icp: IcpState;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
interface Highlight {
|
|
666
|
-
page: number;
|
|
667
|
-
rectangles: Rectangle[];
|
|
668
|
-
}
|
|
669
|
-
declare class ViewerEventService {
|
|
670
|
-
readonly textHighlight: Subject<Highlight>;
|
|
671
|
-
readonly boxHighlight: Subject<Highlight>;
|
|
672
|
-
readonly ctxToolbarCleared: Subject<void>;
|
|
673
|
-
readonly navigationEvent: Subject<any[]>;
|
|
674
|
-
readonly navigationEventICP: Subject<any[]>;
|
|
675
|
-
constructor();
|
|
676
|
-
textSelected(selectionData: Highlight): void;
|
|
677
|
-
boxSelected(selectionData: Highlight): void;
|
|
678
|
-
clearCtxToolbar(): void;
|
|
679
|
-
goToDestination(destination: any[]): void;
|
|
680
|
-
goToDestinationICP(destination: any[]): void;
|
|
681
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewerEventService, never>;
|
|
682
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ViewerEventService>;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
declare enum IcpEvents {
|
|
686
|
-
SESSION_JOINED = "IcpClientJoinedSession",
|
|
687
|
-
CLIENT_DISCONNECTED = "IcpClientDisconnectedFromSession",
|
|
688
|
-
NEW_PARTICIPANT_JOINED = "IcpNewParticipantJoinedSession",
|
|
689
|
-
REMOVE_PARTICIPANT = "IcpRemoveParticipantFromList",
|
|
690
|
-
PARTICIPANTS_UPDATED = "IcpParticipantsListUpdated",
|
|
691
|
-
UPDATE_PRESENTER = "IcpNewPresenterStartsPresenting",
|
|
692
|
-
PRESENTER_UPDATED = "IcpPresenterUpdated",
|
|
693
|
-
UPDATE_SCREEN = "IcpUpdateScreen",
|
|
694
|
-
SCREEN_UPDATED = "IcpScreenUpdated",
|
|
695
|
-
SESSION_JOIN = "IcpClientJoinSession",
|
|
696
|
-
SESSION_LEAVE = "IcpClientLeaveSession"
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
declare class SocketService implements OnDestroy {
|
|
700
|
-
private socket;
|
|
701
|
-
subscription: Subscription;
|
|
702
|
-
connected$: BehaviorSubject<boolean>;
|
|
703
|
-
sessionJoined$: Subject<void>;
|
|
704
|
-
presenterUpdated$: Subject<void>;
|
|
705
|
-
clientDisconnected$: Subject<void>;
|
|
706
|
-
participantUpdated$: Subject<void>;
|
|
707
|
-
newParticipantJoined$: Subject<void>;
|
|
708
|
-
screenUpdated$: Subject<void>;
|
|
709
|
-
constructor();
|
|
710
|
-
ngOnDestroy(): void;
|
|
711
|
-
connect(url: string, session: IcpSession): void;
|
|
712
|
-
connected(): Observable<boolean>;
|
|
713
|
-
join(session: any): void;
|
|
714
|
-
leave(session: any): void;
|
|
715
|
-
emit(event: string, data: any): void;
|
|
716
|
-
listen(event: IcpEvents): Observable<any>;
|
|
717
|
-
messageEventHandller(eventName: string, data: any): void;
|
|
718
|
-
getSocketClient(url: string): Observable<WebSocket>;
|
|
719
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SocketService, never>;
|
|
720
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SocketService>;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
declare class IcpUpdateService {
|
|
724
|
-
private socket;
|
|
725
|
-
session: IcpSession;
|
|
726
|
-
constructor(socket: SocketService);
|
|
727
|
-
private joinSessionSubscription;
|
|
728
|
-
joinSession(username: string, session: IcpSession, token: string): rxjs.Observable<any>;
|
|
729
|
-
leaveSession(): void;
|
|
730
|
-
newParticipantJoined(): rxjs.Observable<any>;
|
|
731
|
-
clientDisconnected(): rxjs.Observable<any>;
|
|
732
|
-
removeParticipant(participantId: any): void;
|
|
733
|
-
participantListUpdated(): rxjs.Observable<any>;
|
|
734
|
-
updatePresenter(presenter: IcpParticipant): void;
|
|
735
|
-
presenterUpdated(): rxjs.Observable<any>;
|
|
736
|
-
updateScreen(screen: IcpScreenUpdate): void;
|
|
737
|
-
screenUpdated(): rxjs.Observable<any>;
|
|
738
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IcpUpdateService, never>;
|
|
739
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IcpUpdateService>;
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
declare class IcpPresenterService {
|
|
743
|
-
private readonly toolbarEvents;
|
|
744
|
-
private readonly socketService;
|
|
745
|
-
private store;
|
|
746
|
-
session: IcpSession;
|
|
747
|
-
presenter: IcpParticipant;
|
|
748
|
-
pdfPosition: PdfPosition;
|
|
749
|
-
$subscription: Subscription;
|
|
750
|
-
constructor(toolbarEvents: ToolbarEventService, socketService: IcpUpdateService, store: Store<IcpState>);
|
|
751
|
-
update(isPresenter: boolean): void;
|
|
752
|
-
subscribe(): void;
|
|
753
|
-
unsubscribe(): void;
|
|
754
|
-
onPositionUpdate(pdfPosition: PdfPosition): void;
|
|
755
|
-
onNewParticipantJoined(): void;
|
|
756
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IcpPresenterService, never>;
|
|
757
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IcpPresenterService>;
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
declare class IcpFollowerService {
|
|
761
|
-
private readonly toolbarEvents;
|
|
762
|
-
private readonly viewerEvents;
|
|
763
|
-
private readonly socketService;
|
|
764
|
-
private store;
|
|
765
|
-
session: IcpSession;
|
|
766
|
-
private previousRotation;
|
|
767
|
-
$subscription: Subscription;
|
|
768
|
-
constructor(toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, socketService: IcpUpdateService, store: Store<IcpState>);
|
|
769
|
-
update(isFollower: boolean): void;
|
|
770
|
-
subscribe(): void;
|
|
771
|
-
unsubscribe(): void;
|
|
772
|
-
followScreenUpdate({ pdfPosition }: {
|
|
773
|
-
pdfPosition: any;
|
|
774
|
-
}): void;
|
|
775
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IcpFollowerService, never>;
|
|
776
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IcpFollowerService>;
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
declare class IcpService implements OnDestroy {
|
|
780
|
-
private readonly toolbarEvents;
|
|
781
|
-
private readonly viewerEvents;
|
|
782
|
-
private readonly socketService;
|
|
783
|
-
private readonly presenterSubscriptions;
|
|
784
|
-
private readonly followerSubscriptions;
|
|
785
|
-
private store;
|
|
786
|
-
private readonly icpEventService;
|
|
787
|
-
caseId: string;
|
|
788
|
-
client: IcpParticipant;
|
|
789
|
-
presenter: IcpParticipant;
|
|
790
|
-
isPresenter: boolean;
|
|
791
|
-
documentId: string;
|
|
792
|
-
subscription: Subscription;
|
|
793
|
-
sessionSubscription: Subscription;
|
|
794
|
-
constructor(toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, socketService: IcpUpdateService, presenterSubscriptions: IcpPresenterService, followerSubscriptions: IcpFollowerService, store: Store<IcpState>, icpEventService: IcpEventService);
|
|
795
|
-
ngOnDestroy(): void;
|
|
796
|
-
launchSession(): void;
|
|
797
|
-
setUpSessionSubscriptions(): void;
|
|
798
|
-
unsubscribeSession(): void;
|
|
799
|
-
leavePresentation(): void;
|
|
800
|
-
stopPresenting(): void;
|
|
801
|
-
becomePresenter(): void;
|
|
802
|
-
clientDisconnected(client: any): void;
|
|
803
|
-
removeParticipant(participantId: any): void;
|
|
804
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IcpService, never>;
|
|
805
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IcpService>;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
declare class HighlightCreateService {
|
|
809
|
-
private toolBarEvents;
|
|
810
|
-
private store;
|
|
811
|
-
constructor(toolBarEvents: ToolbarEventService, store: Store<AnnotationSetState>);
|
|
812
|
-
saveAnnotation(rectangles: Rectangle[], page: number, annotationId?: string): void;
|
|
813
|
-
saveAnnotationSet(searchRectangles: RedactRectangle[]): void;
|
|
814
|
-
applyRotation(pageHeight: any, pageWidth: any, offsetHeight: any, offsetWidth: any, offsetTop: any, offsetLeft: any, rotate: any, zoom: any): any;
|
|
815
|
-
resetHighlight(): void;
|
|
816
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateService, never>;
|
|
817
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HighlightCreateService>;
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
declare class HighlightCreateDirective implements OnInit, OnDestroy {
|
|
821
|
-
private element;
|
|
822
|
-
private toolbarEvents;
|
|
823
|
-
private viewerEvents;
|
|
824
|
-
private highlightService;
|
|
825
|
-
private store;
|
|
826
|
-
pageHeight: number;
|
|
827
|
-
pageWidth: number;
|
|
828
|
-
zoom: number;
|
|
829
|
-
rotate: number;
|
|
830
|
-
allPages: object;
|
|
831
|
-
private $subscriptions;
|
|
832
|
-
constructor(element: ElementRef<HTMLElement>, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, highlightService: HighlightCreateService, store: Store<AnnotationSetState>);
|
|
833
|
-
ngOnInit(): void;
|
|
834
|
-
ngOnDestroy(): void;
|
|
835
|
-
private focusWithoutScrolling;
|
|
836
|
-
onMouseUp(mouseEvent: MouseEvent): void;
|
|
837
|
-
onKeyboardSelectionConfirmed(): void;
|
|
838
|
-
private getCurrentPageFromSelection;
|
|
839
|
-
private getRectanglesFromSelection;
|
|
840
|
-
onPdfViewerClick(event: MouseEvent): void;
|
|
841
|
-
private getRectangles;
|
|
842
|
-
private createTextRectangle;
|
|
843
|
-
private removeEnhancedTextModeStyling;
|
|
844
|
-
private setPageProperties;
|
|
845
|
-
private processClientRects;
|
|
846
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateDirective, never>;
|
|
847
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HighlightCreateDirective, "[mvCreateTextHighlight]", never, {}, {}, never, never, false, never>;
|
|
240
|
+
declare class HighlightCreateDirective implements OnInit, OnDestroy {
|
|
241
|
+
private element;
|
|
242
|
+
private toolbarEvents;
|
|
243
|
+
private viewerEvents;
|
|
244
|
+
private highlightService;
|
|
245
|
+
private store;
|
|
246
|
+
pageHeight: number;
|
|
247
|
+
pageWidth: number;
|
|
248
|
+
zoom: number;
|
|
249
|
+
rotate: number;
|
|
250
|
+
allPages: object;
|
|
251
|
+
private $subscriptions;
|
|
252
|
+
ngOnInit(): void;
|
|
253
|
+
ngOnDestroy(): void;
|
|
254
|
+
private focusWithoutScrolling;
|
|
255
|
+
onMouseUp(mouseEvent: MouseEvent): void;
|
|
256
|
+
onKeyboardSelectionConfirmed(): void;
|
|
257
|
+
private getCurrentPageFromSelection;
|
|
258
|
+
private getRectanglesFromSelection;
|
|
259
|
+
onPdfViewerClick(event: MouseEvent): void;
|
|
260
|
+
private getRectangles;
|
|
261
|
+
private createTextRectangle;
|
|
262
|
+
private removeEnhancedTextModeStyling;
|
|
263
|
+
private setPageProperties;
|
|
264
|
+
private processClientRects;
|
|
265
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateDirective, never>;
|
|
266
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HighlightCreateDirective, "[mvCreateTextHighlight]", never, {}, {}, never, never, false, never>;
|
|
848
267
|
}
|
|
849
268
|
|
|
850
269
|
declare class PdfViewerComponent implements AfterContentInit, OnChanges, OnDestroy {
|
|
@@ -895,7 +314,7 @@ declare class PdfViewerComponent implements AfterContentInit, OnChanges, OnDestr
|
|
|
895
314
|
showSelectionEndCursor: boolean;
|
|
896
315
|
selectionEndCursorX: number;
|
|
897
316
|
selectionEndCursorY: number;
|
|
898
|
-
constructor(
|
|
317
|
+
constructor();
|
|
899
318
|
ngAfterContentInit(): Promise<void>;
|
|
900
319
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
901
320
|
resetRotation(): void;
|
|
@@ -933,7 +352,7 @@ declare class PdfViewerComponent implements AfterContentInit, OnChanges, OnDestr
|
|
|
933
352
|
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>;
|
|
934
353
|
}
|
|
935
354
|
|
|
936
|
-
interface Bookmark {
|
|
355
|
+
interface Bookmark$1 {
|
|
937
356
|
id: string;
|
|
938
357
|
documentId: string;
|
|
939
358
|
name: string;
|
|
@@ -943,7 +362,7 @@ interface Bookmark {
|
|
|
943
362
|
zoom: number;
|
|
944
363
|
parent: string;
|
|
945
364
|
previous: string;
|
|
946
|
-
children: Bookmark[];
|
|
365
|
+
children: Bookmark$1[];
|
|
947
366
|
index: number;
|
|
948
367
|
}
|
|
949
368
|
interface BookmarkNode {
|
|
@@ -952,21 +371,58 @@ interface BookmarkNode {
|
|
|
952
371
|
children: string[];
|
|
953
372
|
}
|
|
954
373
|
|
|
374
|
+
interface DocumentState {
|
|
375
|
+
convertedDocument: {
|
|
376
|
+
url: string;
|
|
377
|
+
error: string;
|
|
378
|
+
};
|
|
379
|
+
documentId: string;
|
|
380
|
+
pdfPosition: PdfPosition;
|
|
381
|
+
pages: {
|
|
382
|
+
[id: string]: DocumentPages;
|
|
383
|
+
};
|
|
384
|
+
hasDifferentPageSize: boolean;
|
|
385
|
+
rotation: number;
|
|
386
|
+
rotationLoaded: boolean;
|
|
387
|
+
loaded: boolean;
|
|
388
|
+
loading: boolean;
|
|
389
|
+
}
|
|
390
|
+
interface DocumentPages {
|
|
391
|
+
numberOfPages: number;
|
|
392
|
+
styles: {
|
|
393
|
+
left: number;
|
|
394
|
+
height: number;
|
|
395
|
+
width: number;
|
|
396
|
+
};
|
|
397
|
+
scaleRotation: {
|
|
398
|
+
scale: string;
|
|
399
|
+
rotation: string;
|
|
400
|
+
};
|
|
401
|
+
viewportScale: number;
|
|
402
|
+
}
|
|
403
|
+
interface PdfPosition {
|
|
404
|
+
pageNumber: number;
|
|
405
|
+
scale: number;
|
|
406
|
+
top: number;
|
|
407
|
+
left: number;
|
|
408
|
+
rotation: number;
|
|
409
|
+
}
|
|
410
|
+
|
|
955
411
|
declare class BookmarksComponent implements OnInit, OnDestroy, OnChanges {
|
|
956
412
|
private store;
|
|
957
|
-
set bookmarkNodes(value: Bookmark[]);
|
|
958
|
-
get bookmarkNodes(): Bookmark[];
|
|
413
|
+
set bookmarkNodes(value: Bookmark$1[]);
|
|
414
|
+
get bookmarkNodes(): Bookmark$1[];
|
|
959
415
|
zoom: number;
|
|
960
416
|
rotate: number;
|
|
961
417
|
parentScrollTop: number;
|
|
962
418
|
goToDestination: EventEmitter<any[]>;
|
|
963
419
|
treeHasChanged: EventEmitter<boolean>;
|
|
964
420
|
private _bookmarkNodes;
|
|
965
|
-
datasource: ArrayDataSource<Bookmark>;
|
|
966
|
-
treeControl: FlatTreeControl<Bookmark>;
|
|
967
|
-
hoveredNode: Bookmark;
|
|
421
|
+
datasource: ArrayDataSource<Bookmark$1>;
|
|
422
|
+
treeControl: FlatTreeControl<Bookmark$1>;
|
|
423
|
+
hoveredNode: Bookmark$1;
|
|
968
424
|
hoverHtmlElement: HTMLElement;
|
|
969
|
-
expansionModel: SelectionModel<Bookmark>;
|
|
425
|
+
expansionModel: SelectionModel<Bookmark$1>;
|
|
970
426
|
isDraggingOn: boolean;
|
|
971
427
|
isUserdragging: boolean;
|
|
972
428
|
expandTimeout: any;
|
|
@@ -990,15 +446,14 @@ declare class BookmarksComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
990
446
|
private sortMode;
|
|
991
447
|
private readonly _customSort;
|
|
992
448
|
private readonly _positionSort;
|
|
993
|
-
constructor(store: Store<BookmarksState | AnnotationSetState>);
|
|
994
449
|
ngOnInit(): void;
|
|
995
450
|
ngOnChanges(changes: SimpleChanges): void;
|
|
996
451
|
ngOnDestroy(): void;
|
|
997
452
|
editBookmark(id: any): void;
|
|
998
453
|
onAddBookmarkClick(): void;
|
|
999
|
-
deleteBookmark2(node: Bookmark): void;
|
|
1000
|
-
updateBookmark(bookmark: Bookmark, name: any): void;
|
|
1001
|
-
goToBookmark(bookmark: Bookmark): void;
|
|
454
|
+
deleteBookmark2(node: Bookmark$1): void;
|
|
455
|
+
updateBookmark(bookmark: Bookmark$1, name: any): void;
|
|
456
|
+
goToBookmark(bookmark: Bookmark$1): void;
|
|
1002
457
|
get customSort(): string;
|
|
1003
458
|
get positionSort(): string;
|
|
1004
459
|
sort(mode: string): void;
|
|
@@ -1006,19 +461,19 @@ declare class BookmarksComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
1006
461
|
private positionSortBookmarks;
|
|
1007
462
|
private customSortBookmarks;
|
|
1008
463
|
private scaledY;
|
|
1009
|
-
hasChild: (_: number, node: Bookmark) => boolean;
|
|
464
|
+
hasChild: (_: number, node: Bookmark$1) => boolean;
|
|
1010
465
|
getNode(bookmarks: any, parentId: any): any;
|
|
1011
|
-
drop(event: CdkDragDrop<Bookmark>): void;
|
|
466
|
+
drop(event: CdkDragDrop<Bookmark$1>): void;
|
|
1012
467
|
private getSiblingFromAllSibliings;
|
|
1013
468
|
dragStart(): void;
|
|
1014
469
|
dragEnd(): void;
|
|
1015
|
-
dragHover(event: any, node: Bookmark): void;
|
|
1016
|
-
dragHoverEnd(event: any, node: Bookmark): void;
|
|
1017
|
-
onNodeExpand(node: Bookmark): "toggle-children-wrapper-expanded" | "toggle-children-wrapper-collapsed";
|
|
1018
|
-
visibleNodes(bookmarks: Bookmark[]): Bookmark[];
|
|
470
|
+
dragHover(event: any, node: Bookmark$1): void;
|
|
471
|
+
dragHoverEnd(event: any, node: Bookmark$1): void;
|
|
472
|
+
onNodeExpand(node: Bookmark$1): "toggle-children-wrapper-expanded" | "toggle-children-wrapper-collapsed";
|
|
473
|
+
visibleNodes(bookmarks: Bookmark$1[]): Bookmark$1[];
|
|
1019
474
|
findNodeSiblings(arr: Array<any>, id: string): Array<any>;
|
|
1020
475
|
rebuildTreeForData(data: any): void;
|
|
1021
|
-
isToNodeChildOfFromNode(fromNodeChildren: Bookmark[], toNode: Bookmark): boolean;
|
|
476
|
+
isToNodeChildOfFromNode(fromNodeChildren: Bookmark$1[], toNode: Bookmark$1): boolean;
|
|
1022
477
|
static ɵfac: i0.ɵɵFactoryDeclaration<BookmarksComponent, never>;
|
|
1023
478
|
static ɵcmp: i0.ɵɵComponentDeclaration<BookmarksComponent, "mv-bookmarks", never, { "bookmarkNodes": { "alias": "bookmarkNodes"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "parentScrollTop": { "alias": "parentScrollTop"; "required": false; }; }, { "goToDestination": "goToDestination"; "treeHasChanged": "treeHasChanged"; }, never, never, false, never>;
|
|
1024
479
|
}
|
|
@@ -1041,7 +496,6 @@ declare class SideBarComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1041
496
|
sidebarOpen: any;
|
|
1042
497
|
private subscriptions;
|
|
1043
498
|
sidebarDiv: any;
|
|
1044
|
-
constructor(viewerEvents: ViewerEventService, store: Store<BookmarksState>, toolbarEvents: ToolbarEventService);
|
|
1045
499
|
ngOnInit(): void;
|
|
1046
500
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1047
501
|
ngOnDestroy(): void;
|
|
@@ -1072,14 +526,6 @@ declare class OutlineItemComponent implements OnInit {
|
|
|
1072
526
|
static ɵcmp: i0.ɵɵComponentDeclaration<OutlineItemComponent, "mv-outline-item", never, { "outline": { "alias": "outline"; "required": false; }; "currentPageNumber": { "alias": "currentPageNumber"; "required": false; }; "isCurrentSection": { "alias": "isCurrentSection"; "required": false; }; "endPage": { "alias": "endPage"; "required": false; }; }, { "navigationEvent": "navigationEvent"; }, never, never, false, never>;
|
|
1073
527
|
}
|
|
1074
528
|
|
|
1075
|
-
declare class ViewerUtilService {
|
|
1076
|
-
private http;
|
|
1077
|
-
constructor(http: HttpClient);
|
|
1078
|
-
validateFile(url: string): rxjs.Observable<Object>;
|
|
1079
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewerUtilService, never>;
|
|
1080
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ViewerUtilService>;
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
529
|
declare class ImageViewerComponent implements OnInit, OnDestroy, OnChanges {
|
|
1084
530
|
private store;
|
|
1085
531
|
private readonly printService;
|
|
@@ -1107,7 +553,6 @@ declare class ImageViewerComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
1107
553
|
imageWidth: number;
|
|
1108
554
|
imageLeft: number;
|
|
1109
555
|
imageTop: number;
|
|
1110
|
-
constructor(store: Store<AnnotationSetState>, printService: PrintService, viewerUtilService: ViewerUtilService, toolbarEvents: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, viewerEvents: ViewerEventService);
|
|
1111
556
|
ngOnInit(): void;
|
|
1112
557
|
onImageViewerClick(event: MouseEvent): void;
|
|
1113
558
|
ngOnDestroy(): void;
|
|
@@ -1121,213 +566,65 @@ declare class ImageViewerComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
1121
566
|
onLoadError(url: any): void;
|
|
1122
567
|
onLoad(img: any): void;
|
|
1123
568
|
initAnnoPage(img: any): void;
|
|
1124
|
-
toggleCommentsSummary(): void;
|
|
1125
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImageViewerComponent, never>;
|
|
1126
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageViewerComponent, "mv-image-viewer", never, { "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "annotationSet": { "alias": "annotationSet"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "mediaLoadStatus": "mediaLoadStatus"; "imageViewerException": "imageViewerException"; }, never, never, false, never>;
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
declare class UnsupportedViewerComponent implements OnInit, OnDestroy {
|
|
1130
|
-
readonly toolbarEvents: ToolbarEventService;
|
|
1131
|
-
private readonly viewerUtilService;
|
|
1132
|
-
url: string;
|
|
1133
|
-
downloadFileName: string;
|
|
1134
|
-
typeException: boolean;
|
|
1135
|
-
loadStatus: EventEmitter<ResponseType>;
|
|
1136
|
-
unsupportedViewerException: EventEmitter<ViewerException>;
|
|
1137
|
-
downloadLink: ElementRef;
|
|
1138
|
-
private subscriptions;
|
|
1139
|
-
private viewerException;
|
|
1140
|
-
constructor(toolbarEvents: ToolbarEventService, viewerUtilService: ViewerUtilService);
|
|
1141
|
-
ngOnInit(): void;
|
|
1142
|
-
ngOnDestroy(): void;
|
|
1143
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UnsupportedViewerComponent, never>;
|
|
1144
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UnsupportedViewerComponent, "mv-unsupported-viewer", never, { "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "typeException": { "alias": "typeException"; "required": false; }; }, { "loadStatus": "loadStatus"; "unsupportedViewerException": "unsupportedViewerException"; }, never, never, false, never>;
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
declare class MultimediaPlayerComponent implements OnInit, OnChanges, OnDestroy {
|
|
1148
|
-
readonly toolbarEvents: ToolbarEventService;
|
|
1149
|
-
url: string;
|
|
1150
|
-
downloadFileName: string;
|
|
1151
|
-
multimediaOn: boolean;
|
|
1152
|
-
loadStatus: EventEmitter<ResponseType>;
|
|
1153
|
-
downloadLink: ElementRef;
|
|
1154
|
-
videoPlayer: ElementRef;
|
|
1155
|
-
playbackMsg: string;
|
|
1156
|
-
private subscription;
|
|
1157
|
-
constructor(toolbarEvents: ToolbarEventService);
|
|
1158
|
-
ngOnInit(): void;
|
|
1159
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
1160
|
-
ngOnDestroy(): void;
|
|
1161
|
-
reloadVideo(): void;
|
|
1162
|
-
onSuccess(): void;
|
|
1163
|
-
onError(): void;
|
|
1164
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultimediaPlayerComponent, never>;
|
|
1165
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultimediaPlayerComponent, "mv-multimedia-player", never, { "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "multimediaOn": { "alias": "multimediaOn"; "required": false; }; }, { "loadStatus": "loadStatus"; }, never, never, false, never>;
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
declare class AnnotationApiService {
|
|
1169
|
-
private readonly httpClient;
|
|
1170
|
-
annotationApiUrl: string;
|
|
1171
|
-
private annotationSetBaseUrl;
|
|
1172
|
-
private annotationBaseUrl;
|
|
1173
|
-
constructor(httpClient: HttpClient);
|
|
1174
|
-
getAnnotationSet(documentId: string): Observable<any>;
|
|
1175
|
-
postAnnotationSet(body: Partial<AnnotationSet>): Observable<AnnotationSet>;
|
|
1176
|
-
getComments(annotationSet: Observable<AnnotationSet>): Observable<Comment[]>;
|
|
1177
|
-
/**
|
|
1178
|
-
* Sort the annotations in the response by page and then y position of their first rectangle
|
|
1179
|
-
*/
|
|
1180
|
-
private sortAnnotations;
|
|
1181
|
-
private extractComments;
|
|
1182
|
-
deleteAnnotation(annotationId: string): Observable<null>;
|
|
1183
|
-
postAnnotation(annotation: Partial<Annotation>): Observable<Annotation>;
|
|
1184
|
-
get annotationSetsFullUrl(): string;
|
|
1185
|
-
get annotationFullsUrl(): string;
|
|
1186
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationApiService, never>;
|
|
1187
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AnnotationApiService>;
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
declare class TagsServices {
|
|
1191
|
-
private http;
|
|
1192
|
-
tagItems: {
|
|
1193
|
-
[id: string]: TagsModel[];
|
|
1194
|
-
};
|
|
1195
|
-
constructor(http: HttpClient);
|
|
1196
|
-
getAllTags(createdBy: string): Observable<TagsModel[]>;
|
|
1197
|
-
getNewTags(annoid: string): TagsModel[];
|
|
1198
|
-
updateTagItems(items: Array<TagsModel>, annoId: string): void;
|
|
1199
|
-
private snakeCase;
|
|
1200
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TagsServices, never>;
|
|
1201
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TagsServices>;
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
declare class CommentComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
1205
|
-
private store;
|
|
1206
|
-
private readonly commentService;
|
|
1207
|
-
private tagsServices;
|
|
1208
|
-
CHAR_LIMIT: number;
|
|
1209
|
-
lastUpdate: string;
|
|
1210
|
-
originalComment: string;
|
|
1211
|
-
fullComment: string;
|
|
1212
|
-
author: User;
|
|
1213
|
-
createdBy: string;
|
|
1214
|
-
editor: User;
|
|
1215
|
-
_comment: Comment;
|
|
1216
|
-
_editable: boolean;
|
|
1217
|
-
_rectangle: any;
|
|
1218
|
-
totalPrevPagesHeight: number;
|
|
1219
|
-
rectTop: any;
|
|
1220
|
-
rectLeft: any;
|
|
1221
|
-
pageHeight: number;
|
|
1222
|
-
hasUnsavedChanges: boolean;
|
|
1223
|
-
selected: boolean;
|
|
1224
|
-
searchString: string;
|
|
1225
|
-
tagItems: TagsModel[];
|
|
1226
|
-
marginToComment$: Observable<boolean>;
|
|
1227
|
-
commentClick: EventEmitter<SelectionAnnotation>;
|
|
1228
|
-
renderComments: EventEmitter<Comment>;
|
|
1229
|
-
delete: EventEmitter<Comment>;
|
|
1230
|
-
updated: EventEmitter<{
|
|
1231
|
-
comment: Comment;
|
|
1232
|
-
tags: TagsModel[];
|
|
1233
|
-
}>;
|
|
1234
|
-
changes: EventEmitter<boolean>;
|
|
1235
|
-
rotate: number;
|
|
1236
|
-
zoom: number;
|
|
1237
|
-
index: number;
|
|
1238
|
-
page: number;
|
|
1239
|
-
form: ElementRef;
|
|
1240
|
-
editableComment: ElementRef<HTMLElement>;
|
|
1241
|
-
private subscriptions;
|
|
1242
|
-
constructor(store: Store<AnnotationSetState>, commentService: CommentService, tagsServices: TagsServices);
|
|
1243
|
-
ngOnInit(): void;
|
|
1244
|
-
ngAfterContentInit(): void;
|
|
1245
|
-
ngOnDestroy(): void;
|
|
1246
|
-
set comment(comment: Comment);
|
|
1247
|
-
get comment(): Comment;
|
|
1248
|
-
set annotation(annotation: Annotation);
|
|
1249
|
-
get editable(): boolean;
|
|
1250
|
-
onCommentChange(updatedComment: any): void;
|
|
1251
|
-
deleteOrCancel(): void;
|
|
1252
|
-
editOrSave(): void;
|
|
1253
|
-
onCommentClick(): void;
|
|
1254
|
-
reRenderComments(): void;
|
|
1255
|
-
get commentTop(): number;
|
|
1256
|
-
get height(): number;
|
|
1257
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommentComponent, never>;
|
|
1258
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommentComponent, "mv-anno-comment", never, { "rotate": { "alias": "rotate"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "index": { "alias": "index"; "required": false; }; "page": { "alias": "page"; "required": false; }; "comment": { "alias": "comment"; "required": false; }; "annotation": { "alias": "annotation"; "required": false; }; }, { "commentClick": "commentClick"; "renderComments": "renderComments"; "delete": "delete"; "updated": "updated"; "changes": "changes"; }, never, never, false, never>;
|
|
569
|
+
toggleCommentsSummary(): void;
|
|
570
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageViewerComponent, never>;
|
|
571
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageViewerComponent, "mv-image-viewer", never, { "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "annotationSet": { "alias": "annotationSet"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "mediaLoadStatus": "mediaLoadStatus"; "imageViewerException": "imageViewerException"; }, never, never, false, never>;
|
|
1259
572
|
}
|
|
1260
573
|
|
|
1261
|
-
declare class
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
574
|
+
declare class UnsupportedViewerComponent implements OnInit, OnDestroy {
|
|
575
|
+
readonly toolbarEvents: ToolbarEventService;
|
|
576
|
+
private readonly viewerUtilService;
|
|
577
|
+
url: string;
|
|
578
|
+
downloadFileName: string;
|
|
579
|
+
typeException: boolean;
|
|
580
|
+
loadStatus: EventEmitter<ResponseType>;
|
|
581
|
+
unsupportedViewerException: EventEmitter<ViewerException>;
|
|
582
|
+
downloadLink: ElementRef;
|
|
583
|
+
private subscriptions;
|
|
584
|
+
private viewerException;
|
|
585
|
+
ngOnInit(): void;
|
|
586
|
+
ngOnDestroy(): void;
|
|
587
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnsupportedViewerComponent, never>;
|
|
588
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UnsupportedViewerComponent, "mv-unsupported-viewer", never, { "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "typeException": { "alias": "typeException"; "required": false; }; }, { "loadStatus": "loadStatus"; "unsupportedViewerException": "unsupportedViewerException"; }, never, never, false, never>;
|
|
1272
589
|
}
|
|
1273
590
|
|
|
1274
|
-
declare class
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
contentScrollTop: number;
|
|
1285
|
-
comments: Comment[];
|
|
1286
|
-
tags: TagsModel[];
|
|
1287
|
-
private subscriptions;
|
|
1288
|
-
comments$: Observable<Annotation[]>;
|
|
1289
|
-
annoEntities$: Observable<{
|
|
1290
|
-
[id: string]: Annotation;
|
|
1291
|
-
}>;
|
|
1292
|
-
container: ElementRef<HTMLDivElement>;
|
|
1293
|
-
panel: ElementRef<HTMLDivElement>;
|
|
1294
|
-
commentComponents: QueryList<CommentComponent>;
|
|
1295
|
-
showCommentsPanel: boolean;
|
|
1296
|
-
constructor(store: Store<AnnotationSetState>, commentService: CommentService, renderService: CommentSetRenderService, toolbarEvents: ToolbarEventService);
|
|
591
|
+
declare class MultimediaPlayerComponent implements OnInit, OnChanges, OnDestroy {
|
|
592
|
+
readonly toolbarEvents: ToolbarEventService;
|
|
593
|
+
url: string;
|
|
594
|
+
downloadFileName: string;
|
|
595
|
+
multimediaOn: boolean;
|
|
596
|
+
loadStatus: EventEmitter<ResponseType>;
|
|
597
|
+
downloadLink: ElementRef;
|
|
598
|
+
videoPlayer: ElementRef;
|
|
599
|
+
playbackMsg: string;
|
|
600
|
+
private subscription;
|
|
1297
601
|
ngOnInit(): void;
|
|
1298
602
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1299
603
|
ngOnDestroy(): void;
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
comment: Comment;
|
|
1306
|
-
tags: TagsModel[];
|
|
1307
|
-
}): void;
|
|
1308
|
-
onAnnotationUpdate(annotation: Annotation): void;
|
|
1309
|
-
onContainerClick(e: any): void;
|
|
1310
|
-
clearSelection(): void;
|
|
1311
|
-
allCommentsSaved(): void;
|
|
1312
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommentSetComponent, never>;
|
|
1313
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommentSetComponent, "mv-comment-set", never, { "annotationSet": { "alias": "annotationSet"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "height": { "alias": "height"; "required": false; }; "pageHeights": { "alias": "pageHeights"; "required": false; }; "contentScrollTop": { "alias": "contentScrollTop"; "required": false; }; }, {}, never, never, false, never>;
|
|
604
|
+
reloadVideo(): void;
|
|
605
|
+
onSuccess(): void;
|
|
606
|
+
onError(): void;
|
|
607
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultimediaPlayerComponent, never>;
|
|
608
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultimediaPlayerComponent, "mv-multimedia-player", never, { "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "multimediaOn": { "alias": "multimediaOn"; "required": false; }; }, { "loadStatus": "loadStatus"; }, never, never, false, never>;
|
|
1314
609
|
}
|
|
1315
610
|
|
|
1316
|
-
declare class
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
611
|
+
declare class IcpEventService {
|
|
612
|
+
enabled: BehaviorSubject<boolean>;
|
|
613
|
+
sessionLaunch: Subject<void>;
|
|
614
|
+
becomingPresenter: Subject<void>;
|
|
615
|
+
stoppingPresenting: Subject<void>;
|
|
616
|
+
leavingSession: BehaviorSubject<boolean>;
|
|
617
|
+
sessionExitConfirmed: Subject<void>;
|
|
618
|
+
participantsListVisible: BehaviorSubject<boolean>;
|
|
619
|
+
constructor();
|
|
620
|
+
launchSession: () => void;
|
|
621
|
+
enable: () => void;
|
|
622
|
+
becomePresenter: () => void;
|
|
623
|
+
stopPresenting: () => void;
|
|
624
|
+
leaveSession: () => void;
|
|
625
|
+
confirmExit: () => void;
|
|
626
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IcpEventService, never>;
|
|
627
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IcpEventService>;
|
|
1331
628
|
}
|
|
1332
629
|
|
|
1333
630
|
declare class MediaViewerComponent implements OnChanges, OnDestroy, AfterContentInit, AfterViewChecked {
|
|
@@ -1372,7 +669,7 @@ declare class MediaViewerComponent implements OnChanges, OnDestroy, AfterContent
|
|
|
1372
669
|
private $subscriptions;
|
|
1373
670
|
private prevOffset;
|
|
1374
671
|
private currentRegionIndex;
|
|
1375
|
-
constructor(
|
|
672
|
+
constructor();
|
|
1376
673
|
ngAfterContentInit(): void;
|
|
1377
674
|
ngAfterViewChecked(): void;
|
|
1378
675
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1411,7 +708,6 @@ declare class ConvertibleContentViewerComponent implements OnInit, OnDestroy, On
|
|
|
1411
708
|
documentTitle: EventEmitter<string>;
|
|
1412
709
|
private $subscription;
|
|
1413
710
|
convertedUrl: string;
|
|
1414
|
-
constructor(store: Store<DocumentState>);
|
|
1415
711
|
ngOnInit(): void;
|
|
1416
712
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1417
713
|
ngOnDestroy(): void;
|
|
@@ -1432,7 +728,6 @@ declare class GrabNDragDirective {
|
|
|
1432
728
|
private pointerDown;
|
|
1433
729
|
dragEnabled: boolean;
|
|
1434
730
|
dragX: Element;
|
|
1435
|
-
constructor(el: ElementRef);
|
|
1436
731
|
onPointerDown(event: PointerEvent): void;
|
|
1437
732
|
onPointerMove(event: PointerEvent): void;
|
|
1438
733
|
onWindowPointerUp(): void;
|
|
@@ -1449,7 +744,6 @@ declare class RotationPersistDirective implements OnInit, OnDestroy {
|
|
|
1449
744
|
rotation: number;
|
|
1450
745
|
savedRotation: number;
|
|
1451
746
|
$subscriptions: Subscription;
|
|
1452
|
-
constructor(el: ElementRef, store: Store<DocumentState>, toolbarButtons: ToolbarButtonVisibilityService, toolbarEvents: ToolbarEventService);
|
|
1453
747
|
ngOnInit(): void;
|
|
1454
748
|
ngOnDestroy(): void;
|
|
1455
749
|
onMediaLoad(status: ResponseType): void;
|
|
@@ -1497,7 +791,7 @@ declare class KeyboardTextHighlightDirective implements OnDestroy {
|
|
|
1497
791
|
private lastValidEndNode;
|
|
1498
792
|
private lastValidEndOffset;
|
|
1499
793
|
private static lastInteractionWasKeyboard;
|
|
1500
|
-
constructor(
|
|
794
|
+
constructor();
|
|
1501
795
|
private static onGlobalKeyDown;
|
|
1502
796
|
private static onGlobalMouseDown;
|
|
1503
797
|
ngOnDestroy(): void;
|
|
@@ -1523,7 +817,6 @@ declare class KeyboardTextHighlightDirective implements OnDestroy {
|
|
|
1523
817
|
declare class ConfirmActionDialogComponent implements AfterViewInit {
|
|
1524
818
|
private icpEventService;
|
|
1525
819
|
modalContainer: ElementRef;
|
|
1526
|
-
constructor(icpEventService: IcpEventService);
|
|
1527
820
|
ngAfterViewInit(): void;
|
|
1528
821
|
onCancel(): void;
|
|
1529
822
|
onConfirm(): void;
|
|
@@ -1531,6 +824,19 @@ declare class ConfirmActionDialogComponent implements AfterViewInit {
|
|
|
1531
824
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmActionDialogComponent, "mv-confirm-action", never, {}, {}, never, never, false, never>;
|
|
1532
825
|
}
|
|
1533
826
|
|
|
827
|
+
interface SelectionAnnotation {
|
|
828
|
+
annotationId: string;
|
|
829
|
+
editable: boolean;
|
|
830
|
+
selected: boolean;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
interface Redaction {
|
|
834
|
+
redactionId?: string;
|
|
835
|
+
documentId?: string;
|
|
836
|
+
page?: number;
|
|
837
|
+
rectangles?: Rectangle[];
|
|
838
|
+
}
|
|
839
|
+
|
|
1534
840
|
declare class RedactionComponent implements OnInit, OnDestroy {
|
|
1535
841
|
private store;
|
|
1536
842
|
private readonly viewerEvents;
|
|
@@ -1543,7 +849,6 @@ declare class RedactionComponent implements OnInit, OnDestroy {
|
|
|
1543
849
|
drawMode: boolean;
|
|
1544
850
|
documentId: string;
|
|
1545
851
|
private $subscription;
|
|
1546
|
-
constructor(store: Store<State>, viewerEvents: ViewerEventService, toolbarEvents: ToolbarEventService);
|
|
1547
852
|
ngOnInit(): void;
|
|
1548
853
|
ngOnDestroy(): void;
|
|
1549
854
|
markTextRedaction(highlight: any): void;
|
|
@@ -1563,19 +868,58 @@ declare class RedactionComponent implements OnInit, OnDestroy {
|
|
|
1563
868
|
static ɵcmp: i0.ɵɵComponentDeclaration<RedactionComponent, "mv-redactions", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; }, {}, never, never, false, never>;
|
|
1564
869
|
}
|
|
1565
870
|
|
|
871
|
+
interface Bookmark {
|
|
872
|
+
id: string;
|
|
873
|
+
documentId: string;
|
|
874
|
+
name: string;
|
|
875
|
+
pageNumber: number;
|
|
876
|
+
xCoordinate: number;
|
|
877
|
+
yCoordinate: number;
|
|
878
|
+
children: any[];
|
|
879
|
+
previous: string;
|
|
880
|
+
index: number;
|
|
881
|
+
}
|
|
882
|
+
interface BookmarksPerPage {
|
|
883
|
+
bookmark: {
|
|
884
|
+
[id: string]: Bookmark;
|
|
885
|
+
};
|
|
886
|
+
styles: {
|
|
887
|
+
left: number;
|
|
888
|
+
height: number;
|
|
889
|
+
width: number;
|
|
890
|
+
};
|
|
891
|
+
}
|
|
892
|
+
|
|
1566
893
|
declare class BookmarkIconsComponent implements OnInit {
|
|
1567
894
|
private store;
|
|
1568
895
|
zoom: number;
|
|
1569
896
|
rotate: number;
|
|
1570
897
|
bookmarksPerPage$: Observable<BookmarksPerPage[]>;
|
|
1571
|
-
bookmarks: Bookmark
|
|
898
|
+
bookmarks: Bookmark[];
|
|
1572
899
|
documentId: string;
|
|
1573
|
-
constructor(store: Store<State>);
|
|
1574
900
|
ngOnInit(): void;
|
|
1575
901
|
static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkIconsComponent, never>;
|
|
1576
902
|
static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkIconsComponent, "mv-bookmark-icons", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; }, {}, never, never, false, never>;
|
|
1577
903
|
}
|
|
1578
904
|
|
|
905
|
+
interface IcpState {
|
|
906
|
+
session: IcpSession;
|
|
907
|
+
presenter: IcpParticipant;
|
|
908
|
+
client: IcpParticipant;
|
|
909
|
+
participants: IcpParticipant[];
|
|
910
|
+
}
|
|
911
|
+
interface IcpSession {
|
|
912
|
+
sessionId: string;
|
|
913
|
+
documentId: string;
|
|
914
|
+
caseId: string;
|
|
915
|
+
dateOfHearing: Date;
|
|
916
|
+
connectionUrl: string;
|
|
917
|
+
}
|
|
918
|
+
interface IcpParticipant {
|
|
919
|
+
id: string;
|
|
920
|
+
username: string;
|
|
921
|
+
}
|
|
922
|
+
|
|
1579
923
|
declare class ParticipantsListComponent implements OnInit, OnDestroy {
|
|
1580
924
|
private readonly toolbarEvents;
|
|
1581
925
|
private store;
|
|
@@ -1585,7 +929,6 @@ declare class ParticipantsListComponent implements OnInit, OnDestroy {
|
|
|
1585
929
|
presenter$: Observable<IcpParticipant>;
|
|
1586
930
|
isPresenter$: Observable<boolean>;
|
|
1587
931
|
showParticipantsList: boolean;
|
|
1588
|
-
constructor(toolbarEvents: ToolbarEventService, store: Store<IcpState>, icpEventService: IcpEventService);
|
|
1589
932
|
ngOnInit(): void;
|
|
1590
933
|
ngOnDestroy(): void;
|
|
1591
934
|
static ɵfac: i0.ɵɵFactoryDeclaration<ParticipantsListComponent, never>;
|
|
@@ -1605,7 +948,6 @@ declare class SearchBarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
1605
948
|
resultCount: number;
|
|
1606
949
|
private subscriptions;
|
|
1607
950
|
advancedSearchVisible: boolean;
|
|
1608
|
-
constructor(toolbarButtons: ToolbarButtonVisibilityService, toolbarEvents: ToolbarEventService);
|
|
1609
951
|
ngOnInit(): void;
|
|
1610
952
|
ngAfterViewInit(): void;
|
|
1611
953
|
ngOnDestroy(): void;
|
|
@@ -1622,23 +964,6 @@ declare class SearchBarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
1622
964
|
static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "mv-search-bar", never, {}, {}, never, never, false, never>;
|
|
1623
965
|
}
|
|
1624
966
|
|
|
1625
|
-
/**
|
|
1626
|
-
* Number Helper Service
|
|
1627
|
-
* */
|
|
1628
|
-
declare class NumberHelperService {
|
|
1629
|
-
constructor();
|
|
1630
|
-
isNumber(value: string | number): boolean;
|
|
1631
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumberHelperService, never>;
|
|
1632
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NumberHelperService>;
|
|
1633
|
-
}
|
|
1634
|
-
|
|
1635
|
-
declare class ToolbarFocusService {
|
|
1636
|
-
focusToolbarButton(toolbarSelector: string, buttonId?: string, delay?: number): void;
|
|
1637
|
-
private focusWithoutScrolling;
|
|
1638
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarFocusService, never>;
|
|
1639
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarFocusService>;
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
967
|
declare class MainToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
1643
968
|
readonly toolbarEvents: ToolbarEventService;
|
|
1644
969
|
readonly toolbarButtons: ToolbarButtonVisibilityService;
|
|
@@ -1672,7 +997,6 @@ declare class MainToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
1672
997
|
widthRequiredForBtn: {
|
|
1673
998
|
[id: string]: number;
|
|
1674
999
|
};
|
|
1675
|
-
constructor(toolbarEvents: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, cdr: ChangeDetectorRef, numberHelper: NumberHelperService, icpEventService: IcpEventService, toolbarFocusService: ToolbarFocusService);
|
|
1676
1000
|
ngOnInit(): void;
|
|
1677
1001
|
ngOnDestroy(): void;
|
|
1678
1002
|
ngAfterViewInit(): void;
|
|
@@ -1723,7 +1047,6 @@ declare class RedactionToolbarComponent implements OnInit, OnDestroy {
|
|
|
1723
1047
|
hasRedactions: boolean;
|
|
1724
1048
|
private subscriptions;
|
|
1725
1049
|
redactionAllInProgress: boolean;
|
|
1726
|
-
constructor(toolbarEventService: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, store: Store<AnnotationSetState>, toolbarFocusService: ToolbarFocusService);
|
|
1727
1050
|
ngOnInit(): void;
|
|
1728
1051
|
onRedactAllSearch(): void;
|
|
1729
1052
|
toggleTextRedactionMode(): void;
|
|
@@ -1748,7 +1071,6 @@ declare class IcpToolbarComponent implements OnInit, OnDestroy {
|
|
|
1748
1071
|
presenterName: string;
|
|
1749
1072
|
isPresenter: boolean;
|
|
1750
1073
|
private $subscription;
|
|
1751
|
-
constructor(toolbarEventService: ToolbarEventService, store: Store<IcpState>, icpEventService: IcpEventService);
|
|
1752
1074
|
ngOnInit(): void;
|
|
1753
1075
|
ngOnDestroy(): void;
|
|
1754
1076
|
present(): void;
|
|
@@ -1759,6 +1081,17 @@ declare class IcpToolbarComponent implements OnInit, OnDestroy {
|
|
|
1759
1081
|
static ɵcmp: i0.ɵɵComponentDeclaration<IcpToolbarComponent, "mv-icp-toolbar", never, {}, {}, never, never, false, never>;
|
|
1760
1082
|
}
|
|
1761
1083
|
|
|
1084
|
+
declare class HighlightCreateService {
|
|
1085
|
+
private toolBarEvents;
|
|
1086
|
+
private store;
|
|
1087
|
+
saveAnnotation(rectangles: Rectangle[], page: number, annotationId?: string): void;
|
|
1088
|
+
saveAnnotationSet(searchRectangles: RedactRectangle[]): void;
|
|
1089
|
+
applyRotation(pageHeight: any, pageWidth: any, offsetHeight: any, offsetWidth: any, offsetTop: any, offsetLeft: any, rotate: any, zoom: any): any;
|
|
1090
|
+
resetHighlight(): void;
|
|
1091
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateService, never>;
|
|
1092
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HighlightCreateService>;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1762
1095
|
declare class RedactionSearchBarComponent implements OnInit, OnDestroy {
|
|
1763
1096
|
private store;
|
|
1764
1097
|
readonly toolbarButtons: ToolbarButtonVisibilityService;
|
|
@@ -1787,7 +1120,6 @@ declare class RedactionSearchBarComponent implements OnInit, OnDestroy {
|
|
|
1787
1120
|
private subscription;
|
|
1788
1121
|
private documentId;
|
|
1789
1122
|
advancedSearchVisible: boolean;
|
|
1790
|
-
constructor(store: Store<State>, toolbarButtons: ToolbarButtonVisibilityService, toolbarEvents: ToolbarEventService, highlightService: HighlightCreateService);
|
|
1791
1123
|
ngOnInit(): void;
|
|
1792
1124
|
ngOnDestroy(): void;
|
|
1793
1125
|
onWindowKeyDown(e: KeyboardEvent): void;
|
|
@@ -1816,7 +1148,6 @@ declare class HighlightToolbarComponent implements OnInit, OnDestroy {
|
|
|
1816
1148
|
private readonly toolbarFocusService;
|
|
1817
1149
|
private subscriptions;
|
|
1818
1150
|
redactionAllInProgress: boolean;
|
|
1819
|
-
constructor(toolbarEventService: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, toolbarFocusService: ToolbarFocusService);
|
|
1820
1151
|
ngOnInit(): void;
|
|
1821
1152
|
onAllSearch(): void;
|
|
1822
1153
|
onHighlight(): void;
|
|
@@ -1833,7 +1164,6 @@ declare class HighlightToolbarComponent implements OnInit, OnDestroy {
|
|
|
1833
1164
|
|
|
1834
1165
|
declare class TooltipDismissDirective {
|
|
1835
1166
|
private el;
|
|
1836
|
-
constructor(el: ElementRef);
|
|
1837
1167
|
onEscapeDismissTooltip(): void;
|
|
1838
1168
|
onShowTooltip(): void;
|
|
1839
1169
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDismissDirective, never>;
|
|
@@ -1902,7 +1232,6 @@ declare class KeyboardNavDirective implements OnInit, OnDestroy {
|
|
|
1902
1232
|
private currentFocusIndex;
|
|
1903
1233
|
private mutationObserver;
|
|
1904
1234
|
private isUsingArrowKeys;
|
|
1905
|
-
constructor(elementRef: ElementRef<HTMLElement>);
|
|
1906
1235
|
ngOnInit(): void;
|
|
1907
1236
|
ngOnDestroy(): void;
|
|
1908
1237
|
private setupMutationObserver;
|
|
@@ -1932,6 +1261,11 @@ declare class ToolbarModule {
|
|
|
1932
1261
|
static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
|
|
1933
1262
|
}
|
|
1934
1263
|
|
|
1264
|
+
interface Highlight {
|
|
1265
|
+
page: number;
|
|
1266
|
+
rectangles: Rectangle[];
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1935
1269
|
declare class CtxToolbarComponent implements OnChanges {
|
|
1936
1270
|
readonly defaultHeight: any;
|
|
1937
1271
|
readonly defaultWidth: any;
|
|
@@ -1984,7 +1318,6 @@ declare class MetadataLayerComponent implements OnInit, OnDestroy {
|
|
|
1984
1318
|
highlightPage: number;
|
|
1985
1319
|
rectangles: Rectangle[];
|
|
1986
1320
|
private $subscriptions;
|
|
1987
|
-
constructor(store: Store<AnnotationSetState>, highlightService: HighlightCreateService, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService);
|
|
1988
1321
|
ngOnInit(): void;
|
|
1989
1322
|
ngOnDestroy(): void;
|
|
1990
1323
|
showContextToolbar(highlight: Highlight): void;
|
|
@@ -2024,7 +1357,7 @@ declare class AnnotationViewComponent implements OnDestroy {
|
|
|
2024
1357
|
ctxToolbar: ElementRef<HTMLElement>;
|
|
2025
1358
|
private lastFocusedRectangle;
|
|
2026
1359
|
private nextTabTarget;
|
|
2027
|
-
constructor(
|
|
1360
|
+
constructor();
|
|
2028
1361
|
ngOnDestroy(): void;
|
|
2029
1362
|
private setShowToolbar;
|
|
2030
1363
|
onSelect(): void;
|
|
@@ -2074,7 +1407,7 @@ declare class KeyboardBoxDrawDirective implements OnDestroy {
|
|
|
2074
1407
|
private currentWidth;
|
|
2075
1408
|
private currentHeight;
|
|
2076
1409
|
private static lastInteractionWasKeyboard;
|
|
2077
|
-
constructor(
|
|
1410
|
+
constructor();
|
|
2078
1411
|
private static onGlobalKeyDown;
|
|
2079
1412
|
private static onGlobalMouseDown;
|
|
2080
1413
|
ngOnDestroy(): void;
|
|
@@ -2136,7 +1469,6 @@ declare class BoxHighlightCreateComponent implements OnInit, OnDestroy {
|
|
|
2136
1469
|
cursorY: number;
|
|
2137
1470
|
showCursor: boolean;
|
|
2138
1471
|
private subscriptions;
|
|
2139
|
-
constructor(toolbarEvents: ToolbarEventService, highlightService: HighlightCreateService);
|
|
2140
1472
|
ngOnInit(): void;
|
|
2141
1473
|
ngOnDestroy(): void;
|
|
2142
1474
|
private isElementInViewport;
|
|
@@ -2166,7 +1498,6 @@ declare class AnnotationSetComponent implements OnInit {
|
|
|
2166
1498
|
pageHeight: number;
|
|
2167
1499
|
pageWidth: number;
|
|
2168
1500
|
selectedAnnotation$: Observable<SelectionAnnotation>;
|
|
2169
|
-
constructor(store: Store<AnnotationSetState>, commentService: CommentService);
|
|
2170
1501
|
ngOnInit(): void;
|
|
2171
1502
|
onAnnotationUpdate(annotation: Annotation): void;
|
|
2172
1503
|
onAnnotationDelete(annotation: Annotation): void;
|
|
@@ -2190,7 +1521,7 @@ declare class KeyboardBoxMoveDirective implements OnDestroy {
|
|
|
2190
1521
|
private moveSubject;
|
|
2191
1522
|
private moveSubscription;
|
|
2192
1523
|
private isMoving;
|
|
2193
|
-
constructor(
|
|
1524
|
+
constructor();
|
|
2194
1525
|
ngOnDestroy(): void;
|
|
2195
1526
|
onKeyDown(event: KeyboardEvent): void;
|
|
2196
1527
|
private moveBox;
|
|
@@ -2227,7 +1558,6 @@ declare class RectangleComponent implements OnChanges, AfterViewInit, OnDestroy
|
|
|
2227
1558
|
_annoRect: Rectangle;
|
|
2228
1559
|
set annoRect(annoRect: Rectangle);
|
|
2229
1560
|
get annoRect(): Rectangle;
|
|
2230
|
-
constructor(toolbarEvents: ToolbarEventService, highlightService: HighlightCreateService);
|
|
2231
1561
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2232
1562
|
ngAfterViewInit(): void;
|
|
2233
1563
|
ngOnDestroy(): void;
|
|
@@ -2246,6 +1576,62 @@ declare class RectangleComponent implements OnChanges, AfterViewInit, OnDestroy
|
|
|
2246
1576
|
static ɵcmp: i0.ɵɵComponentDeclaration<RectangleComponent, "mv-anno-rectangle", never, { "color": { "alias": "color"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; "rectangleTabIndex": { "alias": "rectangleTabIndex"; "required": false; }; "annoRect": { "alias": "annoRect"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectEvent": "selectEvent"; "updateEvent": "updateEvent"; "deleteEvent": "deleteEvent"; "keyboardMovingChange": "keyboardMovingChange"; "tabToToolbar": "tabToToolbar"; }, never, never, false, never>;
|
|
2247
1577
|
}
|
|
2248
1578
|
|
|
1579
|
+
declare class CommentComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
1580
|
+
private store;
|
|
1581
|
+
private readonly commentService;
|
|
1582
|
+
private tagsServices;
|
|
1583
|
+
CHAR_LIMIT: number;
|
|
1584
|
+
lastUpdate: string;
|
|
1585
|
+
originalComment: string;
|
|
1586
|
+
fullComment: string;
|
|
1587
|
+
author: User;
|
|
1588
|
+
createdBy: string;
|
|
1589
|
+
editor: User;
|
|
1590
|
+
_comment: Comment;
|
|
1591
|
+
_editable: boolean;
|
|
1592
|
+
_rectangle: any;
|
|
1593
|
+
totalPrevPagesHeight: number;
|
|
1594
|
+
rectTop: any;
|
|
1595
|
+
rectLeft: any;
|
|
1596
|
+
pageHeight: number;
|
|
1597
|
+
hasUnsavedChanges: boolean;
|
|
1598
|
+
selected: boolean;
|
|
1599
|
+
searchString: string;
|
|
1600
|
+
tagItems: TagsModel[];
|
|
1601
|
+
marginToComment$: Observable<boolean>;
|
|
1602
|
+
commentClick: EventEmitter<SelectionAnnotation>;
|
|
1603
|
+
renderComments: EventEmitter<Comment>;
|
|
1604
|
+
delete: EventEmitter<Comment>;
|
|
1605
|
+
updated: EventEmitter<{
|
|
1606
|
+
comment: Comment;
|
|
1607
|
+
tags: TagsModel[];
|
|
1608
|
+
}>;
|
|
1609
|
+
changes: EventEmitter<boolean>;
|
|
1610
|
+
rotate: number;
|
|
1611
|
+
zoom: number;
|
|
1612
|
+
index: number;
|
|
1613
|
+
page: number;
|
|
1614
|
+
form: ElementRef;
|
|
1615
|
+
editableComment: ElementRef<HTMLElement>;
|
|
1616
|
+
private subscriptions;
|
|
1617
|
+
ngOnInit(): void;
|
|
1618
|
+
ngAfterContentInit(): void;
|
|
1619
|
+
ngOnDestroy(): void;
|
|
1620
|
+
set comment(comment: Comment);
|
|
1621
|
+
get comment(): Comment;
|
|
1622
|
+
set annotation(annotation: Annotation);
|
|
1623
|
+
get editable(): boolean;
|
|
1624
|
+
onCommentChange(updatedComment: any): void;
|
|
1625
|
+
deleteOrCancel(): void;
|
|
1626
|
+
editOrSave(): void;
|
|
1627
|
+
onCommentClick(): void;
|
|
1628
|
+
reRenderComments(): void;
|
|
1629
|
+
get commentTop(): number;
|
|
1630
|
+
get height(): number;
|
|
1631
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommentComponent, never>;
|
|
1632
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommentComponent, "mv-anno-comment", never, { "rotate": { "alias": "rotate"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "index": { "alias": "index"; "required": false; }; "page": { "alias": "page"; "required": false; }; "comment": { "alias": "comment"; "required": false; }; "annotation": { "alias": "annotation"; "required": false; }; }, { "commentClick": "commentClick"; "renderComments": "renderComments"; "delete": "delete"; "updated": "updated"; "changes": "changes"; }, never, never, false, never>;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
2249
1635
|
declare class CommentSetHeaderComponent implements OnInit, OnDestroy {
|
|
2250
1636
|
private store;
|
|
2251
1637
|
private commentService;
|
|
@@ -2263,7 +1649,6 @@ declare class CommentSetHeaderComponent implements OnInit, OnDestroy {
|
|
|
2263
1649
|
isFiltered: boolean;
|
|
2264
1650
|
navigationList: Annotation[];
|
|
2265
1651
|
$subscriptions: Subscription;
|
|
2266
|
-
constructor(store: Store<State>, commentService: CommentService, toolbarEvents: ToolbarEventService, icpEventService: IcpEventService);
|
|
2267
1652
|
ngOnInit(): void;
|
|
2268
1653
|
toggleCommentsSummary(): void;
|
|
2269
1654
|
selectTab(tab: string): void;
|
|
@@ -2280,7 +1665,6 @@ declare class CommentSearchComponent implements AfterViewInit, OnDestroy {
|
|
|
2280
1665
|
searchString: string;
|
|
2281
1666
|
searchResults: Annotation[];
|
|
2282
1667
|
searchIndex: number;
|
|
2283
|
-
constructor(store: Store<AnnotationSetState>);
|
|
2284
1668
|
ngAfterViewInit(): void;
|
|
2285
1669
|
ngOnDestroy(): void;
|
|
2286
1670
|
searchComments(searchText: string): void;
|
|
@@ -2292,7 +1676,6 @@ declare class CommentSearchComponent implements AfterViewInit, OnDestroy {
|
|
|
2292
1676
|
declare class TextHighlightDirective implements AfterViewChecked {
|
|
2293
1677
|
private element;
|
|
2294
1678
|
textToHighlight: string;
|
|
2295
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
2296
1679
|
ngAfterViewChecked(): void;
|
|
2297
1680
|
highlightInputText(textToHighlight: string): void;
|
|
2298
1681
|
resetHighlight(): void;
|
|
@@ -2301,6 +1684,48 @@ declare class TextHighlightDirective implements AfterViewChecked {
|
|
|
2301
1684
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TextHighlightDirective, "[mvTextHighlight]", never, { "textToHighlight": { "alias": "textToHighlight"; "required": false; }; }, {}, never, never, false, never>;
|
|
2302
1685
|
}
|
|
2303
1686
|
|
|
1687
|
+
declare class CommentSetComponent implements OnInit, OnDestroy, OnChanges {
|
|
1688
|
+
private store;
|
|
1689
|
+
private readonly commentService;
|
|
1690
|
+
private readonly renderService;
|
|
1691
|
+
private readonly toolbarEvents;
|
|
1692
|
+
annotationSet: AnnotationSet;
|
|
1693
|
+
zoom: number;
|
|
1694
|
+
rotate: number;
|
|
1695
|
+
height: number;
|
|
1696
|
+
pageHeights: any[];
|
|
1697
|
+
contentScrollTop: number;
|
|
1698
|
+
comments: Comment[];
|
|
1699
|
+
tags: TagsModel[];
|
|
1700
|
+
private subscriptions;
|
|
1701
|
+
comments$: Observable<Annotation[]>;
|
|
1702
|
+
annoEntities$: Observable<{
|
|
1703
|
+
[id: string]: Annotation;
|
|
1704
|
+
}>;
|
|
1705
|
+
container: ElementRef<HTMLDivElement>;
|
|
1706
|
+
panel: ElementRef<HTMLDivElement>;
|
|
1707
|
+
commentComponents: QueryList<CommentComponent>;
|
|
1708
|
+
showCommentsPanel: boolean;
|
|
1709
|
+
constructor();
|
|
1710
|
+
ngOnInit(): void;
|
|
1711
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1712
|
+
ngOnDestroy(): void;
|
|
1713
|
+
onSelect(annotationId: SelectionAnnotation): void;
|
|
1714
|
+
onCommentDelete(comment: Comment): void;
|
|
1715
|
+
redrawComments(): void;
|
|
1716
|
+
private rotateDocument;
|
|
1717
|
+
onCommentUpdate(payload: {
|
|
1718
|
+
comment: Comment;
|
|
1719
|
+
tags: TagsModel[];
|
|
1720
|
+
}): void;
|
|
1721
|
+
onAnnotationUpdate(annotation: Annotation): void;
|
|
1722
|
+
onContainerClick(e: any): void;
|
|
1723
|
+
clearSelection(): void;
|
|
1724
|
+
allCommentsSaved(): void;
|
|
1725
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommentSetComponent, never>;
|
|
1726
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommentSetComponent, "mv-comment-set", never, { "annotationSet": { "alias": "annotationSet"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "height": { "alias": "height"; "required": false; }; "pageHeights": { "alias": "pageHeights"; "required": false; }; "contentScrollTop": { "alias": "contentScrollTop"; "required": false; }; }, {}, never, never, false, never>;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
2304
1729
|
declare class CommentsNavigateComponent implements OnChanges {
|
|
2305
1730
|
private store;
|
|
2306
1731
|
readonly toolbarEvents: ToolbarEventService;
|
|
@@ -2308,7 +1733,6 @@ declare class CommentsNavigateComponent implements OnChanges {
|
|
|
2308
1733
|
autoSelect: boolean;
|
|
2309
1734
|
navigationList: any[];
|
|
2310
1735
|
index: number;
|
|
2311
|
-
constructor(store: Store<AnnotationSetState>, toolbarEvents: ToolbarEventService);
|
|
2312
1736
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2313
1737
|
initNavigationList(): void;
|
|
2314
1738
|
sortComments(mappedCommentA: any, mappedCommentB: any): number;
|
|
@@ -2324,7 +1748,6 @@ declare class CommentsNavigateComponent implements OnChanges {
|
|
|
2324
1748
|
|
|
2325
1749
|
declare class TextareaAutoExpandDirective implements AfterContentChecked {
|
|
2326
1750
|
private el;
|
|
2327
|
-
constructor(el: ElementRef);
|
|
2328
1751
|
ngAfterContentChecked(): void;
|
|
2329
1752
|
onMouseDown(): void;
|
|
2330
1753
|
adjustHeight(): void;
|
|
@@ -2352,7 +1775,6 @@ declare class CommentsSummaryComponent implements OnInit, OnDestroy {
|
|
|
2352
1775
|
hasFilter: boolean;
|
|
2353
1776
|
fromFilterValid: boolean;
|
|
2354
1777
|
toFilterValid: boolean;
|
|
2355
|
-
constructor(store: Store<AnnotationSetState>, printService: PrintService, toolbarEvents: ToolbarEventService, fb: FormBuilder);
|
|
2356
1778
|
ngOnInit(): void;
|
|
2357
1779
|
buildCheckBoxForm(): void;
|
|
2358
1780
|
onClearFilters(): void;
|
|
@@ -2380,7 +1802,6 @@ declare class TagsComponent {
|
|
|
2380
1802
|
errorMessages: {
|
|
2381
1803
|
[id: string]: string;
|
|
2382
1804
|
};
|
|
2383
|
-
constructor(tagsServices: TagsServices);
|
|
2384
1805
|
onUpdateTags(value: any): void;
|
|
2385
1806
|
requestAutocompleteItems: (text: string) => Observable<any[]>;
|
|
2386
1807
|
private minLength;
|
|
@@ -2411,7 +1832,6 @@ declare class CommentFilterComponent implements OnInit, OnDestroy {
|
|
|
2411
1832
|
allTags$: Observable<any>;
|
|
2412
1833
|
searchValue: string;
|
|
2413
1834
|
isPreview: boolean;
|
|
2414
|
-
constructor(store: Store<State>, fb: UntypedFormBuilder);
|
|
2415
1835
|
ngOnInit(): void;
|
|
2416
1836
|
buildFrom(): void;
|
|
2417
1837
|
onClearFilters(): void;
|
|
@@ -2446,6 +1866,254 @@ declare class MediaViewerModule {
|
|
|
2446
1866
|
static ɵinj: i0.ɵɵInjectorDeclaration<MediaViewerModule>;
|
|
2447
1867
|
}
|
|
2448
1868
|
|
|
1869
|
+
declare class AnnotationApiService {
|
|
1870
|
+
private readonly httpClient;
|
|
1871
|
+
annotationApiUrl: string;
|
|
1872
|
+
private annotationSetBaseUrl;
|
|
1873
|
+
private annotationBaseUrl;
|
|
1874
|
+
getAnnotationSet(documentId: string): Observable<any>;
|
|
1875
|
+
postAnnotationSet(body: Partial<AnnotationSet>): Observable<AnnotationSet>;
|
|
1876
|
+
getComments(annotationSet: Observable<AnnotationSet>): Observable<Comment[]>;
|
|
1877
|
+
/**
|
|
1878
|
+
* Sort the annotations in the response by page and then y position of their first rectangle
|
|
1879
|
+
*/
|
|
1880
|
+
private sortAnnotations;
|
|
1881
|
+
private extractComments;
|
|
1882
|
+
deleteAnnotation(annotationId: string): Observable<null>;
|
|
1883
|
+
postAnnotation(annotation: Partial<Annotation>): Observable<Annotation>;
|
|
1884
|
+
get annotationSetsFullUrl(): string;
|
|
1885
|
+
get annotationFullsUrl(): string;
|
|
1886
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationApiService, never>;
|
|
1887
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnnotationApiService>;
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
interface Filters {
|
|
1891
|
+
tagFilters?: {
|
|
1892
|
+
[key: string]: any;
|
|
1893
|
+
};
|
|
1894
|
+
dateRangeFrom?: number | null;
|
|
1895
|
+
dateRangeTo?: number | null;
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
declare const LOAD_ANNOTATION_SET = "[Annotations] Load Annotation Set";
|
|
1899
|
+
declare const LOAD_ANNOTATION_SET_SUCCESS = "[Annotations] Load Annotation Set Success";
|
|
1900
|
+
declare const LOAD_ANNOTATION_SET_FAIL = "[Annotations] Load Annotation Set Fail";
|
|
1901
|
+
declare const SAVE_ANNOTATION_SET = "[Annotations] Save Annotation Set";
|
|
1902
|
+
declare const SAVE_ANNOTATION_SET_SUCCESS = "[Annotations] Save Annotation Set Success";
|
|
1903
|
+
declare const SAVE_ANNOTATION_SET_FAIL = "[Annotations] Save Annotation Set Fail";
|
|
1904
|
+
declare const SAVE_ANNOTATION = "[Annotations] Save Annotation";
|
|
1905
|
+
declare const SAVE_ANNOTATION_SUCCESS = "[Annotations] Save Annotation Success";
|
|
1906
|
+
declare const SAVE_ANNOTATION_FAIL = "[Annotations] Save Annotation Fail";
|
|
1907
|
+
declare const ADD_OR_EDIT_COMMENT = "[Annotations] Add or Edit Comment";
|
|
1908
|
+
declare const DELETE_ANNOTATION = "[Annotations] Delete Annotation";
|
|
1909
|
+
declare const DELETE_ANNOTATION_SUCCESS = "[Annotations] Delete Annotation Success";
|
|
1910
|
+
declare const DELETE_ANNOTATION_FAIL = "[Annotations] Delete Annotation Fail";
|
|
1911
|
+
declare const SELECT_ANNOTATION = "[Annotations] Select Annotation";
|
|
1912
|
+
declare const SEARCH_COMMENT = "[Comments] Search Comments";
|
|
1913
|
+
declare const APPLY_COMMENT_SUMMARY_FILTER = "[Comments] Apply Comment Summary Filter";
|
|
1914
|
+
declare const CLEAR_COMMENT_SUMMARY_FILTER = "[Comments] Clear Comment Summary Filter";
|
|
1915
|
+
declare class LoadAnnotationSet implements Action {
|
|
1916
|
+
payload: string;
|
|
1917
|
+
readonly type = "[Annotations] Load Annotation Set";
|
|
1918
|
+
constructor(payload: string);
|
|
1919
|
+
}
|
|
1920
|
+
declare class SaveAnnotationSet implements Action {
|
|
1921
|
+
payload: AnnotationSet;
|
|
1922
|
+
readonly type = "[Annotations] Save Annotation Set";
|
|
1923
|
+
constructor(payload: AnnotationSet);
|
|
1924
|
+
}
|
|
1925
|
+
declare class LoadAnnotationSetSucess implements Action {
|
|
1926
|
+
payload: {
|
|
1927
|
+
status: number;
|
|
1928
|
+
body: AnnotationSet;
|
|
1929
|
+
};
|
|
1930
|
+
readonly type = "[Annotations] Load Annotation Set Success";
|
|
1931
|
+
constructor(payload: {
|
|
1932
|
+
status: number;
|
|
1933
|
+
body: AnnotationSet;
|
|
1934
|
+
});
|
|
1935
|
+
}
|
|
1936
|
+
declare class SaveAnnotationSetSuccess implements Action {
|
|
1937
|
+
payload: AnnotationSet;
|
|
1938
|
+
readonly type = "[Annotations] Save Annotation Set Success";
|
|
1939
|
+
constructor(payload: AnnotationSet);
|
|
1940
|
+
}
|
|
1941
|
+
declare class LoadAnnotationSetFail implements Action {
|
|
1942
|
+
payload: {
|
|
1943
|
+
status: number;
|
|
1944
|
+
body: any;
|
|
1945
|
+
};
|
|
1946
|
+
readonly type = "[Annotations] Load Annotation Set Fail";
|
|
1947
|
+
constructor(payload: {
|
|
1948
|
+
status: number;
|
|
1949
|
+
body: any;
|
|
1950
|
+
});
|
|
1951
|
+
}
|
|
1952
|
+
declare class SaveAnnotationSetFail implements Action {
|
|
1953
|
+
payload: {
|
|
1954
|
+
status: number;
|
|
1955
|
+
body: any;
|
|
1956
|
+
};
|
|
1957
|
+
readonly type = "[Annotations] Save Annotation Set Fail";
|
|
1958
|
+
constructor(payload: {
|
|
1959
|
+
status: number;
|
|
1960
|
+
body: any;
|
|
1961
|
+
});
|
|
1962
|
+
}
|
|
1963
|
+
declare class SaveAnnotation implements Action {
|
|
1964
|
+
payload: Annotation;
|
|
1965
|
+
autoSelect?: boolean;
|
|
1966
|
+
readonly type = "[Annotations] Save Annotation";
|
|
1967
|
+
constructor(payload: Annotation, autoSelect?: boolean);
|
|
1968
|
+
}
|
|
1969
|
+
declare class SaveAnnotationSuccess implements Action {
|
|
1970
|
+
payload: any;
|
|
1971
|
+
readonly type = "[Annotations] Save Annotation Success";
|
|
1972
|
+
constructor(payload: any);
|
|
1973
|
+
}
|
|
1974
|
+
declare class SaveAnnotationFail implements Action {
|
|
1975
|
+
payload: Error;
|
|
1976
|
+
readonly type = "[Annotations] Save Annotation Fail";
|
|
1977
|
+
constructor(payload: Error);
|
|
1978
|
+
}
|
|
1979
|
+
declare class AddOrEditComment implements Action {
|
|
1980
|
+
payload: Comment;
|
|
1981
|
+
readonly type = "[Annotations] Add or Edit Comment";
|
|
1982
|
+
constructor(payload: Comment);
|
|
1983
|
+
}
|
|
1984
|
+
declare class DeleteAnnotation implements Action {
|
|
1985
|
+
payload: string;
|
|
1986
|
+
readonly type = "[Annotations] Delete Annotation";
|
|
1987
|
+
constructor(payload: string);
|
|
1988
|
+
}
|
|
1989
|
+
declare class DeleteAnnotationSuccess implements Action {
|
|
1990
|
+
payload: string;
|
|
1991
|
+
readonly type = "[Annotations] Delete Annotation Success";
|
|
1992
|
+
constructor(payload: string);
|
|
1993
|
+
}
|
|
1994
|
+
declare class DeleteAnnotationFail implements Action {
|
|
1995
|
+
payload: Error;
|
|
1996
|
+
readonly type = "[Annotations] Delete Annotation Fail";
|
|
1997
|
+
constructor(payload: Error);
|
|
1998
|
+
}
|
|
1999
|
+
declare class SelectedAnnotation implements Action {
|
|
2000
|
+
payload: SelectionAnnotation;
|
|
2001
|
+
readonly type = "[Annotations] Select Annotation";
|
|
2002
|
+
constructor(payload: SelectionAnnotation);
|
|
2003
|
+
}
|
|
2004
|
+
declare class SearchComment implements Action {
|
|
2005
|
+
payload: string;
|
|
2006
|
+
readonly type = "[Comments] Search Comments";
|
|
2007
|
+
constructor(payload: string);
|
|
2008
|
+
}
|
|
2009
|
+
declare class ApplyCommentSymmaryFilter implements Action {
|
|
2010
|
+
payload: Filters;
|
|
2011
|
+
readonly type = "[Comments] Apply Comment Summary Filter";
|
|
2012
|
+
constructor(payload: Filters);
|
|
2013
|
+
}
|
|
2014
|
+
declare class ClearCommentSummaryFilters implements Action {
|
|
2015
|
+
readonly type = "[Comments] Clear Comment Summary Filter";
|
|
2016
|
+
}
|
|
2017
|
+
type AnnotationsActions = LoadAnnotationSet | LoadAnnotationSetSucess | LoadAnnotationSetFail | SaveAnnotation | SaveAnnotationSuccess | SaveAnnotationFail | SaveAnnotationSetSuccess | AddOrEditComment | DeleteAnnotation | DeleteAnnotationSuccess | DeleteAnnotationFail | SelectedAnnotation | SearchComment | ApplyCommentSymmaryFilter | ClearCommentSummaryFilters;
|
|
2018
|
+
|
|
2019
|
+
interface AnnotationSetState {
|
|
2020
|
+
annotationSet: any;
|
|
2021
|
+
annotationEntities: {
|
|
2022
|
+
[id: string]: any;
|
|
2023
|
+
};
|
|
2024
|
+
annotationPageEntities: {
|
|
2025
|
+
[id: string]: Annotation[];
|
|
2026
|
+
};
|
|
2027
|
+
commentEntities: {
|
|
2028
|
+
[id: string]: Comment;
|
|
2029
|
+
};
|
|
2030
|
+
selectedAnnotation: SelectionAnnotation;
|
|
2031
|
+
commentSearchQueries: {
|
|
2032
|
+
commentSearch: string;
|
|
2033
|
+
};
|
|
2034
|
+
commentSummaryFilters: {
|
|
2035
|
+
hasFilter: boolean;
|
|
2036
|
+
filters: Filters;
|
|
2037
|
+
};
|
|
2038
|
+
loaded: boolean;
|
|
2039
|
+
loading: boolean;
|
|
2040
|
+
}
|
|
2041
|
+
declare const initialState: AnnotationSetState;
|
|
2042
|
+
declare function reducer(state: AnnotationSetState, action: AnnotationsActions): AnnotationSetState;
|
|
2043
|
+
declare const getAnnoSet: (state: AnnotationSetState) => any;
|
|
2044
|
+
declare const getCommentEnts: (state: AnnotationSetState) => {
|
|
2045
|
+
[id: string]: Comment;
|
|
2046
|
+
};
|
|
2047
|
+
declare const getAnnoPageEnt: (state: AnnotationSetState) => {
|
|
2048
|
+
[id: string]: Annotation[];
|
|
2049
|
+
};
|
|
2050
|
+
declare const getAnnoEnt: (state: AnnotationSetState) => {
|
|
2051
|
+
[id: string]: any;
|
|
2052
|
+
};
|
|
2053
|
+
declare const getSelectedAnno: (state: AnnotationSetState) => SelectionAnnotation;
|
|
2054
|
+
declare const commentSearchQ: (state: AnnotationSetState) => {
|
|
2055
|
+
commentSearch: string;
|
|
2056
|
+
};
|
|
2057
|
+
declare const getSummaryFilters: (state: AnnotationSetState) => {
|
|
2058
|
+
hasFilter: boolean;
|
|
2059
|
+
filters: Filters;
|
|
2060
|
+
};
|
|
2061
|
+
|
|
2062
|
+
interface TagsState {
|
|
2063
|
+
tagNameEnt: {
|
|
2064
|
+
[id: string]: string[];
|
|
2065
|
+
};
|
|
2066
|
+
filteredComments: {
|
|
2067
|
+
[id: string]: string[];
|
|
2068
|
+
};
|
|
2069
|
+
filteredPageEntities: {
|
|
2070
|
+
[id: string]: Annotation[];
|
|
2071
|
+
};
|
|
2072
|
+
annotations: Annotation[];
|
|
2073
|
+
formFilterState: {
|
|
2074
|
+
[id: string]: boolean;
|
|
2075
|
+
};
|
|
2076
|
+
filters: string[];
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
interface BookmarksState {
|
|
2080
|
+
bookmarks: Bookmark[];
|
|
2081
|
+
bookmarkEntities: {
|
|
2082
|
+
[id: string]: Bookmark;
|
|
2083
|
+
};
|
|
2084
|
+
bookmarkPageEntities: {
|
|
2085
|
+
[id: string]: any;
|
|
2086
|
+
};
|
|
2087
|
+
editableBookmark: string;
|
|
2088
|
+
loaded: boolean;
|
|
2089
|
+
loading: boolean;
|
|
2090
|
+
scrollTop?: number;
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
interface RedactionState {
|
|
2094
|
+
redactionEntities: {
|
|
2095
|
+
[id: string]: Redaction;
|
|
2096
|
+
};
|
|
2097
|
+
redactionPageEntities: {
|
|
2098
|
+
[id: string]: any;
|
|
2099
|
+
};
|
|
2100
|
+
selectedRedaction: SelectionAnnotation | {};
|
|
2101
|
+
redactedDocumentInfo: {
|
|
2102
|
+
blob: Blob;
|
|
2103
|
+
filename: string;
|
|
2104
|
+
};
|
|
2105
|
+
documentId: string;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
interface State {
|
|
2109
|
+
document: DocumentState;
|
|
2110
|
+
annotations: AnnotationSetState;
|
|
2111
|
+
tags: TagsState;
|
|
2112
|
+
bookmarks: BookmarksState;
|
|
2113
|
+
redactions: RedactionState;
|
|
2114
|
+
icp: IcpState;
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2449
2117
|
declare const getAnnotationsSetState: _ngrx_store.MemoizedSelector<object, AnnotationSetState, (s1: State) => AnnotationSetState>;
|
|
2450
2118
|
declare const getAnnotationEntities: _ngrx_store.MemoizedSelector<object, {
|
|
2451
2119
|
[id: string]: any;
|
|
@@ -2584,7 +2252,6 @@ declare const getFilteredAnnotations: _ngrx_store.MemoizedSelector<object, any[]
|
|
|
2584
2252
|
declare class AnnotationEffects {
|
|
2585
2253
|
private actions$;
|
|
2586
2254
|
private annotationApiService;
|
|
2587
|
-
constructor(actions$: Actions, annotationApiService: AnnotationApiService);
|
|
2588
2255
|
loadAnnotation$: rxjs.Observable<LoadAnnotationSetSucess | LoadAnnotationSetFail> & _ngrx_effects.CreateEffectMetadata;
|
|
2589
2256
|
postAnnotation$: rxjs.Observable<SaveAnnotationSuccess | SaveAnnotationFail> & _ngrx_effects.CreateEffectMetadata;
|
|
2590
2257
|
deleteAnnotation$: rxjs.Observable<DeleteAnnotationSuccess | DeleteAnnotationFail> & _ngrx_effects.CreateEffectMetadata;
|