@hmcts/media-viewer 2.7.18-RC.1 → 2.7.19-RC.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-media-viewer.umd.js +106 -137
- 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 +3 -8
- 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 +21 -30
- package/esm2015/lib/store/selectors/bookmark.selectors.js +12 -17
- package/esm2015/lib/store/selectors/document.selectors.js +7 -10
- package/esm2015/lib/store/selectors/icp.selectors.js +13 -18
- package/esm2015/lib/store/selectors/redaction.selectors.js +9 -13
- package/esm2015/lib/store/selectors/tag.selectors.js +7 -10
- 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 +3 -11
- 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 +21 -30
- package/esm5/lib/store/selectors/bookmark.selectors.js +12 -17
- package/esm5/lib/store/selectors/document.selectors.js +7 -10
- package/esm5/lib/store/selectors/icp.selectors.js +13 -18
- package/esm5/lib/store/selectors/redaction.selectors.js +9 -13
- package/esm5/lib/store/selectors/tag.selectors.js +7 -10
- 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 +92 -120
- package/fesm2015/hmcts-media-viewer.js.map +1 -1
- package/fesm5/hmcts-media-viewer.js +95 -126
- package/fesm5/hmcts-media-viewer.js.map +1 -1
- package/hmcts-media-viewer-v2.7.19-RC.1.tgz +0 -0
- package/hmcts-media-viewer.metadata.json +1 -1
- package/lib/annotations/comments-summary/comments-summary.component.d.ts +0 -1
- package/package.json +8 -7
- package/hmcts-media-viewer-v2.7.18-RC.1.tgz +0 -0
|
@@ -955,7 +955,7 @@
|
|
|
955
955
|
ToolbarEventService.decorators = [
|
|
956
956
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
957
957
|
];
|
|
958
|
-
/** @nocollapse */ ToolbarEventService.ngInjectableDef = i0
|
|
958
|
+
/** @nocollapse */ ToolbarEventService.ngInjectableDef = i0.defineInjectable({ factory: function ToolbarEventService_Factory() { return new ToolbarEventService(); }, token: ToolbarEventService, providedIn: "root" });
|
|
959
959
|
return ToolbarEventService;
|
|
960
960
|
}());
|
|
961
961
|
|
|
@@ -1014,7 +1014,7 @@
|
|
|
1014
1014
|
{ type: ToolbarEventService }
|
|
1015
1015
|
];
|
|
1016
1016
|
};
|
|
1017
|
-
/** @nocollapse */ PdfJsWrapperFactory.ngInjectableDef = i0
|
|
1017
|
+
/** @nocollapse */ PdfJsWrapperFactory.ngInjectableDef = i0.defineInjectable({ factory: function PdfJsWrapperFactory_Factory() { return new PdfJsWrapperFactory(i0.inject(ToolbarEventService)); }, token: PdfJsWrapperFactory, providedIn: "root" });
|
|
1018
1018
|
return PdfJsWrapperFactory;
|
|
1019
1019
|
}());
|
|
1020
1020
|
|
|
@@ -1064,7 +1064,7 @@
|
|
|
1064
1064
|
providedIn: 'root'
|
|
1065
1065
|
},] }
|
|
1066
1066
|
];
|
|
1067
|
-
/** @nocollapse */ PrintService.ngInjectableDef = i0
|
|
1067
|
+
/** @nocollapse */ PrintService.ngInjectableDef = i0.defineInjectable({ factory: function PrintService_Factory() { return new PrintService(); }, token: PrintService, providedIn: "root" });
|
|
1068
1068
|
return PrintService;
|
|
1069
1069
|
}());
|
|
1070
1070
|
|
|
@@ -1146,7 +1146,7 @@
|
|
|
1146
1146
|
ToolbarButtonVisibilityService.decorators = [
|
|
1147
1147
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1148
1148
|
];
|
|
1149
|
-
/** @nocollapse */ ToolbarButtonVisibilityService.ngInjectableDef = i0
|
|
1149
|
+
/** @nocollapse */ ToolbarButtonVisibilityService.ngInjectableDef = i0.defineInjectable({ factory: function ToolbarButtonVisibilityService_Factory() { return new ToolbarButtonVisibilityService(); }, token: ToolbarButtonVisibilityService, providedIn: "root" });
|
|
1150
1150
|
return ToolbarButtonVisibilityService;
|
|
1151
1151
|
}());
|
|
1152
1152
|
/**
|
|
@@ -1998,10 +1998,10 @@
|
|
|
1998
1998
|
* @return {?}
|
|
1999
1999
|
*/
|
|
2000
2000
|
function reducer(state, action) {
|
|
2001
|
-
var _a, _b, _c, _d;
|
|
2002
2001
|
if (state === void 0) {
|
|
2003
2002
|
state = initialState;
|
|
2004
2003
|
}
|
|
2004
|
+
var _a, _b, _c, _d;
|
|
2005
2005
|
switch (action.type) {
|
|
2006
2006
|
case LOAD_ANNOTATION_SET: {
|
|
2007
2007
|
/** @type {?} */
|
|
@@ -2557,10 +2557,10 @@
|
|
|
2557
2557
|
* @return {?}
|
|
2558
2558
|
*/
|
|
2559
2559
|
function bookmarksReducer(state, action) {
|
|
2560
|
-
var _a, _b;
|
|
2561
2560
|
if (state === void 0) {
|
|
2562
2561
|
state = initialBookmarksState;
|
|
2563
2562
|
}
|
|
2563
|
+
var _a, _b;
|
|
2564
2564
|
switch (action.type) {
|
|
2565
2565
|
case LOAD_BOOKMARKS: {
|
|
2566
2566
|
return __assign({}, state, { loading: true });
|
|
@@ -2839,10 +2839,10 @@
|
|
|
2839
2839
|
* @return {?}
|
|
2840
2840
|
*/
|
|
2841
2841
|
function redactionReducer(state, action) {
|
|
2842
|
-
var _a, _b;
|
|
2843
2842
|
if (state === void 0) {
|
|
2844
2843
|
state = initialRedactionState;
|
|
2845
2844
|
}
|
|
2845
|
+
var _a, _b;
|
|
2846
2846
|
switch (action.type) {
|
|
2847
2847
|
case LOAD_REDACTIONS: {
|
|
2848
2848
|
return __assign({}, state, initialRedactionState);
|
|
@@ -3029,20 +3029,18 @@
|
|
|
3029
3029
|
* @fileoverview added by tsickle
|
|
3030
3030
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3031
3031
|
*/
|
|
3032
|
-
|
|
3032
|
+
/** @type {?} */
|
|
3033
|
+
var getDocumentState = store.createSelector(getMVState, ( /**
|
|
3033
3034
|
* @param {?} state
|
|
3034
3035
|
* @return {?}
|
|
3035
|
-
*/
|
|
3036
|
-
/** @type {?} */
|
|
3037
|
-
var getDocumentState = store.createSelector(getMVState, (ɵ0$1));
|
|
3036
|
+
*/function (state) { return state.document; }));
|
|
3038
3037
|
/** @type {?} */
|
|
3039
3038
|
var getPages = store.createSelector(getDocumentState, getDocPages);
|
|
3040
|
-
|
|
3039
|
+
/** @type {?} */
|
|
3040
|
+
var getPageList = store.createSelector(getPages, ( /**
|
|
3041
3041
|
* @param {?} pages
|
|
3042
3042
|
* @return {?}
|
|
3043
|
-
*/
|
|
3044
|
-
/** @type {?} */
|
|
3045
|
-
var getPageList = store.createSelector(getPages, (ɵ1));
|
|
3043
|
+
*/function (pages) { return Object.values(pages); }));
|
|
3046
3044
|
/** @type {?} */
|
|
3047
3045
|
var getDocumentId = store.createSelector(getDocumentState, getDocId);
|
|
3048
3046
|
/** @type {?} */
|
|
@@ -3114,7 +3112,7 @@
|
|
|
3114
3112
|
];
|
|
3115
3113
|
/** @nocollapse */
|
|
3116
3114
|
ViewerEventService.ctorParameters = function () { return []; };
|
|
3117
|
-
/** @nocollapse */ ViewerEventService.ngInjectableDef = i0
|
|
3115
|
+
/** @nocollapse */ ViewerEventService.ngInjectableDef = i0.defineInjectable({ factory: function ViewerEventService_Factory() { return new ViewerEventService(); }, token: ViewerEventService, providedIn: "root" });
|
|
3118
3116
|
return ViewerEventService;
|
|
3119
3117
|
}());
|
|
3120
3118
|
|
|
@@ -3558,8 +3556,8 @@
|
|
|
3558
3556
|
annotationSet: [{ type: i0.Input }],
|
|
3559
3557
|
height: [{ type: i0.Input }],
|
|
3560
3558
|
caseId: [{ type: i0.Input }],
|
|
3561
|
-
viewerContainer: [{ type: i0.ViewChild, args: ['viewerContainer',
|
|
3562
|
-
pdfViewer: [{ type: i0.ViewChild, args: ['pdfViewer',
|
|
3559
|
+
viewerContainer: [{ type: i0.ViewChild, args: ['viewerContainer',] }],
|
|
3560
|
+
pdfViewer: [{ type: i0.ViewChild, args: ['pdfViewer',] }],
|
|
3563
3561
|
searchBarHidden: [{ type: i0.Input }]
|
|
3564
3562
|
};
|
|
3565
3563
|
return PdfViewerComponent;
|
|
@@ -3595,7 +3593,7 @@
|
|
|
3595
3593
|
{ type: i1.HttpClient }
|
|
3596
3594
|
];
|
|
3597
3595
|
};
|
|
3598
|
-
/** @nocollapse */ ViewerUtilService.ngInjectableDef = i0
|
|
3596
|
+
/** @nocollapse */ ViewerUtilService.ngInjectableDef = i0.defineInjectable({ factory: function ViewerUtilService_Factory() { return new ViewerUtilService(i0.inject(i1.HttpClient)); }, token: ViewerUtilService, providedIn: "root" });
|
|
3599
3597
|
return ViewerUtilService;
|
|
3600
3598
|
}());
|
|
3601
3599
|
|
|
@@ -3910,7 +3908,7 @@
|
|
|
3910
3908
|
height: [{ type: i0.Input }],
|
|
3911
3909
|
mediaLoadStatus: [{ type: i0.Output }],
|
|
3912
3910
|
imageViewerException: [{ type: i0.Output }],
|
|
3913
|
-
img: [{ type: i0.ViewChild, args: ['img',
|
|
3911
|
+
img: [{ type: i0.ViewChild, args: ['img',] }]
|
|
3914
3912
|
};
|
|
3915
3913
|
return ImageViewerComponent;
|
|
3916
3914
|
}());
|
|
@@ -3998,7 +3996,7 @@
|
|
|
3998
3996
|
typeException: [{ type: i0.Input }],
|
|
3999
3997
|
loadStatus: [{ type: i0.Output }],
|
|
4000
3998
|
unsupportedViewerException: [{ type: i0.Output }],
|
|
4001
|
-
downloadLink: [{ type: i0.ViewChild, args: ['downloadLink',
|
|
3999
|
+
downloadLink: [{ type: i0.ViewChild, args: ['downloadLink',] }]
|
|
4002
4000
|
};
|
|
4003
4001
|
return UnsupportedViewerComponent;
|
|
4004
4002
|
}());
|
|
@@ -4279,12 +4277,11 @@
|
|
|
4279
4277
|
* @fileoverview added by tsickle
|
|
4280
4278
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4281
4279
|
*/
|
|
4282
|
-
|
|
4280
|
+
/** @type {?} */
|
|
4281
|
+
var getTagsRootState = store.createSelector(getMVState, ( /**
|
|
4283
4282
|
* @param {?} state
|
|
4284
4283
|
* @return {?}
|
|
4285
|
-
*/
|
|
4286
|
-
/** @type {?} */
|
|
4287
|
-
var getTagsRootState = store.createSelector(getMVState, (ɵ0$2));
|
|
4284
|
+
*/function (state) { return state.tags; }));
|
|
4288
4285
|
/** @type {?} */
|
|
4289
4286
|
var getTagEntities = store.createSelector(getTagsRootState, getTagNameEnt);
|
|
4290
4287
|
/** @type {?} */
|
|
@@ -4293,10 +4290,11 @@
|
|
|
4293
4290
|
var getTagFiltered = store.createSelector(getTagsRootState, getFilteredComments);
|
|
4294
4291
|
/** @type {?} */
|
|
4295
4292
|
var getFilteredPageEntities = store.createSelector(getTagsRootState, getFilteredPageEnt);
|
|
4296
|
-
|
|
4293
|
+
/** @type {?} */
|
|
4294
|
+
var getAllTagsArr = store.createSelector(getTagEntities, ( /**
|
|
4297
4295
|
* @param {?} tagEnt
|
|
4298
4296
|
* @return {?}
|
|
4299
|
-
*/
|
|
4297
|
+
*/function (tagEnt) {
|
|
4300
4298
|
return Object.keys(tagEnt).map(( /**
|
|
4301
4299
|
* @param {?} key
|
|
4302
4300
|
* @return {?}
|
|
@@ -4306,47 +4304,42 @@
|
|
|
4306
4304
|
length: Object.keys(tagEnt[key]).length
|
|
4307
4305
|
};
|
|
4308
4306
|
}));
|
|
4309
|
-
};
|
|
4310
|
-
/** @type {?} */
|
|
4311
|
-
var getAllTagsArr = store.createSelector(getTagEntities, (ɵ1$1));
|
|
4307
|
+
}));
|
|
4312
4308
|
|
|
4313
4309
|
/**
|
|
4314
4310
|
* @fileoverview added by tsickle
|
|
4315
4311
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4316
4312
|
*/
|
|
4317
|
-
|
|
4313
|
+
/** @type {?} */
|
|
4314
|
+
var getAnnotationsSetState = store.createSelector(getMVState, ( /**
|
|
4318
4315
|
* @param {?} state
|
|
4319
4316
|
* @return {?}
|
|
4320
|
-
*/
|
|
4321
|
-
/** @type {?} */
|
|
4322
|
-
var getAnnotationsSetState = store.createSelector(getMVState, (ɵ0$3));
|
|
4317
|
+
*/function (state) { return state.annotations; }));
|
|
4323
4318
|
/** @type {?} */
|
|
4324
4319
|
var getAnnotationEntities = store.createSelector(getAnnotationsSetState, getAnnoEnt);
|
|
4325
4320
|
/** @type {?} */
|
|
4326
4321
|
var getSet = store.createSelector(getAnnotationsSetState, getAnnoSet);
|
|
4327
|
-
|
|
4322
|
+
/** @type {?} */
|
|
4323
|
+
var getDocumentIdSetId = store.createSelector(getSet, ( /**
|
|
4328
4324
|
* @param {?} annoSet
|
|
4329
4325
|
* @return {?}
|
|
4330
|
-
*/
|
|
4326
|
+
*/function (annoSet) {
|
|
4331
4327
|
return {
|
|
4332
4328
|
documentId: annoSet.documentId,
|
|
4333
4329
|
annotationSetId: annoSet.id
|
|
4334
4330
|
};
|
|
4335
|
-
};
|
|
4331
|
+
}));
|
|
4336
4332
|
/** @type {?} */
|
|
4337
|
-
var
|
|
4338
|
-
var ɵ2 = /**
|
|
4333
|
+
var getAnnotationSet = store.createSelector(getAnnotationEntities, getSet, ( /**
|
|
4339
4334
|
* @param {?} entities
|
|
4340
4335
|
* @param {?} set
|
|
4341
4336
|
* @return {?}
|
|
4342
|
-
*/
|
|
4337
|
+
*/function (entities, set) {
|
|
4343
4338
|
return __assign({}, set, { annotations: Object.keys(entities).map(( /**
|
|
4344
4339
|
* @param {?} key
|
|
4345
4340
|
* @return {?}
|
|
4346
4341
|
*/function (key) { return entities[key]; })) });
|
|
4347
|
-
};
|
|
4348
|
-
/** @type {?} */
|
|
4349
|
-
var getAnnotationSet = store.createSelector(getAnnotationEntities, getSet, (ɵ2));
|
|
4342
|
+
}));
|
|
4350
4343
|
/** @type {?} */
|
|
4351
4344
|
var getSelectedAnnotation = store.createSelector(getAnnotationsSetState, getSelectedAnno);
|
|
4352
4345
|
/** @type {?} */
|
|
@@ -4355,20 +4348,20 @@
|
|
|
4355
4348
|
var getPageEntities = store.createSelector(getAnnotationsSetState, getAnnoPageEnt);
|
|
4356
4349
|
/** @type {?} */
|
|
4357
4350
|
var getComponentSearchQueries = store.createSelector(getAnnotationsSetState, commentSearchQ);
|
|
4358
|
-
|
|
4351
|
+
/** @type {?} */
|
|
4352
|
+
var getComponentSearchText = store.createSelector(getComponentSearchQueries, ( /**
|
|
4359
4353
|
* @param {?} queries
|
|
4360
4354
|
* @return {?}
|
|
4361
|
-
*/
|
|
4362
|
-
/** @type {?} */
|
|
4363
|
-
var getComponentSearchText = store.createSelector(getComponentSearchQueries, (ɵ3));
|
|
4355
|
+
*/function (queries) { return queries.commentSearch; }));
|
|
4364
4356
|
/** @type {?} */
|
|
4365
4357
|
var getCommentSummaryFilters = store.createSelector(getAnnotationsSetState, getSummaryFilters);
|
|
4366
|
-
|
|
4358
|
+
/** @type {?} */
|
|
4359
|
+
var getAnnoPerPage = store.createSelector(getPages, getPageEntities, getFilteredPageEntities, ( /**
|
|
4367
4360
|
* @param {?} pages
|
|
4368
4361
|
* @param {?} pageEnt
|
|
4369
4362
|
* @param {?} filteredPageEnt
|
|
4370
4363
|
* @return {?}
|
|
4371
|
-
*/
|
|
4364
|
+
*/function (pages, pageEnt, filteredPageEnt) {
|
|
4372
4365
|
/** @type {?} */
|
|
4373
4366
|
var isFiltered = !!Object.keys(filteredPageEnt).length;
|
|
4374
4367
|
/** @type {?} */
|
|
@@ -4387,16 +4380,15 @@
|
|
|
4387
4380
|
}));
|
|
4388
4381
|
return arr_1;
|
|
4389
4382
|
}
|
|
4390
|
-
};
|
|
4383
|
+
}));
|
|
4391
4384
|
/** @type {?} */
|
|
4392
|
-
var
|
|
4393
|
-
var ɵ5 = /**
|
|
4385
|
+
var getCommentsArray = store.createSelector(getCommentEntities, getPages, getAnnotationEntities, getTagFiltered, ( /**
|
|
4394
4386
|
* @param {?} commentEnts
|
|
4395
4387
|
* @param {?} pages
|
|
4396
4388
|
* @param {?} annoEnts
|
|
4397
4389
|
* @param {?} filtered
|
|
4398
4390
|
* @return {?}
|
|
4399
|
-
*/
|
|
4391
|
+
*/function (commentEnts, pages, annoEnts, filtered) {
|
|
4400
4392
|
if (commentEnts && annoEnts && pages[1]) {
|
|
4401
4393
|
/** @type {?} */
|
|
4402
4394
|
var isFiltered = !!Object.keys(filtered).length;
|
|
@@ -4412,14 +4404,13 @@
|
|
|
4412
4404
|
pages: pages });
|
|
4413
4405
|
}));
|
|
4414
4406
|
}
|
|
4415
|
-
};
|
|
4407
|
+
}));
|
|
4416
4408
|
/** @type {?} */
|
|
4417
|
-
var
|
|
4418
|
-
var ɵ6 = /**
|
|
4409
|
+
var getCommentSummary = store.createSelector(getCommentsArray, getCommentSummaryFilters, ( /**
|
|
4419
4410
|
* @param {?=} commentSummary
|
|
4420
4411
|
* @param {?=} filters
|
|
4421
4412
|
* @return {?}
|
|
4422
|
-
*/
|
|
4413
|
+
*/function (commentSummary, filters) {
|
|
4423
4414
|
if (commentSummary === void 0) {
|
|
4424
4415
|
commentSummary = [];
|
|
4425
4416
|
}
|
|
@@ -4440,14 +4431,13 @@
|
|
|
4440
4431
|
}));
|
|
4441
4432
|
}
|
|
4442
4433
|
return [''];
|
|
4443
|
-
};
|
|
4434
|
+
}));
|
|
4444
4435
|
/** @type {?} */
|
|
4445
|
-
var
|
|
4446
|
-
var ɵ7 = /**
|
|
4436
|
+
var getFilteredAnnotations = store.createSelector(getAnnotationEntities, getTagFiltered, ( /**
|
|
4447
4437
|
* @param {?} annoEnt
|
|
4448
4438
|
* @param {?} filters
|
|
4449
4439
|
* @return {?}
|
|
4450
|
-
*/
|
|
4440
|
+
*/function (annoEnt, filters) {
|
|
4451
4441
|
/** @type {?} */
|
|
4452
4442
|
var isFiltered = !!Object.keys(filters).length;
|
|
4453
4443
|
/** @type {?} */
|
|
@@ -4460,9 +4450,7 @@
|
|
|
4460
4450
|
* @param {?} annotation
|
|
4461
4451
|
* @return {?}
|
|
4462
4452
|
*/function (annotation) { return annotation.comments && annotation.comments.length > 0; }));
|
|
4463
|
-
};
|
|
4464
|
-
/** @type {?} */
|
|
4465
|
-
var getFilteredAnnotations = store.createSelector(getAnnotationEntities, getTagFiltered, (ɵ7));
|
|
4453
|
+
}));
|
|
4466
4454
|
|
|
4467
4455
|
/**
|
|
4468
4456
|
* @fileoverview added by tsickle
|
|
@@ -4757,7 +4745,7 @@
|
|
|
4757
4745
|
];
|
|
4758
4746
|
};
|
|
4759
4747
|
MediaViewerComponent.propDecorators = {
|
|
4760
|
-
viewerRef: [{ type: i0.ViewChild, args: ['viewerRef',
|
|
4748
|
+
viewerRef: [{ type: i0.ViewChild, args: ['viewerRef',] }],
|
|
4761
4749
|
url: [{ type: i0.Input }],
|
|
4762
4750
|
downloadFileName: [{ type: i0.Input }],
|
|
4763
4751
|
contentType: [{ type: i0.Input }],
|
|
@@ -4811,7 +4799,7 @@
|
|
|
4811
4799
|
];
|
|
4812
4800
|
/** @nocollapse */
|
|
4813
4801
|
NumberHelperService.ctorParameters = function () { return []; };
|
|
4814
|
-
/** @nocollapse */ NumberHelperService.ngInjectableDef = i0
|
|
4802
|
+
/** @nocollapse */ NumberHelperService.ngInjectableDef = i0.defineInjectable({ factory: function NumberHelperService_Factory() { return new NumberHelperService(); }, token: NumberHelperService, providedIn: "root" });
|
|
4815
4803
|
return NumberHelperService;
|
|
4816
4804
|
}());
|
|
4817
4805
|
|
|
@@ -5154,9 +5142,9 @@
|
|
|
5154
5142
|
enableRedactions: [{ type: i0.Input }],
|
|
5155
5143
|
enableICP: [{ type: i0.Input }],
|
|
5156
5144
|
contentType: [{ type: i0.Input }],
|
|
5157
|
-
zoomSelect: [{ type: i0.ViewChild, args: ['zoomSelect',
|
|
5158
|
-
mvToolbarMain: [{ type: i0.ViewChild, args: ['mvToolbarMain',
|
|
5159
|
-
mvMenuItems: [{ type: i0.ViewChild, args: ['dropdownMenu',
|
|
5145
|
+
zoomSelect: [{ type: i0.ViewChild, args: ['zoomSelect',] }],
|
|
5146
|
+
mvToolbarMain: [{ type: i0.ViewChild, args: ['mvToolbarMain',] }],
|
|
5147
|
+
mvMenuItems: [{ type: i0.ViewChild, args: ['dropdownMenu',] }],
|
|
5160
5148
|
onResize: [{ type: i0.HostListener, args: ['window:resize', [],] }]
|
|
5161
5149
|
};
|
|
5162
5150
|
return MainToolbarComponent;
|
|
@@ -5356,7 +5344,7 @@
|
|
|
5356
5344
|
];
|
|
5357
5345
|
};
|
|
5358
5346
|
SearchBarComponent.propDecorators = {
|
|
5359
|
-
findInput: [{ type: i0.ViewChild, args: ['findInput',
|
|
5347
|
+
findInput: [{ type: i0.ViewChild, args: ['findInput',] }],
|
|
5360
5348
|
onWindowKeyDown: [{ type: i0.HostListener, args: ['window:keydown', ['$event'],] }]
|
|
5361
5349
|
};
|
|
5362
5350
|
return SearchBarComponent;
|
|
@@ -5366,12 +5354,11 @@
|
|
|
5366
5354
|
* @fileoverview added by tsickle
|
|
5367
5355
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5368
5356
|
*/
|
|
5369
|
-
|
|
5357
|
+
/** @type {?} */
|
|
5358
|
+
var getRedactionState = store.createSelector(getMVState, ( /**
|
|
5370
5359
|
* @param {?} state
|
|
5371
5360
|
* @return {?}
|
|
5372
|
-
*/
|
|
5373
|
-
/** @type {?} */
|
|
5374
|
-
var getRedactionState = store.createSelector(getMVState, (ɵ0$4));
|
|
5361
|
+
*/function (state) { return state.redactions; }));
|
|
5375
5362
|
/** @type {?} */
|
|
5376
5363
|
var getRedactionPages = store.createSelector(getRedactionState, getPageEnt);
|
|
5377
5364
|
/** @type {?} */
|
|
@@ -5380,25 +5367,25 @@
|
|
|
5380
5367
|
var getRedactedDocumentInfo = store.createSelector(getRedactionState, getRedactedDocInfo);
|
|
5381
5368
|
/** @type {?} */
|
|
5382
5369
|
var getRedactionEnt$1 = store.createSelector(getRedactionState, getRedactionEnt);
|
|
5383
|
-
|
|
5370
|
+
/** @type {?} */
|
|
5371
|
+
var getRedactionArray = store.createSelector(getRedactionEnt$1, getDocumentId, ( /**
|
|
5384
5372
|
* @param {?} ent
|
|
5385
5373
|
* @param {?} documentId
|
|
5386
5374
|
* @return {?}
|
|
5387
|
-
*/
|
|
5375
|
+
*/function (ent, documentId) {
|
|
5388
5376
|
/** @type {?} */
|
|
5389
5377
|
var redactions = Object.keys(ent).map(( /**
|
|
5390
5378
|
* @param {?} key
|
|
5391
5379
|
* @return {?}
|
|
5392
5380
|
*/function (key) { return ent[key]; }));
|
|
5393
5381
|
return { redactions: redactions, documentId: documentId };
|
|
5394
|
-
};
|
|
5382
|
+
}));
|
|
5395
5383
|
/** @type {?} */
|
|
5396
|
-
var
|
|
5397
|
-
var ɵ2$1 = /**
|
|
5384
|
+
var getRedactionsPerPage = store.createSelector(getPages, getRedactionPages, ( /**
|
|
5398
5385
|
* @param {?} pages
|
|
5399
5386
|
* @param {?} pageEnt
|
|
5400
5387
|
* @return {?}
|
|
5401
|
-
*/
|
|
5388
|
+
*/function (pages, pageEnt) {
|
|
5402
5389
|
if (pages && pageEnt) {
|
|
5403
5390
|
/** @type {?} */
|
|
5404
5391
|
var arr_1 = [];
|
|
@@ -5413,9 +5400,7 @@
|
|
|
5413
5400
|
}));
|
|
5414
5401
|
return arr_1;
|
|
5415
5402
|
}
|
|
5416
|
-
};
|
|
5417
|
-
/** @type {?} */
|
|
5418
|
-
var getRedactionsPerPage = store.createSelector(getPages, getRedactionPages, (ɵ2$1));
|
|
5403
|
+
}));
|
|
5419
5404
|
|
|
5420
5405
|
/**
|
|
5421
5406
|
* @fileoverview added by tsickle
|
|
@@ -5529,38 +5514,34 @@
|
|
|
5529
5514
|
* @fileoverview added by tsickle
|
|
5530
5515
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5531
5516
|
*/
|
|
5532
|
-
|
|
5517
|
+
/** @type {?} */
|
|
5518
|
+
var getIcpState = store.createSelector(getMVState, ( /**
|
|
5533
5519
|
* @param {?} state
|
|
5534
5520
|
* @return {?}
|
|
5535
|
-
*/
|
|
5536
|
-
/** @type {?} */
|
|
5537
|
-
var getIcpState = store.createSelector(getMVState, (ɵ0$5));
|
|
5521
|
+
*/function (state) { return state.icp; }));
|
|
5538
5522
|
/** @type {?} */
|
|
5539
5523
|
var getIcpSession$1 = store.createSelector(getIcpState, getIcpSession);
|
|
5540
|
-
|
|
5524
|
+
/** @type {?} */
|
|
5525
|
+
var getCaseId = store.createSelector(getIcpSession$1, ( /**
|
|
5541
5526
|
* @param {?} session
|
|
5542
5527
|
* @return {?}
|
|
5543
|
-
*/
|
|
5544
|
-
/** @type {?} */
|
|
5545
|
-
var getCaseId = store.createSelector(getIcpSession$1, (ɵ1$4));
|
|
5528
|
+
*/function (session) { return session === null ? null : session.caseId; }));
|
|
5546
5529
|
/** @type {?} */
|
|
5547
5530
|
var getPresenter$1 = store.createSelector(getIcpState, getPresenter);
|
|
5548
|
-
|
|
5531
|
+
/** @type {?} */
|
|
5532
|
+
var getPresenterName = store.createSelector(getPresenter$1, ( /**
|
|
5549
5533
|
* @param {?} presenter
|
|
5550
5534
|
* @return {?}
|
|
5551
|
-
*/
|
|
5552
|
-
/** @type {?} */
|
|
5553
|
-
var getPresenterName = store.createSelector(getPresenter$1, (ɵ2$2));
|
|
5535
|
+
*/function (presenter) { return presenter === null ? null : presenter.username; }));
|
|
5554
5536
|
/** @type {?} */
|
|
5555
5537
|
var getClient$1 = store.createSelector(getIcpState, getClient);
|
|
5556
|
-
|
|
5538
|
+
/** @type {?} */
|
|
5539
|
+
var isPresenter = store.createSelector(getPresenter$1, getClient$1, ( /**
|
|
5557
5540
|
* @param {?} presenter
|
|
5558
5541
|
* @param {?} client
|
|
5559
5542
|
* @return {?}
|
|
5560
|
-
*/
|
|
5561
|
-
;
|
|
5562
|
-
/** @type {?} */
|
|
5563
|
-
var isPresenter = store.createSelector(getPresenter$1, getClient$1, (ɵ3$1));
|
|
5543
|
+
*/function (presenter, client) { return presenter === null ? undefined : presenter.id === client.id; } // isPresenter is called when = false.
|
|
5544
|
+
));
|
|
5564
5545
|
/** @type {?} */
|
|
5565
5546
|
var getParticipants$1 = store.createSelector(getIcpState, getParticipants);
|
|
5566
5547
|
|
|
@@ -5821,7 +5802,7 @@
|
|
|
5821
5802
|
update: [{ type: i0.Output }],
|
|
5822
5803
|
delete: [{ type: i0.Output }],
|
|
5823
5804
|
annotationClick: [{ type: i0.Output }],
|
|
5824
|
-
container: [{ type: i0.ViewChild, args: ['container',
|
|
5805
|
+
container: [{ type: i0.ViewChild, args: ['container',] }]
|
|
5825
5806
|
};
|
|
5826
5807
|
return AnnotationViewComponent;
|
|
5827
5808
|
}());
|
|
@@ -6193,7 +6174,7 @@
|
|
|
6193
6174
|
pageWidth: [{ type: i0.Input }],
|
|
6194
6175
|
select: [{ type: i0.Output }],
|
|
6195
6176
|
update: [{ type: i0.Output }],
|
|
6196
|
-
viewRect: [{ type: i0.ViewChild, args: ['rectElement',
|
|
6177
|
+
viewRect: [{ type: i0.ViewChild, args: ['rectElement',] }],
|
|
6197
6178
|
annoRect: [{ type: i0.Input }],
|
|
6198
6179
|
selected: [{ type: i0.Input }]
|
|
6199
6180
|
};
|
|
@@ -6534,8 +6515,8 @@
|
|
|
6534
6515
|
zoom: [{ type: i0.Input }],
|
|
6535
6516
|
index: [{ type: i0.Input }],
|
|
6536
6517
|
page: [{ type: i0.Input }],
|
|
6537
|
-
form: [{ type: i0.ViewChild, args: ['form',
|
|
6538
|
-
editableComment: [{ type: i0.ViewChild, args: ['editableComment',
|
|
6518
|
+
form: [{ type: i0.ViewChild, args: ['form',] }],
|
|
6519
|
+
editableComment: [{ type: i0.ViewChild, args: ['editableComment',] }],
|
|
6539
6520
|
comment: [{ type: i0.Input }],
|
|
6540
6521
|
annotation: [{ type: i0.Input }]
|
|
6541
6522
|
};
|
|
@@ -7113,8 +7094,8 @@
|
|
|
7113
7094
|
height: [{ type: i0.Input }],
|
|
7114
7095
|
pageHeights: [{ type: i0.Input }],
|
|
7115
7096
|
contentScrollTop: [{ type: i0.Input }],
|
|
7116
|
-
container: [{ type: i0.ViewChild, args: ['container',
|
|
7117
|
-
panel: [{ type: i0.ViewChild, args: ['panel',
|
|
7097
|
+
container: [{ type: i0.ViewChild, args: ['container',] }],
|
|
7098
|
+
panel: [{ type: i0.ViewChild, args: ['panel',] }],
|
|
7118
7099
|
commentComponents: [{ type: i0.ViewChildren, args: ['commentComponent',] }]
|
|
7119
7100
|
};
|
|
7120
7101
|
return CommentSetComponent;
|
|
@@ -7211,14 +7192,6 @@
|
|
|
7211
7192
|
});
|
|
7212
7193
|
this.comments$ = this.store.pipe(store.select(getCommentSummary));
|
|
7213
7194
|
this.buildCheckBoxForm();
|
|
7214
|
-
};
|
|
7215
|
-
/**
|
|
7216
|
-
* @return {?}
|
|
7217
|
-
*/
|
|
7218
|
-
CommentsSummaryComponent.prototype.ngAfterViewInit = /**
|
|
7219
|
-
* @return {?}
|
|
7220
|
-
*/
|
|
7221
|
-
function () {
|
|
7222
7195
|
this.container.nativeElement.focus();
|
|
7223
7196
|
};
|
|
7224
7197
|
/**
|
|
@@ -7353,8 +7326,8 @@
|
|
|
7353
7326
|
CommentsSummaryComponent.propDecorators = {
|
|
7354
7327
|
title: [{ type: i0.Input }],
|
|
7355
7328
|
contentType: [{ type: i0.Input }],
|
|
7356
|
-
container: [{ type: i0.ViewChild, args: ['outerContainer',
|
|
7357
|
-
commentsTable: [{ type: i0.ViewChild, args: ['commentContainer',
|
|
7329
|
+
container: [{ type: i0.ViewChild, args: ['outerContainer',] }],
|
|
7330
|
+
commentsTable: [{ type: i0.ViewChild, args: ['commentContainer',] }]
|
|
7358
7331
|
};
|
|
7359
7332
|
return CommentsSummaryComponent;
|
|
7360
7333
|
}());
|
|
@@ -7506,7 +7479,7 @@
|
|
|
7506
7479
|
zoom: [{ type: i0.Input }],
|
|
7507
7480
|
container: [{ type: i0.Input }],
|
|
7508
7481
|
saveSelection: [{ type: i0.Output }],
|
|
7509
|
-
highlight: [{ type: i0.ViewChild, args: ['boxHighlight',
|
|
7482
|
+
highlight: [{ type: i0.ViewChild, args: ['boxHighlight',] }]
|
|
7510
7483
|
};
|
|
7511
7484
|
return BoxHighlightCreateComponent;
|
|
7512
7485
|
}());
|
|
@@ -7701,7 +7674,7 @@
|
|
|
7701
7674
|
};
|
|
7702
7675
|
CommentSearchComponent.propDecorators = {
|
|
7703
7676
|
annotations: [{ type: i0.Input }],
|
|
7704
|
-
searchInput: [{ type: i0.ViewChild, args: ['searchInput',
|
|
7677
|
+
searchInput: [{ type: i0.ViewChild, args: ['searchInput',] }]
|
|
7705
7678
|
};
|
|
7706
7679
|
return CommentSearchComponent;
|
|
7707
7680
|
}());
|
|
@@ -8577,31 +8550,30 @@
|
|
|
8577
8550
|
* @fileoverview added by tsickle
|
|
8578
8551
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8579
8552
|
*/
|
|
8580
|
-
|
|
8553
|
+
/** @type {?} */
|
|
8554
|
+
var getBookmarkState = store.createSelector(getMVState, ( /**
|
|
8581
8555
|
* @param {?} state
|
|
8582
8556
|
* @return {?}
|
|
8583
|
-
*/
|
|
8584
|
-
/** @type {?} */
|
|
8585
|
-
var getBookmarkState = store.createSelector(getMVState, (ɵ0$6));
|
|
8557
|
+
*/function (state) { return state.bookmarks; }));
|
|
8586
8558
|
/** @type {?} */
|
|
8587
8559
|
var getBookmarkPages = store.createSelector(getBookmarkState, getBookmarkPageEnt);
|
|
8588
8560
|
/** @type {?} */
|
|
8589
8561
|
var getBookmarkEntities = store.createSelector(getBookmarkState, getBookmarkEnts);
|
|
8590
|
-
|
|
8562
|
+
/** @type {?} */
|
|
8563
|
+
var getBookmarkNodes = store.createSelector(getBookmarkEntities, ( /**
|
|
8591
8564
|
* @param {?} entities
|
|
8592
8565
|
* @return {?}
|
|
8593
|
-
*/
|
|
8594
|
-
/** @type {?} */
|
|
8595
|
-
var getBookmarkNodes = store.createSelector(getBookmarkEntities, (ɵ1$5));
|
|
8566
|
+
*/function (entities) { return generateBookmarkNodes(entities); }));
|
|
8596
8567
|
/** @type {?} */
|
|
8597
8568
|
var getEditableBookmark = store.createSelector(getBookmarkState, getEditBookmark);
|
|
8598
|
-
|
|
8569
|
+
/** @type {?} */
|
|
8570
|
+
var getBookmarkInfo = store.createSelector(getBookmarkNodes, getDocumentId, getPdfPosition, getPages, ( /**
|
|
8599
8571
|
* @param {?} bookmarkNodes
|
|
8600
8572
|
* @param {?} docId
|
|
8601
8573
|
* @param {?} pdfPosition
|
|
8602
8574
|
* @param {?} pages
|
|
8603
8575
|
* @return {?}
|
|
8604
|
-
*/
|
|
8576
|
+
*/function (bookmarkNodes, docId, pdfPosition, pages) {
|
|
8605
8577
|
return {
|
|
8606
8578
|
pageNumber: pdfPosition.pageNumber - 1,
|
|
8607
8579
|
xCoordinate: pdfPosition.left,
|
|
@@ -8609,14 +8581,13 @@
|
|
|
8609
8581
|
previous: bookmarkNodes.length > 0 ? bookmarkNodes[bookmarkNodes.length - 1].id : undefined,
|
|
8610
8582
|
documentId: docId
|
|
8611
8583
|
};
|
|
8612
|
-
};
|
|
8584
|
+
}));
|
|
8613
8585
|
/** @type {?} */
|
|
8614
|
-
var
|
|
8615
|
-
var ɵ3$2 = /**
|
|
8586
|
+
var getBookmarksPerPage = store.createSelector(getPages, getBookmarkPages, ( /**
|
|
8616
8587
|
* @param {?} pages
|
|
8617
8588
|
* @param {?} pageEnt
|
|
8618
8589
|
* @return {?}
|
|
8619
|
-
*/
|
|
8590
|
+
*/function (pages, pageEnt) {
|
|
8620
8591
|
if (pages && pageEnt) {
|
|
8621
8592
|
/** @type {?} */
|
|
8622
8593
|
var arr_1 = [];
|
|
@@ -8636,9 +8607,7 @@
|
|
|
8636
8607
|
}));
|
|
8637
8608
|
return arr_1;
|
|
8638
8609
|
}
|
|
8639
|
-
};
|
|
8640
|
-
/** @type {?} */
|
|
8641
|
-
var getBookmarksPerPage = store.createSelector(getPages, getBookmarkPages, (ɵ3$2));
|
|
8610
|
+
}));
|
|
8642
8611
|
|
|
8643
8612
|
/**
|
|
8644
8613
|
* @fileoverview added by tsickle
|
|
@@ -11599,8 +11568,8 @@
|
|
|
11599
11568
|
downloadFileName: [{ type: i0.Input }],
|
|
11600
11569
|
multimediaOn: [{ type: i0.Input }],
|
|
11601
11570
|
loadStatus: [{ type: i0.Output }],
|
|
11602
|
-
downloadLink: [{ type: i0.ViewChild, args: ['downloadLink',
|
|
11603
|
-
videoPlayer: [{ type: i0.ViewChild, args: ['videoPlayer',
|
|
11571
|
+
downloadLink: [{ type: i0.ViewChild, args: ['downloadLink',] }],
|
|
11572
|
+
videoPlayer: [{ type: i0.ViewChild, args: ['videoPlayer',] }]
|
|
11604
11573
|
};
|
|
11605
11574
|
return MultimediaPlayerComponent;
|
|
11606
11575
|
}());
|