@hmcts/media-viewer 4.2.50-innerhtml-security-update → 4.2.50-upgrade-angular-22.0
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/{@swimlane-ngx-datatable-npm-23.0.1-38d17a64b2-4768d43758.zip → @swimlane-ngx-datatable-npm-25.1.0-ab16c6ac43-46d10c13c6.zip} +0 -0
- package/.yarn/install-state.gz +0 -0
- package/fesm2022/hmcts-media-viewer.mjs +12911 -9251
- package/fesm2022/hmcts-media-viewer.mjs.map +1 -1
- package/package.json +18 -17
- package/package.tgz +0 -0
- package/types/hmcts-media-viewer.d.ts +2897 -0
- package/types/hmcts-media-viewer.d.ts.map +1 -0
- package/index.d.ts +0 -2271
- package/index.d.ts.map +0 -1
package/index.d.ts
DELETED
|
@@ -1,2271 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy, AfterContentInit, OnChanges, EventEmitter, ElementRef, SimpleChanges, AfterViewChecked, AfterViewInit, QueryList, AfterContentChecked, PipeTransform } from '@angular/core';
|
|
3
|
-
import * as rxjs from 'rxjs';
|
|
4
|
-
import { BehaviorSubject, Subject, Observable, Subscription } from 'rxjs';
|
|
5
|
-
import { ArrayDataSource, SelectionModel } from '@angular/cdk/collections';
|
|
6
|
-
import * as i28 from '@angular/cdk/tree';
|
|
7
|
-
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
8
|
-
import * as i29$1 from '@angular/cdk/drag-drop';
|
|
9
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
10
|
-
import * as i6 from '@angular/common';
|
|
11
|
-
import { DatePipe } from '@angular/common';
|
|
12
|
-
import * as i25 from '@angular/common/http';
|
|
13
|
-
import * as i10 from '@angular/cdk/overlay';
|
|
14
|
-
import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
15
|
-
import * as i7 from '@angular/forms';
|
|
16
|
-
import { FormGroup, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
17
|
-
import * as i8 from '@angular/router';
|
|
18
|
-
import * as i12 from 'rpx-xui-translation';
|
|
19
|
-
import * as i22 from '@angular/cdk/a11y';
|
|
20
|
-
import * as i26 from 'mutable-div';
|
|
21
|
-
import * as i27 from 'ngx-chips';
|
|
22
|
-
import * as i29 from '@swimlane/ngx-datatable';
|
|
23
|
-
import * as _ngrx_store from '@ngrx/store';
|
|
24
|
-
import { Action } from '@ngrx/store';
|
|
25
|
-
import * as _ngrx_effects from '@ngrx/effects';
|
|
26
|
-
|
|
27
|
-
interface User {
|
|
28
|
-
forename: string;
|
|
29
|
-
surname: string;
|
|
30
|
-
email: string;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
interface ApiPersisted {
|
|
34
|
-
id: string;
|
|
35
|
-
createdBy: string;
|
|
36
|
-
createdByDetails: User;
|
|
37
|
-
createdDate: string;
|
|
38
|
-
lastModifiedBy: string;
|
|
39
|
-
lastModifiedByDetails: User;
|
|
40
|
-
lastModifiedDate: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
interface Rectangle extends ApiPersisted {
|
|
44
|
-
annotationId: string;
|
|
45
|
-
height: number;
|
|
46
|
-
width: number;
|
|
47
|
-
x: number;
|
|
48
|
-
y: number;
|
|
49
|
-
}
|
|
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
|
-
|
|
86
|
-
interface RedactionSearch {
|
|
87
|
-
page?: number;
|
|
88
|
-
matchedIndex?: number;
|
|
89
|
-
matchesCount?: number;
|
|
90
|
-
}
|
|
91
|
-
interface RedactRectangle {
|
|
92
|
-
page?: number;
|
|
93
|
-
matchedIndex?: number;
|
|
94
|
-
rectangles?: Rectangle[];
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
interface SearchOperation {
|
|
98
|
-
searchTerm: string;
|
|
99
|
-
highlightAll: boolean;
|
|
100
|
-
matchCase: boolean;
|
|
101
|
-
wholeWord: boolean;
|
|
102
|
-
previous: boolean;
|
|
103
|
-
reset: boolean;
|
|
104
|
-
}
|
|
105
|
-
interface SearchResultsCount {
|
|
106
|
-
current: number;
|
|
107
|
-
total: number;
|
|
108
|
-
isPrevious: boolean;
|
|
109
|
-
}
|
|
110
|
-
declare enum SearchType {
|
|
111
|
-
Redact = "Redact",
|
|
112
|
-
Highlight = "Highlight"
|
|
113
|
-
}
|
|
114
|
-
interface SearchMode {
|
|
115
|
-
modeType: SearchType;
|
|
116
|
-
isOpen: boolean;
|
|
117
|
-
}
|
|
118
|
-
declare class ToolbarEventService {
|
|
119
|
-
private icpEventService;
|
|
120
|
-
readonly highlightModeSubject: BehaviorSubject<boolean>;
|
|
121
|
-
readonly highlightToolbarSubject: BehaviorSubject<boolean>;
|
|
122
|
-
readonly drawModeSubject: BehaviorSubject<boolean>;
|
|
123
|
-
readonly rotateSubject: Subject<number>;
|
|
124
|
-
readonly searchSubject: Subject<SearchOperation>;
|
|
125
|
-
readonly searchResultsCountSubject: Subject<SearchResultsCount>;
|
|
126
|
-
readonly zoomSubject: Subject<number>;
|
|
127
|
-
readonly stepZoomSubject: Subject<number>;
|
|
128
|
-
readonly zoomValueSubject: BehaviorSubject<number>;
|
|
129
|
-
readonly pageCountSubject: Subject<number>;
|
|
130
|
-
readonly printSubject: Subject<void>;
|
|
131
|
-
readonly downloadSubject: Subject<void>;
|
|
132
|
-
readonly setCurrentPageSubject: Subject<number>;
|
|
133
|
-
readonly setCurrentPageInputValueSubject: BehaviorSubject<number>;
|
|
134
|
-
readonly changePageByDeltaSubject: Subject<number>;
|
|
135
|
-
readonly showCommentSummary: BehaviorSubject<boolean>;
|
|
136
|
-
readonly grabNDrag: BehaviorSubject<boolean>;
|
|
137
|
-
readonly saveRotationSubject: Subject<void>;
|
|
138
|
-
readonly redactionMode: BehaviorSubject<boolean>;
|
|
139
|
-
readonly redactionPreview: Subject<boolean>;
|
|
140
|
-
readonly applyRedactToDocument: Subject<void>;
|
|
141
|
-
readonly clearAllRedactMarkers: Subject<void>;
|
|
142
|
-
readonly redactWholePage: Subject<void>;
|
|
143
|
-
readonly redactionSerachSubject: Subject<RedactionSearch>;
|
|
144
|
-
readonly redactAllInProgressSubject: BehaviorSubject<boolean>;
|
|
145
|
-
readonly openRedactionSearch: BehaviorSubject<SearchMode>;
|
|
146
|
-
readonly sidebarOpen: BehaviorSubject<boolean>;
|
|
147
|
-
readonly sidebarOutlineView: BehaviorSubject<boolean>;
|
|
148
|
-
readonly searchBarHidden: BehaviorSubject<boolean>;
|
|
149
|
-
readonly commentsPanelVisible: BehaviorSubject<boolean>;
|
|
150
|
-
/**
|
|
151
|
-
* Reset the stateful behaviour subjects
|
|
152
|
-
*/
|
|
153
|
-
reset(): void;
|
|
154
|
-
toggleHighlightMode(): void;
|
|
155
|
-
toggleDrawMode(): void;
|
|
156
|
-
toggleHighlightToolbar(): void;
|
|
157
|
-
rotate(angle: number): void;
|
|
158
|
-
search(phrase: SearchOperation): void;
|
|
159
|
-
getSearchResultsCount(): Observable<SearchResultsCount>;
|
|
160
|
-
zoom(value: number): void;
|
|
161
|
-
stepZoom(value: number): void;
|
|
162
|
-
getZoomValue(): Observable<number>;
|
|
163
|
-
getPageCount(): Observable<number>;
|
|
164
|
-
print(): void;
|
|
165
|
-
download(): void;
|
|
166
|
-
setPage(value: number): void;
|
|
167
|
-
incrementPage(value: number): void;
|
|
168
|
-
getCurrentPageNumber(): Observable<number>;
|
|
169
|
-
getShowCommentSummary(): Observable<boolean>;
|
|
170
|
-
toggleCommentsSummary(value: boolean): void;
|
|
171
|
-
saveRotation(): void;
|
|
172
|
-
toggleGrabNDrag(): void;
|
|
173
|
-
toggleSideBar(toggle: boolean): void;
|
|
174
|
-
toggleSideBarView(toggle: boolean): void;
|
|
175
|
-
toggleRedactionMode(): void;
|
|
176
|
-
toggleRedactionPreview(viewMode: boolean): void;
|
|
177
|
-
unmarkAll(): void;
|
|
178
|
-
applyRedactionToDocument(): void;
|
|
179
|
-
redactPage(): void;
|
|
180
|
-
toggleCommentsPanel(isVisible: boolean): void;
|
|
181
|
-
toggleParticipantsList(isVisible: boolean): void;
|
|
182
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarEventService, never>;
|
|
183
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarEventService>;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
declare enum ResponseType {
|
|
187
|
-
SUCCESS = "SUCCESS",
|
|
188
|
-
FAILURE = "FAILURE",
|
|
189
|
-
UNSUPPORTED = "UNSUPPORTED"
|
|
190
|
-
}
|
|
191
|
-
interface ExceptionDetail {
|
|
192
|
-
httpResponseCode?: string;
|
|
193
|
-
message?: string;
|
|
194
|
-
}
|
|
195
|
-
declare class ViewerException {
|
|
196
|
-
exceptionType?: string;
|
|
197
|
-
detail?: ExceptionDetail;
|
|
198
|
-
constructor(exceptionType?: string, detail?: ExceptionDetail);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
declare class ToolbarButtonVisibilityService {
|
|
202
|
-
showPrint: boolean;
|
|
203
|
-
showDownload: boolean;
|
|
204
|
-
showNavigation: boolean;
|
|
205
|
-
showZoom: boolean;
|
|
206
|
-
showRotate: boolean;
|
|
207
|
-
showPresentationMode: boolean;
|
|
208
|
-
showRedact: boolean;
|
|
209
|
-
showOpenFile: boolean;
|
|
210
|
-
showBookmark: boolean;
|
|
211
|
-
showHighlightButton: boolean;
|
|
212
|
-
showDrawButton: boolean;
|
|
213
|
-
showSearchBar: boolean;
|
|
214
|
-
showSidebar: boolean;
|
|
215
|
-
showCommentSummary: boolean;
|
|
216
|
-
showGrabNDragButton: boolean;
|
|
217
|
-
showSaveRotationButton: boolean;
|
|
218
|
-
/**
|
|
219
|
-
* Reset the visibility of all buttons to false then set the value from the options
|
|
220
|
-
*/
|
|
221
|
-
setup(options: Partial<ToolbarButtonVisibilityService>): void;
|
|
222
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarButtonVisibilityService, never>;
|
|
223
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarButtonVisibilityService>;
|
|
224
|
-
}
|
|
225
|
-
|
|
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;
|
|
238
|
-
}
|
|
239
|
-
|
|
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 getSelectionRectangles;
|
|
262
|
-
private createTextRectangle;
|
|
263
|
-
private removeEnhancedTextModeStyling;
|
|
264
|
-
private setPageProperties;
|
|
265
|
-
private processClientRects;
|
|
266
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateDirective, never>;
|
|
267
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HighlightCreateDirective, "[mvCreateTextHighlight]", never, {}, {}, never, never, false, never>;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
declare class PdfViewerComponent implements AfterContentInit, OnChanges, OnDestroy {
|
|
271
|
-
private store;
|
|
272
|
-
private icpStore;
|
|
273
|
-
private readonly pdfJsWrapperFactory;
|
|
274
|
-
private readonly printService;
|
|
275
|
-
readonly toolbarEvents: ToolbarEventService;
|
|
276
|
-
private readonly viewerEvents;
|
|
277
|
-
private icpService;
|
|
278
|
-
readonly toolbarButtons: ToolbarButtonVisibilityService;
|
|
279
|
-
private readonly icpEventService;
|
|
280
|
-
mediaLoadStatus: EventEmitter<ResponseType>;
|
|
281
|
-
pdfViewerException: EventEmitter<ViewerException>;
|
|
282
|
-
documentTitle: EventEmitter<string>;
|
|
283
|
-
downloadUrl: string;
|
|
284
|
-
url: string;
|
|
285
|
-
downloadFileName: string;
|
|
286
|
-
enableAnnotations: boolean;
|
|
287
|
-
enableRedactions: boolean;
|
|
288
|
-
enableICP: boolean;
|
|
289
|
-
annotationSet: AnnotationSet | null;
|
|
290
|
-
enableRedactSearch: AnnotationSet | null;
|
|
291
|
-
height: string;
|
|
292
|
-
pageHeights: any[];
|
|
293
|
-
rotation: number;
|
|
294
|
-
zoom: number;
|
|
295
|
-
caseId: string;
|
|
296
|
-
highlightMode: Observable<boolean>;
|
|
297
|
-
drawMode: BehaviorSubject<boolean>;
|
|
298
|
-
documentOutline: Outline[];
|
|
299
|
-
loadingDocument: boolean;
|
|
300
|
-
loadingDocumentProgress: number;
|
|
301
|
-
errorMessage: string;
|
|
302
|
-
hasDifferentPageSize: boolean;
|
|
303
|
-
viewerContainer: ElementRef<HTMLDivElement>;
|
|
304
|
-
pdfViewer: ElementRef<HTMLDivElement>;
|
|
305
|
-
highlightCreateDirective: HighlightCreateDirective;
|
|
306
|
-
private pdfWrapper;
|
|
307
|
-
private $subscription;
|
|
308
|
-
private viewerException;
|
|
309
|
-
showCommentsPanel: boolean;
|
|
310
|
-
showIcpParticipantsList: boolean;
|
|
311
|
-
enableGrabNDrag: boolean;
|
|
312
|
-
showSelectionStartCursor: boolean;
|
|
313
|
-
selectionStartCursorX: number;
|
|
314
|
-
selectionStartCursorY: number;
|
|
315
|
-
showSelectionEndCursor: boolean;
|
|
316
|
-
selectionEndCursorX: number;
|
|
317
|
-
selectionEndCursorY: number;
|
|
318
|
-
constructor();
|
|
319
|
-
ngAfterContentInit(): Promise<void>;
|
|
320
|
-
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
321
|
-
resetRotation(): void;
|
|
322
|
-
ngOnDestroy(): void;
|
|
323
|
-
private loadDocument;
|
|
324
|
-
private onDocumentLoadProgress;
|
|
325
|
-
private onDocumentLoaded;
|
|
326
|
-
private onDocumentLoadFailed;
|
|
327
|
-
private updatePages;
|
|
328
|
-
set searchBarHidden(hidden: boolean);
|
|
329
|
-
toggleCommentsSummary(): void;
|
|
330
|
-
private rotateDocument;
|
|
331
|
-
private initDocumentProgress;
|
|
332
|
-
private setZoom;
|
|
333
|
-
private stepZoom;
|
|
334
|
-
setPageHeights(): void;
|
|
335
|
-
calculateZoomValue(zoomValue: any, increment?: number): number;
|
|
336
|
-
private goToDestination;
|
|
337
|
-
private goToDestinationICP;
|
|
338
|
-
getCurrentPageNumber(): number;
|
|
339
|
-
onKeyboardTextSelectionConfirmed(): void;
|
|
340
|
-
onKeyboardTextSelectionCancelled(): void;
|
|
341
|
-
onSelectionStartCursorChanged(position: {
|
|
342
|
-
x: number;
|
|
343
|
-
y: number;
|
|
344
|
-
visible: boolean;
|
|
345
|
-
}): void;
|
|
346
|
-
onSelectionEndCursorChanged(position: {
|
|
347
|
-
x: number;
|
|
348
|
-
y: number;
|
|
349
|
-
visible: boolean;
|
|
350
|
-
}): void;
|
|
351
|
-
onViewerContainerFocusIn(event: FocusEvent): void;
|
|
352
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PdfViewerComponent, never>;
|
|
353
|
-
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>;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
interface Bookmark$1 {
|
|
357
|
-
id: string;
|
|
358
|
-
documentId: string;
|
|
359
|
-
name: string;
|
|
360
|
-
pageNumber: number;
|
|
361
|
-
xCoordinate: number;
|
|
362
|
-
yCoordinate: number;
|
|
363
|
-
zoom: number;
|
|
364
|
-
parent: string;
|
|
365
|
-
previous: string;
|
|
366
|
-
children: Bookmark$1[];
|
|
367
|
-
index: number;
|
|
368
|
-
}
|
|
369
|
-
interface BookmarkNode {
|
|
370
|
-
id: string;
|
|
371
|
-
name: string;
|
|
372
|
-
children: string[];
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
interface DocumentState {
|
|
376
|
-
convertedDocument: {
|
|
377
|
-
url: string;
|
|
378
|
-
error: string;
|
|
379
|
-
};
|
|
380
|
-
documentId: string;
|
|
381
|
-
pdfPosition: PdfPosition;
|
|
382
|
-
pages: {
|
|
383
|
-
[id: string]: DocumentPages;
|
|
384
|
-
};
|
|
385
|
-
hasDifferentPageSize: boolean;
|
|
386
|
-
rotation: number;
|
|
387
|
-
rotationLoaded: boolean;
|
|
388
|
-
loaded: boolean;
|
|
389
|
-
loading: boolean;
|
|
390
|
-
}
|
|
391
|
-
interface DocumentPages {
|
|
392
|
-
numberOfPages: number;
|
|
393
|
-
styles: {
|
|
394
|
-
left: number;
|
|
395
|
-
height: number;
|
|
396
|
-
width: number;
|
|
397
|
-
};
|
|
398
|
-
scaleRotation: {
|
|
399
|
-
scale: string;
|
|
400
|
-
rotation: string;
|
|
401
|
-
};
|
|
402
|
-
viewportScale: number;
|
|
403
|
-
}
|
|
404
|
-
interface PdfPosition {
|
|
405
|
-
pageNumber: number;
|
|
406
|
-
scale: number;
|
|
407
|
-
top: number;
|
|
408
|
-
left: number;
|
|
409
|
-
rotation: number;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
declare class BookmarksComponent implements OnInit, OnDestroy, OnChanges {
|
|
413
|
-
private store;
|
|
414
|
-
set bookmarkNodes(value: Bookmark$1[]);
|
|
415
|
-
get bookmarkNodes(): Bookmark$1[];
|
|
416
|
-
zoom: number;
|
|
417
|
-
rotate: number;
|
|
418
|
-
parentScrollTop: number;
|
|
419
|
-
goToDestination: EventEmitter<any[]>;
|
|
420
|
-
treeHasChanged: EventEmitter<boolean>;
|
|
421
|
-
private _bookmarkNodes;
|
|
422
|
-
datasource: ArrayDataSource<Bookmark$1>;
|
|
423
|
-
treeControl: FlatTreeControl<Bookmark$1>;
|
|
424
|
-
hoveredNode: Bookmark$1;
|
|
425
|
-
hoverHtmlElement: HTMLElement;
|
|
426
|
-
expansionModel: SelectionModel<Bookmark$1>;
|
|
427
|
-
isDraggingOn: boolean;
|
|
428
|
-
isUserdragging: boolean;
|
|
429
|
-
expandTimeout: any;
|
|
430
|
-
expandDelay: number;
|
|
431
|
-
dragNodeInsertToParent: boolean;
|
|
432
|
-
pageLookup: {
|
|
433
|
-
[pageId: number]: DocumentPages;
|
|
434
|
-
};
|
|
435
|
-
editableBookmark: string;
|
|
436
|
-
BOOKMARK_CHAR_LIMIT: number;
|
|
437
|
-
dragNode: any;
|
|
438
|
-
dragNodeExpandOverWaitTimeMs: number;
|
|
439
|
-
dragNodeExpandOverNode: any;
|
|
440
|
-
dragNodeExpandOverTime: number;
|
|
441
|
-
dragNodeExpandOverArea: number;
|
|
442
|
-
options: {
|
|
443
|
-
allowDrag: boolean;
|
|
444
|
-
allowDrop: boolean;
|
|
445
|
-
};
|
|
446
|
-
$subscription: Subscription;
|
|
447
|
-
private sortMode;
|
|
448
|
-
private readonly _customSort;
|
|
449
|
-
private readonly _positionSort;
|
|
450
|
-
ngOnInit(): void;
|
|
451
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
452
|
-
ngOnDestroy(): void;
|
|
453
|
-
editBookmark(id: any): void;
|
|
454
|
-
onAddBookmarkClick(): void;
|
|
455
|
-
deleteBookmark2(node: Bookmark$1): void;
|
|
456
|
-
updateBookmark(bookmark: Bookmark$1, name: any): void;
|
|
457
|
-
goToBookmark(bookmark: Bookmark$1): void;
|
|
458
|
-
get customSort(): string;
|
|
459
|
-
get positionSort(): string;
|
|
460
|
-
sort(mode: string): void;
|
|
461
|
-
private sortBookmarks;
|
|
462
|
-
private positionSortBookmarks;
|
|
463
|
-
private customSortBookmarks;
|
|
464
|
-
private scaledY;
|
|
465
|
-
hasChild: (_: number, node: Bookmark$1) => boolean;
|
|
466
|
-
getNode(bookmarks: any, parentId: any): any;
|
|
467
|
-
drop(event: CdkDragDrop<Bookmark$1>): void;
|
|
468
|
-
private getSiblingFromAllSibliings;
|
|
469
|
-
dragStart(): void;
|
|
470
|
-
dragEnd(): void;
|
|
471
|
-
dragHover(event: any, node: Bookmark$1): void;
|
|
472
|
-
dragHoverEnd(event: any, node: Bookmark$1): void;
|
|
473
|
-
onNodeExpand(node: Bookmark$1): "toggle-children-wrapper-expanded" | "toggle-children-wrapper-collapsed";
|
|
474
|
-
visibleNodes(bookmarks: Bookmark$1[]): Bookmark$1[];
|
|
475
|
-
findNodeSiblings(arr: Array<any>, id: string): Array<any>;
|
|
476
|
-
rebuildTreeForData(data: any): void;
|
|
477
|
-
isToNodeChildOfFromNode(fromNodeChildren: Bookmark$1[], toNode: Bookmark$1): boolean;
|
|
478
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BookmarksComponent, never>;
|
|
479
|
-
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>;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
declare class SideBarComponent implements OnInit, OnChanges, OnDestroy {
|
|
483
|
-
private viewerEvents;
|
|
484
|
-
private store;
|
|
485
|
-
private readonly toolbarEvents;
|
|
486
|
-
annotationsEnabled: boolean;
|
|
487
|
-
outline: Outline;
|
|
488
|
-
url: string;
|
|
489
|
-
zoom: number;
|
|
490
|
-
rotate: number;
|
|
491
|
-
currentPageNumber: number;
|
|
492
|
-
bookmarks: BookmarksComponent;
|
|
493
|
-
treeChanged: boolean;
|
|
494
|
-
selectedView: string;
|
|
495
|
-
bookmarkNodes$: Observable<BookmarkNode[]>;
|
|
496
|
-
scrollTop: any;
|
|
497
|
-
sidebarOpen: any;
|
|
498
|
-
private subscriptions;
|
|
499
|
-
sidebarDiv: any;
|
|
500
|
-
ngOnInit(): void;
|
|
501
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
502
|
-
ngOnDestroy(): void;
|
|
503
|
-
onScroll(event: any): void;
|
|
504
|
-
goToDestination(destination: any[]): void;
|
|
505
|
-
hasTreeChanged(value: boolean): void;
|
|
506
|
-
toggleSidebarView(sidebarView: string): void;
|
|
507
|
-
isViewedItem(current: Outline, next: Outline): boolean;
|
|
508
|
-
findEndPage(next: Outline): number;
|
|
509
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideBarComponent, never>;
|
|
510
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideBarComponent, "mv-side-bar", never, { "annotationsEnabled": { "alias": "annotationsEnabled"; "required": false; }; "outline": { "alias": "outline"; "required": false; }; "url": { "alias": "url"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "currentPageNumber": { "alias": "currentPageNumber"; "required": false; }; }, {}, never, never, false, never>;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
declare class OutlineItemComponent implements OnInit {
|
|
514
|
-
outline: Outline;
|
|
515
|
-
currentPageNumber: number;
|
|
516
|
-
isCurrentSection: boolean;
|
|
517
|
-
endPage: number;
|
|
518
|
-
navigationEvent: EventEmitter<any>;
|
|
519
|
-
showOutlineItems: boolean;
|
|
520
|
-
ngOnInit(): void;
|
|
521
|
-
goToDestination(destination: any): void;
|
|
522
|
-
toggleOutline(): void;
|
|
523
|
-
isViewedItem(current: Outline, next: Outline): boolean;
|
|
524
|
-
findEndPage(next: Outline): number;
|
|
525
|
-
showHighlightOutlineCss(): "highlightedOutlineItem" | "outlineItem";
|
|
526
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OutlineItemComponent, never>;
|
|
527
|
-
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>;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
declare class ImageViewerComponent implements OnInit, OnDestroy, OnChanges {
|
|
531
|
-
private store;
|
|
532
|
-
private readonly printService;
|
|
533
|
-
private readonly viewerUtilService;
|
|
534
|
-
readonly toolbarEvents: ToolbarEventService;
|
|
535
|
-
readonly toolbarButtons: ToolbarButtonVisibilityService;
|
|
536
|
-
private viewerEvents;
|
|
537
|
-
url: string;
|
|
538
|
-
downloadFileName: string;
|
|
539
|
-
enableAnnotations: boolean;
|
|
540
|
-
annotationSet: AnnotationSet | null;
|
|
541
|
-
height: string;
|
|
542
|
-
mediaLoadStatus: EventEmitter<ResponseType>;
|
|
543
|
-
imageViewerException: EventEmitter<ViewerException>;
|
|
544
|
-
errorMessage: string;
|
|
545
|
-
img: ElementRef;
|
|
546
|
-
rotation: number;
|
|
547
|
-
zoom: number;
|
|
548
|
-
private subscriptions;
|
|
549
|
-
private viewerException;
|
|
550
|
-
private response;
|
|
551
|
-
showCommentsPanel: boolean;
|
|
552
|
-
enableGrabNDrag: boolean;
|
|
553
|
-
imageHeight: number;
|
|
554
|
-
imageWidth: number;
|
|
555
|
-
imageLeft: number;
|
|
556
|
-
imageTop: number;
|
|
557
|
-
ngOnInit(): void;
|
|
558
|
-
onImageViewerClick(event: MouseEvent): void;
|
|
559
|
-
ngOnDestroy(): void;
|
|
560
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
561
|
-
private rotateImage;
|
|
562
|
-
private setZoom;
|
|
563
|
-
private stepZoom;
|
|
564
|
-
private download;
|
|
565
|
-
setZoomValue(zoomValue: any): Promise<unknown>;
|
|
566
|
-
calculateZoomValue(zoomValue: any, increment?: number): number;
|
|
567
|
-
onLoadError(url: any): void;
|
|
568
|
-
onLoad(img: any): void;
|
|
569
|
-
initAnnoPage(img: any): void;
|
|
570
|
-
toggleCommentsSummary(): void;
|
|
571
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImageViewerComponent, never>;
|
|
572
|
-
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>;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
declare class UnsupportedViewerComponent implements OnInit, OnDestroy {
|
|
576
|
-
readonly toolbarEvents: ToolbarEventService;
|
|
577
|
-
private readonly viewerUtilService;
|
|
578
|
-
url: string;
|
|
579
|
-
downloadFileName: string;
|
|
580
|
-
typeException: boolean;
|
|
581
|
-
loadStatus: EventEmitter<ResponseType>;
|
|
582
|
-
unsupportedViewerException: EventEmitter<ViewerException>;
|
|
583
|
-
downloadLink: ElementRef;
|
|
584
|
-
private subscriptions;
|
|
585
|
-
private viewerException;
|
|
586
|
-
ngOnInit(): void;
|
|
587
|
-
ngOnDestroy(): void;
|
|
588
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UnsupportedViewerComponent, never>;
|
|
589
|
-
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>;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
declare class MultimediaPlayerComponent implements OnInit, OnChanges, OnDestroy {
|
|
593
|
-
readonly toolbarEvents: ToolbarEventService;
|
|
594
|
-
url: string;
|
|
595
|
-
downloadFileName: string;
|
|
596
|
-
multimediaOn: boolean;
|
|
597
|
-
loadStatus: EventEmitter<ResponseType>;
|
|
598
|
-
downloadLink: ElementRef;
|
|
599
|
-
videoPlayer: ElementRef;
|
|
600
|
-
playbackMsg: string;
|
|
601
|
-
private subscription;
|
|
602
|
-
ngOnInit(): void;
|
|
603
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
604
|
-
ngOnDestroy(): void;
|
|
605
|
-
reloadVideo(): void;
|
|
606
|
-
onSuccess(): void;
|
|
607
|
-
onError(): void;
|
|
608
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultimediaPlayerComponent, never>;
|
|
609
|
-
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>;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
declare class IcpEventService {
|
|
613
|
-
enabled: BehaviorSubject<boolean>;
|
|
614
|
-
sessionLaunch: Subject<void>;
|
|
615
|
-
becomingPresenter: Subject<void>;
|
|
616
|
-
stoppingPresenting: Subject<void>;
|
|
617
|
-
leavingSession: BehaviorSubject<boolean>;
|
|
618
|
-
sessionExitConfirmed: Subject<void>;
|
|
619
|
-
participantsListVisible: BehaviorSubject<boolean>;
|
|
620
|
-
constructor();
|
|
621
|
-
launchSession: () => void;
|
|
622
|
-
enable: () => void;
|
|
623
|
-
becomePresenter: () => void;
|
|
624
|
-
stopPresenting: () => void;
|
|
625
|
-
leaveSession: () => void;
|
|
626
|
-
confirmExit: () => void;
|
|
627
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IcpEventService, never>;
|
|
628
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IcpEventService>;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
declare class MediaViewerComponent implements OnChanges, OnDestroy, AfterContentInit, AfterViewChecked {
|
|
632
|
-
private store;
|
|
633
|
-
readonly toolbarButtons: ToolbarButtonVisibilityService;
|
|
634
|
-
readonly toolbarEvents: ToolbarEventService;
|
|
635
|
-
private readonly api;
|
|
636
|
-
private readonly commentService;
|
|
637
|
-
private elRef;
|
|
638
|
-
private cdr;
|
|
639
|
-
icpEventService: IcpEventService;
|
|
640
|
-
viewerRef: ElementRef;
|
|
641
|
-
url: any;
|
|
642
|
-
downloadFileName: string;
|
|
643
|
-
contentType: string;
|
|
644
|
-
showToolbar: boolean;
|
|
645
|
-
toolbarButtonOverrides: any;
|
|
646
|
-
height: string;
|
|
647
|
-
viewerHeight: string;
|
|
648
|
-
width: string;
|
|
649
|
-
mediaLoadStatus: EventEmitter<ResponseType>;
|
|
650
|
-
viewerException: EventEmitter<ViewerException>;
|
|
651
|
-
toolbarEventsOutput: EventEmitter<ToolbarEventService>;
|
|
652
|
-
unsavedChanges: EventEmitter<boolean>;
|
|
653
|
-
enableAnnotations: boolean;
|
|
654
|
-
annotationApiUrl: any;
|
|
655
|
-
enableRedactions: boolean;
|
|
656
|
-
enableICP: boolean;
|
|
657
|
-
multimediaPlayerEnabled: boolean;
|
|
658
|
-
enableRedactSearch: boolean;
|
|
659
|
-
caseId: string;
|
|
660
|
-
multimediaContent: boolean;
|
|
661
|
-
convertibleContent: boolean;
|
|
662
|
-
unsupportedContent: boolean;
|
|
663
|
-
documentTitle: string;
|
|
664
|
-
showCommentSummary: boolean;
|
|
665
|
-
annotationSet$: Observable<AnnotationSet | {}>;
|
|
666
|
-
hasScrollBar: boolean;
|
|
667
|
-
typeException: boolean;
|
|
668
|
-
hasDifferentPageSize$: Observable<boolean>;
|
|
669
|
-
documentId: string;
|
|
670
|
-
private $subscriptions;
|
|
671
|
-
private prevOffset;
|
|
672
|
-
private currentRegionIndex;
|
|
673
|
-
constructor();
|
|
674
|
-
ngAfterContentInit(): void;
|
|
675
|
-
ngAfterViewChecked(): void;
|
|
676
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
677
|
-
ngOnDestroy(): void;
|
|
678
|
-
needsConverting(): boolean;
|
|
679
|
-
isMultimedia(): boolean;
|
|
680
|
-
isSupported(): boolean;
|
|
681
|
-
onMediaLoad(status: ResponseType): void;
|
|
682
|
-
setToolbarButtons(): void;
|
|
683
|
-
onLoadException(exception: ViewerException): void;
|
|
684
|
-
onCommentChange(changes: boolean): void;
|
|
685
|
-
onDocumentTitleChange(title: string): void;
|
|
686
|
-
private extractDMStoreDocId;
|
|
687
|
-
detectOs(): void;
|
|
688
|
-
skipToSidebar(event: Event): void;
|
|
689
|
-
private openSidebarAndWait;
|
|
690
|
-
skipToViewer(event: Event): void;
|
|
691
|
-
handleF6Forward(event: KeyboardEvent): void;
|
|
692
|
-
handleF6Backward(event: KeyboardEvent): void;
|
|
693
|
-
private cycleRegion;
|
|
694
|
-
private focusRegion;
|
|
695
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MediaViewerComponent, never>;
|
|
696
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MediaViewerComponent, "mv-media-viewer", never, { "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "toolbarButtonOverrides": { "alias": "toolbarButtonOverrides"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "annotationApiUrl": { "alias": "annotationApiUrl"; "required": false; }; "enableRedactions": { "alias": "enableRedactions"; "required": false; }; "enableICP": { "alias": "enableICP"; "required": false; }; "multimediaPlayerEnabled": { "alias": "multimediaPlayerEnabled"; "required": false; }; "enableRedactSearch": { "alias": "enableRedactSearch"; "required": false; }; "caseId": { "alias": "caseId"; "required": false; }; }, { "mediaLoadStatus": "mediaLoadStatus"; "viewerException": "viewerException"; "toolbarEventsOutput": "toolbarEventsOutput"; "unsavedChanges": "unsavedChanges"; }, never, never, false, never>;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
declare class ConvertibleContentViewerComponent implements OnInit, OnDestroy, OnChanges {
|
|
700
|
-
private store;
|
|
701
|
-
originalUrl: any;
|
|
702
|
-
downloadFileName: string;
|
|
703
|
-
height: any;
|
|
704
|
-
enableAnnotations: boolean;
|
|
705
|
-
enableRedactions: boolean;
|
|
706
|
-
annotationSet: AnnotationSet | null;
|
|
707
|
-
mediaLoadStatus: EventEmitter<ResponseType>;
|
|
708
|
-
viewerException: EventEmitter<ViewerException>;
|
|
709
|
-
documentTitle: EventEmitter<string>;
|
|
710
|
-
private $subscription;
|
|
711
|
-
convertedUrl: string;
|
|
712
|
-
ngOnInit(): void;
|
|
713
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
714
|
-
ngOnDestroy(): void;
|
|
715
|
-
onMediaLoad(status: ResponseType): void;
|
|
716
|
-
onLoadException(exception: ViewerException): void;
|
|
717
|
-
onDocumentTitleChange(title: string): void;
|
|
718
|
-
private extractDMStoreDocId;
|
|
719
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConvertibleContentViewerComponent, never>;
|
|
720
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConvertibleContentViewerComponent, "mv-conversion-viewer", never, { "originalUrl": { "alias": "originalUrl"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "height": { "alias": "height"; "required": false; }; "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "enableRedactions": { "alias": "enableRedactions"; "required": false; }; "annotationSet": { "alias": "annotationSet"; "required": false; }; }, { "mediaLoadStatus": "mediaLoadStatus"; "viewerException": "viewerException"; "documentTitle": "documentTitle"; }, never, never, false, never>;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
declare class GrabNDragDirective {
|
|
724
|
-
private el;
|
|
725
|
-
originalPosition: {
|
|
726
|
-
left: number;
|
|
727
|
-
top: number;
|
|
728
|
-
};
|
|
729
|
-
private pointerDown;
|
|
730
|
-
dragEnabled: boolean;
|
|
731
|
-
dragX: Element;
|
|
732
|
-
onPointerDown(event: PointerEvent): void;
|
|
733
|
-
onPointerMove(event: PointerEvent): void;
|
|
734
|
-
onWindowPointerUp(): void;
|
|
735
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GrabNDragDirective, never>;
|
|
736
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GrabNDragDirective, "[mvGrabNDrag]", never, { "dragEnabled": { "alias": "dragEnabled"; "required": false; }; "dragX": { "alias": "dragX"; "required": false; }; }, {}, never, never, false, never>;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
declare class RotationPersistDirective implements OnInit, OnDestroy {
|
|
740
|
-
private el;
|
|
741
|
-
private store;
|
|
742
|
-
readonly toolbarButtons: ToolbarButtonVisibilityService;
|
|
743
|
-
private toolbarEvents;
|
|
744
|
-
documentId: string;
|
|
745
|
-
rotation: number;
|
|
746
|
-
savedRotation: number;
|
|
747
|
-
$subscriptions: Subscription;
|
|
748
|
-
ngOnInit(): void;
|
|
749
|
-
ngOnDestroy(): void;
|
|
750
|
-
onMediaLoad(status: ResponseType): void;
|
|
751
|
-
private onRotate;
|
|
752
|
-
private saveRotation;
|
|
753
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RotationPersistDirective, never>;
|
|
754
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RotationPersistDirective, "[mvRotationPersist]", never, {}, {}, never, never, false, never>;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
interface KeyboardTextHighlightEvent {
|
|
758
|
-
page: number;
|
|
759
|
-
startX: number;
|
|
760
|
-
startY: number;
|
|
761
|
-
endX: number;
|
|
762
|
-
endY: number;
|
|
763
|
-
}
|
|
764
|
-
interface CursorPosition$1 {
|
|
765
|
-
x: number;
|
|
766
|
-
y: number;
|
|
767
|
-
visible: boolean;
|
|
768
|
-
}
|
|
769
|
-
declare class KeyboardTextHighlightDirective implements OnDestroy {
|
|
770
|
-
private elementRef;
|
|
771
|
-
set enabled(value: boolean);
|
|
772
|
-
get enabled(): boolean;
|
|
773
|
-
private _enabled;
|
|
774
|
-
incrementSmall: number;
|
|
775
|
-
incrementMedium: number;
|
|
776
|
-
incrementLarge: number;
|
|
777
|
-
selectionStarted: EventEmitter<void>;
|
|
778
|
-
selectionUpdated: EventEmitter<KeyboardTextHighlightEvent>;
|
|
779
|
-
selectionConfirmed: EventEmitter<void>;
|
|
780
|
-
selectionCancelled: EventEmitter<void>;
|
|
781
|
-
cursorPositionChanged: EventEmitter<CursorPosition$1>;
|
|
782
|
-
selectionCursorPositionChanged: EventEmitter<CursorPosition$1>;
|
|
783
|
-
private isSelecting;
|
|
784
|
-
private cursorX;
|
|
785
|
-
private cursorY;
|
|
786
|
-
private showCursor;
|
|
787
|
-
private selectionStartX;
|
|
788
|
-
private selectionStartY;
|
|
789
|
-
private selectionEndX;
|
|
790
|
-
private selectionEndY;
|
|
791
|
-
private currentPage;
|
|
792
|
-
private lastValidEndNode;
|
|
793
|
-
private lastValidEndOffset;
|
|
794
|
-
private static lastInteractionWasKeyboard;
|
|
795
|
-
constructor();
|
|
796
|
-
private static onGlobalKeyDown;
|
|
797
|
-
private static onGlobalMouseDown;
|
|
798
|
-
ngOnDestroy(): void;
|
|
799
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
800
|
-
onBlur(): void;
|
|
801
|
-
private moveCursor;
|
|
802
|
-
private startTextSelection;
|
|
803
|
-
private expandTextSelection;
|
|
804
|
-
private createTextSelectionAtPoint;
|
|
805
|
-
private updateTextSelection;
|
|
806
|
-
private confirmTextSelection;
|
|
807
|
-
private cancelTextSelection;
|
|
808
|
-
private hideCursor;
|
|
809
|
-
private cleanup;
|
|
810
|
-
private getCurrentPageNumber;
|
|
811
|
-
private emitCursorPosition;
|
|
812
|
-
private emitSelectionUpdated;
|
|
813
|
-
reset(): void;
|
|
814
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KeyboardTextHighlightDirective, never>;
|
|
815
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KeyboardTextHighlightDirective, "[mvKeyboardTextHighlight]", never, { "enabled": { "alias": "enabled"; "required": false; }; "incrementSmall": { "alias": "incrementSmall"; "required": false; }; "incrementMedium": { "alias": "incrementMedium"; "required": false; }; "incrementLarge": { "alias": "incrementLarge"; "required": false; }; }, { "selectionStarted": "selectionStarted"; "selectionUpdated": "selectionUpdated"; "selectionConfirmed": "selectionConfirmed"; "selectionCancelled": "selectionCancelled"; "cursorPositionChanged": "cursorPositionChanged"; "selectionCursorPositionChanged": "selectionCursorPositionChanged"; }, never, never, false, never>;
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
declare class ConfirmActionDialogComponent implements AfterViewInit {
|
|
819
|
-
private icpEventService;
|
|
820
|
-
modalContainer: ElementRef;
|
|
821
|
-
ngAfterViewInit(): void;
|
|
822
|
-
onCancel(): void;
|
|
823
|
-
onConfirm(): void;
|
|
824
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmActionDialogComponent, never>;
|
|
825
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmActionDialogComponent, "mv-confirm-action", never, {}, {}, never, never, false, never>;
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
interface SelectionAnnotation {
|
|
829
|
-
annotationId: string;
|
|
830
|
-
editable: boolean;
|
|
831
|
-
selected: boolean;
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
interface Redaction {
|
|
835
|
-
redactionId?: string;
|
|
836
|
-
documentId?: string;
|
|
837
|
-
page?: number;
|
|
838
|
-
rectangles?: Rectangle[];
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
declare class RedactionComponent implements OnInit, OnDestroy {
|
|
842
|
-
private store;
|
|
843
|
-
private readonly viewerEvents;
|
|
844
|
-
private toolbarEvents;
|
|
845
|
-
zoom: number;
|
|
846
|
-
rotate: number;
|
|
847
|
-
redactionsPerPage$: Observable<any>;
|
|
848
|
-
selectedRedaction$: Observable<SelectionAnnotation | {}>;
|
|
849
|
-
rectangles: Rectangle[];
|
|
850
|
-
drawMode: boolean;
|
|
851
|
-
documentId: string;
|
|
852
|
-
private $subscription;
|
|
853
|
-
ngOnInit(): void;
|
|
854
|
-
ngOnDestroy(): void;
|
|
855
|
-
markTextRedaction(highlight: any): void;
|
|
856
|
-
markBoxRedaction({ rectangles, page }: {
|
|
857
|
-
rectangles: any;
|
|
858
|
-
page: any;
|
|
859
|
-
}): void;
|
|
860
|
-
saveRedaction(page: number, rectangles: Rectangle[]): void;
|
|
861
|
-
onMarkerDelete(event: any): void;
|
|
862
|
-
selectRedaction(event: any): void;
|
|
863
|
-
onMarkerUpdate(redaction: Redaction): void;
|
|
864
|
-
downloadDocument({ blob, filename }: {
|
|
865
|
-
blob: any;
|
|
866
|
-
filename: any;
|
|
867
|
-
}): void;
|
|
868
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RedactionComponent, never>;
|
|
869
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RedactionComponent, "mv-redactions", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; }, {}, never, never, false, never>;
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
interface Bookmark {
|
|
873
|
-
id: string;
|
|
874
|
-
documentId: string;
|
|
875
|
-
name: string;
|
|
876
|
-
pageNumber: number;
|
|
877
|
-
xCoordinate: number;
|
|
878
|
-
yCoordinate: number;
|
|
879
|
-
children: any[];
|
|
880
|
-
previous: string;
|
|
881
|
-
index: number;
|
|
882
|
-
}
|
|
883
|
-
interface BookmarksPerPage {
|
|
884
|
-
bookmark: {
|
|
885
|
-
[id: string]: Bookmark;
|
|
886
|
-
};
|
|
887
|
-
styles: {
|
|
888
|
-
left: number;
|
|
889
|
-
height: number;
|
|
890
|
-
width: number;
|
|
891
|
-
};
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
declare class BookmarkIconsComponent implements OnInit {
|
|
895
|
-
private store;
|
|
896
|
-
zoom: number;
|
|
897
|
-
rotate: number;
|
|
898
|
-
bookmarksPerPage$: Observable<BookmarksPerPage[]>;
|
|
899
|
-
bookmarks: Bookmark[];
|
|
900
|
-
documentId: string;
|
|
901
|
-
ngOnInit(): void;
|
|
902
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkIconsComponent, never>;
|
|
903
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkIconsComponent, "mv-bookmark-icons", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; }, {}, never, never, false, never>;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
interface IcpState {
|
|
907
|
-
session: IcpSession;
|
|
908
|
-
presenter: IcpParticipant;
|
|
909
|
-
client: IcpParticipant;
|
|
910
|
-
participants: IcpParticipant[];
|
|
911
|
-
}
|
|
912
|
-
interface IcpSession {
|
|
913
|
-
sessionId: string;
|
|
914
|
-
documentId: string;
|
|
915
|
-
caseId: string;
|
|
916
|
-
dateOfHearing: Date;
|
|
917
|
-
connectionUrl: string;
|
|
918
|
-
}
|
|
919
|
-
interface IcpParticipant {
|
|
920
|
-
id: string;
|
|
921
|
-
username: string;
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
declare class ParticipantsListComponent implements OnInit, OnDestroy {
|
|
925
|
-
private readonly toolbarEvents;
|
|
926
|
-
private store;
|
|
927
|
-
private readonly icpEventService;
|
|
928
|
-
subscription: Subscription;
|
|
929
|
-
participants$: Observable<IcpParticipant[]>;
|
|
930
|
-
presenter$: Observable<IcpParticipant>;
|
|
931
|
-
isPresenter$: Observable<boolean>;
|
|
932
|
-
showParticipantsList: boolean;
|
|
933
|
-
ngOnInit(): void;
|
|
934
|
-
ngOnDestroy(): void;
|
|
935
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticipantsListComponent, never>;
|
|
936
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ParticipantsListComponent, "mv-participants-list", never, {}, {}, never, never, false, never>;
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
declare class SearchBarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
940
|
-
readonly toolbarButtons: ToolbarButtonVisibilityService;
|
|
941
|
-
readonly toolbarEvents: ToolbarEventService;
|
|
942
|
-
findInput: ElementRef<HTMLInputElement>;
|
|
943
|
-
findNext: ElementRef<HTMLAnchorElement>;
|
|
944
|
-
highlightAll: boolean;
|
|
945
|
-
matchCase: boolean;
|
|
946
|
-
wholeWord: boolean;
|
|
947
|
-
resultsText: string;
|
|
948
|
-
searchText: string;
|
|
949
|
-
resultCount: number;
|
|
950
|
-
private subscriptions;
|
|
951
|
-
advancedSearchVisible: boolean;
|
|
952
|
-
ngOnInit(): void;
|
|
953
|
-
ngAfterViewInit(): void;
|
|
954
|
-
ngOnDestroy(): void;
|
|
955
|
-
onWindowKeyDown(e: KeyboardEvent): void;
|
|
956
|
-
searchNext(): void;
|
|
957
|
-
searchPrev(): void;
|
|
958
|
-
search(): void;
|
|
959
|
-
private setSearchResultsCount;
|
|
960
|
-
onEscapeKeyPress(e: KeyboardEvent): void;
|
|
961
|
-
onEnterKeyPress(e: KeyboardEvent): void;
|
|
962
|
-
toggleAdvancedSearch(): void;
|
|
963
|
-
toggleSearchBar(): void;
|
|
964
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SearchBarComponent, never>;
|
|
965
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "mv-search-bar", never, {}, {}, never, never, false, never>;
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
declare class MainToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
969
|
-
readonly toolbarEvents: ToolbarEventService;
|
|
970
|
-
readonly toolbarButtons: ToolbarButtonVisibilityService;
|
|
971
|
-
private readonly cdr;
|
|
972
|
-
private readonly numberHelper;
|
|
973
|
-
private readonly icpEventService;
|
|
974
|
-
private readonly toolbarFocusService;
|
|
975
|
-
enableAnnotations: boolean;
|
|
976
|
-
enableRedactions: boolean;
|
|
977
|
-
enableICP: boolean;
|
|
978
|
-
contentType: any;
|
|
979
|
-
zoomSelect: ElementRef;
|
|
980
|
-
mvToolbarMain: ElementRef<HTMLElement>;
|
|
981
|
-
mvMenuItems: ElementRef<HTMLElement>;
|
|
982
|
-
private readonly subscriptions;
|
|
983
|
-
icpEnabled: boolean;
|
|
984
|
-
redactionEnabled: boolean;
|
|
985
|
-
showCommentsPanel: boolean;
|
|
986
|
-
redactAllInProgress: boolean;
|
|
987
|
-
pageNumber: number;
|
|
988
|
-
pageCount: number;
|
|
989
|
-
isDropdownMenuOpen: boolean;
|
|
990
|
-
isBookmarksOpen: boolean;
|
|
991
|
-
isIndexOpen: boolean;
|
|
992
|
-
isRedactOpen: boolean;
|
|
993
|
-
isCommentsOpen: boolean;
|
|
994
|
-
isHighlightOpen: boolean;
|
|
995
|
-
dropdownMenuPositions: ConnectionPositionPair[];
|
|
996
|
-
zoomScales: number[];
|
|
997
|
-
allButtonsWidth: number;
|
|
998
|
-
widthRequiredForBtn: {
|
|
999
|
-
[id: string]: number;
|
|
1000
|
-
};
|
|
1001
|
-
ngOnInit(): void;
|
|
1002
|
-
ngOnDestroy(): void;
|
|
1003
|
-
ngAfterViewInit(): void;
|
|
1004
|
-
onResize(): void;
|
|
1005
|
-
onControlPrint(event: KeyboardEvent): void;
|
|
1006
|
-
onEscapeKey(event: KeyboardEvent): void;
|
|
1007
|
-
private closeSearchBarAndFocus;
|
|
1008
|
-
private isEventWithin;
|
|
1009
|
-
onMoreOptionsKeyDown(event: KeyboardEvent): void;
|
|
1010
|
-
onHighlightKeyDown(event: KeyboardEvent): void;
|
|
1011
|
-
onClickHighlightToggle(): void;
|
|
1012
|
-
private openHighlightToolbarAndFocus;
|
|
1013
|
-
private focusHighlightButton;
|
|
1014
|
-
onClickDrawToggle(): void;
|
|
1015
|
-
toggleIndexSideBar(): void;
|
|
1016
|
-
onToolBarOffSetChange(buttonId: string): "button-hidden-on-toolbar" | "button-hidden-on-dropdown";
|
|
1017
|
-
toggleBookmarksSideBar(): void;
|
|
1018
|
-
togglePresentBar(): void;
|
|
1019
|
-
increasePageNumber(): void;
|
|
1020
|
-
decreasePageNumber(): void;
|
|
1021
|
-
onPageNumberInputChange(pageNumber: string): void;
|
|
1022
|
-
private setCurrentPage;
|
|
1023
|
-
rotate(rotation: number): void;
|
|
1024
|
-
printFile(): void;
|
|
1025
|
-
downloadFile(): void;
|
|
1026
|
-
zoom(zoomFactor: string): void;
|
|
1027
|
-
stepZoom(zoomFactor: number): void;
|
|
1028
|
-
toggleCommentsPanel(): void;
|
|
1029
|
-
toggleRedactBar(): void;
|
|
1030
|
-
onRedactKeyDown(event: KeyboardEvent): void;
|
|
1031
|
-
private openRedactToolbarAndFocus;
|
|
1032
|
-
private focusRedactButton;
|
|
1033
|
-
toggleGrabNDrag(): void;
|
|
1034
|
-
isPdf(): boolean;
|
|
1035
|
-
toggleSearchBar(): void;
|
|
1036
|
-
toggleMoreOptions(): void;
|
|
1037
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MainToolbarComponent, never>;
|
|
1038
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MainToolbarComponent, "mv-main-toolbar", never, { "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "enableRedactions": { "alias": "enableRedactions"; "required": false; }; "enableICP": { "alias": "enableICP"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; }, {}, never, never, false, never>;
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
declare class RedactionToolbarComponent implements OnInit, OnDestroy {
|
|
1042
|
-
readonly toolbarEventService: ToolbarEventService;
|
|
1043
|
-
readonly toolbarButtons: ToolbarButtonVisibilityService;
|
|
1044
|
-
private store;
|
|
1045
|
-
private readonly toolbarFocusService;
|
|
1046
|
-
showRedactSearch: boolean;
|
|
1047
|
-
preview: boolean;
|
|
1048
|
-
hasRedactions: boolean;
|
|
1049
|
-
private subscriptions;
|
|
1050
|
-
redactionAllInProgress: boolean;
|
|
1051
|
-
ngOnInit(): void;
|
|
1052
|
-
onRedactAllSearch(): void;
|
|
1053
|
-
toggleTextRedactionMode(): void;
|
|
1054
|
-
toggleDrawMode(): void;
|
|
1055
|
-
togglePreview(): void;
|
|
1056
|
-
unmarkAll(): void;
|
|
1057
|
-
redact(): void;
|
|
1058
|
-
toggleRedactBar(): void;
|
|
1059
|
-
redactPage(): void;
|
|
1060
|
-
onEscapeKey(event: KeyboardEvent): void;
|
|
1061
|
-
onArrowUp(event: KeyboardEvent): void;
|
|
1062
|
-
private returnFocusToMainToolbar;
|
|
1063
|
-
ngOnDestroy(): void;
|
|
1064
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RedactionToolbarComponent, never>;
|
|
1065
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RedactionToolbarComponent, "mv-redaction-toolbar", never, { "showRedactSearch": { "alias": "showRedactSearch"; "required": false; }; }, {}, never, never, false, never>;
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
declare class IcpToolbarComponent implements OnInit, OnDestroy {
|
|
1069
|
-
readonly toolbarEventService: ToolbarEventService;
|
|
1070
|
-
private store;
|
|
1071
|
-
readonly icpEventService: IcpEventService;
|
|
1072
|
-
presenterName: string;
|
|
1073
|
-
isPresenter: boolean;
|
|
1074
|
-
private $subscription;
|
|
1075
|
-
ngOnInit(): void;
|
|
1076
|
-
ngOnDestroy(): void;
|
|
1077
|
-
present(): void;
|
|
1078
|
-
stopPresenting(): void;
|
|
1079
|
-
leaveIcpSession(): void;
|
|
1080
|
-
showParticipantsList(): void;
|
|
1081
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IcpToolbarComponent, never>;
|
|
1082
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IcpToolbarComponent, "mv-icp-toolbar", never, {}, {}, never, never, false, never>;
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
declare class HighlightCreateService {
|
|
1086
|
-
private toolBarEvents;
|
|
1087
|
-
private store;
|
|
1088
|
-
saveAnnotation(rectangles: Rectangle[], page: number, annotationId?: string): void;
|
|
1089
|
-
saveAnnotationSet(searchRectangles: RedactRectangle[]): void;
|
|
1090
|
-
applyRotation(pageHeight: any, pageWidth: any, offsetHeight: any, offsetWidth: any, offsetTop: any, offsetLeft: any, rotate: any, zoom: any): any;
|
|
1091
|
-
resetHighlight(): void;
|
|
1092
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateService, never>;
|
|
1093
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HighlightCreateService>;
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
declare class RedactionSearchBarComponent implements OnInit, OnDestroy {
|
|
1097
|
-
private store;
|
|
1098
|
-
readonly toolbarButtons: ToolbarButtonVisibilityService;
|
|
1099
|
-
readonly toolbarEvents: ToolbarEventService;
|
|
1100
|
-
readonly highlightService: HighlightCreateService;
|
|
1101
|
-
findInput: ElementRef<HTMLInputElement>;
|
|
1102
|
-
highlightAll: boolean;
|
|
1103
|
-
matchCase: boolean;
|
|
1104
|
-
wholeWord: boolean;
|
|
1105
|
-
resultsText: string;
|
|
1106
|
-
searchText: string;
|
|
1107
|
-
resultCount: number;
|
|
1108
|
-
redactElements: RedactRectangle[];
|
|
1109
|
-
pageHeight: number;
|
|
1110
|
-
pageWidth: number;
|
|
1111
|
-
zoom: number;
|
|
1112
|
-
rotate: number;
|
|
1113
|
-
allPages: object;
|
|
1114
|
-
redactAll: boolean;
|
|
1115
|
-
openSearchModal: boolean;
|
|
1116
|
-
redactAllInProgress: boolean;
|
|
1117
|
-
redactAllText?: string;
|
|
1118
|
-
searchType: SearchType;
|
|
1119
|
-
inProgressText: string;
|
|
1120
|
-
titleText: string;
|
|
1121
|
-
private subscription;
|
|
1122
|
-
private documentId;
|
|
1123
|
-
advancedSearchVisible: boolean;
|
|
1124
|
-
ngOnInit(): void;
|
|
1125
|
-
ngOnDestroy(): void;
|
|
1126
|
-
onWindowKeyDown(e: KeyboardEvent): void;
|
|
1127
|
-
search(reset?: boolean): void;
|
|
1128
|
-
modeText(): void;
|
|
1129
|
-
private saveRedaction;
|
|
1130
|
-
private existInRedactElements;
|
|
1131
|
-
onCloseSearchModal(): void;
|
|
1132
|
-
onSearchTextChange(value: string): void;
|
|
1133
|
-
private setSearchResultsCount;
|
|
1134
|
-
private redactAllSearched;
|
|
1135
|
-
private redactAllSearchedTick;
|
|
1136
|
-
private cleanUpPostSave;
|
|
1137
|
-
private CreateRedactAllText;
|
|
1138
|
-
onEscapeKeyPress(e: KeyboardEvent): void;
|
|
1139
|
-
onEnterKeyPress(e: KeyboardEvent): void;
|
|
1140
|
-
toggleSearchBar(): void;
|
|
1141
|
-
private getRectangles;
|
|
1142
|
-
private createTextRectangle;
|
|
1143
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RedactionSearchBarComponent, never>;
|
|
1144
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RedactionSearchBarComponent, "mv-redaction-search-bar", never, {}, {}, never, never, false, never>;
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
declare class HighlightToolbarComponent implements OnInit, OnDestroy {
|
|
1148
|
-
readonly toolbarEventService: ToolbarEventService;
|
|
1149
|
-
readonly toolbarButtons: ToolbarButtonVisibilityService;
|
|
1150
|
-
private readonly toolbarFocusService;
|
|
1151
|
-
private subscriptions;
|
|
1152
|
-
redactionAllInProgress: boolean;
|
|
1153
|
-
ngOnInit(): void;
|
|
1154
|
-
onAllSearch(): void;
|
|
1155
|
-
onHighlight(): void;
|
|
1156
|
-
onClickDrawToggle(): void;
|
|
1157
|
-
onClose(): void;
|
|
1158
|
-
onEscapeKey(event: KeyboardEvent): void;
|
|
1159
|
-
onArrowUp(event: KeyboardEvent): void;
|
|
1160
|
-
private closeAndReturnFocus;
|
|
1161
|
-
private returnFocusToMainToolbar;
|
|
1162
|
-
ngOnDestroy(): void;
|
|
1163
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightToolbarComponent, never>;
|
|
1164
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HighlightToolbarComponent, "mv-highlight-toolbar", never, {}, {}, never, never, false, never>;
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
|
-
declare class TooltipDismissDirective {
|
|
1168
|
-
private el;
|
|
1169
|
-
onEscapeDismissTooltip(): void;
|
|
1170
|
-
onShowTooltip(): void;
|
|
1171
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDismissDirective, never>;
|
|
1172
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDismissDirective, ".mv-tooltip, [mvTooltipDismiss]", never, {}, {}, never, never, false, never>;
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
declare class GovUkDateComponent {
|
|
1176
|
-
config: {
|
|
1177
|
-
id: string;
|
|
1178
|
-
legend: string;
|
|
1179
|
-
};
|
|
1180
|
-
errorMessage: {
|
|
1181
|
-
isInvalid: boolean;
|
|
1182
|
-
messages: string[];
|
|
1183
|
-
};
|
|
1184
|
-
formGroup: any;
|
|
1185
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GovUkDateComponent, never>;
|
|
1186
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GovUkDateComponent, "mv-gov-uk-date", never, { "config": { "alias": "config"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, false, never>;
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
declare class GovUkErrorMessageComponent {
|
|
1190
|
-
constructor();
|
|
1191
|
-
config: {
|
|
1192
|
-
id: string;
|
|
1193
|
-
};
|
|
1194
|
-
errorMessage: any;
|
|
1195
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GovUkErrorMessageComponent, never>;
|
|
1196
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GovUkErrorMessageComponent, " mv-gov-uk-error-message", never, { "config": { "alias": "config"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; }, {}, never, never, false, never>;
|
|
1197
|
-
}
|
|
1198
|
-
|
|
1199
|
-
declare class GovUkFieldsetComponent {
|
|
1200
|
-
config: {
|
|
1201
|
-
legend: string;
|
|
1202
|
-
classes: string;
|
|
1203
|
-
id: string;
|
|
1204
|
-
hint: string;
|
|
1205
|
-
key: string;
|
|
1206
|
-
};
|
|
1207
|
-
isHeading: boolean;
|
|
1208
|
-
errorMessage: string[];
|
|
1209
|
-
setDescribedBy(): string;
|
|
1210
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GovUkFieldsetComponent, never>;
|
|
1211
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GovUkFieldsetComponent, "mv-gov-uk-fieldset", never, { "config": { "alias": "config"; "required": false; }; "isHeading": { "alias": "isHeading"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
declare class GovUkLabelComponent {
|
|
1215
|
-
constructor();
|
|
1216
|
-
config: {
|
|
1217
|
-
label: string;
|
|
1218
|
-
name: string;
|
|
1219
|
-
id: string;
|
|
1220
|
-
isPageHeading: any;
|
|
1221
|
-
classes: string;
|
|
1222
|
-
};
|
|
1223
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GovUkLabelComponent, never>;
|
|
1224
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GovUkLabelComponent, "mv-gov-label", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
type KeyboardNavOrientation = 'horizontal' | 'vertical';
|
|
1228
|
-
declare class KeyboardNavDirective implements OnInit, OnDestroy {
|
|
1229
|
-
private elementRef;
|
|
1230
|
-
orientation: KeyboardNavOrientation;
|
|
1231
|
-
itemFocused: EventEmitter<HTMLElement>;
|
|
1232
|
-
itemActivated: EventEmitter<HTMLElement>;
|
|
1233
|
-
private focusableItems;
|
|
1234
|
-
private currentFocusIndex;
|
|
1235
|
-
private mutationObserver;
|
|
1236
|
-
private isUsingArrowKeys;
|
|
1237
|
-
ngOnInit(): void;
|
|
1238
|
-
ngOnDestroy(): void;
|
|
1239
|
-
private setupMutationObserver;
|
|
1240
|
-
private updateFocusableItems;
|
|
1241
|
-
private isVisible;
|
|
1242
|
-
private applyArrowKeyTabindex;
|
|
1243
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
1244
|
-
private focusNext;
|
|
1245
|
-
private focusPrevious;
|
|
1246
|
-
private focusFirst;
|
|
1247
|
-
private focusLast;
|
|
1248
|
-
private focusItemAtIndex;
|
|
1249
|
-
private activateItem;
|
|
1250
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KeyboardNavDirective, never>;
|
|
1251
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KeyboardNavDirective, "[mvKeyboardNav]", never, { "orientation": { "alias": "mvKeyboardNav"; "required": false; }; }, { "itemFocused": "itemFocused"; "itemActivated": "itemActivated"; }, never, never, false, never>;
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
declare class SharedModule {
|
|
1255
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
1256
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof GovUkDateComponent, typeof GovUkErrorMessageComponent, typeof GovUkFieldsetComponent, typeof GovUkLabelComponent, typeof KeyboardNavDirective], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i6.CommonModule, typeof i8.RouterModule], [typeof GovUkDateComponent, typeof GovUkErrorMessageComponent, typeof GovUkFieldsetComponent, typeof GovUkLabelComponent, typeof KeyboardNavDirective]>;
|
|
1257
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
declare class ToolbarModule {
|
|
1261
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>;
|
|
1262
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof SearchBarComponent, typeof MainToolbarComponent, typeof RedactionToolbarComponent, typeof IcpToolbarComponent, typeof RedactionSearchBarComponent, typeof HighlightToolbarComponent, typeof TooltipDismissDirective], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i10.OverlayModule, typeof i8.RouterModule, typeof i12.RpxTranslationModule, typeof SharedModule], [typeof MainToolbarComponent, typeof SearchBarComponent, typeof RedactionToolbarComponent, typeof IcpToolbarComponent, typeof RedactionSearchBarComponent, typeof HighlightToolbarComponent]>;
|
|
1263
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
interface Highlight {
|
|
1267
|
-
page: number;
|
|
1268
|
-
rectangles: Rectangle[];
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
declare class CtxToolbarComponent implements OnChanges {
|
|
1272
|
-
readonly defaultHeight: any;
|
|
1273
|
-
readonly defaultWidth: any;
|
|
1274
|
-
toolbarContainer: ElementRef<HTMLDivElement>;
|
|
1275
|
-
zoom: any;
|
|
1276
|
-
rotate: any;
|
|
1277
|
-
pageHeight: number;
|
|
1278
|
-
pageWidth: number;
|
|
1279
|
-
canHighlight: boolean;
|
|
1280
|
-
canBookmark: boolean;
|
|
1281
|
-
canComment: boolean;
|
|
1282
|
-
canDelete: boolean;
|
|
1283
|
-
createHighlightEvent: EventEmitter<any>;
|
|
1284
|
-
deleteHighlightEvent: EventEmitter<any>;
|
|
1285
|
-
addOrEditCommentEvent: EventEmitter<any>;
|
|
1286
|
-
createBookmarkEvent: EventEmitter<Rectangle>;
|
|
1287
|
-
cancelEvent: EventEmitter<any>;
|
|
1288
|
-
rectangle: Rectangle;
|
|
1289
|
-
_rectangles: Rectangle[];
|
|
1290
|
-
top: number;
|
|
1291
|
-
left: number;
|
|
1292
|
-
constructor();
|
|
1293
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
1294
|
-
onEscapeKey(event: KeyboardEvent): void;
|
|
1295
|
-
set rectangles(rectangles: Rectangle[]);
|
|
1296
|
-
get rectangles(): Rectangle[];
|
|
1297
|
-
createHighlight(): void;
|
|
1298
|
-
deleteHighlight(): void;
|
|
1299
|
-
addOrEditComment(): void;
|
|
1300
|
-
createBookmark(): void;
|
|
1301
|
-
setRectangle(): void;
|
|
1302
|
-
popupTop(): any;
|
|
1303
|
-
popupLeft(): number;
|
|
1304
|
-
focusToolbar(): void;
|
|
1305
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CtxToolbarComponent, never>;
|
|
1306
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CtxToolbarComponent, "mv-ctx-toolbar", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; "canHighlight": { "alias": "canHighlight"; "required": false; }; "canBookmark": { "alias": "canBookmark"; "required": false; }; "canComment": { "alias": "canComment"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "rectangles": { "alias": "rectangles"; "required": false; }; }, { "createHighlightEvent": "createHighlightEvent"; "deleteHighlightEvent": "deleteHighlightEvent"; "addOrEditCommentEvent": "addOrEditCommentEvent"; "createBookmarkEvent": "createBookmarkEvent"; "cancelEvent": "cancelEvent"; }, never, never, false, never>;
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
|
-
declare class MetadataLayerComponent implements OnInit, OnDestroy {
|
|
1310
|
-
private store;
|
|
1311
|
-
private readonly highlightService;
|
|
1312
|
-
private readonly toolbarEvents;
|
|
1313
|
-
private readonly viewerEvents;
|
|
1314
|
-
zoom: number;
|
|
1315
|
-
rotate: number;
|
|
1316
|
-
ctxToolbar: CtxToolbarComponent;
|
|
1317
|
-
pages: any[];
|
|
1318
|
-
annoPages$: Observable<any>;
|
|
1319
|
-
drawMode: boolean;
|
|
1320
|
-
highlightPage: number;
|
|
1321
|
-
rectangles: Rectangle[];
|
|
1322
|
-
private $subscriptions;
|
|
1323
|
-
ngOnInit(): void;
|
|
1324
|
-
ngOnDestroy(): void;
|
|
1325
|
-
showContextToolbar(highlight: Highlight): void;
|
|
1326
|
-
clearContextToolbar(): void;
|
|
1327
|
-
cancelContextToolbar(): void;
|
|
1328
|
-
createHighlight(): void;
|
|
1329
|
-
createBookmark(rectangle: Rectangle): void;
|
|
1330
|
-
saveAnnotation({ rectangles, page, annotationId }: {
|
|
1331
|
-
rectangles: Rectangle[];
|
|
1332
|
-
page: any;
|
|
1333
|
-
annotationId?: string;
|
|
1334
|
-
}): void;
|
|
1335
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetadataLayerComponent, never>;
|
|
1336
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MetadataLayerComponent, "mv-metadata-layer", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; }, {}, never, never, false, never>;
|
|
1337
|
-
}
|
|
1338
|
-
|
|
1339
|
-
declare class AnnotationViewComponent implements OnDestroy {
|
|
1340
|
-
private readonly toolbarEvents;
|
|
1341
|
-
private store;
|
|
1342
|
-
set annotation(value: any);
|
|
1343
|
-
anno: Annotation;
|
|
1344
|
-
selected: boolean;
|
|
1345
|
-
isKeyboardMoving: boolean;
|
|
1346
|
-
showToolbar: boolean;
|
|
1347
|
-
private showToolbarSubject;
|
|
1348
|
-
zoom: number;
|
|
1349
|
-
rotate: number;
|
|
1350
|
-
set selectedAnnoId(selectedId: {
|
|
1351
|
-
annotationId: string;
|
|
1352
|
-
});
|
|
1353
|
-
pageHeight: number;
|
|
1354
|
-
pageWidth: number;
|
|
1355
|
-
update: EventEmitter<Annotation>;
|
|
1356
|
-
delete: EventEmitter<Annotation>;
|
|
1357
|
-
annotationClick: EventEmitter<SelectionAnnotation>;
|
|
1358
|
-
container: ElementRef;
|
|
1359
|
-
ctxToolbar: ElementRef<HTMLElement>;
|
|
1360
|
-
private lastFocusedRectangle;
|
|
1361
|
-
private nextTabTarget;
|
|
1362
|
-
constructor();
|
|
1363
|
-
ngOnDestroy(): void;
|
|
1364
|
-
private setShowToolbar;
|
|
1365
|
-
onSelect(): void;
|
|
1366
|
-
onRectangleUpdate(rectangle: Rectangle): void;
|
|
1367
|
-
deleteHighlight(): void;
|
|
1368
|
-
addOrEditComment(): void;
|
|
1369
|
-
onKeyboardMovingChange(isMoving: boolean): void;
|
|
1370
|
-
onTabToToolbar(event: KeyboardEvent): void;
|
|
1371
|
-
onToolbarKeydown(event: KeyboardEvent): void;
|
|
1372
|
-
private getNextTabTarget;
|
|
1373
|
-
private compareDocumentPosition;
|
|
1374
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationViewComponent, never>;
|
|
1375
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnotationViewComponent, "mv-annotation", never, { "annotation": { "alias": "annotation"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "selectedAnnoId": { "alias": "selectedAnnoId"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; }, { "update": "update"; "delete": "delete"; "annotationClick": "annotationClick"; }, never, never, false, never>;
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
interface KeyboardBoxDrawEvent {
|
|
1379
|
-
startX: number;
|
|
1380
|
-
startY: number;
|
|
1381
|
-
width: number;
|
|
1382
|
-
height: number;
|
|
1383
|
-
}
|
|
1384
|
-
interface CursorPosition {
|
|
1385
|
-
x: number;
|
|
1386
|
-
y: number;
|
|
1387
|
-
visible: boolean;
|
|
1388
|
-
}
|
|
1389
|
-
declare class KeyboardBoxDrawDirective implements OnDestroy {
|
|
1390
|
-
private elementRef;
|
|
1391
|
-
set enabled(value: boolean);
|
|
1392
|
-
get enabled(): boolean;
|
|
1393
|
-
private _enabled;
|
|
1394
|
-
minBoxSize: number;
|
|
1395
|
-
incrementSmall: number;
|
|
1396
|
-
incrementMedium: number;
|
|
1397
|
-
incrementLarge: number;
|
|
1398
|
-
drawingStarted: EventEmitter<KeyboardBoxDrawEvent>;
|
|
1399
|
-
drawingUpdated: EventEmitter<KeyboardBoxDrawEvent>;
|
|
1400
|
-
drawingConfirmed: EventEmitter<KeyboardBoxDrawEvent>;
|
|
1401
|
-
drawingCancelled: EventEmitter<void>;
|
|
1402
|
-
cursorPositionChanged: EventEmitter<CursorPosition>;
|
|
1403
|
-
private isDrawing;
|
|
1404
|
-
private cursorX;
|
|
1405
|
-
private cursorY;
|
|
1406
|
-
private showCursor;
|
|
1407
|
-
private drawStartX;
|
|
1408
|
-
private drawStartY;
|
|
1409
|
-
private currentWidth;
|
|
1410
|
-
private currentHeight;
|
|
1411
|
-
private static lastInteractionWasKeyboard;
|
|
1412
|
-
constructor();
|
|
1413
|
-
private static onGlobalKeyDown;
|
|
1414
|
-
private static onGlobalMouseDown;
|
|
1415
|
-
ngOnDestroy(): void;
|
|
1416
|
-
private initializeCursorForKeyboard;
|
|
1417
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
1418
|
-
onBlur(): void;
|
|
1419
|
-
onFocus(): void;
|
|
1420
|
-
private moveCursor;
|
|
1421
|
-
private startDrawing;
|
|
1422
|
-
private resizeBox;
|
|
1423
|
-
private confirmDrawing;
|
|
1424
|
-
private cancelDrawing;
|
|
1425
|
-
private hideCursor;
|
|
1426
|
-
private cleanup;
|
|
1427
|
-
private emitCursorPosition;
|
|
1428
|
-
private emitDrawingStarted;
|
|
1429
|
-
private emitDrawingUpdated;
|
|
1430
|
-
private emitDrawingConfirmed;
|
|
1431
|
-
reset(): void;
|
|
1432
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KeyboardBoxDrawDirective, never>;
|
|
1433
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KeyboardBoxDrawDirective, "[mvKeyboardBoxDraw]", never, { "enabled": { "alias": "enabled"; "required": false; }; "minBoxSize": { "alias": "minBoxSize"; "required": false; }; "incrementSmall": { "alias": "incrementSmall"; "required": false; }; "incrementMedium": { "alias": "incrementMedium"; "required": false; }; "incrementLarge": { "alias": "incrementLarge"; "required": false; }; }, { "drawingStarted": "drawingStarted"; "drawingUpdated": "drawingUpdated"; "drawingConfirmed": "drawingConfirmed"; "drawingCancelled": "drawingCancelled"; "cursorPositionChanged": "cursorPositionChanged"; }, never, never, false, never>;
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
declare class BoxHighlightCreateComponent implements OnInit, OnDestroy {
|
|
1437
|
-
private readonly toolbarEvents;
|
|
1438
|
-
private readonly highlightService;
|
|
1439
|
-
page: number;
|
|
1440
|
-
pageHeight: number;
|
|
1441
|
-
pageWidth: number;
|
|
1442
|
-
rotate: number;
|
|
1443
|
-
zoom: number;
|
|
1444
|
-
container: {
|
|
1445
|
-
top: number;
|
|
1446
|
-
left: number;
|
|
1447
|
-
};
|
|
1448
|
-
saveSelection: EventEmitter<{
|
|
1449
|
-
rectangles: Rectangle[];
|
|
1450
|
-
page: number;
|
|
1451
|
-
annotationId?: string;
|
|
1452
|
-
}>;
|
|
1453
|
-
highlight: ElementRef;
|
|
1454
|
-
drawingContainer: ElementRef;
|
|
1455
|
-
drawStartX: number;
|
|
1456
|
-
drawStartY: number;
|
|
1457
|
-
top: number;
|
|
1458
|
-
left: number;
|
|
1459
|
-
height: number;
|
|
1460
|
-
width: number;
|
|
1461
|
-
display: string;
|
|
1462
|
-
position: string;
|
|
1463
|
-
backgroundColor: string;
|
|
1464
|
-
drawMode: boolean;
|
|
1465
|
-
defaultHeight: string;
|
|
1466
|
-
defaultWidth: string;
|
|
1467
|
-
wholePage: boolean;
|
|
1468
|
-
isCurrentPage: boolean;
|
|
1469
|
-
keyboardDrawingMode: boolean;
|
|
1470
|
-
cursorX: number;
|
|
1471
|
-
cursorY: number;
|
|
1472
|
-
showCursor: boolean;
|
|
1473
|
-
private subscriptions;
|
|
1474
|
-
ngOnInit(): void;
|
|
1475
|
-
ngOnDestroy(): void;
|
|
1476
|
-
private isElementInViewport;
|
|
1477
|
-
private focusDrawingContainer;
|
|
1478
|
-
initHighlight(event: MouseEvent): void;
|
|
1479
|
-
updateHighlight(event: MouseEvent): void;
|
|
1480
|
-
createHighlight(): void;
|
|
1481
|
-
onCursorPositionChanged(position: CursorPosition): void;
|
|
1482
|
-
onDrawingStarted(event: KeyboardBoxDrawEvent): void;
|
|
1483
|
-
onDrawingUpdated(event: KeyboardBoxDrawEvent): void;
|
|
1484
|
-
onDrawingConfirmed(event: KeyboardBoxDrawEvent): void;
|
|
1485
|
-
onDrawingCancelled(): void;
|
|
1486
|
-
private adjustForRotation;
|
|
1487
|
-
private resetHighlight;
|
|
1488
|
-
private highlightPage;
|
|
1489
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BoxHighlightCreateComponent, never>;
|
|
1490
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BoxHighlightCreateComponent, "mv-box-highlight-create", never, { "page": { "alias": "page"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "container": { "alias": "container"; "required": false; }; }, { "saveSelection": "saveSelection"; }, never, never, false, never>;
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
declare class AnnotationSetComponent implements OnInit {
|
|
1494
|
-
private store;
|
|
1495
|
-
private readonly commentService;
|
|
1496
|
-
page: number;
|
|
1497
|
-
annotations: Annotation[];
|
|
1498
|
-
zoom: number;
|
|
1499
|
-
rotate: number;
|
|
1500
|
-
pageHeight: number;
|
|
1501
|
-
pageWidth: number;
|
|
1502
|
-
selectedAnnotation$: Observable<SelectionAnnotation>;
|
|
1503
|
-
ngOnInit(): void;
|
|
1504
|
-
onAnnotationUpdate(annotation: Annotation): void;
|
|
1505
|
-
onAnnotationDelete(annotation: Annotation): void;
|
|
1506
|
-
selectAnnotation(selectedAnnotation: SelectionAnnotation): void;
|
|
1507
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationSetComponent, never>;
|
|
1508
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnotationSetComponent, "mv-annotation-set", never, { "page": { "alias": "page"; "required": false; }; "annotations": { "alias": "annotations"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; }, {}, never, never, false, never>;
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
|
-
interface BoxMovementBounds {
|
|
1512
|
-
containerWidth: number;
|
|
1513
|
-
containerHeight: number;
|
|
1514
|
-
}
|
|
1515
|
-
declare class KeyboardBoxMoveDirective implements OnDestroy {
|
|
1516
|
-
private elementRef;
|
|
1517
|
-
enabled: boolean;
|
|
1518
|
-
incrementSmall: number;
|
|
1519
|
-
incrementLarge: number;
|
|
1520
|
-
movementBounds: BoxMovementBounds;
|
|
1521
|
-
keyboardMovingChange: EventEmitter<boolean>;
|
|
1522
|
-
boxDelete: EventEmitter<void>;
|
|
1523
|
-
private moveSubject;
|
|
1524
|
-
private moveSubscription;
|
|
1525
|
-
private isMoving;
|
|
1526
|
-
constructor();
|
|
1527
|
-
ngOnDestroy(): void;
|
|
1528
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
1529
|
-
private moveBox;
|
|
1530
|
-
private setMoving;
|
|
1531
|
-
private emitStoppedEvent;
|
|
1532
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KeyboardBoxMoveDirective, never>;
|
|
1533
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KeyboardBoxMoveDirective, "[mvKeyboardBoxMove]", never, { "enabled": { "alias": "enabled"; "required": false; }; "incrementSmall": { "alias": "incrementSmall"; "required": false; }; "incrementLarge": { "alias": "incrementLarge"; "required": false; }; "movementBounds": { "alias": "movementBounds"; "required": false; }; }, { "keyboardMovingChange": "keyboardMovingChange"; "boxDelete": "boxDelete"; }, never, never, false, never>;
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1536
|
-
declare class RectangleComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
1537
|
-
private readonly toolbarEvents;
|
|
1538
|
-
private readonly highlightService;
|
|
1539
|
-
color: String;
|
|
1540
|
-
zoom: number;
|
|
1541
|
-
rotate: number;
|
|
1542
|
-
editable: boolean;
|
|
1543
|
-
pageHeight: number;
|
|
1544
|
-
pageWidth: number;
|
|
1545
|
-
rectangleTabIndex: number;
|
|
1546
|
-
selectEvent: EventEmitter<Rectangle>;
|
|
1547
|
-
updateEvent: EventEmitter<Rectangle>;
|
|
1548
|
-
deleteEvent: EventEmitter<Rectangle>;
|
|
1549
|
-
keyboardMovingChange: EventEmitter<boolean>;
|
|
1550
|
-
tabToToolbar: EventEmitter<KeyboardEvent>;
|
|
1551
|
-
viewRect: ElementRef;
|
|
1552
|
-
private subscriptions;
|
|
1553
|
-
_selected: boolean;
|
|
1554
|
-
enableGrabNDrag: boolean;
|
|
1555
|
-
height: number;
|
|
1556
|
-
width: number;
|
|
1557
|
-
top: number;
|
|
1558
|
-
left: number;
|
|
1559
|
-
movementBounds: BoxMovementBounds;
|
|
1560
|
-
_annoRect: Rectangle;
|
|
1561
|
-
set annoRect(annoRect: Rectangle);
|
|
1562
|
-
get annoRect(): Rectangle;
|
|
1563
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
1564
|
-
ngAfterViewInit(): void;
|
|
1565
|
-
ngOnDestroy(): void;
|
|
1566
|
-
set selected(selected: boolean);
|
|
1567
|
-
get selected(): boolean;
|
|
1568
|
-
onClick(): void;
|
|
1569
|
-
onFocus(): void;
|
|
1570
|
-
onUpdate(viewRect: any): void;
|
|
1571
|
-
adjustForRotation(rotation: number): void;
|
|
1572
|
-
hasRectangleChanged(viewRect: any): boolean;
|
|
1573
|
-
private updateMovementBounds;
|
|
1574
|
-
onKeyboardMovingChange(isMoving: boolean): void;
|
|
1575
|
-
onDelete(): void;
|
|
1576
|
-
onTab(event: KeyboardEvent): void;
|
|
1577
|
-
private focusWithoutScrolling;
|
|
1578
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RectangleComponent, never>;
|
|
1579
|
-
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>;
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
declare class CommentComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
1583
|
-
private store;
|
|
1584
|
-
private readonly commentService;
|
|
1585
|
-
private tagsServices;
|
|
1586
|
-
CHAR_LIMIT: number;
|
|
1587
|
-
lastUpdate: string;
|
|
1588
|
-
originalComment: string;
|
|
1589
|
-
fullComment: string;
|
|
1590
|
-
author: User;
|
|
1591
|
-
createdBy: string;
|
|
1592
|
-
editor: User;
|
|
1593
|
-
_comment: Comment;
|
|
1594
|
-
_editable: boolean;
|
|
1595
|
-
_rectangle: any;
|
|
1596
|
-
totalPrevPagesHeight: number;
|
|
1597
|
-
rectTop: any;
|
|
1598
|
-
rectLeft: any;
|
|
1599
|
-
pageHeight: number;
|
|
1600
|
-
hasUnsavedChanges: boolean;
|
|
1601
|
-
selected: boolean;
|
|
1602
|
-
searchString: string;
|
|
1603
|
-
tagItems: TagsModel[];
|
|
1604
|
-
marginToComment$: Observable<boolean>;
|
|
1605
|
-
commentClick: EventEmitter<SelectionAnnotation>;
|
|
1606
|
-
renderComments: EventEmitter<Comment>;
|
|
1607
|
-
delete: EventEmitter<Comment>;
|
|
1608
|
-
updated: EventEmitter<{
|
|
1609
|
-
comment: Comment;
|
|
1610
|
-
tags: TagsModel[];
|
|
1611
|
-
}>;
|
|
1612
|
-
changes: EventEmitter<boolean>;
|
|
1613
|
-
rotate: number;
|
|
1614
|
-
zoom: number;
|
|
1615
|
-
index: number;
|
|
1616
|
-
page: number;
|
|
1617
|
-
form: ElementRef;
|
|
1618
|
-
editableComment: ElementRef<HTMLElement>;
|
|
1619
|
-
private subscriptions;
|
|
1620
|
-
ngOnInit(): void;
|
|
1621
|
-
ngAfterContentInit(): void;
|
|
1622
|
-
ngOnDestroy(): void;
|
|
1623
|
-
set comment(comment: Comment);
|
|
1624
|
-
get comment(): Comment;
|
|
1625
|
-
set annotation(annotation: Annotation);
|
|
1626
|
-
get editable(): boolean;
|
|
1627
|
-
onCommentChange(updatedComment: any): void;
|
|
1628
|
-
deleteOrCancel(): void;
|
|
1629
|
-
editOrSave(): void;
|
|
1630
|
-
onCommentClick(): void;
|
|
1631
|
-
reRenderComments(): void;
|
|
1632
|
-
get commentTop(): number;
|
|
1633
|
-
get height(): number;
|
|
1634
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommentComponent, never>;
|
|
1635
|
-
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>;
|
|
1636
|
-
}
|
|
1637
|
-
|
|
1638
|
-
declare class CommentSetHeaderComponent implements OnInit, OnDestroy {
|
|
1639
|
-
private store;
|
|
1640
|
-
private commentService;
|
|
1641
|
-
toolbarEvents: ToolbarEventService;
|
|
1642
|
-
readonly icpEventService: IcpEventService;
|
|
1643
|
-
showCommentSummary: boolean;
|
|
1644
|
-
isHidden: boolean;
|
|
1645
|
-
readonly showCommentSummaryDialog: EventEmitter<any>;
|
|
1646
|
-
marginToComment: boolean;
|
|
1647
|
-
tabs: {
|
|
1648
|
-
isFiltered?: boolean;
|
|
1649
|
-
label: string;
|
|
1650
|
-
}[];
|
|
1651
|
-
tabSelected: string;
|
|
1652
|
-
isFiltered: boolean;
|
|
1653
|
-
navigationList: Annotation[];
|
|
1654
|
-
$subscriptions: Subscription;
|
|
1655
|
-
ngOnInit(): void;
|
|
1656
|
-
toggleCommentsSummary(): void;
|
|
1657
|
-
selectTab(tab: string): void;
|
|
1658
|
-
toggleCommentsPanel(): void;
|
|
1659
|
-
ngOnDestroy(): void;
|
|
1660
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommentSetHeaderComponent, never>;
|
|
1661
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommentSetHeaderComponent, "mv-comment-set-header", never, { "showCommentSummary": { "alias": "showCommentSummary"; "required": false; }; "isHidden": { "alias": "isHidden"; "required": false; }; }, { "showCommentSummaryDialog": "showCommentSummaryDialog"; }, never, never, false, never>;
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1664
|
-
declare class CommentSearchComponent implements AfterViewInit, OnDestroy {
|
|
1665
|
-
private store;
|
|
1666
|
-
annotations: Annotation[];
|
|
1667
|
-
searchInput: ElementRef<HTMLInputElement>;
|
|
1668
|
-
searchString: string;
|
|
1669
|
-
searchResults: Annotation[];
|
|
1670
|
-
searchIndex: number;
|
|
1671
|
-
ngAfterViewInit(): void;
|
|
1672
|
-
ngOnDestroy(): void;
|
|
1673
|
-
searchComments(searchText: string): void;
|
|
1674
|
-
clearSearch(): void;
|
|
1675
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommentSearchComponent, never>;
|
|
1676
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommentSearchComponent, "mv-comment-search", never, { "annotations": { "alias": "annotations"; "required": false; }; }, {}, never, never, false, never>;
|
|
1677
|
-
}
|
|
1678
|
-
|
|
1679
|
-
declare class TextHighlightDirective implements AfterViewChecked {
|
|
1680
|
-
private element;
|
|
1681
|
-
textToHighlight: string;
|
|
1682
|
-
ngAfterViewChecked(): void;
|
|
1683
|
-
highlightInputText(textToHighlight: string): void;
|
|
1684
|
-
resetHighlight(): void;
|
|
1685
|
-
private highlightTextNodes;
|
|
1686
|
-
private highlightTextNode;
|
|
1687
|
-
private escapeRegExp;
|
|
1688
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextHighlightDirective, never>;
|
|
1689
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextHighlightDirective, "[mvTextHighlight]", never, { "textToHighlight": { "alias": "textToHighlight"; "required": false; }; }, {}, never, never, false, never>;
|
|
1690
|
-
}
|
|
1691
|
-
|
|
1692
|
-
declare class CommentSetComponent implements OnInit, OnDestroy, OnChanges {
|
|
1693
|
-
private store;
|
|
1694
|
-
private readonly commentService;
|
|
1695
|
-
private readonly renderService;
|
|
1696
|
-
private readonly toolbarEvents;
|
|
1697
|
-
annotationSet: AnnotationSet;
|
|
1698
|
-
zoom: number;
|
|
1699
|
-
rotate: number;
|
|
1700
|
-
height: number;
|
|
1701
|
-
pageHeights: any[];
|
|
1702
|
-
contentScrollTop: number;
|
|
1703
|
-
comments: Comment[];
|
|
1704
|
-
tags: TagsModel[];
|
|
1705
|
-
private subscriptions;
|
|
1706
|
-
comments$: Observable<Annotation[]>;
|
|
1707
|
-
annoEntities$: Observable<{
|
|
1708
|
-
[id: string]: Annotation;
|
|
1709
|
-
}>;
|
|
1710
|
-
container: ElementRef<HTMLDivElement>;
|
|
1711
|
-
panel: ElementRef<HTMLDivElement>;
|
|
1712
|
-
commentComponents: QueryList<CommentComponent>;
|
|
1713
|
-
showCommentsPanel: boolean;
|
|
1714
|
-
constructor();
|
|
1715
|
-
ngOnInit(): void;
|
|
1716
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
1717
|
-
ngOnDestroy(): void;
|
|
1718
|
-
onSelect(annotationId: SelectionAnnotation): void;
|
|
1719
|
-
onCommentDelete(comment: Comment): void;
|
|
1720
|
-
redrawComments(): void;
|
|
1721
|
-
private rotateDocument;
|
|
1722
|
-
onCommentUpdate(payload: {
|
|
1723
|
-
comment: Comment;
|
|
1724
|
-
tags: TagsModel[];
|
|
1725
|
-
}): void;
|
|
1726
|
-
onAnnotationUpdate(annotation: Annotation): void;
|
|
1727
|
-
onContainerClick(e: any): void;
|
|
1728
|
-
clearSelection(): void;
|
|
1729
|
-
allCommentsSaved(): void;
|
|
1730
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommentSetComponent, never>;
|
|
1731
|
-
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>;
|
|
1732
|
-
}
|
|
1733
|
-
|
|
1734
|
-
declare class CommentsNavigateComponent implements OnChanges {
|
|
1735
|
-
private store;
|
|
1736
|
-
readonly toolbarEvents: ToolbarEventService;
|
|
1737
|
-
annotationList: Annotation[];
|
|
1738
|
-
autoSelect: boolean;
|
|
1739
|
-
navigationList: any[];
|
|
1740
|
-
index: number;
|
|
1741
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
1742
|
-
initNavigationList(): void;
|
|
1743
|
-
sortComments(mappedCommentA: any, mappedCommentB: any): number;
|
|
1744
|
-
nextItem(): void;
|
|
1745
|
-
prevItem(): void;
|
|
1746
|
-
upperRectangle(rectangles: Rectangle[]): {
|
|
1747
|
-
x: number;
|
|
1748
|
-
y: number;
|
|
1749
|
-
};
|
|
1750
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommentsNavigateComponent, never>;
|
|
1751
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommentsNavigateComponent, "mv-comments-navigate", never, { "annotationList": { "alias": "annotationList"; "required": false; }; "autoSelect": { "alias": "autoSelect"; "required": false; }; }, {}, never, never, false, never>;
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
declare class TextareaAutoExpandDirective implements AfterContentChecked {
|
|
1755
|
-
private el;
|
|
1756
|
-
ngAfterContentChecked(): void;
|
|
1757
|
-
onMouseDown(): void;
|
|
1758
|
-
adjustHeight(): void;
|
|
1759
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaAutoExpandDirective, never>;
|
|
1760
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextareaAutoExpandDirective, "[mvTextAreaAutoExpand]", never, {}, {}, never, never, false, never>;
|
|
1761
|
-
}
|
|
1762
|
-
|
|
1763
|
-
declare class CommentsSummaryComponent implements OnInit, OnDestroy {
|
|
1764
|
-
private store;
|
|
1765
|
-
private readonly printService;
|
|
1766
|
-
private readonly toolbarEvents;
|
|
1767
|
-
private fb;
|
|
1768
|
-
title: string;
|
|
1769
|
-
contentType: string;
|
|
1770
|
-
container: ElementRef;
|
|
1771
|
-
commentsTable: ElementRef;
|
|
1772
|
-
comments$: Observable<any>;
|
|
1773
|
-
filtersFg: FormGroup;
|
|
1774
|
-
private $subscriptions;
|
|
1775
|
-
allTags$: Observable<{
|
|
1776
|
-
key: string;
|
|
1777
|
-
length: number;
|
|
1778
|
-
}[]>;
|
|
1779
|
-
showFilters: boolean;
|
|
1780
|
-
hasFilter: boolean;
|
|
1781
|
-
fromFilterValid: boolean;
|
|
1782
|
-
toFilterValid: boolean;
|
|
1783
|
-
ngOnInit(): void;
|
|
1784
|
-
buildCheckBoxForm(): void;
|
|
1785
|
-
onClearFilters(): void;
|
|
1786
|
-
onFilter(): void;
|
|
1787
|
-
onFiltersToggle(): void;
|
|
1788
|
-
onClose(): void;
|
|
1789
|
-
onPrint(): void;
|
|
1790
|
-
navigateToPage(pageNumber: number): void;
|
|
1791
|
-
ngOnDestroy(): void;
|
|
1792
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommentsSummaryComponent, never>;
|
|
1793
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommentsSummaryComponent, "mv-comments-summary", never, { "title": { "alias": "title"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; }, {}, never, never, false, never>;
|
|
1794
|
-
}
|
|
1795
|
-
|
|
1796
|
-
declare class TagsComponent {
|
|
1797
|
-
private tagsServices;
|
|
1798
|
-
tagItems: TagsModel[];
|
|
1799
|
-
userId: string;
|
|
1800
|
-
editable: boolean;
|
|
1801
|
-
annoId: string;
|
|
1802
|
-
validators: (((control: UntypedFormControl) => {
|
|
1803
|
-
minLength: boolean;
|
|
1804
|
-
}) | ((control: UntypedFormControl) => {
|
|
1805
|
-
maxLength20: boolean;
|
|
1806
|
-
}))[];
|
|
1807
|
-
errorMessages: {
|
|
1808
|
-
[id: string]: string;
|
|
1809
|
-
};
|
|
1810
|
-
onUpdateTags(value: any): void;
|
|
1811
|
-
requestAutocompleteItems: (text: string) => Observable<any[]>;
|
|
1812
|
-
private minLength;
|
|
1813
|
-
private maxLength20;
|
|
1814
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TagsComponent, never>;
|
|
1815
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagsComponent, "mv-tags", never, { "tagItems": { "alias": "tagItems"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "annoId": { "alias": "annoId"; "required": false; }; }, {}, never, never, false, never>;
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
/**
|
|
1819
|
-
* A moment timezone pipe to support parsing based on time zone abbreviations
|
|
1820
|
-
* covers all cases of offset variation due to daylight saving.
|
|
1821
|
-
*
|
|
1822
|
-
* Same API as DatePipe with additional timezone abbreviation support
|
|
1823
|
-
* Official date pipe dropped support for abbreviations names from Angular V5
|
|
1824
|
-
*/
|
|
1825
|
-
declare class MomentDatePipe extends DatePipe implements PipeTransform {
|
|
1826
|
-
transform(value: string | Date, format?: string, timezone?: string): any;
|
|
1827
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MomentDatePipe, never>;
|
|
1828
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MomentDatePipe, "momentDate", false>;
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
|
-
declare class CommentFilterComponent implements OnInit, OnDestroy {
|
|
1832
|
-
private store;
|
|
1833
|
-
private fb;
|
|
1834
|
-
tagGroup: UntypedFormGroup;
|
|
1835
|
-
$subscriptions: Subscription;
|
|
1836
|
-
filter$: Observable<string[]>;
|
|
1837
|
-
allTags$: Observable<any>;
|
|
1838
|
-
searchValue: string;
|
|
1839
|
-
isPreview: boolean;
|
|
1840
|
-
ngOnInit(): void;
|
|
1841
|
-
buildFrom(): void;
|
|
1842
|
-
onClearFilters(): void;
|
|
1843
|
-
ngOnDestroy(): void;
|
|
1844
|
-
onRemoveFilter(tagName: any): void;
|
|
1845
|
-
onToggleFilterView(): void;
|
|
1846
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommentFilterComponent, never>;
|
|
1847
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommentFilterComponent, "mv-comment-filter", never, {}, {}, never, never, false, never>;
|
|
1848
|
-
}
|
|
1849
|
-
|
|
1850
|
-
declare class FilterPipe implements PipeTransform {
|
|
1851
|
-
transform(items: any[], searchText: string, fieldName: string): any[];
|
|
1852
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
|
|
1853
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", false>;
|
|
1854
|
-
}
|
|
1855
|
-
|
|
1856
|
-
declare class UnsnakePipe implements PipeTransform {
|
|
1857
|
-
transform(items: string): string;
|
|
1858
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UnsnakePipe, never>;
|
|
1859
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<UnsnakePipe, "unsnake", false>;
|
|
1860
|
-
}
|
|
1861
|
-
|
|
1862
|
-
declare class AnnotationsModule {
|
|
1863
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationsModule, never>;
|
|
1864
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnotationsModule, [typeof MetadataLayerComponent, typeof AnnotationViewComponent, typeof BoxHighlightCreateComponent, typeof AnnotationSetComponent, typeof RectangleComponent, typeof CommentComponent, typeof CommentSetHeaderComponent, typeof CommentSearchComponent, typeof TextHighlightDirective, typeof CtxToolbarComponent, typeof CommentSetComponent, typeof CommentsNavigateComponent, typeof TextareaAutoExpandDirective, typeof CommentsSummaryComponent, typeof TagsComponent, typeof MomentDatePipe, typeof CommentFilterComponent, typeof FilterPipe, typeof UnsnakePipe, typeof KeyboardBoxDrawDirective, typeof KeyboardBoxMoveDirective], [typeof i22.A11yModule, typeof i6.CommonModule, typeof i7.FormsModule, typeof i25.HttpClientModule, typeof i26.MutableDivModule, typeof i27.TagInputModule, typeof i8.RouterModule, typeof i7.ReactiveFormsModule, typeof i29.NgxDatatableModule, typeof SharedModule, typeof i12.RpxTranslationModule], [typeof AnnotationViewComponent, typeof BoxHighlightCreateComponent, typeof AnnotationSetComponent, typeof CommentSetComponent, typeof CommentSetHeaderComponent, typeof CommentSearchComponent, typeof CommentsSummaryComponent, typeof TagsComponent, typeof CommentFilterComponent, typeof MomentDatePipe, typeof FilterPipe, typeof UnsnakePipe, typeof MetadataLayerComponent]>;
|
|
1865
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AnnotationsModule>;
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
declare class MediaViewerModule {
|
|
1869
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MediaViewerModule, never>;
|
|
1870
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MediaViewerModule, [typeof PdfViewerComponent, typeof SideBarComponent, typeof BookmarksComponent, typeof OutlineItemComponent, typeof ImageViewerComponent, typeof UnsupportedViewerComponent, typeof MultimediaPlayerComponent, typeof MediaViewerComponent, typeof ConvertibleContentViewerComponent, typeof GrabNDragDirective, typeof RotationPersistDirective, typeof HighlightCreateDirective, typeof KeyboardTextHighlightDirective, typeof ConfirmActionDialogComponent, typeof RedactionComponent, typeof BookmarkIconsComponent, typeof ParticipantsListComponent], [typeof i6.CommonModule, typeof i25.HttpClientModule, typeof ToolbarModule, typeof AnnotationsModule, typeof i27.TagInputModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.RouterModule, typeof _ngrx_store.StoreFeatureModule, typeof _ngrx_effects.EffectsFeatureModule, typeof i26.MutableDivModule, typeof i28.CdkTreeModule, typeof i29$1.DragDropModule, typeof i12.RpxTranslationModule], [typeof MediaViewerComponent]>;
|
|
1871
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MediaViewerModule>;
|
|
1872
|
-
}
|
|
1873
|
-
|
|
1874
|
-
declare class AnnotationApiService {
|
|
1875
|
-
private readonly httpClient;
|
|
1876
|
-
annotationApiUrl: string;
|
|
1877
|
-
private annotationSetBaseUrl;
|
|
1878
|
-
private annotationBaseUrl;
|
|
1879
|
-
getAnnotationSet(documentId: string): Observable<any>;
|
|
1880
|
-
postAnnotationSet(body: Partial<AnnotationSet>): Observable<AnnotationSet>;
|
|
1881
|
-
getComments(annotationSet: Observable<AnnotationSet>): Observable<Comment[]>;
|
|
1882
|
-
/**
|
|
1883
|
-
* Sort the annotations in the response by page and then y position of their first rectangle
|
|
1884
|
-
*/
|
|
1885
|
-
private sortAnnotations;
|
|
1886
|
-
private extractComments;
|
|
1887
|
-
deleteAnnotation(annotationId: string): Observable<null>;
|
|
1888
|
-
postAnnotation(annotation: Partial<Annotation>): Observable<Annotation>;
|
|
1889
|
-
get annotationSetsFullUrl(): string;
|
|
1890
|
-
get annotationFullsUrl(): string;
|
|
1891
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationApiService, never>;
|
|
1892
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AnnotationApiService>;
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
|
-
interface Filters {
|
|
1896
|
-
tagFilters?: {
|
|
1897
|
-
[key: string]: any;
|
|
1898
|
-
};
|
|
1899
|
-
dateRangeFrom?: number | null;
|
|
1900
|
-
dateRangeTo?: number | null;
|
|
1901
|
-
}
|
|
1902
|
-
|
|
1903
|
-
declare const LOAD_ANNOTATION_SET = "[Annotations] Load Annotation Set";
|
|
1904
|
-
declare const LOAD_ANNOTATION_SET_SUCCESS = "[Annotations] Load Annotation Set Success";
|
|
1905
|
-
declare const LOAD_ANNOTATION_SET_FAIL = "[Annotations] Load Annotation Set Fail";
|
|
1906
|
-
declare const SAVE_ANNOTATION_SET = "[Annotations] Save Annotation Set";
|
|
1907
|
-
declare const SAVE_ANNOTATION_SET_SUCCESS = "[Annotations] Save Annotation Set Success";
|
|
1908
|
-
declare const SAVE_ANNOTATION_SET_FAIL = "[Annotations] Save Annotation Set Fail";
|
|
1909
|
-
declare const SAVE_ANNOTATION = "[Annotations] Save Annotation";
|
|
1910
|
-
declare const SAVE_ANNOTATION_SUCCESS = "[Annotations] Save Annotation Success";
|
|
1911
|
-
declare const SAVE_ANNOTATION_FAIL = "[Annotations] Save Annotation Fail";
|
|
1912
|
-
declare const ADD_OR_EDIT_COMMENT = "[Annotations] Add or Edit Comment";
|
|
1913
|
-
declare const DELETE_ANNOTATION = "[Annotations] Delete Annotation";
|
|
1914
|
-
declare const DELETE_ANNOTATION_SUCCESS = "[Annotations] Delete Annotation Success";
|
|
1915
|
-
declare const DELETE_ANNOTATION_FAIL = "[Annotations] Delete Annotation Fail";
|
|
1916
|
-
declare const SELECT_ANNOTATION = "[Annotations] Select Annotation";
|
|
1917
|
-
declare const SEARCH_COMMENT = "[Comments] Search Comments";
|
|
1918
|
-
declare const APPLY_COMMENT_SUMMARY_FILTER = "[Comments] Apply Comment Summary Filter";
|
|
1919
|
-
declare const CLEAR_COMMENT_SUMMARY_FILTER = "[Comments] Clear Comment Summary Filter";
|
|
1920
|
-
declare class LoadAnnotationSet implements Action {
|
|
1921
|
-
payload: string;
|
|
1922
|
-
readonly type = "[Annotations] Load Annotation Set";
|
|
1923
|
-
constructor(payload: string);
|
|
1924
|
-
}
|
|
1925
|
-
declare class SaveAnnotationSet implements Action {
|
|
1926
|
-
payload: AnnotationSet;
|
|
1927
|
-
readonly type = "[Annotations] Save Annotation Set";
|
|
1928
|
-
constructor(payload: AnnotationSet);
|
|
1929
|
-
}
|
|
1930
|
-
declare class LoadAnnotationSetSucess implements Action {
|
|
1931
|
-
payload: {
|
|
1932
|
-
status: number;
|
|
1933
|
-
body: AnnotationSet;
|
|
1934
|
-
};
|
|
1935
|
-
readonly type = "[Annotations] Load Annotation Set Success";
|
|
1936
|
-
constructor(payload: {
|
|
1937
|
-
status: number;
|
|
1938
|
-
body: AnnotationSet;
|
|
1939
|
-
});
|
|
1940
|
-
}
|
|
1941
|
-
declare class SaveAnnotationSetSuccess implements Action {
|
|
1942
|
-
payload: AnnotationSet;
|
|
1943
|
-
readonly type = "[Annotations] Save Annotation Set Success";
|
|
1944
|
-
constructor(payload: AnnotationSet);
|
|
1945
|
-
}
|
|
1946
|
-
declare class LoadAnnotationSetFail implements Action {
|
|
1947
|
-
payload: {
|
|
1948
|
-
status: number;
|
|
1949
|
-
body: any;
|
|
1950
|
-
};
|
|
1951
|
-
readonly type = "[Annotations] Load Annotation Set Fail";
|
|
1952
|
-
constructor(payload: {
|
|
1953
|
-
status: number;
|
|
1954
|
-
body: any;
|
|
1955
|
-
});
|
|
1956
|
-
}
|
|
1957
|
-
declare class SaveAnnotationSetFail implements Action {
|
|
1958
|
-
payload: {
|
|
1959
|
-
status: number;
|
|
1960
|
-
body: any;
|
|
1961
|
-
};
|
|
1962
|
-
readonly type = "[Annotations] Save Annotation Set Fail";
|
|
1963
|
-
constructor(payload: {
|
|
1964
|
-
status: number;
|
|
1965
|
-
body: any;
|
|
1966
|
-
});
|
|
1967
|
-
}
|
|
1968
|
-
declare class SaveAnnotation implements Action {
|
|
1969
|
-
payload: Annotation;
|
|
1970
|
-
autoSelect?: boolean;
|
|
1971
|
-
readonly type = "[Annotations] Save Annotation";
|
|
1972
|
-
constructor(payload: Annotation, autoSelect?: boolean);
|
|
1973
|
-
}
|
|
1974
|
-
declare class SaveAnnotationSuccess implements Action {
|
|
1975
|
-
payload: any;
|
|
1976
|
-
readonly type = "[Annotations] Save Annotation Success";
|
|
1977
|
-
constructor(payload: any);
|
|
1978
|
-
}
|
|
1979
|
-
declare class SaveAnnotationFail implements Action {
|
|
1980
|
-
payload: Error;
|
|
1981
|
-
readonly type = "[Annotations] Save Annotation Fail";
|
|
1982
|
-
constructor(payload: Error);
|
|
1983
|
-
}
|
|
1984
|
-
declare class AddOrEditComment implements Action {
|
|
1985
|
-
payload: Comment;
|
|
1986
|
-
readonly type = "[Annotations] Add or Edit Comment";
|
|
1987
|
-
constructor(payload: Comment);
|
|
1988
|
-
}
|
|
1989
|
-
declare class DeleteAnnotation implements Action {
|
|
1990
|
-
payload: string;
|
|
1991
|
-
readonly type = "[Annotations] Delete Annotation";
|
|
1992
|
-
constructor(payload: string);
|
|
1993
|
-
}
|
|
1994
|
-
declare class DeleteAnnotationSuccess implements Action {
|
|
1995
|
-
payload: string;
|
|
1996
|
-
readonly type = "[Annotations] Delete Annotation Success";
|
|
1997
|
-
constructor(payload: string);
|
|
1998
|
-
}
|
|
1999
|
-
declare class DeleteAnnotationFail implements Action {
|
|
2000
|
-
payload: Error;
|
|
2001
|
-
readonly type = "[Annotations] Delete Annotation Fail";
|
|
2002
|
-
constructor(payload: Error);
|
|
2003
|
-
}
|
|
2004
|
-
declare class SelectedAnnotation implements Action {
|
|
2005
|
-
payload: SelectionAnnotation;
|
|
2006
|
-
readonly type = "[Annotations] Select Annotation";
|
|
2007
|
-
constructor(payload: SelectionAnnotation);
|
|
2008
|
-
}
|
|
2009
|
-
declare class SearchComment implements Action {
|
|
2010
|
-
payload: string;
|
|
2011
|
-
readonly type = "[Comments] Search Comments";
|
|
2012
|
-
constructor(payload: string);
|
|
2013
|
-
}
|
|
2014
|
-
declare class ApplyCommentSymmaryFilter implements Action {
|
|
2015
|
-
payload: Filters;
|
|
2016
|
-
readonly type = "[Comments] Apply Comment Summary Filter";
|
|
2017
|
-
constructor(payload: Filters);
|
|
2018
|
-
}
|
|
2019
|
-
declare class ClearCommentSummaryFilters implements Action {
|
|
2020
|
-
readonly type = "[Comments] Clear Comment Summary Filter";
|
|
2021
|
-
}
|
|
2022
|
-
type AnnotationsActions = LoadAnnotationSet | LoadAnnotationSetSucess | LoadAnnotationSetFail | SaveAnnotation | SaveAnnotationSuccess | SaveAnnotationFail | SaveAnnotationSetSuccess | AddOrEditComment | DeleteAnnotation | DeleteAnnotationSuccess | DeleteAnnotationFail | SelectedAnnotation | SearchComment | ApplyCommentSymmaryFilter | ClearCommentSummaryFilters;
|
|
2023
|
-
|
|
2024
|
-
interface AnnotationSetState {
|
|
2025
|
-
annotationSet: any;
|
|
2026
|
-
annotationEntities: {
|
|
2027
|
-
[id: string]: any;
|
|
2028
|
-
};
|
|
2029
|
-
annotationPageEntities: {
|
|
2030
|
-
[id: string]: Annotation[];
|
|
2031
|
-
};
|
|
2032
|
-
commentEntities: {
|
|
2033
|
-
[id: string]: Comment;
|
|
2034
|
-
};
|
|
2035
|
-
selectedAnnotation: SelectionAnnotation;
|
|
2036
|
-
commentSearchQueries: {
|
|
2037
|
-
commentSearch: string;
|
|
2038
|
-
};
|
|
2039
|
-
commentSummaryFilters: {
|
|
2040
|
-
hasFilter: boolean;
|
|
2041
|
-
filters: Filters;
|
|
2042
|
-
};
|
|
2043
|
-
loaded: boolean;
|
|
2044
|
-
loading: boolean;
|
|
2045
|
-
}
|
|
2046
|
-
declare const initialState: AnnotationSetState;
|
|
2047
|
-
declare function reducer(state: AnnotationSetState, action: AnnotationsActions): AnnotationSetState;
|
|
2048
|
-
declare const getAnnoSet: (state: AnnotationSetState) => any;
|
|
2049
|
-
declare const getCommentEnts: (state: AnnotationSetState) => {
|
|
2050
|
-
[id: string]: Comment;
|
|
2051
|
-
};
|
|
2052
|
-
declare const getAnnoPageEnt: (state: AnnotationSetState) => {
|
|
2053
|
-
[id: string]: Annotation[];
|
|
2054
|
-
};
|
|
2055
|
-
declare const getAnnoEnt: (state: AnnotationSetState) => {
|
|
2056
|
-
[id: string]: any;
|
|
2057
|
-
};
|
|
2058
|
-
declare const getSelectedAnno: (state: AnnotationSetState) => SelectionAnnotation;
|
|
2059
|
-
declare const commentSearchQ: (state: AnnotationSetState) => {
|
|
2060
|
-
commentSearch: string;
|
|
2061
|
-
};
|
|
2062
|
-
declare const getSummaryFilters: (state: AnnotationSetState) => {
|
|
2063
|
-
hasFilter: boolean;
|
|
2064
|
-
filters: Filters;
|
|
2065
|
-
};
|
|
2066
|
-
|
|
2067
|
-
interface TagsState {
|
|
2068
|
-
tagNameEnt: {
|
|
2069
|
-
[id: string]: string[];
|
|
2070
|
-
};
|
|
2071
|
-
filteredComments: {
|
|
2072
|
-
[id: string]: string[];
|
|
2073
|
-
};
|
|
2074
|
-
filteredPageEntities: {
|
|
2075
|
-
[id: string]: Annotation[];
|
|
2076
|
-
};
|
|
2077
|
-
annotations: Annotation[];
|
|
2078
|
-
formFilterState: {
|
|
2079
|
-
[id: string]: boolean;
|
|
2080
|
-
};
|
|
2081
|
-
filters: string[];
|
|
2082
|
-
}
|
|
2083
|
-
|
|
2084
|
-
interface BookmarksState {
|
|
2085
|
-
bookmarks: Bookmark[];
|
|
2086
|
-
bookmarkEntities: {
|
|
2087
|
-
[id: string]: Bookmark;
|
|
2088
|
-
};
|
|
2089
|
-
bookmarkPageEntities: {
|
|
2090
|
-
[id: string]: any;
|
|
2091
|
-
};
|
|
2092
|
-
editableBookmark: string;
|
|
2093
|
-
loaded: boolean;
|
|
2094
|
-
loading: boolean;
|
|
2095
|
-
scrollTop?: number;
|
|
2096
|
-
}
|
|
2097
|
-
|
|
2098
|
-
interface RedactionState {
|
|
2099
|
-
redactionEntities: {
|
|
2100
|
-
[id: string]: Redaction;
|
|
2101
|
-
};
|
|
2102
|
-
redactionPageEntities: {
|
|
2103
|
-
[id: string]: any;
|
|
2104
|
-
};
|
|
2105
|
-
selectedRedaction: SelectionAnnotation | {};
|
|
2106
|
-
redactedDocumentInfo: {
|
|
2107
|
-
blob: Blob;
|
|
2108
|
-
filename: string;
|
|
2109
|
-
};
|
|
2110
|
-
documentId: string;
|
|
2111
|
-
}
|
|
2112
|
-
|
|
2113
|
-
interface State {
|
|
2114
|
-
document: DocumentState;
|
|
2115
|
-
annotations: AnnotationSetState;
|
|
2116
|
-
tags: TagsState;
|
|
2117
|
-
bookmarks: BookmarksState;
|
|
2118
|
-
redactions: RedactionState;
|
|
2119
|
-
icp: IcpState;
|
|
2120
|
-
}
|
|
2121
|
-
|
|
2122
|
-
declare const getAnnotationsSetState: _ngrx_store.MemoizedSelector<object, AnnotationSetState, (s1: State) => AnnotationSetState>;
|
|
2123
|
-
declare const getAnnotationEntities: _ngrx_store.MemoizedSelector<object, {
|
|
2124
|
-
[id: string]: any;
|
|
2125
|
-
}, (s1: AnnotationSetState) => {
|
|
2126
|
-
[id: string]: any;
|
|
2127
|
-
}>;
|
|
2128
|
-
declare const getSet: _ngrx_store.MemoizedSelector<object, any, (s1: AnnotationSetState) => any>;
|
|
2129
|
-
declare const getDocumentIdSetId: _ngrx_store.MemoizedSelector<object, {
|
|
2130
|
-
documentId: any;
|
|
2131
|
-
annotationSetId: any;
|
|
2132
|
-
}, (s1: any) => {
|
|
2133
|
-
documentId: any;
|
|
2134
|
-
annotationSetId: any;
|
|
2135
|
-
}>;
|
|
2136
|
-
declare const getAnnotationSet: _ngrx_store.MemoizedSelector<object, any, (s1: {
|
|
2137
|
-
[id: string]: any;
|
|
2138
|
-
}, s2: any) => any>;
|
|
2139
|
-
declare const getSelectedAnnotation: _ngrx_store.MemoizedSelector<object, SelectionAnnotation, (s1: AnnotationSetState) => SelectionAnnotation>;
|
|
2140
|
-
declare const getCommentEntities: _ngrx_store.MemoizedSelector<object, {
|
|
2141
|
-
[id: string]: Comment;
|
|
2142
|
-
}, (s1: AnnotationSetState) => {
|
|
2143
|
-
[id: string]: Comment;
|
|
2144
|
-
}>;
|
|
2145
|
-
declare const getPageEntities: _ngrx_store.MemoizedSelector<object, {
|
|
2146
|
-
[id: string]: Annotation[];
|
|
2147
|
-
}, (s1: AnnotationSetState) => {
|
|
2148
|
-
[id: string]: Annotation[];
|
|
2149
|
-
}>;
|
|
2150
|
-
declare const getComponentSearchQueries: _ngrx_store.MemoizedSelector<object, {
|
|
2151
|
-
commentSearch: string;
|
|
2152
|
-
}, (s1: AnnotationSetState) => {
|
|
2153
|
-
commentSearch: string;
|
|
2154
|
-
}>;
|
|
2155
|
-
declare const getComponentSearchText: _ngrx_store.MemoizedSelector<object, string, (s1: {
|
|
2156
|
-
commentSearch: string;
|
|
2157
|
-
}) => string>;
|
|
2158
|
-
declare const getCommentSummaryFilters: _ngrx_store.MemoizedSelector<object, {
|
|
2159
|
-
hasFilter: boolean;
|
|
2160
|
-
filters: Filters;
|
|
2161
|
-
}, (s1: AnnotationSetState) => {
|
|
2162
|
-
hasFilter: boolean;
|
|
2163
|
-
filters: Filters;
|
|
2164
|
-
}>;
|
|
2165
|
-
declare const getAnnoPerPage: _ngrx_store.MemoizedSelector<object, any[], (s1: {
|
|
2166
|
-
[id: string]: DocumentPages;
|
|
2167
|
-
}, s2: {
|
|
2168
|
-
[id: string]: Annotation[];
|
|
2169
|
-
}, s3: {
|
|
2170
|
-
[id: string]: Annotation[];
|
|
2171
|
-
}) => any[]>;
|
|
2172
|
-
declare const getCommentsArray: _ngrx_store.MemoizedSelector<object, {
|
|
2173
|
-
page: any;
|
|
2174
|
-
pages: {
|
|
2175
|
-
[id: string]: DocumentPages;
|
|
2176
|
-
};
|
|
2177
|
-
annotationId: string;
|
|
2178
|
-
content: string;
|
|
2179
|
-
tags: TagsModel[];
|
|
2180
|
-
pageHeight: number;
|
|
2181
|
-
selected: boolean;
|
|
2182
|
-
editable: boolean;
|
|
2183
|
-
id: string;
|
|
2184
|
-
createdBy: string;
|
|
2185
|
-
createdByDetails: User;
|
|
2186
|
-
createdDate: string;
|
|
2187
|
-
lastModifiedBy: string;
|
|
2188
|
-
lastModifiedByDetails: User;
|
|
2189
|
-
lastModifiedDate: string;
|
|
2190
|
-
}[], (s1: {
|
|
2191
|
-
[id: string]: Comment;
|
|
2192
|
-
}, s2: {
|
|
2193
|
-
[id: string]: DocumentPages;
|
|
2194
|
-
}, s3: {
|
|
2195
|
-
[id: string]: any;
|
|
2196
|
-
}, s4: {
|
|
2197
|
-
[id: string]: string[];
|
|
2198
|
-
}) => {
|
|
2199
|
-
page: any;
|
|
2200
|
-
pages: {
|
|
2201
|
-
[id: string]: DocumentPages;
|
|
2202
|
-
};
|
|
2203
|
-
annotationId: string;
|
|
2204
|
-
content: string;
|
|
2205
|
-
tags: TagsModel[];
|
|
2206
|
-
pageHeight: number;
|
|
2207
|
-
selected: boolean;
|
|
2208
|
-
editable: boolean;
|
|
2209
|
-
id: string;
|
|
2210
|
-
createdBy: string;
|
|
2211
|
-
createdByDetails: User;
|
|
2212
|
-
createdDate: string;
|
|
2213
|
-
lastModifiedBy: string;
|
|
2214
|
-
lastModifiedByDetails: User;
|
|
2215
|
-
lastModifiedDate: string;
|
|
2216
|
-
}[]>;
|
|
2217
|
-
declare const getCommentSummary: _ngrx_store.MemoizedSelector<object, {
|
|
2218
|
-
page: number;
|
|
2219
|
-
user: string;
|
|
2220
|
-
date: string;
|
|
2221
|
-
tags: TagsModel[];
|
|
2222
|
-
comment: string;
|
|
2223
|
-
}[], (s1: {
|
|
2224
|
-
page: any;
|
|
2225
|
-
pages: {
|
|
2226
|
-
[id: string]: DocumentPages;
|
|
2227
|
-
};
|
|
2228
|
-
annotationId: string;
|
|
2229
|
-
content: string;
|
|
2230
|
-
tags: TagsModel[];
|
|
2231
|
-
pageHeight: number;
|
|
2232
|
-
selected: boolean;
|
|
2233
|
-
editable: boolean;
|
|
2234
|
-
id: string;
|
|
2235
|
-
createdBy: string;
|
|
2236
|
-
createdByDetails: User;
|
|
2237
|
-
createdDate: string;
|
|
2238
|
-
lastModifiedBy: string;
|
|
2239
|
-
lastModifiedByDetails: User;
|
|
2240
|
-
lastModifiedDate: string;
|
|
2241
|
-
}[], s2: {
|
|
2242
|
-
hasFilter: boolean;
|
|
2243
|
-
filters: Filters;
|
|
2244
|
-
}) => {
|
|
2245
|
-
page: number;
|
|
2246
|
-
user: string;
|
|
2247
|
-
date: string;
|
|
2248
|
-
tags: TagsModel[];
|
|
2249
|
-
comment: string;
|
|
2250
|
-
}[]>;
|
|
2251
|
-
declare const getFilteredAnnotations: _ngrx_store.MemoizedSelector<object, any[], (s1: {
|
|
2252
|
-
[id: string]: any;
|
|
2253
|
-
}, s2: {
|
|
2254
|
-
[id: string]: string[];
|
|
2255
|
-
}) => any[]>;
|
|
2256
|
-
|
|
2257
|
-
declare class AnnotationEffects {
|
|
2258
|
-
private actions$;
|
|
2259
|
-
private annotationApiService;
|
|
2260
|
-
loadAnnotation$: rxjs.Observable<LoadAnnotationSetSucess | LoadAnnotationSetFail> & _ngrx_effects.CreateEffectMetadata;
|
|
2261
|
-
postAnnotation$: rxjs.Observable<SaveAnnotationSuccess | SaveAnnotationFail> & _ngrx_effects.CreateEffectMetadata;
|
|
2262
|
-
deleteAnnotation$: rxjs.Observable<DeleteAnnotationSuccess | DeleteAnnotationFail> & _ngrx_effects.CreateEffectMetadata;
|
|
2263
|
-
saveAnnotationSet$: rxjs.Observable<SaveAnnotationSetSuccess | SaveAnnotationSetFail> & _ngrx_effects.CreateEffectMetadata;
|
|
2264
|
-
autoSelectAnnotation$: rxjs.Observable<SelectedAnnotation> & _ngrx_effects.CreateEffectMetadata;
|
|
2265
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationEffects, never>;
|
|
2266
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AnnotationEffects>;
|
|
2267
|
-
}
|
|
2268
|
-
|
|
2269
|
-
export { ADD_OR_EDIT_COMMENT, APPLY_COMMENT_SUMMARY_FILTER, AddOrEditComment, AnnotationApiService, AnnotationEffects, AnnotationSetComponent, AnnotationViewComponent, AnnotationsModule, ApplyCommentSymmaryFilter, BoxHighlightCreateComponent, CLEAR_COMMENT_SUMMARY_FILTER, ClearCommentSummaryFilters, CommentFilterComponent, CommentSearchComponent, CommentSetComponent, CommentSetHeaderComponent, CommentsSummaryComponent, DELETE_ANNOTATION, DELETE_ANNOTATION_FAIL, DELETE_ANNOTATION_SUCCESS, DeleteAnnotation, DeleteAnnotationFail, DeleteAnnotationSuccess, FilterPipe, HighlightToolbarComponent, IcpToolbarComponent, LOAD_ANNOTATION_SET, LOAD_ANNOTATION_SET_FAIL, LOAD_ANNOTATION_SET_SUCCESS, LoadAnnotationSet, LoadAnnotationSetFail, LoadAnnotationSetSucess, MainToolbarComponent, MediaViewerComponent, MediaViewerModule, MetadataLayerComponent, MomentDatePipe, RedactionSearchBarComponent, RedactionToolbarComponent, ResponseType, SAVE_ANNOTATION, SAVE_ANNOTATION_FAIL, SAVE_ANNOTATION_SET, SAVE_ANNOTATION_SET_FAIL, SAVE_ANNOTATION_SET_SUCCESS, SAVE_ANNOTATION_SUCCESS, SEARCH_COMMENT, SELECT_ANNOTATION, SaveAnnotation, SaveAnnotationFail, SaveAnnotationSet, SaveAnnotationSetFail, SaveAnnotationSetSuccess, SaveAnnotationSuccess, SearchBarComponent, SearchComment, SelectedAnnotation, TagsComponent, ToolbarButtonVisibilityService, ToolbarModule, UnsnakePipe, ViewerException, commentSearchQ, getAnnoEnt, getAnnoPageEnt, getAnnoPerPage, getAnnoSet, getAnnotationEntities, getAnnotationSet, getAnnotationsSetState, getCommentEntities, getCommentEnts, getCommentSummary, getCommentSummaryFilters, getCommentsArray, getComponentSearchQueries, getComponentSearchText, getDocumentIdSetId, getFilteredAnnotations, getPageEntities, getSelectedAnno, getSelectedAnnotation, getSet, getSummaryFilters, initialState, reducer };
|
|
2270
|
-
export type { AnnotationSetState, AnnotationsActions, ExceptionDetail };
|
|
2271
|
-
//# sourceMappingURL=index.d.ts.map
|