@hmcts/media-viewer 2.7.12 → 2.7.15
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/bundles/hmcts-media-viewer.umd.js +137 -106
- package/bundles/hmcts-media-viewer.umd.js.map +1 -1
- package/bundles/hmcts-media-viewer.umd.min.js +1 -1
- package/bundles/hmcts-media-viewer.umd.min.js.map +1 -1
- package/esm2015/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.js +2 -2
- package/esm2015/lib/annotations/annotation-set/annotation-view/annotation-view.component.js +2 -2
- package/esm2015/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.js +2 -2
- package/esm2015/lib/annotations/comment-set/comment/comment.component.js +3 -3
- package/esm2015/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.js +2 -2
- package/esm2015/lib/annotations/comment-set/comment-set.component.js +3 -3
- package/esm2015/lib/annotations/comments-summary/comments-summary.component.js +8 -3
- package/esm2015/lib/media-viewer.component.js +2 -2
- package/esm2015/lib/print.service.js +1 -1
- package/esm2015/lib/shared/util/services/number.helper.service.js +1 -1
- package/esm2015/lib/store/selectors/annotation.selectors.js +30 -21
- package/esm2015/lib/store/selectors/bookmark.selectors.js +17 -12
- package/esm2015/lib/store/selectors/document.selectors.js +10 -7
- package/esm2015/lib/store/selectors/icp.selectors.js +18 -13
- package/esm2015/lib/store/selectors/redaction.selectors.js +13 -9
- package/esm2015/lib/store/selectors/tag.selectors.js +10 -7
- package/esm2015/lib/toolbar/main-toolbar/main-toolbar.component.js +4 -4
- package/esm2015/lib/toolbar/search-bar/search-bar.component.js +2 -2
- package/esm2015/lib/toolbar/toolbar-button-visibility.service.js +1 -1
- package/esm2015/lib/toolbar/toolbar-event.service.js +1 -1
- package/esm2015/lib/viewers/image-viewer/image-viewer.component.js +2 -2
- package/esm2015/lib/viewers/multimedia-player/multimedia-player.component.js +3 -3
- package/esm2015/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.js +1 -1
- package/esm2015/lib/viewers/pdf-viewer/pdf-viewer.component.js +3 -3
- package/esm2015/lib/viewers/unsupported-viewer/unsupported-viewer.component.js +2 -2
- package/esm2015/lib/viewers/viewer-event.service.js +1 -1
- package/esm2015/lib/viewers/viewer-util.service.js +1 -1
- package/esm5/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.js +2 -2
- package/esm5/lib/annotations/annotation-set/annotation-view/annotation-view.component.js +2 -2
- package/esm5/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.js +2 -2
- package/esm5/lib/annotations/comment-set/comment/comment.component.js +3 -3
- package/esm5/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.js +2 -2
- package/esm5/lib/annotations/comment-set/comment-set.component.js +3 -3
- package/esm5/lib/annotations/comments-summary/comments-summary.component.js +11 -3
- package/esm5/lib/media-viewer.component.js +2 -2
- package/esm5/lib/print.service.js +1 -1
- package/esm5/lib/shared/util/services/number.helper.service.js +1 -1
- package/esm5/lib/store/reducers/annotations.reducer.js +2 -2
- package/esm5/lib/store/reducers/bookmarks.reducer.js +2 -2
- package/esm5/lib/store/reducers/redaction.reducer.js +2 -2
- package/esm5/lib/store/selectors/annotation.selectors.js +30 -21
- package/esm5/lib/store/selectors/bookmark.selectors.js +17 -12
- package/esm5/lib/store/selectors/document.selectors.js +10 -7
- package/esm5/lib/store/selectors/icp.selectors.js +18 -13
- package/esm5/lib/store/selectors/redaction.selectors.js +13 -9
- package/esm5/lib/store/selectors/tag.selectors.js +10 -7
- package/esm5/lib/toolbar/main-toolbar/main-toolbar.component.js +4 -4
- package/esm5/lib/toolbar/search-bar/search-bar.component.js +2 -2
- package/esm5/lib/toolbar/toolbar-button-visibility.service.js +1 -1
- package/esm5/lib/toolbar/toolbar-event.service.js +1 -1
- package/esm5/lib/viewers/image-viewer/image-viewer.component.js +2 -2
- package/esm5/lib/viewers/multimedia-player/multimedia-player.component.js +3 -3
- package/esm5/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.js +1 -1
- package/esm5/lib/viewers/pdf-viewer/pdf-viewer.component.js +3 -3
- package/esm5/lib/viewers/unsupported-viewer/unsupported-viewer.component.js +2 -2
- package/esm5/lib/viewers/viewer-event.service.js +1 -1
- package/esm5/lib/viewers/viewer-util.service.js +1 -1
- package/fesm2015/hmcts-media-viewer.js +120 -92
- package/fesm2015/hmcts-media-viewer.js.map +1 -1
- package/fesm5/hmcts-media-viewer.js +126 -95
- package/fesm5/hmcts-media-viewer.js.map +1 -1
- package/hmcts-media-viewer-v2.7.15.tgz +0 -0
- package/hmcts-media-viewer.metadata.json +1 -1
- package/lib/annotations/comments-summary/comments-summary.component.d.ts +1 -0
- package/package.json +1 -1
- package/hmcts-media-viewer-v2.7.12.tgz +0 -0
|
@@ -21,7 +21,7 @@ import { filter, tap, throttleTime, catchError, map, take, distinctUntilChanged,
|
|
|
21
21
|
import { __assign, __awaiter, __generator, __spread, __values, __read, __extends, __decorate, __metadata } from 'tslib';
|
|
22
22
|
import uuid$1, { v4 } from 'uuid';
|
|
23
23
|
import { createFeatureSelector, createSelector, select, Store, StoreModule } from '@ngrx/store';
|
|
24
|
-
import { Injectable, Component, NgModule, Input, Directive, ElementRef, HostListener, EventEmitter, Output, ViewEncapsulation, ViewChild, Pipe, ChangeDetectorRef,
|
|
24
|
+
import { Injectable, Component, NgModule, Input, Directive, ElementRef, HostListener, EventEmitter, Output, ViewEncapsulation, ViewChild, Pipe, ChangeDetectorRef, ɵɵdefineInjectable, ɵɵinject, ViewChildren } from '@angular/core';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* @fileoverview added by tsickle
|
|
@@ -800,7 +800,7 @@ var ToolbarEventService = /** @class */ (function () {
|
|
|
800
800
|
ToolbarEventService.decorators = [
|
|
801
801
|
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
802
802
|
];
|
|
803
|
-
/** @nocollapse */ ToolbarEventService.ngInjectableDef =
|
|
803
|
+
/** @nocollapse */ ToolbarEventService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ToolbarEventService_Factory() { return new ToolbarEventService(); }, token: ToolbarEventService, providedIn: "root" });
|
|
804
804
|
return ToolbarEventService;
|
|
805
805
|
}());
|
|
806
806
|
|
|
@@ -857,7 +857,7 @@ var PdfJsWrapperFactory = /** @class */ (function () {
|
|
|
857
857
|
PdfJsWrapperFactory.ctorParameters = function () { return [
|
|
858
858
|
{ type: ToolbarEventService }
|
|
859
859
|
]; };
|
|
860
|
-
/** @nocollapse */ PdfJsWrapperFactory.ngInjectableDef =
|
|
860
|
+
/** @nocollapse */ PdfJsWrapperFactory.ngInjectableDef = ɵɵdefineInjectable({ factory: function PdfJsWrapperFactory_Factory() { return new PdfJsWrapperFactory(ɵɵinject(ToolbarEventService)); }, token: PdfJsWrapperFactory, providedIn: "root" });
|
|
861
861
|
return PdfJsWrapperFactory;
|
|
862
862
|
}());
|
|
863
863
|
|
|
@@ -907,7 +907,7 @@ var PrintService = /** @class */ (function () {
|
|
|
907
907
|
providedIn: 'root'
|
|
908
908
|
},] }
|
|
909
909
|
];
|
|
910
|
-
/** @nocollapse */ PrintService.ngInjectableDef =
|
|
910
|
+
/** @nocollapse */ PrintService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PrintService_Factory() { return new PrintService(); }, token: PrintService, providedIn: "root" });
|
|
911
911
|
return PrintService;
|
|
912
912
|
}());
|
|
913
913
|
|
|
@@ -989,7 +989,7 @@ var ToolbarButtonVisibilityService = /** @class */ (function () {
|
|
|
989
989
|
ToolbarButtonVisibilityService.decorators = [
|
|
990
990
|
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
991
991
|
];
|
|
992
|
-
/** @nocollapse */ ToolbarButtonVisibilityService.ngInjectableDef =
|
|
992
|
+
/** @nocollapse */ ToolbarButtonVisibilityService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ToolbarButtonVisibilityService_Factory() { return new ToolbarButtonVisibilityService(); }, token: ToolbarButtonVisibilityService, providedIn: "root" });
|
|
993
993
|
return ToolbarButtonVisibilityService;
|
|
994
994
|
}());
|
|
995
995
|
/**
|
|
@@ -1863,8 +1863,8 @@ var initialState = {
|
|
|
1863
1863
|
* @return {?}
|
|
1864
1864
|
*/
|
|
1865
1865
|
function reducer(state, action) {
|
|
1866
|
-
if (state === void 0) { state = initialState; }
|
|
1867
1866
|
var _a, _b, _c, _d;
|
|
1867
|
+
if (state === void 0) { state = initialState; }
|
|
1868
1868
|
switch (action.type) {
|
|
1869
1869
|
case LOAD_ANNOTATION_SET: {
|
|
1870
1870
|
/** @type {?} */
|
|
@@ -2446,8 +2446,8 @@ var initialBookmarksState = {
|
|
|
2446
2446
|
* @return {?}
|
|
2447
2447
|
*/
|
|
2448
2448
|
function bookmarksReducer(state, action) {
|
|
2449
|
-
if (state === void 0) { state = initialBookmarksState; }
|
|
2450
2449
|
var _a, _b;
|
|
2450
|
+
if (state === void 0) { state = initialBookmarksState; }
|
|
2451
2451
|
switch (action.type) {
|
|
2452
2452
|
case LOAD_BOOKMARKS: {
|
|
2453
2453
|
return __assign({}, state, { loading: true });
|
|
@@ -2734,8 +2734,8 @@ var initialRedactionState = {
|
|
|
2734
2734
|
* @return {?}
|
|
2735
2735
|
*/
|
|
2736
2736
|
function redactionReducer(state, action) {
|
|
2737
|
-
if (state === void 0) { state = initialRedactionState; }
|
|
2738
2737
|
var _a, _b;
|
|
2738
|
+
if (state === void 0) { state = initialRedactionState; }
|
|
2739
2739
|
switch (action.type) {
|
|
2740
2740
|
case LOAD_REDACTIONS: {
|
|
2741
2741
|
return __assign({}, state, initialRedactionState);
|
|
@@ -2931,20 +2931,22 @@ var getMVState = createFeatureSelector('media-viewer');
|
|
|
2931
2931
|
* @fileoverview added by tsickle
|
|
2932
2932
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2933
2933
|
*/
|
|
2934
|
-
|
|
2935
|
-
var getDocumentState = createSelector(getMVState, (/**
|
|
2934
|
+
var ɵ0$1 = /**
|
|
2936
2935
|
* @param {?} state
|
|
2937
2936
|
* @return {?}
|
|
2938
2937
|
*/
|
|
2939
|
-
function (state) { return state.document; }
|
|
2938
|
+
function (state) { return state.document; };
|
|
2940
2939
|
/** @type {?} */
|
|
2941
|
-
var
|
|
2940
|
+
var getDocumentState = createSelector(getMVState, (ɵ0$1));
|
|
2942
2941
|
/** @type {?} */
|
|
2943
|
-
var
|
|
2942
|
+
var getPages = createSelector(getDocumentState, getDocPages);
|
|
2943
|
+
var ɵ1 = /**
|
|
2944
2944
|
* @param {?} pages
|
|
2945
2945
|
* @return {?}
|
|
2946
2946
|
*/
|
|
2947
|
-
function (pages) { return Object.values(pages); }
|
|
2947
|
+
function (pages) { return Object.values(pages); };
|
|
2948
|
+
/** @type {?} */
|
|
2949
|
+
var getPageList = createSelector(getPages, (ɵ1));
|
|
2948
2950
|
/** @type {?} */
|
|
2949
2951
|
var getDocumentId = createSelector(getDocumentState, getDocId);
|
|
2950
2952
|
/** @type {?} */
|
|
@@ -3016,7 +3018,7 @@ var ViewerEventService = /** @class */ (function () {
|
|
|
3016
3018
|
];
|
|
3017
3019
|
/** @nocollapse */
|
|
3018
3020
|
ViewerEventService.ctorParameters = function () { return []; };
|
|
3019
|
-
/** @nocollapse */ ViewerEventService.ngInjectableDef =
|
|
3021
|
+
/** @nocollapse */ ViewerEventService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ViewerEventService_Factory() { return new ViewerEventService(); }, token: ViewerEventService, providedIn: "root" });
|
|
3020
3022
|
return ViewerEventService;
|
|
3021
3023
|
}());
|
|
3022
3024
|
|
|
@@ -3478,8 +3480,8 @@ var PdfViewerComponent = /** @class */ (function () {
|
|
|
3478
3480
|
annotationSet: [{ type: Input }],
|
|
3479
3481
|
height: [{ type: Input }],
|
|
3480
3482
|
caseId: [{ type: Input }],
|
|
3481
|
-
viewerContainer: [{ type: ViewChild, args: ['viewerContainer',] }],
|
|
3482
|
-
pdfViewer: [{ type: ViewChild, args: ['pdfViewer',] }],
|
|
3483
|
+
viewerContainer: [{ type: ViewChild, args: ['viewerContainer', { static: true },] }],
|
|
3484
|
+
pdfViewer: [{ type: ViewChild, args: ['pdfViewer', { static: false },] }],
|
|
3483
3485
|
searchBarHidden: [{ type: Input }]
|
|
3484
3486
|
};
|
|
3485
3487
|
return PdfViewerComponent;
|
|
@@ -3513,7 +3515,7 @@ var ViewerUtilService = /** @class */ (function () {
|
|
|
3513
3515
|
ViewerUtilService.ctorParameters = function () { return [
|
|
3514
3516
|
{ type: HttpClient }
|
|
3515
3517
|
]; };
|
|
3516
|
-
/** @nocollapse */ ViewerUtilService.ngInjectableDef =
|
|
3518
|
+
/** @nocollapse */ ViewerUtilService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ViewerUtilService_Factory() { return new ViewerUtilService(ɵɵinject(HttpClient)); }, token: ViewerUtilService, providedIn: "root" });
|
|
3517
3519
|
return ViewerUtilService;
|
|
3518
3520
|
}());
|
|
3519
3521
|
|
|
@@ -3834,7 +3836,7 @@ var ImageViewerComponent = /** @class */ (function () {
|
|
|
3834
3836
|
height: [{ type: Input }],
|
|
3835
3837
|
mediaLoadStatus: [{ type: Output }],
|
|
3836
3838
|
imageViewerException: [{ type: Output }],
|
|
3837
|
-
img: [{ type: ViewChild, args: ['img',] }]
|
|
3839
|
+
img: [{ type: ViewChild, args: ['img', { static: false },] }]
|
|
3838
3840
|
};
|
|
3839
3841
|
return ImageViewerComponent;
|
|
3840
3842
|
}());
|
|
@@ -3917,7 +3919,7 @@ var UnsupportedViewerComponent = /** @class */ (function () {
|
|
|
3917
3919
|
typeException: [{ type: Input }],
|
|
3918
3920
|
loadStatus: [{ type: Output }],
|
|
3919
3921
|
unsupportedViewerException: [{ type: Output }],
|
|
3920
|
-
downloadLink: [{ type: ViewChild, args: ['downloadLink',] }]
|
|
3922
|
+
downloadLink: [{ type: ViewChild, args: ['downloadLink', { static: false },] }]
|
|
3921
3923
|
};
|
|
3922
3924
|
return UnsupportedViewerComponent;
|
|
3923
3925
|
}());
|
|
@@ -4206,12 +4208,13 @@ var CommentService = /** @class */ (function () {
|
|
|
4206
4208
|
* @fileoverview added by tsickle
|
|
4207
4209
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4208
4210
|
*/
|
|
4209
|
-
|
|
4210
|
-
var getTagsRootState = createSelector(getMVState, (/**
|
|
4211
|
+
var ɵ0$2 = /**
|
|
4211
4212
|
* @param {?} state
|
|
4212
4213
|
* @return {?}
|
|
4213
4214
|
*/
|
|
4214
|
-
function (state) { return state.tags; }
|
|
4215
|
+
function (state) { return state.tags; };
|
|
4216
|
+
/** @type {?} */
|
|
4217
|
+
var getTagsRootState = createSelector(getMVState, (ɵ0$2));
|
|
4215
4218
|
/** @type {?} */
|
|
4216
4219
|
var getTagEntities = createSelector(getTagsRootState, getTagNameEnt);
|
|
4217
4220
|
/** @type {?} */
|
|
@@ -4220,8 +4223,7 @@ var getTagFilters = createSelector(getTagsRootState, getFilters);
|
|
|
4220
4223
|
var getTagFiltered = createSelector(getTagsRootState, getFilteredComments);
|
|
4221
4224
|
/** @type {?} */
|
|
4222
4225
|
var getFilteredPageEntities = createSelector(getTagsRootState, getFilteredPageEnt);
|
|
4223
|
-
|
|
4224
|
-
var getAllTagsArr = createSelector(getTagEntities, (/**
|
|
4226
|
+
var ɵ1$1 = /**
|
|
4225
4227
|
* @param {?} tagEnt
|
|
4226
4228
|
* @return {?}
|
|
4227
4229
|
*/
|
|
@@ -4234,24 +4236,26 @@ function (key) {
|
|
|
4234
4236
|
key: key,
|
|
4235
4237
|
length: Object.keys(tagEnt[key]).length
|
|
4236
4238
|
};
|
|
4237
|
-
})); }
|
|
4239
|
+
})); };
|
|
4240
|
+
/** @type {?} */
|
|
4241
|
+
var getAllTagsArr = createSelector(getTagEntities, (ɵ1$1));
|
|
4238
4242
|
|
|
4239
4243
|
/**
|
|
4240
4244
|
* @fileoverview added by tsickle
|
|
4241
4245
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4242
4246
|
*/
|
|
4243
|
-
|
|
4244
|
-
var getAnnotationsSetState = createSelector(getMVState, (/**
|
|
4247
|
+
var ɵ0$3 = /**
|
|
4245
4248
|
* @param {?} state
|
|
4246
4249
|
* @return {?}
|
|
4247
4250
|
*/
|
|
4248
|
-
function (state) { return state.annotations; }
|
|
4251
|
+
function (state) { return state.annotations; };
|
|
4252
|
+
/** @type {?} */
|
|
4253
|
+
var getAnnotationsSetState = createSelector(getMVState, (ɵ0$3));
|
|
4249
4254
|
/** @type {?} */
|
|
4250
4255
|
var getAnnotationEntities = createSelector(getAnnotationsSetState, getAnnoEnt);
|
|
4251
4256
|
/** @type {?} */
|
|
4252
4257
|
var getSet = createSelector(getAnnotationsSetState, getAnnoSet);
|
|
4253
|
-
|
|
4254
|
-
var getDocumentIdSetId = createSelector(getSet, (/**
|
|
4258
|
+
var ɵ1$2 = /**
|
|
4255
4259
|
* @param {?} annoSet
|
|
4256
4260
|
* @return {?}
|
|
4257
4261
|
*/
|
|
@@ -4260,9 +4264,10 @@ function (annoSet) {
|
|
|
4260
4264
|
documentId: annoSet.documentId,
|
|
4261
4265
|
annotationSetId: annoSet.id
|
|
4262
4266
|
};
|
|
4263
|
-
}
|
|
4267
|
+
};
|
|
4264
4268
|
/** @type {?} */
|
|
4265
|
-
var
|
|
4269
|
+
var getDocumentIdSetId = createSelector(getSet, (ɵ1$2));
|
|
4270
|
+
var ɵ2 = /**
|
|
4266
4271
|
* @param {?} entities
|
|
4267
4272
|
* @param {?} set
|
|
4268
4273
|
* @return {?}
|
|
@@ -4273,7 +4278,9 @@ function (entities, set) {
|
|
|
4273
4278
|
* @return {?}
|
|
4274
4279
|
*/
|
|
4275
4280
|
function (key) { return entities[key]; })) });
|
|
4276
|
-
}
|
|
4281
|
+
};
|
|
4282
|
+
/** @type {?} */
|
|
4283
|
+
var getAnnotationSet = createSelector(getAnnotationEntities, getSet, (ɵ2));
|
|
4277
4284
|
/** @type {?} */
|
|
4278
4285
|
var getSelectedAnnotation = createSelector(getAnnotationsSetState, getSelectedAnno);
|
|
4279
4286
|
/** @type {?} */
|
|
@@ -4282,16 +4289,16 @@ var getCommentEntities = createSelector(getAnnotationsSetState, getCommentEnts);
|
|
|
4282
4289
|
var getPageEntities = createSelector(getAnnotationsSetState, getAnnoPageEnt);
|
|
4283
4290
|
/** @type {?} */
|
|
4284
4291
|
var getComponentSearchQueries = createSelector(getAnnotationsSetState, commentSearchQ);
|
|
4285
|
-
|
|
4286
|
-
var getComponentSearchText = createSelector(getComponentSearchQueries, (/**
|
|
4292
|
+
var ɵ3 = /**
|
|
4287
4293
|
* @param {?} queries
|
|
4288
4294
|
* @return {?}
|
|
4289
4295
|
*/
|
|
4290
|
-
function (queries) { return queries.commentSearch; }
|
|
4296
|
+
function (queries) { return queries.commentSearch; };
|
|
4291
4297
|
/** @type {?} */
|
|
4292
|
-
var
|
|
4298
|
+
var getComponentSearchText = createSelector(getComponentSearchQueries, (ɵ3));
|
|
4293
4299
|
/** @type {?} */
|
|
4294
|
-
var
|
|
4300
|
+
var getCommentSummaryFilters = createSelector(getAnnotationsSetState, getSummaryFilters);
|
|
4301
|
+
var ɵ4 = /**
|
|
4295
4302
|
* @param {?} pages
|
|
4296
4303
|
* @param {?} pageEnt
|
|
4297
4304
|
* @param {?} filteredPageEnt
|
|
@@ -4317,9 +4324,10 @@ function (pages, pageEnt, filteredPageEnt) {
|
|
|
4317
4324
|
}));
|
|
4318
4325
|
return arr_1;
|
|
4319
4326
|
}
|
|
4320
|
-
}
|
|
4327
|
+
};
|
|
4321
4328
|
/** @type {?} */
|
|
4322
|
-
var
|
|
4329
|
+
var getAnnoPerPage = createSelector(getPages, getPageEntities, getFilteredPageEntities, (ɵ4));
|
|
4330
|
+
var ɵ5 = /**
|
|
4323
4331
|
* @param {?} commentEnts
|
|
4324
4332
|
* @param {?} pages
|
|
4325
4333
|
* @param {?} annoEnts
|
|
@@ -4343,9 +4351,10 @@ function (commentEnts, pages, annoEnts, filtered) {
|
|
|
4343
4351
|
pages: pages });
|
|
4344
4352
|
}));
|
|
4345
4353
|
}
|
|
4346
|
-
}
|
|
4354
|
+
};
|
|
4347
4355
|
/** @type {?} */
|
|
4348
|
-
var
|
|
4356
|
+
var getCommentsArray = createSelector(getCommentEntities, getPages, getAnnotationEntities, getTagFiltered, (ɵ5));
|
|
4357
|
+
var ɵ6 = /**
|
|
4349
4358
|
* @param {?=} commentSummary
|
|
4350
4359
|
* @param {?=} filters
|
|
4351
4360
|
* @return {?}
|
|
@@ -4370,9 +4379,10 @@ function (commentSummary, filters) {
|
|
|
4370
4379
|
}));
|
|
4371
4380
|
}
|
|
4372
4381
|
return [''];
|
|
4373
|
-
}
|
|
4382
|
+
};
|
|
4374
4383
|
/** @type {?} */
|
|
4375
|
-
var
|
|
4384
|
+
var getCommentSummary = createSelector(getCommentsArray, getCommentSummaryFilters, (ɵ6));
|
|
4385
|
+
var ɵ7 = /**
|
|
4376
4386
|
* @param {?} annoEnt
|
|
4377
4387
|
* @param {?} filters
|
|
4378
4388
|
* @return {?}
|
|
@@ -4392,7 +4402,9 @@ function (annoEnt, filters) {
|
|
|
4392
4402
|
* @return {?}
|
|
4393
4403
|
*/
|
|
4394
4404
|
function (annotation) { return annotation.comments && annotation.comments.length > 0; }));
|
|
4395
|
-
}
|
|
4405
|
+
};
|
|
4406
|
+
/** @type {?} */
|
|
4407
|
+
var getFilteredAnnotations = createSelector(getAnnotationEntities, getTagFiltered, (ɵ7));
|
|
4396
4408
|
|
|
4397
4409
|
/**
|
|
4398
4410
|
* @fileoverview added by tsickle
|
|
@@ -4683,7 +4695,7 @@ var MediaViewerComponent = /** @class */ (function () {
|
|
|
4683
4695
|
{ type: ChangeDetectorRef }
|
|
4684
4696
|
]; };
|
|
4685
4697
|
MediaViewerComponent.propDecorators = {
|
|
4686
|
-
viewerRef: [{ type: ViewChild, args: ['viewerRef',] }],
|
|
4698
|
+
viewerRef: [{ type: ViewChild, args: ['viewerRef', { static: false },] }],
|
|
4687
4699
|
url: [{ type: Input }],
|
|
4688
4700
|
downloadFileName: [{ type: Input }],
|
|
4689
4701
|
contentType: [{ type: Input }],
|
|
@@ -4737,7 +4749,7 @@ var NumberHelperService = /** @class */ (function () {
|
|
|
4737
4749
|
];
|
|
4738
4750
|
/** @nocollapse */
|
|
4739
4751
|
NumberHelperService.ctorParameters = function () { return []; };
|
|
4740
|
-
/** @nocollapse */ NumberHelperService.ngInjectableDef =
|
|
4752
|
+
/** @nocollapse */ NumberHelperService.ngInjectableDef = ɵɵdefineInjectable({ factory: function NumberHelperService_Factory() { return new NumberHelperService(); }, token: NumberHelperService, providedIn: "root" });
|
|
4741
4753
|
return NumberHelperService;
|
|
4742
4754
|
}());
|
|
4743
4755
|
|
|
@@ -5079,9 +5091,9 @@ var MainToolbarComponent = /** @class */ (function () {
|
|
|
5079
5091
|
enableRedactions: [{ type: Input }],
|
|
5080
5092
|
enableICP: [{ type: Input }],
|
|
5081
5093
|
contentType: [{ type: Input }],
|
|
5082
|
-
zoomSelect: [{ type: ViewChild, args: ['zoomSelect',] }],
|
|
5083
|
-
mvToolbarMain: [{ type: ViewChild, args: ['mvToolbarMain',] }],
|
|
5084
|
-
mvMenuItems: [{ type: ViewChild, args: ['dropdownMenu',] }],
|
|
5094
|
+
zoomSelect: [{ type: ViewChild, args: ['zoomSelect', { static: false },] }],
|
|
5095
|
+
mvToolbarMain: [{ type: ViewChild, args: ['mvToolbarMain', { static: false },] }],
|
|
5096
|
+
mvMenuItems: [{ type: ViewChild, args: ['dropdownMenu', { static: false },] }],
|
|
5085
5097
|
onResize: [{ type: HostListener, args: ['window:resize', [],] }]
|
|
5086
5098
|
};
|
|
5087
5099
|
return MainToolbarComponent;
|
|
@@ -5275,7 +5287,7 @@ var SearchBarComponent = /** @class */ (function () {
|
|
|
5275
5287
|
{ type: ToolbarEventService }
|
|
5276
5288
|
]; };
|
|
5277
5289
|
SearchBarComponent.propDecorators = {
|
|
5278
|
-
findInput: [{ type: ViewChild, args: ['findInput',] }],
|
|
5290
|
+
findInput: [{ type: ViewChild, args: ['findInput', { static: true },] }],
|
|
5279
5291
|
onWindowKeyDown: [{ type: HostListener, args: ['window:keydown', ['$event'],] }]
|
|
5280
5292
|
};
|
|
5281
5293
|
return SearchBarComponent;
|
|
@@ -5285,12 +5297,13 @@ var SearchBarComponent = /** @class */ (function () {
|
|
|
5285
5297
|
* @fileoverview added by tsickle
|
|
5286
5298
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5287
5299
|
*/
|
|
5288
|
-
|
|
5289
|
-
var getRedactionState = createSelector(getMVState, (/**
|
|
5300
|
+
var ɵ0$4 = /**
|
|
5290
5301
|
* @param {?} state
|
|
5291
5302
|
* @return {?}
|
|
5292
5303
|
*/
|
|
5293
|
-
function (state) { return state.redactions; }
|
|
5304
|
+
function (state) { return state.redactions; };
|
|
5305
|
+
/** @type {?} */
|
|
5306
|
+
var getRedactionState = createSelector(getMVState, (ɵ0$4));
|
|
5294
5307
|
/** @type {?} */
|
|
5295
5308
|
var getRedactionPages = createSelector(getRedactionState, getPageEnt);
|
|
5296
5309
|
/** @type {?} */
|
|
@@ -5299,8 +5312,7 @@ var getSelected = createSelector(getRedactionState, getSelectedRedaction);
|
|
|
5299
5312
|
var getRedactedDocumentInfo = createSelector(getRedactionState, getRedactedDocInfo);
|
|
5300
5313
|
/** @type {?} */
|
|
5301
5314
|
var getRedactionEnt$1 = createSelector(getRedactionState, getRedactionEnt);
|
|
5302
|
-
|
|
5303
|
-
var getRedactionArray = createSelector(getRedactionEnt$1, getDocumentId, (/**
|
|
5315
|
+
var ɵ1$3 = /**
|
|
5304
5316
|
* @param {?} ent
|
|
5305
5317
|
* @param {?} documentId
|
|
5306
5318
|
* @return {?}
|
|
@@ -5313,9 +5325,10 @@ function (ent, documentId) {
|
|
|
5313
5325
|
*/
|
|
5314
5326
|
function (key) { return ent[key]; }));
|
|
5315
5327
|
return { redactions: redactions, documentId: documentId };
|
|
5316
|
-
}
|
|
5328
|
+
};
|
|
5317
5329
|
/** @type {?} */
|
|
5318
|
-
var
|
|
5330
|
+
var getRedactionArray = createSelector(getRedactionEnt$1, getDocumentId, (ɵ1$3));
|
|
5331
|
+
var ɵ2$1 = /**
|
|
5319
5332
|
* @param {?} pages
|
|
5320
5333
|
* @param {?} pageEnt
|
|
5321
5334
|
* @return {?}
|
|
@@ -5336,7 +5349,9 @@ function (pages, pageEnt) {
|
|
|
5336
5349
|
}));
|
|
5337
5350
|
return arr_1;
|
|
5338
5351
|
}
|
|
5339
|
-
}
|
|
5352
|
+
};
|
|
5353
|
+
/** @type {?} */
|
|
5354
|
+
var getRedactionsPerPage = createSelector(getPages, getRedactionPages, (ɵ2$1));
|
|
5340
5355
|
|
|
5341
5356
|
/**
|
|
5342
5357
|
* @fileoverview added by tsickle
|
|
@@ -5449,38 +5464,42 @@ var RedactionToolbarComponent = /** @class */ (function () {
|
|
|
5449
5464
|
* @fileoverview added by tsickle
|
|
5450
5465
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5451
5466
|
*/
|
|
5452
|
-
|
|
5453
|
-
var getIcpState = createSelector(getMVState, (/**
|
|
5467
|
+
var ɵ0$5 = /**
|
|
5454
5468
|
* @param {?} state
|
|
5455
5469
|
* @return {?}
|
|
5456
5470
|
*/
|
|
5457
|
-
function (state) { return state.icp; }
|
|
5471
|
+
function (state) { return state.icp; };
|
|
5458
5472
|
/** @type {?} */
|
|
5459
|
-
var
|
|
5473
|
+
var getIcpState = createSelector(getMVState, (ɵ0$5));
|
|
5460
5474
|
/** @type {?} */
|
|
5461
|
-
var
|
|
5475
|
+
var getIcpSession$1 = createSelector(getIcpState, getIcpSession);
|
|
5476
|
+
var ɵ1$4 = /**
|
|
5462
5477
|
* @param {?} session
|
|
5463
5478
|
* @return {?}
|
|
5464
5479
|
*/
|
|
5465
|
-
function (session) { return session === null ? null : session.caseId; }
|
|
5480
|
+
function (session) { return session === null ? null : session.caseId; };
|
|
5466
5481
|
/** @type {?} */
|
|
5467
|
-
var
|
|
5482
|
+
var getCaseId = createSelector(getIcpSession$1, (ɵ1$4));
|
|
5468
5483
|
/** @type {?} */
|
|
5469
|
-
var
|
|
5484
|
+
var getPresenter$1 = createSelector(getIcpState, getPresenter);
|
|
5485
|
+
var ɵ2$2 = /**
|
|
5470
5486
|
* @param {?} presenter
|
|
5471
5487
|
* @return {?}
|
|
5472
5488
|
*/
|
|
5473
|
-
function (presenter) { return presenter === null ? null : presenter.username; }
|
|
5489
|
+
function (presenter) { return presenter === null ? null : presenter.username; };
|
|
5474
5490
|
/** @type {?} */
|
|
5475
|
-
var
|
|
5491
|
+
var getPresenterName = createSelector(getPresenter$1, (ɵ2$2));
|
|
5476
5492
|
/** @type {?} */
|
|
5477
|
-
var
|
|
5493
|
+
var getClient$1 = createSelector(getIcpState, getClient);
|
|
5494
|
+
var ɵ3$1 = /**
|
|
5478
5495
|
* @param {?} presenter
|
|
5479
5496
|
* @param {?} client
|
|
5480
5497
|
* @return {?}
|
|
5481
5498
|
*/
|
|
5482
5499
|
function (presenter, client) { return presenter === null ? undefined : presenter.id === client.id; } // isPresenter is called when = false.
|
|
5483
|
-
|
|
5500
|
+
;
|
|
5501
|
+
/** @type {?} */
|
|
5502
|
+
var isPresenter = createSelector(getPresenter$1, getClient$1, (ɵ3$1));
|
|
5484
5503
|
/** @type {?} */
|
|
5485
5504
|
var getParticipants$1 = createSelector(getIcpState, getParticipants);
|
|
5486
5505
|
|
|
@@ -5741,7 +5760,7 @@ var AnnotationViewComponent = /** @class */ (function () {
|
|
|
5741
5760
|
update: [{ type: Output }],
|
|
5742
5761
|
delete: [{ type: Output }],
|
|
5743
5762
|
annotationClick: [{ type: Output }],
|
|
5744
|
-
container: [{ type: ViewChild, args: ['container',] }]
|
|
5763
|
+
container: [{ type: ViewChild, args: ['container', { static: false },] }]
|
|
5745
5764
|
};
|
|
5746
5765
|
return AnnotationViewComponent;
|
|
5747
5766
|
}());
|
|
@@ -6115,7 +6134,7 @@ var RectangleComponent = /** @class */ (function () {
|
|
|
6115
6134
|
pageWidth: [{ type: Input }],
|
|
6116
6135
|
select: [{ type: Output }],
|
|
6117
6136
|
update: [{ type: Output }],
|
|
6118
|
-
viewRect: [{ type: ViewChild, args: ['rectElement',] }],
|
|
6137
|
+
viewRect: [{ type: ViewChild, args: ['rectElement', { static: false },] }],
|
|
6119
6138
|
annoRect: [{ type: Input }],
|
|
6120
6139
|
selected: [{ type: Input }]
|
|
6121
6140
|
};
|
|
@@ -6463,8 +6482,8 @@ var CommentComponent = /** @class */ (function () {
|
|
|
6463
6482
|
zoom: [{ type: Input }],
|
|
6464
6483
|
index: [{ type: Input }],
|
|
6465
6484
|
page: [{ type: Input }],
|
|
6466
|
-
form: [{ type: ViewChild, args: ['form',] }],
|
|
6467
|
-
editableComment: [{ type: ViewChild, args: ['editableComment',] }],
|
|
6485
|
+
form: [{ type: ViewChild, args: ['form', { static: false },] }],
|
|
6486
|
+
editableComment: [{ type: ViewChild, args: ['editableComment', { static: false },] }],
|
|
6468
6487
|
comment: [{ type: Input }],
|
|
6469
6488
|
annotation: [{ type: Input }]
|
|
6470
6489
|
};
|
|
@@ -7045,8 +7064,8 @@ var CommentSetComponent = /** @class */ (function () {
|
|
|
7045
7064
|
height: [{ type: Input }],
|
|
7046
7065
|
pageHeights: [{ type: Input }],
|
|
7047
7066
|
contentScrollTop: [{ type: Input }],
|
|
7048
|
-
container: [{ type: ViewChild, args: ['container',] }],
|
|
7049
|
-
panel: [{ type: ViewChild, args: ['panel',] }],
|
|
7067
|
+
container: [{ type: ViewChild, args: ['container', { static: false },] }],
|
|
7068
|
+
panel: [{ type: ViewChild, args: ['panel', { static: false },] }],
|
|
7050
7069
|
commentComponents: [{ type: ViewChildren, args: ['commentComponent',] }]
|
|
7051
7070
|
};
|
|
7052
7071
|
return CommentSetComponent;
|
|
@@ -7141,6 +7160,14 @@ var CommentsSummaryComponent = /** @class */ (function () {
|
|
|
7141
7160
|
});
|
|
7142
7161
|
this.comments$ = this.store.pipe(select(getCommentSummary));
|
|
7143
7162
|
this.buildCheckBoxForm();
|
|
7163
|
+
};
|
|
7164
|
+
/**
|
|
7165
|
+
* @return {?}
|
|
7166
|
+
*/
|
|
7167
|
+
CommentsSummaryComponent.prototype.ngAfterViewInit = /**
|
|
7168
|
+
* @return {?}
|
|
7169
|
+
*/
|
|
7170
|
+
function () {
|
|
7144
7171
|
this.container.nativeElement.focus();
|
|
7145
7172
|
};
|
|
7146
7173
|
/**
|
|
@@ -7275,8 +7302,8 @@ var CommentsSummaryComponent = /** @class */ (function () {
|
|
|
7275
7302
|
CommentsSummaryComponent.propDecorators = {
|
|
7276
7303
|
title: [{ type: Input }],
|
|
7277
7304
|
contentType: [{ type: Input }],
|
|
7278
|
-
container: [{ type: ViewChild, args: ['outerContainer',] }],
|
|
7279
|
-
commentsTable: [{ type: ViewChild, args: ['commentContainer',] }]
|
|
7305
|
+
container: [{ type: ViewChild, args: ['outerContainer', { static: false },] }],
|
|
7306
|
+
commentsTable: [{ type: ViewChild, args: ['commentContainer', { static: false },] }]
|
|
7280
7307
|
};
|
|
7281
7308
|
return CommentsSummaryComponent;
|
|
7282
7309
|
}());
|
|
@@ -7428,7 +7455,7 @@ var BoxHighlightCreateComponent = /** @class */ (function () {
|
|
|
7428
7455
|
zoom: [{ type: Input }],
|
|
7429
7456
|
container: [{ type: Input }],
|
|
7430
7457
|
saveSelection: [{ type: Output }],
|
|
7431
|
-
highlight: [{ type: ViewChild, args: ['boxHighlight',] }]
|
|
7458
|
+
highlight: [{ type: ViewChild, args: ['boxHighlight', { static: false },] }]
|
|
7432
7459
|
};
|
|
7433
7460
|
return BoxHighlightCreateComponent;
|
|
7434
7461
|
}());
|
|
@@ -7624,7 +7651,7 @@ var CommentSearchComponent = /** @class */ (function () {
|
|
|
7624
7651
|
]; };
|
|
7625
7652
|
CommentSearchComponent.propDecorators = {
|
|
7626
7653
|
annotations: [{ type: Input }],
|
|
7627
|
-
searchInput: [{ type: ViewChild, args: ['searchInput',] }]
|
|
7654
|
+
searchInput: [{ type: ViewChild, args: ['searchInput', { static: false },] }]
|
|
7628
7655
|
};
|
|
7629
7656
|
return CommentSearchComponent;
|
|
7630
7657
|
}());
|
|
@@ -8496,26 +8523,27 @@ var SharedModule = /** @class */ (function () {
|
|
|
8496
8523
|
* @fileoverview added by tsickle
|
|
8497
8524
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8498
8525
|
*/
|
|
8499
|
-
|
|
8500
|
-
var getBookmarkState = createSelector(getMVState, (/**
|
|
8526
|
+
var ɵ0$6 = /**
|
|
8501
8527
|
* @param {?} state
|
|
8502
8528
|
* @return {?}
|
|
8503
8529
|
*/
|
|
8504
|
-
function (state) { return state.bookmarks; }
|
|
8530
|
+
function (state) { return state.bookmarks; };
|
|
8531
|
+
/** @type {?} */
|
|
8532
|
+
var getBookmarkState = createSelector(getMVState, (ɵ0$6));
|
|
8505
8533
|
/** @type {?} */
|
|
8506
8534
|
var getBookmarkPages = createSelector(getBookmarkState, getBookmarkPageEnt);
|
|
8507
8535
|
/** @type {?} */
|
|
8508
8536
|
var getBookmarkEntities = createSelector(getBookmarkState, getBookmarkEnts);
|
|
8509
|
-
|
|
8510
|
-
var getBookmarkNodes = createSelector(getBookmarkEntities, (/**
|
|
8537
|
+
var ɵ1$5 = /**
|
|
8511
8538
|
* @param {?} entities
|
|
8512
8539
|
* @return {?}
|
|
8513
8540
|
*/
|
|
8514
|
-
function (entities) { return generateBookmarkNodes(entities); }
|
|
8541
|
+
function (entities) { return generateBookmarkNodes(entities); };
|
|
8515
8542
|
/** @type {?} */
|
|
8516
|
-
var
|
|
8543
|
+
var getBookmarkNodes = createSelector(getBookmarkEntities, (ɵ1$5));
|
|
8517
8544
|
/** @type {?} */
|
|
8518
|
-
var
|
|
8545
|
+
var getEditableBookmark = createSelector(getBookmarkState, getEditBookmark);
|
|
8546
|
+
var ɵ2$3 = /**
|
|
8519
8547
|
* @param {?} bookmarkNodes
|
|
8520
8548
|
* @param {?} docId
|
|
8521
8549
|
* @param {?} pdfPosition
|
|
@@ -8530,9 +8558,10 @@ function (bookmarkNodes, docId, pdfPosition, pages) {
|
|
|
8530
8558
|
previous: bookmarkNodes.length > 0 ? bookmarkNodes[bookmarkNodes.length - 1].id : undefined,
|
|
8531
8559
|
documentId: docId
|
|
8532
8560
|
};
|
|
8533
|
-
}
|
|
8561
|
+
};
|
|
8534
8562
|
/** @type {?} */
|
|
8535
|
-
var
|
|
8563
|
+
var getBookmarkInfo = createSelector(getBookmarkNodes, getDocumentId, getPdfPosition, getPages, (ɵ2$3));
|
|
8564
|
+
var ɵ3$2 = /**
|
|
8536
8565
|
* @param {?} pages
|
|
8537
8566
|
* @param {?} pageEnt
|
|
8538
8567
|
* @return {?}
|
|
@@ -8558,7 +8587,9 @@ function (pages, pageEnt) {
|
|
|
8558
8587
|
}));
|
|
8559
8588
|
return arr_1;
|
|
8560
8589
|
}
|
|
8561
|
-
}
|
|
8590
|
+
};
|
|
8591
|
+
/** @type {?} */
|
|
8592
|
+
var getBookmarksPerPage = createSelector(getPages, getBookmarkPages, (ɵ3$2));
|
|
8562
8593
|
|
|
8563
8594
|
/**
|
|
8564
8595
|
* @fileoverview added by tsickle
|
|
@@ -11605,8 +11636,8 @@ var MultimediaPlayerComponent = /** @class */ (function () {
|
|
|
11605
11636
|
downloadFileName: [{ type: Input }],
|
|
11606
11637
|
multimediaOn: [{ type: Input }],
|
|
11607
11638
|
loadStatus: [{ type: Output }],
|
|
11608
|
-
downloadLink: [{ type: ViewChild, args: ['downloadLink',] }],
|
|
11609
|
-
videoPlayer: [{ type: ViewChild, args: ['videoPlayer',] }]
|
|
11639
|
+
downloadLink: [{ type: ViewChild, args: ['downloadLink', { static: false },] }],
|
|
11640
|
+
videoPlayer: [{ type: ViewChild, args: ['videoPlayer', { static: false },] }]
|
|
11610
11641
|
};
|
|
11611
11642
|
return MultimediaPlayerComponent;
|
|
11612
11643
|
}());
|