@hmcts/media-viewer 2.7.12 → 2.7.13
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.13.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
|
@@ -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;
|
|
2001
2002
|
if (state === void 0) {
|
|
2002
2003
|
state = initialState;
|
|
2003
2004
|
}
|
|
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;
|
|
2560
2561
|
if (state === void 0) {
|
|
2561
2562
|
state = initialBookmarksState;
|
|
2562
2563
|
}
|
|
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;
|
|
2842
2843
|
if (state === void 0) {
|
|
2843
2844
|
state = initialRedactionState;
|
|
2844
2845
|
}
|
|
2845
|
-
var _a, _b;
|
|
2846
2846
|
switch (action.type) {
|
|
2847
2847
|
case LOAD_REDACTIONS: {
|
|
2848
2848
|
return __assign({}, state, initialRedactionState);
|
|
@@ -3029,18 +3029,20 @@
|
|
|
3029
3029
|
* @fileoverview added by tsickle
|
|
3030
3030
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3031
3031
|
*/
|
|
3032
|
-
|
|
3033
|
-
var getDocumentState = store.createSelector(getMVState, ( /**
|
|
3032
|
+
var ɵ0$1 = /**
|
|
3034
3033
|
* @param {?} state
|
|
3035
3034
|
* @return {?}
|
|
3036
|
-
*/function (state) { return state.document; }
|
|
3035
|
+
*/ function (state) { return state.document; };
|
|
3037
3036
|
/** @type {?} */
|
|
3038
|
-
var
|
|
3037
|
+
var getDocumentState = store.createSelector(getMVState, (ɵ0$1));
|
|
3039
3038
|
/** @type {?} */
|
|
3040
|
-
var
|
|
3039
|
+
var getPages = store.createSelector(getDocumentState, getDocPages);
|
|
3040
|
+
var ɵ1 = /**
|
|
3041
3041
|
* @param {?} pages
|
|
3042
3042
|
* @return {?}
|
|
3043
|
-
*/function (pages) { return Object.values(pages); }
|
|
3043
|
+
*/ function (pages) { return Object.values(pages); };
|
|
3044
|
+
/** @type {?} */
|
|
3045
|
+
var getPageList = store.createSelector(getPages, (ɵ1));
|
|
3044
3046
|
/** @type {?} */
|
|
3045
3047
|
var getDocumentId = store.createSelector(getDocumentState, getDocId);
|
|
3046
3048
|
/** @type {?} */
|
|
@@ -3112,7 +3114,7 @@
|
|
|
3112
3114
|
];
|
|
3113
3115
|
/** @nocollapse */
|
|
3114
3116
|
ViewerEventService.ctorParameters = function () { return []; };
|
|
3115
|
-
/** @nocollapse */ ViewerEventService.ngInjectableDef = i0
|
|
3117
|
+
/** @nocollapse */ ViewerEventService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ViewerEventService_Factory() { return new ViewerEventService(); }, token: ViewerEventService, providedIn: "root" });
|
|
3116
3118
|
return ViewerEventService;
|
|
3117
3119
|
}());
|
|
3118
3120
|
|
|
@@ -3556,8 +3558,8 @@
|
|
|
3556
3558
|
annotationSet: [{ type: i0.Input }],
|
|
3557
3559
|
height: [{ type: i0.Input }],
|
|
3558
3560
|
caseId: [{ type: i0.Input }],
|
|
3559
|
-
viewerContainer: [{ type: i0.ViewChild, args: ['viewerContainer',] }],
|
|
3560
|
-
pdfViewer: [{ type: i0.ViewChild, args: ['pdfViewer',] }],
|
|
3561
|
+
viewerContainer: [{ type: i0.ViewChild, args: ['viewerContainer', { static: true },] }],
|
|
3562
|
+
pdfViewer: [{ type: i0.ViewChild, args: ['pdfViewer', { static: false },] }],
|
|
3561
3563
|
searchBarHidden: [{ type: i0.Input }]
|
|
3562
3564
|
};
|
|
3563
3565
|
return PdfViewerComponent;
|
|
@@ -3593,7 +3595,7 @@
|
|
|
3593
3595
|
{ type: i1.HttpClient }
|
|
3594
3596
|
];
|
|
3595
3597
|
};
|
|
3596
|
-
/** @nocollapse */ ViewerUtilService.ngInjectableDef = i0
|
|
3598
|
+
/** @nocollapse */ ViewerUtilService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ViewerUtilService_Factory() { return new ViewerUtilService(i0.ɵɵinject(i1.HttpClient)); }, token: ViewerUtilService, providedIn: "root" });
|
|
3597
3599
|
return ViewerUtilService;
|
|
3598
3600
|
}());
|
|
3599
3601
|
|
|
@@ -3908,7 +3910,7 @@
|
|
|
3908
3910
|
height: [{ type: i0.Input }],
|
|
3909
3911
|
mediaLoadStatus: [{ type: i0.Output }],
|
|
3910
3912
|
imageViewerException: [{ type: i0.Output }],
|
|
3911
|
-
img: [{ type: i0.ViewChild, args: ['img',] }]
|
|
3913
|
+
img: [{ type: i0.ViewChild, args: ['img', { static: false },] }]
|
|
3912
3914
|
};
|
|
3913
3915
|
return ImageViewerComponent;
|
|
3914
3916
|
}());
|
|
@@ -3996,7 +3998,7 @@
|
|
|
3996
3998
|
typeException: [{ type: i0.Input }],
|
|
3997
3999
|
loadStatus: [{ type: i0.Output }],
|
|
3998
4000
|
unsupportedViewerException: [{ type: i0.Output }],
|
|
3999
|
-
downloadLink: [{ type: i0.ViewChild, args: ['downloadLink',] }]
|
|
4001
|
+
downloadLink: [{ type: i0.ViewChild, args: ['downloadLink', { static: false },] }]
|
|
4000
4002
|
};
|
|
4001
4003
|
return UnsupportedViewerComponent;
|
|
4002
4004
|
}());
|
|
@@ -4277,11 +4279,12 @@
|
|
|
4277
4279
|
* @fileoverview added by tsickle
|
|
4278
4280
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4279
4281
|
*/
|
|
4280
|
-
|
|
4281
|
-
var getTagsRootState = store.createSelector(getMVState, ( /**
|
|
4282
|
+
var ɵ0$2 = /**
|
|
4282
4283
|
* @param {?} state
|
|
4283
4284
|
* @return {?}
|
|
4284
|
-
*/function (state) { return state.tags; }
|
|
4285
|
+
*/ function (state) { return state.tags; };
|
|
4286
|
+
/** @type {?} */
|
|
4287
|
+
var getTagsRootState = store.createSelector(getMVState, (ɵ0$2));
|
|
4285
4288
|
/** @type {?} */
|
|
4286
4289
|
var getTagEntities = store.createSelector(getTagsRootState, getTagNameEnt);
|
|
4287
4290
|
/** @type {?} */
|
|
@@ -4290,11 +4293,10 @@
|
|
|
4290
4293
|
var getTagFiltered = store.createSelector(getTagsRootState, getFilteredComments);
|
|
4291
4294
|
/** @type {?} */
|
|
4292
4295
|
var getFilteredPageEntities = store.createSelector(getTagsRootState, getFilteredPageEnt);
|
|
4293
|
-
|
|
4294
|
-
var getAllTagsArr = store.createSelector(getTagEntities, ( /**
|
|
4296
|
+
var ɵ1$1 = /**
|
|
4295
4297
|
* @param {?} tagEnt
|
|
4296
4298
|
* @return {?}
|
|
4297
|
-
*/function (tagEnt) {
|
|
4299
|
+
*/ function (tagEnt) {
|
|
4298
4300
|
return Object.keys(tagEnt).map(( /**
|
|
4299
4301
|
* @param {?} key
|
|
4300
4302
|
* @return {?}
|
|
@@ -4304,42 +4306,47 @@
|
|
|
4304
4306
|
length: Object.keys(tagEnt[key]).length
|
|
4305
4307
|
};
|
|
4306
4308
|
}));
|
|
4307
|
-
}
|
|
4309
|
+
};
|
|
4310
|
+
/** @type {?} */
|
|
4311
|
+
var getAllTagsArr = store.createSelector(getTagEntities, (ɵ1$1));
|
|
4308
4312
|
|
|
4309
4313
|
/**
|
|
4310
4314
|
* @fileoverview added by tsickle
|
|
4311
4315
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4312
4316
|
*/
|
|
4313
|
-
|
|
4314
|
-
var getAnnotationsSetState = store.createSelector(getMVState, ( /**
|
|
4317
|
+
var ɵ0$3 = /**
|
|
4315
4318
|
* @param {?} state
|
|
4316
4319
|
* @return {?}
|
|
4317
|
-
*/function (state) { return state.annotations; }
|
|
4320
|
+
*/ function (state) { return state.annotations; };
|
|
4321
|
+
/** @type {?} */
|
|
4322
|
+
var getAnnotationsSetState = store.createSelector(getMVState, (ɵ0$3));
|
|
4318
4323
|
/** @type {?} */
|
|
4319
4324
|
var getAnnotationEntities = store.createSelector(getAnnotationsSetState, getAnnoEnt);
|
|
4320
4325
|
/** @type {?} */
|
|
4321
4326
|
var getSet = store.createSelector(getAnnotationsSetState, getAnnoSet);
|
|
4322
|
-
|
|
4323
|
-
var getDocumentIdSetId = store.createSelector(getSet, ( /**
|
|
4327
|
+
var ɵ1$2 = /**
|
|
4324
4328
|
* @param {?} annoSet
|
|
4325
4329
|
* @return {?}
|
|
4326
|
-
*/function (annoSet) {
|
|
4330
|
+
*/ function (annoSet) {
|
|
4327
4331
|
return {
|
|
4328
4332
|
documentId: annoSet.documentId,
|
|
4329
4333
|
annotationSetId: annoSet.id
|
|
4330
4334
|
};
|
|
4331
|
-
}
|
|
4335
|
+
};
|
|
4332
4336
|
/** @type {?} */
|
|
4333
|
-
var
|
|
4337
|
+
var getDocumentIdSetId = store.createSelector(getSet, (ɵ1$2));
|
|
4338
|
+
var ɵ2 = /**
|
|
4334
4339
|
* @param {?} entities
|
|
4335
4340
|
* @param {?} set
|
|
4336
4341
|
* @return {?}
|
|
4337
|
-
*/function (entities, set) {
|
|
4342
|
+
*/ function (entities, set) {
|
|
4338
4343
|
return __assign({}, set, { annotations: Object.keys(entities).map(( /**
|
|
4339
4344
|
* @param {?} key
|
|
4340
4345
|
* @return {?}
|
|
4341
4346
|
*/function (key) { return entities[key]; })) });
|
|
4342
|
-
}
|
|
4347
|
+
};
|
|
4348
|
+
/** @type {?} */
|
|
4349
|
+
var getAnnotationSet = store.createSelector(getAnnotationEntities, getSet, (ɵ2));
|
|
4343
4350
|
/** @type {?} */
|
|
4344
4351
|
var getSelectedAnnotation = store.createSelector(getAnnotationsSetState, getSelectedAnno);
|
|
4345
4352
|
/** @type {?} */
|
|
@@ -4348,20 +4355,20 @@
|
|
|
4348
4355
|
var getPageEntities = store.createSelector(getAnnotationsSetState, getAnnoPageEnt);
|
|
4349
4356
|
/** @type {?} */
|
|
4350
4357
|
var getComponentSearchQueries = store.createSelector(getAnnotationsSetState, commentSearchQ);
|
|
4351
|
-
|
|
4352
|
-
var getComponentSearchText = store.createSelector(getComponentSearchQueries, ( /**
|
|
4358
|
+
var ɵ3 = /**
|
|
4353
4359
|
* @param {?} queries
|
|
4354
4360
|
* @return {?}
|
|
4355
|
-
*/function (queries) { return queries.commentSearch; }
|
|
4361
|
+
*/ function (queries) { return queries.commentSearch; };
|
|
4356
4362
|
/** @type {?} */
|
|
4357
|
-
var
|
|
4363
|
+
var getComponentSearchText = store.createSelector(getComponentSearchQueries, (ɵ3));
|
|
4358
4364
|
/** @type {?} */
|
|
4359
|
-
var
|
|
4365
|
+
var getCommentSummaryFilters = store.createSelector(getAnnotationsSetState, getSummaryFilters);
|
|
4366
|
+
var ɵ4 = /**
|
|
4360
4367
|
* @param {?} pages
|
|
4361
4368
|
* @param {?} pageEnt
|
|
4362
4369
|
* @param {?} filteredPageEnt
|
|
4363
4370
|
* @return {?}
|
|
4364
|
-
*/function (pages, pageEnt, filteredPageEnt) {
|
|
4371
|
+
*/ function (pages, pageEnt, filteredPageEnt) {
|
|
4365
4372
|
/** @type {?} */
|
|
4366
4373
|
var isFiltered = !!Object.keys(filteredPageEnt).length;
|
|
4367
4374
|
/** @type {?} */
|
|
@@ -4380,15 +4387,16 @@
|
|
|
4380
4387
|
}));
|
|
4381
4388
|
return arr_1;
|
|
4382
4389
|
}
|
|
4383
|
-
}
|
|
4390
|
+
};
|
|
4384
4391
|
/** @type {?} */
|
|
4385
|
-
var
|
|
4392
|
+
var getAnnoPerPage = store.createSelector(getPages, getPageEntities, getFilteredPageEntities, (ɵ4));
|
|
4393
|
+
var ɵ5 = /**
|
|
4386
4394
|
* @param {?} commentEnts
|
|
4387
4395
|
* @param {?} pages
|
|
4388
4396
|
* @param {?} annoEnts
|
|
4389
4397
|
* @param {?} filtered
|
|
4390
4398
|
* @return {?}
|
|
4391
|
-
*/function (commentEnts, pages, annoEnts, filtered) {
|
|
4399
|
+
*/ function (commentEnts, pages, annoEnts, filtered) {
|
|
4392
4400
|
if (commentEnts && annoEnts && pages[1]) {
|
|
4393
4401
|
/** @type {?} */
|
|
4394
4402
|
var isFiltered = !!Object.keys(filtered).length;
|
|
@@ -4404,13 +4412,14 @@
|
|
|
4404
4412
|
pages: pages });
|
|
4405
4413
|
}));
|
|
4406
4414
|
}
|
|
4407
|
-
}
|
|
4415
|
+
};
|
|
4408
4416
|
/** @type {?} */
|
|
4409
|
-
var
|
|
4417
|
+
var getCommentsArray = store.createSelector(getCommentEntities, getPages, getAnnotationEntities, getTagFiltered, (ɵ5));
|
|
4418
|
+
var ɵ6 = /**
|
|
4410
4419
|
* @param {?=} commentSummary
|
|
4411
4420
|
* @param {?=} filters
|
|
4412
4421
|
* @return {?}
|
|
4413
|
-
*/function (commentSummary, filters) {
|
|
4422
|
+
*/ function (commentSummary, filters) {
|
|
4414
4423
|
if (commentSummary === void 0) {
|
|
4415
4424
|
commentSummary = [];
|
|
4416
4425
|
}
|
|
@@ -4431,13 +4440,14 @@
|
|
|
4431
4440
|
}));
|
|
4432
4441
|
}
|
|
4433
4442
|
return [''];
|
|
4434
|
-
}
|
|
4443
|
+
};
|
|
4435
4444
|
/** @type {?} */
|
|
4436
|
-
var
|
|
4445
|
+
var getCommentSummary = store.createSelector(getCommentsArray, getCommentSummaryFilters, (ɵ6));
|
|
4446
|
+
var ɵ7 = /**
|
|
4437
4447
|
* @param {?} annoEnt
|
|
4438
4448
|
* @param {?} filters
|
|
4439
4449
|
* @return {?}
|
|
4440
|
-
*/function (annoEnt, filters) {
|
|
4450
|
+
*/ function (annoEnt, filters) {
|
|
4441
4451
|
/** @type {?} */
|
|
4442
4452
|
var isFiltered = !!Object.keys(filters).length;
|
|
4443
4453
|
/** @type {?} */
|
|
@@ -4450,7 +4460,9 @@
|
|
|
4450
4460
|
* @param {?} annotation
|
|
4451
4461
|
* @return {?}
|
|
4452
4462
|
*/function (annotation) { return annotation.comments && annotation.comments.length > 0; }));
|
|
4453
|
-
}
|
|
4463
|
+
};
|
|
4464
|
+
/** @type {?} */
|
|
4465
|
+
var getFilteredAnnotations = store.createSelector(getAnnotationEntities, getTagFiltered, (ɵ7));
|
|
4454
4466
|
|
|
4455
4467
|
/**
|
|
4456
4468
|
* @fileoverview added by tsickle
|
|
@@ -4741,7 +4753,7 @@
|
|
|
4741
4753
|
];
|
|
4742
4754
|
};
|
|
4743
4755
|
MediaViewerComponent.propDecorators = {
|
|
4744
|
-
viewerRef: [{ type: i0.ViewChild, args: ['viewerRef',] }],
|
|
4756
|
+
viewerRef: [{ type: i0.ViewChild, args: ['viewerRef', { static: false },] }],
|
|
4745
4757
|
url: [{ type: i0.Input }],
|
|
4746
4758
|
downloadFileName: [{ type: i0.Input }],
|
|
4747
4759
|
contentType: [{ type: i0.Input }],
|
|
@@ -4795,7 +4807,7 @@
|
|
|
4795
4807
|
];
|
|
4796
4808
|
/** @nocollapse */
|
|
4797
4809
|
NumberHelperService.ctorParameters = function () { return []; };
|
|
4798
|
-
/** @nocollapse */ NumberHelperService.ngInjectableDef = i0
|
|
4810
|
+
/** @nocollapse */ NumberHelperService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function NumberHelperService_Factory() { return new NumberHelperService(); }, token: NumberHelperService, providedIn: "root" });
|
|
4799
4811
|
return NumberHelperService;
|
|
4800
4812
|
}());
|
|
4801
4813
|
|
|
@@ -5138,9 +5150,9 @@
|
|
|
5138
5150
|
enableRedactions: [{ type: i0.Input }],
|
|
5139
5151
|
enableICP: [{ type: i0.Input }],
|
|
5140
5152
|
contentType: [{ type: i0.Input }],
|
|
5141
|
-
zoomSelect: [{ type: i0.ViewChild, args: ['zoomSelect',] }],
|
|
5142
|
-
mvToolbarMain: [{ type: i0.ViewChild, args: ['mvToolbarMain',] }],
|
|
5143
|
-
mvMenuItems: [{ type: i0.ViewChild, args: ['dropdownMenu',] }],
|
|
5153
|
+
zoomSelect: [{ type: i0.ViewChild, args: ['zoomSelect', { static: false },] }],
|
|
5154
|
+
mvToolbarMain: [{ type: i0.ViewChild, args: ['mvToolbarMain', { static: false },] }],
|
|
5155
|
+
mvMenuItems: [{ type: i0.ViewChild, args: ['dropdownMenu', { static: false },] }],
|
|
5144
5156
|
onResize: [{ type: i0.HostListener, args: ['window:resize', [],] }]
|
|
5145
5157
|
};
|
|
5146
5158
|
return MainToolbarComponent;
|
|
@@ -5340,7 +5352,7 @@
|
|
|
5340
5352
|
];
|
|
5341
5353
|
};
|
|
5342
5354
|
SearchBarComponent.propDecorators = {
|
|
5343
|
-
findInput: [{ type: i0.ViewChild, args: ['findInput',] }],
|
|
5355
|
+
findInput: [{ type: i0.ViewChild, args: ['findInput', { static: true },] }],
|
|
5344
5356
|
onWindowKeyDown: [{ type: i0.HostListener, args: ['window:keydown', ['$event'],] }]
|
|
5345
5357
|
};
|
|
5346
5358
|
return SearchBarComponent;
|
|
@@ -5350,11 +5362,12 @@
|
|
|
5350
5362
|
* @fileoverview added by tsickle
|
|
5351
5363
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5352
5364
|
*/
|
|
5353
|
-
|
|
5354
|
-
var getRedactionState = store.createSelector(getMVState, ( /**
|
|
5365
|
+
var ɵ0$4 = /**
|
|
5355
5366
|
* @param {?} state
|
|
5356
5367
|
* @return {?}
|
|
5357
|
-
*/function (state) { return state.redactions; }
|
|
5368
|
+
*/ function (state) { return state.redactions; };
|
|
5369
|
+
/** @type {?} */
|
|
5370
|
+
var getRedactionState = store.createSelector(getMVState, (ɵ0$4));
|
|
5358
5371
|
/** @type {?} */
|
|
5359
5372
|
var getRedactionPages = store.createSelector(getRedactionState, getPageEnt);
|
|
5360
5373
|
/** @type {?} */
|
|
@@ -5363,25 +5376,25 @@
|
|
|
5363
5376
|
var getRedactedDocumentInfo = store.createSelector(getRedactionState, getRedactedDocInfo);
|
|
5364
5377
|
/** @type {?} */
|
|
5365
5378
|
var getRedactionEnt$1 = store.createSelector(getRedactionState, getRedactionEnt);
|
|
5366
|
-
|
|
5367
|
-
var getRedactionArray = store.createSelector(getRedactionEnt$1, getDocumentId, ( /**
|
|
5379
|
+
var ɵ1$3 = /**
|
|
5368
5380
|
* @param {?} ent
|
|
5369
5381
|
* @param {?} documentId
|
|
5370
5382
|
* @return {?}
|
|
5371
|
-
*/function (ent, documentId) {
|
|
5383
|
+
*/ function (ent, documentId) {
|
|
5372
5384
|
/** @type {?} */
|
|
5373
5385
|
var redactions = Object.keys(ent).map(( /**
|
|
5374
5386
|
* @param {?} key
|
|
5375
5387
|
* @return {?}
|
|
5376
5388
|
*/function (key) { return ent[key]; }));
|
|
5377
5389
|
return { redactions: redactions, documentId: documentId };
|
|
5378
|
-
}
|
|
5390
|
+
};
|
|
5379
5391
|
/** @type {?} */
|
|
5380
|
-
var
|
|
5392
|
+
var getRedactionArray = store.createSelector(getRedactionEnt$1, getDocumentId, (ɵ1$3));
|
|
5393
|
+
var ɵ2$1 = /**
|
|
5381
5394
|
* @param {?} pages
|
|
5382
5395
|
* @param {?} pageEnt
|
|
5383
5396
|
* @return {?}
|
|
5384
|
-
*/function (pages, pageEnt) {
|
|
5397
|
+
*/ function (pages, pageEnt) {
|
|
5385
5398
|
if (pages && pageEnt) {
|
|
5386
5399
|
/** @type {?} */
|
|
5387
5400
|
var arr_1 = [];
|
|
@@ -5396,7 +5409,9 @@
|
|
|
5396
5409
|
}));
|
|
5397
5410
|
return arr_1;
|
|
5398
5411
|
}
|
|
5399
|
-
}
|
|
5412
|
+
};
|
|
5413
|
+
/** @type {?} */
|
|
5414
|
+
var getRedactionsPerPage = store.createSelector(getPages, getRedactionPages, (ɵ2$1));
|
|
5400
5415
|
|
|
5401
5416
|
/**
|
|
5402
5417
|
* @fileoverview added by tsickle
|
|
@@ -5510,34 +5525,38 @@
|
|
|
5510
5525
|
* @fileoverview added by tsickle
|
|
5511
5526
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5512
5527
|
*/
|
|
5513
|
-
|
|
5514
|
-
var getIcpState = store.createSelector(getMVState, ( /**
|
|
5528
|
+
var ɵ0$5 = /**
|
|
5515
5529
|
* @param {?} state
|
|
5516
5530
|
* @return {?}
|
|
5517
|
-
*/function (state) { return state.icp; }
|
|
5531
|
+
*/ function (state) { return state.icp; };
|
|
5518
5532
|
/** @type {?} */
|
|
5519
|
-
var
|
|
5533
|
+
var getIcpState = store.createSelector(getMVState, (ɵ0$5));
|
|
5520
5534
|
/** @type {?} */
|
|
5521
|
-
var
|
|
5535
|
+
var getIcpSession$1 = store.createSelector(getIcpState, getIcpSession);
|
|
5536
|
+
var ɵ1$4 = /**
|
|
5522
5537
|
* @param {?} session
|
|
5523
5538
|
* @return {?}
|
|
5524
|
-
*/function (session) { return session === null ? null : session.caseId; }
|
|
5539
|
+
*/ function (session) { return session === null ? null : session.caseId; };
|
|
5525
5540
|
/** @type {?} */
|
|
5526
|
-
var
|
|
5541
|
+
var getCaseId = store.createSelector(getIcpSession$1, (ɵ1$4));
|
|
5527
5542
|
/** @type {?} */
|
|
5528
|
-
var
|
|
5543
|
+
var getPresenter$1 = store.createSelector(getIcpState, getPresenter);
|
|
5544
|
+
var ɵ2$2 = /**
|
|
5529
5545
|
* @param {?} presenter
|
|
5530
5546
|
* @return {?}
|
|
5531
|
-
*/function (presenter) { return presenter === null ? null : presenter.username; }
|
|
5547
|
+
*/ function (presenter) { return presenter === null ? null : presenter.username; };
|
|
5532
5548
|
/** @type {?} */
|
|
5533
|
-
var
|
|
5549
|
+
var getPresenterName = store.createSelector(getPresenter$1, (ɵ2$2));
|
|
5534
5550
|
/** @type {?} */
|
|
5535
|
-
var
|
|
5551
|
+
var getClient$1 = store.createSelector(getIcpState, getClient);
|
|
5552
|
+
var ɵ3$1 = /**
|
|
5536
5553
|
* @param {?} presenter
|
|
5537
5554
|
* @param {?} client
|
|
5538
5555
|
* @return {?}
|
|
5539
|
-
*/function (presenter, client) { return presenter === null ? undefined : presenter.id === client.id; } // isPresenter is called when = false.
|
|
5540
|
-
|
|
5556
|
+
*/ function (presenter, client) { return presenter === null ? undefined : presenter.id === client.id; } // isPresenter is called when = false.
|
|
5557
|
+
;
|
|
5558
|
+
/** @type {?} */
|
|
5559
|
+
var isPresenter = store.createSelector(getPresenter$1, getClient$1, (ɵ3$1));
|
|
5541
5560
|
/** @type {?} */
|
|
5542
5561
|
var getParticipants$1 = store.createSelector(getIcpState, getParticipants);
|
|
5543
5562
|
|
|
@@ -5798,7 +5817,7 @@
|
|
|
5798
5817
|
update: [{ type: i0.Output }],
|
|
5799
5818
|
delete: [{ type: i0.Output }],
|
|
5800
5819
|
annotationClick: [{ type: i0.Output }],
|
|
5801
|
-
container: [{ type: i0.ViewChild, args: ['container',] }]
|
|
5820
|
+
container: [{ type: i0.ViewChild, args: ['container', { static: false },] }]
|
|
5802
5821
|
};
|
|
5803
5822
|
return AnnotationViewComponent;
|
|
5804
5823
|
}());
|
|
@@ -6170,7 +6189,7 @@
|
|
|
6170
6189
|
pageWidth: [{ type: i0.Input }],
|
|
6171
6190
|
select: [{ type: i0.Output }],
|
|
6172
6191
|
update: [{ type: i0.Output }],
|
|
6173
|
-
viewRect: [{ type: i0.ViewChild, args: ['rectElement',] }],
|
|
6192
|
+
viewRect: [{ type: i0.ViewChild, args: ['rectElement', { static: false },] }],
|
|
6174
6193
|
annoRect: [{ type: i0.Input }],
|
|
6175
6194
|
selected: [{ type: i0.Input }]
|
|
6176
6195
|
};
|
|
@@ -6511,8 +6530,8 @@
|
|
|
6511
6530
|
zoom: [{ type: i0.Input }],
|
|
6512
6531
|
index: [{ type: i0.Input }],
|
|
6513
6532
|
page: [{ type: i0.Input }],
|
|
6514
|
-
form: [{ type: i0.ViewChild, args: ['form',] }],
|
|
6515
|
-
editableComment: [{ type: i0.ViewChild, args: ['editableComment',] }],
|
|
6533
|
+
form: [{ type: i0.ViewChild, args: ['form', { static: false },] }],
|
|
6534
|
+
editableComment: [{ type: i0.ViewChild, args: ['editableComment', { static: false },] }],
|
|
6516
6535
|
comment: [{ type: i0.Input }],
|
|
6517
6536
|
annotation: [{ type: i0.Input }]
|
|
6518
6537
|
};
|
|
@@ -7083,8 +7102,8 @@
|
|
|
7083
7102
|
height: [{ type: i0.Input }],
|
|
7084
7103
|
pageHeights: [{ type: i0.Input }],
|
|
7085
7104
|
contentScrollTop: [{ type: i0.Input }],
|
|
7086
|
-
container: [{ type: i0.ViewChild, args: ['container',] }],
|
|
7087
|
-
panel: [{ type: i0.ViewChild, args: ['panel',] }],
|
|
7105
|
+
container: [{ type: i0.ViewChild, args: ['container', { static: false },] }],
|
|
7106
|
+
panel: [{ type: i0.ViewChild, args: ['panel', { static: false },] }],
|
|
7088
7107
|
commentComponents: [{ type: i0.ViewChildren, args: ['commentComponent',] }]
|
|
7089
7108
|
};
|
|
7090
7109
|
return CommentSetComponent;
|
|
@@ -7181,6 +7200,14 @@
|
|
|
7181
7200
|
});
|
|
7182
7201
|
this.comments$ = this.store.pipe(store.select(getCommentSummary));
|
|
7183
7202
|
this.buildCheckBoxForm();
|
|
7203
|
+
};
|
|
7204
|
+
/**
|
|
7205
|
+
* @return {?}
|
|
7206
|
+
*/
|
|
7207
|
+
CommentsSummaryComponent.prototype.ngAfterViewInit = /**
|
|
7208
|
+
* @return {?}
|
|
7209
|
+
*/
|
|
7210
|
+
function () {
|
|
7184
7211
|
this.container.nativeElement.focus();
|
|
7185
7212
|
};
|
|
7186
7213
|
/**
|
|
@@ -7315,8 +7342,8 @@
|
|
|
7315
7342
|
CommentsSummaryComponent.propDecorators = {
|
|
7316
7343
|
title: [{ type: i0.Input }],
|
|
7317
7344
|
contentType: [{ type: i0.Input }],
|
|
7318
|
-
container: [{ type: i0.ViewChild, args: ['outerContainer',] }],
|
|
7319
|
-
commentsTable: [{ type: i0.ViewChild, args: ['commentContainer',] }]
|
|
7345
|
+
container: [{ type: i0.ViewChild, args: ['outerContainer', { static: false },] }],
|
|
7346
|
+
commentsTable: [{ type: i0.ViewChild, args: ['commentContainer', { static: false },] }]
|
|
7320
7347
|
};
|
|
7321
7348
|
return CommentsSummaryComponent;
|
|
7322
7349
|
}());
|
|
@@ -7468,7 +7495,7 @@
|
|
|
7468
7495
|
zoom: [{ type: i0.Input }],
|
|
7469
7496
|
container: [{ type: i0.Input }],
|
|
7470
7497
|
saveSelection: [{ type: i0.Output }],
|
|
7471
|
-
highlight: [{ type: i0.ViewChild, args: ['boxHighlight',] }]
|
|
7498
|
+
highlight: [{ type: i0.ViewChild, args: ['boxHighlight', { static: false },] }]
|
|
7472
7499
|
};
|
|
7473
7500
|
return BoxHighlightCreateComponent;
|
|
7474
7501
|
}());
|
|
@@ -7663,7 +7690,7 @@
|
|
|
7663
7690
|
};
|
|
7664
7691
|
CommentSearchComponent.propDecorators = {
|
|
7665
7692
|
annotations: [{ type: i0.Input }],
|
|
7666
|
-
searchInput: [{ type: i0.ViewChild, args: ['searchInput',] }]
|
|
7693
|
+
searchInput: [{ type: i0.ViewChild, args: ['searchInput', { static: false },] }]
|
|
7667
7694
|
};
|
|
7668
7695
|
return CommentSearchComponent;
|
|
7669
7696
|
}());
|
|
@@ -8539,30 +8566,31 @@
|
|
|
8539
8566
|
* @fileoverview added by tsickle
|
|
8540
8567
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
8541
8568
|
*/
|
|
8542
|
-
|
|
8543
|
-
var getBookmarkState = store.createSelector(getMVState, ( /**
|
|
8569
|
+
var ɵ0$6 = /**
|
|
8544
8570
|
* @param {?} state
|
|
8545
8571
|
* @return {?}
|
|
8546
|
-
*/function (state) { return state.bookmarks; }
|
|
8572
|
+
*/ function (state) { return state.bookmarks; };
|
|
8573
|
+
/** @type {?} */
|
|
8574
|
+
var getBookmarkState = store.createSelector(getMVState, (ɵ0$6));
|
|
8547
8575
|
/** @type {?} */
|
|
8548
8576
|
var getBookmarkPages = store.createSelector(getBookmarkState, getBookmarkPageEnt);
|
|
8549
8577
|
/** @type {?} */
|
|
8550
8578
|
var getBookmarkEntities = store.createSelector(getBookmarkState, getBookmarkEnts);
|
|
8551
|
-
|
|
8552
|
-
var getBookmarkNodes = store.createSelector(getBookmarkEntities, ( /**
|
|
8579
|
+
var ɵ1$5 = /**
|
|
8553
8580
|
* @param {?} entities
|
|
8554
8581
|
* @return {?}
|
|
8555
|
-
*/function (entities) { return generateBookmarkNodes(entities); }
|
|
8582
|
+
*/ function (entities) { return generateBookmarkNodes(entities); };
|
|
8556
8583
|
/** @type {?} */
|
|
8557
|
-
var
|
|
8584
|
+
var getBookmarkNodes = store.createSelector(getBookmarkEntities, (ɵ1$5));
|
|
8558
8585
|
/** @type {?} */
|
|
8559
|
-
var
|
|
8586
|
+
var getEditableBookmark = store.createSelector(getBookmarkState, getEditBookmark);
|
|
8587
|
+
var ɵ2$3 = /**
|
|
8560
8588
|
* @param {?} bookmarkNodes
|
|
8561
8589
|
* @param {?} docId
|
|
8562
8590
|
* @param {?} pdfPosition
|
|
8563
8591
|
* @param {?} pages
|
|
8564
8592
|
* @return {?}
|
|
8565
|
-
*/function (bookmarkNodes, docId, pdfPosition, pages) {
|
|
8593
|
+
*/ function (bookmarkNodes, docId, pdfPosition, pages) {
|
|
8566
8594
|
return {
|
|
8567
8595
|
pageNumber: pdfPosition.pageNumber - 1,
|
|
8568
8596
|
xCoordinate: pdfPosition.left,
|
|
@@ -8570,13 +8598,14 @@
|
|
|
8570
8598
|
previous: bookmarkNodes.length > 0 ? bookmarkNodes[bookmarkNodes.length - 1].id : undefined,
|
|
8571
8599
|
documentId: docId
|
|
8572
8600
|
};
|
|
8573
|
-
}
|
|
8601
|
+
};
|
|
8574
8602
|
/** @type {?} */
|
|
8575
|
-
var
|
|
8603
|
+
var getBookmarkInfo = store.createSelector(getBookmarkNodes, getDocumentId, getPdfPosition, getPages, (ɵ2$3));
|
|
8604
|
+
var ɵ3$2 = /**
|
|
8576
8605
|
* @param {?} pages
|
|
8577
8606
|
* @param {?} pageEnt
|
|
8578
8607
|
* @return {?}
|
|
8579
|
-
*/function (pages, pageEnt) {
|
|
8608
|
+
*/ function (pages, pageEnt) {
|
|
8580
8609
|
if (pages && pageEnt) {
|
|
8581
8610
|
/** @type {?} */
|
|
8582
8611
|
var arr_1 = [];
|
|
@@ -8596,7 +8625,9 @@
|
|
|
8596
8625
|
}));
|
|
8597
8626
|
return arr_1;
|
|
8598
8627
|
}
|
|
8599
|
-
}
|
|
8628
|
+
};
|
|
8629
|
+
/** @type {?} */
|
|
8630
|
+
var getBookmarksPerPage = store.createSelector(getPages, getBookmarkPages, (ɵ3$2));
|
|
8600
8631
|
|
|
8601
8632
|
/**
|
|
8602
8633
|
* @fileoverview added by tsickle
|
|
@@ -11557,8 +11588,8 @@
|
|
|
11557
11588
|
downloadFileName: [{ type: i0.Input }],
|
|
11558
11589
|
multimediaOn: [{ type: i0.Input }],
|
|
11559
11590
|
loadStatus: [{ type: i0.Output }],
|
|
11560
|
-
downloadLink: [{ type: i0.ViewChild, args: ['downloadLink',] }],
|
|
11561
|
-
videoPlayer: [{ type: i0.ViewChild, args: ['videoPlayer',] }]
|
|
11591
|
+
downloadLink: [{ type: i0.ViewChild, args: ['downloadLink', { static: false },] }],
|
|
11592
|
+
videoPlayer: [{ type: i0.ViewChild, args: ['videoPlayer', { static: false },] }]
|
|
11562
11593
|
};
|
|
11563
11594
|
return MultimediaPlayerComponent;
|
|
11564
11595
|
}());
|