@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.
Files changed (70) hide show
  1. package/bundles/hmcts-media-viewer.umd.js +137 -106
  2. package/bundles/hmcts-media-viewer.umd.js.map +1 -1
  3. package/bundles/hmcts-media-viewer.umd.min.js +1 -1
  4. package/bundles/hmcts-media-viewer.umd.min.js.map +1 -1
  5. package/esm2015/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.js +2 -2
  6. package/esm2015/lib/annotations/annotation-set/annotation-view/annotation-view.component.js +2 -2
  7. package/esm2015/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.js +2 -2
  8. package/esm2015/lib/annotations/comment-set/comment/comment.component.js +3 -3
  9. package/esm2015/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.js +2 -2
  10. package/esm2015/lib/annotations/comment-set/comment-set.component.js +3 -3
  11. package/esm2015/lib/annotations/comments-summary/comments-summary.component.js +8 -3
  12. package/esm2015/lib/media-viewer.component.js +2 -2
  13. package/esm2015/lib/print.service.js +1 -1
  14. package/esm2015/lib/shared/util/services/number.helper.service.js +1 -1
  15. package/esm2015/lib/store/selectors/annotation.selectors.js +30 -21
  16. package/esm2015/lib/store/selectors/bookmark.selectors.js +17 -12
  17. package/esm2015/lib/store/selectors/document.selectors.js +10 -7
  18. package/esm2015/lib/store/selectors/icp.selectors.js +18 -13
  19. package/esm2015/lib/store/selectors/redaction.selectors.js +13 -9
  20. package/esm2015/lib/store/selectors/tag.selectors.js +10 -7
  21. package/esm2015/lib/toolbar/main-toolbar/main-toolbar.component.js +4 -4
  22. package/esm2015/lib/toolbar/search-bar/search-bar.component.js +2 -2
  23. package/esm2015/lib/toolbar/toolbar-button-visibility.service.js +1 -1
  24. package/esm2015/lib/toolbar/toolbar-event.service.js +1 -1
  25. package/esm2015/lib/viewers/image-viewer/image-viewer.component.js +2 -2
  26. package/esm2015/lib/viewers/multimedia-player/multimedia-player.component.js +3 -3
  27. package/esm2015/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.js +1 -1
  28. package/esm2015/lib/viewers/pdf-viewer/pdf-viewer.component.js +3 -3
  29. package/esm2015/lib/viewers/unsupported-viewer/unsupported-viewer.component.js +2 -2
  30. package/esm2015/lib/viewers/viewer-event.service.js +1 -1
  31. package/esm2015/lib/viewers/viewer-util.service.js +1 -1
  32. package/esm5/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.js +2 -2
  33. package/esm5/lib/annotations/annotation-set/annotation-view/annotation-view.component.js +2 -2
  34. package/esm5/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.js +2 -2
  35. package/esm5/lib/annotations/comment-set/comment/comment.component.js +3 -3
  36. package/esm5/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.js +2 -2
  37. package/esm5/lib/annotations/comment-set/comment-set.component.js +3 -3
  38. package/esm5/lib/annotations/comments-summary/comments-summary.component.js +11 -3
  39. package/esm5/lib/media-viewer.component.js +2 -2
  40. package/esm5/lib/print.service.js +1 -1
  41. package/esm5/lib/shared/util/services/number.helper.service.js +1 -1
  42. package/esm5/lib/store/reducers/annotations.reducer.js +2 -2
  43. package/esm5/lib/store/reducers/bookmarks.reducer.js +2 -2
  44. package/esm5/lib/store/reducers/redaction.reducer.js +2 -2
  45. package/esm5/lib/store/selectors/annotation.selectors.js +30 -21
  46. package/esm5/lib/store/selectors/bookmark.selectors.js +17 -12
  47. package/esm5/lib/store/selectors/document.selectors.js +10 -7
  48. package/esm5/lib/store/selectors/icp.selectors.js +18 -13
  49. package/esm5/lib/store/selectors/redaction.selectors.js +13 -9
  50. package/esm5/lib/store/selectors/tag.selectors.js +10 -7
  51. package/esm5/lib/toolbar/main-toolbar/main-toolbar.component.js +4 -4
  52. package/esm5/lib/toolbar/search-bar/search-bar.component.js +2 -2
  53. package/esm5/lib/toolbar/toolbar-button-visibility.service.js +1 -1
  54. package/esm5/lib/toolbar/toolbar-event.service.js +1 -1
  55. package/esm5/lib/viewers/image-viewer/image-viewer.component.js +2 -2
  56. package/esm5/lib/viewers/multimedia-player/multimedia-player.component.js +3 -3
  57. package/esm5/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.js +1 -1
  58. package/esm5/lib/viewers/pdf-viewer/pdf-viewer.component.js +3 -3
  59. package/esm5/lib/viewers/unsupported-viewer/unsupported-viewer.component.js +2 -2
  60. package/esm5/lib/viewers/viewer-event.service.js +1 -1
  61. package/esm5/lib/viewers/viewer-util.service.js +1 -1
  62. package/fesm2015/hmcts-media-viewer.js +120 -92
  63. package/fesm2015/hmcts-media-viewer.js.map +1 -1
  64. package/fesm5/hmcts-media-viewer.js +126 -95
  65. package/fesm5/hmcts-media-viewer.js.map +1 -1
  66. package/hmcts-media-viewer-v2.7.13.tgz +0 -0
  67. package/hmcts-media-viewer.metadata.json +1 -1
  68. package/lib/annotations/comments-summary/comments-summary.component.d.ts +1 -0
  69. package/package.json +1 -1
  70. package/hmcts-media-viewer-v2.7.12.tgz +0 -0
@@ -21,7 +21,7 @@ import { TreeModule } from 'angular-tree-component';
21
21
  import { filter, tap, throttleTime, catchError, map, take, distinctUntilChanged, auditTime, exhaustMap, switchMap, withLatestFrom } from 'rxjs/operators';
22
22
  import uuid$1, { v4 } from 'uuid';
23
23
  import { createFeatureSelector, createSelector, select, Store, StoreModule } from '@ngrx/store';
24
- import { Injectable, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, Output, ViewChild, ViewEncapsulation, NgModule, Directive, HostListener, ViewChildren, Pipe, defineInjectable, inject } from '@angular/core';
24
+ import { Injectable, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, Output, ViewChild, ViewEncapsulation, NgModule, Directive, HostListener, ViewChildren, Pipe, ɵɵdefineInjectable, ɵɵinject } from '@angular/core';
25
25
 
26
26
  /**
27
27
  * @fileoverview added by tsickle
@@ -626,7 +626,7 @@ class ToolbarEventService {
626
626
  ToolbarEventService.decorators = [
627
627
  { type: Injectable, args: [{ providedIn: 'root' },] }
628
628
  ];
629
- /** @nocollapse */ ToolbarEventService.ngInjectableDef = defineInjectable({ factory: function ToolbarEventService_Factory() { return new ToolbarEventService(); }, token: ToolbarEventService, providedIn: "root" });
629
+ /** @nocollapse */ ToolbarEventService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ToolbarEventService_Factory() { return new ToolbarEventService(); }, token: ToolbarEventService, providedIn: "root" });
630
630
 
631
631
  /**
632
632
  * @fileoverview added by tsickle
@@ -678,7 +678,7 @@ PdfJsWrapperFactory.decorators = [
678
678
  PdfJsWrapperFactory.ctorParameters = () => [
679
679
  { type: ToolbarEventService }
680
680
  ];
681
- /** @nocollapse */ PdfJsWrapperFactory.ngInjectableDef = defineInjectable({ factory: function PdfJsWrapperFactory_Factory() { return new PdfJsWrapperFactory(inject(ToolbarEventService)); }, token: PdfJsWrapperFactory, providedIn: "root" });
681
+ /** @nocollapse */ PdfJsWrapperFactory.ngInjectableDef = ɵɵdefineInjectable({ factory: function PdfJsWrapperFactory_Factory() { return new PdfJsWrapperFactory(ɵɵinject(ToolbarEventService)); }, token: PdfJsWrapperFactory, providedIn: "root" });
682
682
 
683
683
  /**
684
684
  * @fileoverview added by tsickle
@@ -715,7 +715,7 @@ PrintService.decorators = [
715
715
  providedIn: 'root'
716
716
  },] }
717
717
  ];
718
- /** @nocollapse */ PrintService.ngInjectableDef = defineInjectable({ factory: function PrintService_Factory() { return new PrintService(); }, token: PrintService, providedIn: "root" });
718
+ /** @nocollapse */ PrintService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PrintService_Factory() { return new PrintService(); }, token: PrintService, providedIn: "root" });
719
719
 
720
720
  /**
721
721
  * @fileoverview added by tsickle
@@ -791,7 +791,7 @@ class ToolbarButtonVisibilityService {
791
791
  ToolbarButtonVisibilityService.decorators = [
792
792
  { type: Injectable, args: [{ providedIn: 'root' },] }
793
793
  ];
794
- /** @nocollapse */ ToolbarButtonVisibilityService.ngInjectableDef = defineInjectable({ factory: function ToolbarButtonVisibilityService_Factory() { return new ToolbarButtonVisibilityService(); }, token: ToolbarButtonVisibilityService, providedIn: "root" });
794
+ /** @nocollapse */ ToolbarButtonVisibilityService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ToolbarButtonVisibilityService_Factory() { return new ToolbarButtonVisibilityService(); }, token: ToolbarButtonVisibilityService, providedIn: "root" });
795
795
  /**
796
796
  * Default toolbar state for the PDF viewer
797
797
  * @type {?}
@@ -2779,20 +2779,22 @@ const getMVState = createFeatureSelector('media-viewer');
2779
2779
  * @fileoverview added by tsickle
2780
2780
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2781
2781
  */
2782
- /** @type {?} */
2783
- const getDocumentState = createSelector(getMVState, (/**
2782
+ const ɵ0$1 = /**
2784
2783
  * @param {?} state
2785
2784
  * @return {?}
2786
2785
  */
2787
- (state) => state.document));
2786
+ (state) => state.document;
2788
2787
  /** @type {?} */
2789
- const getPages = createSelector(getDocumentState, getDocPages);
2788
+ const getDocumentState = createSelector(getMVState, (ɵ0$1));
2790
2789
  /** @type {?} */
2791
- const getPageList = createSelector(getPages, (/**
2790
+ const getPages = createSelector(getDocumentState, getDocPages);
2791
+ const ɵ1 = /**
2792
2792
  * @param {?} pages
2793
2793
  * @return {?}
2794
2794
  */
2795
- (pages) => Object.values(pages)));
2795
+ (pages) => Object.values(pages);
2796
+ /** @type {?} */
2797
+ const getPageList = createSelector(getPages, (ɵ1));
2796
2798
  /** @type {?} */
2797
2799
  const getDocumentId = createSelector(getDocumentState, getDocId);
2798
2800
  /** @type {?} */
@@ -2850,7 +2852,7 @@ ViewerEventService.decorators = [
2850
2852
  ];
2851
2853
  /** @nocollapse */
2852
2854
  ViewerEventService.ctorParameters = () => [];
2853
- /** @nocollapse */ ViewerEventService.ngInjectableDef = defineInjectable({ factory: function ViewerEventService_Factory() { return new ViewerEventService(); }, token: ViewerEventService, providedIn: "root" });
2855
+ /** @nocollapse */ ViewerEventService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ViewerEventService_Factory() { return new ViewerEventService(); }, token: ViewerEventService, providedIn: "root" });
2854
2856
 
2855
2857
  /**
2856
2858
  * @fileoverview added by tsickle
@@ -3218,8 +3220,8 @@ PdfViewerComponent.propDecorators = {
3218
3220
  annotationSet: [{ type: Input }],
3219
3221
  height: [{ type: Input }],
3220
3222
  caseId: [{ type: Input }],
3221
- viewerContainer: [{ type: ViewChild, args: ['viewerContainer',] }],
3222
- pdfViewer: [{ type: ViewChild, args: ['pdfViewer',] }],
3223
+ viewerContainer: [{ type: ViewChild, args: ['viewerContainer', { static: true },] }],
3224
+ pdfViewer: [{ type: ViewChild, args: ['pdfViewer', { static: false },] }],
3223
3225
  searchBarHidden: [{ type: Input }]
3224
3226
  };
3225
3227
 
@@ -3251,7 +3253,7 @@ ViewerUtilService.decorators = [
3251
3253
  ViewerUtilService.ctorParameters = () => [
3252
3254
  { type: HttpClient }
3253
3255
  ];
3254
- /** @nocollapse */ ViewerUtilService.ngInjectableDef = defineInjectable({ factory: function ViewerUtilService_Factory() { return new ViewerUtilService(inject(HttpClient)); }, token: ViewerUtilService, providedIn: "root" });
3256
+ /** @nocollapse */ ViewerUtilService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ViewerUtilService_Factory() { return new ViewerUtilService(ɵɵinject(HttpClient)); }, token: ViewerUtilService, providedIn: "root" });
3255
3257
 
3256
3258
  /**
3257
3259
  * @fileoverview added by tsickle
@@ -3502,7 +3504,7 @@ ImageViewerComponent.propDecorators = {
3502
3504
  height: [{ type: Input }],
3503
3505
  mediaLoadStatus: [{ type: Output }],
3504
3506
  imageViewerException: [{ type: Output }],
3505
- img: [{ type: ViewChild, args: ['img',] }]
3507
+ img: [{ type: ViewChild, args: ['img', { static: false },] }]
3506
3508
  };
3507
3509
 
3508
3510
  /**
@@ -3570,7 +3572,7 @@ UnsupportedViewerComponent.propDecorators = {
3570
3572
  typeException: [{ type: Input }],
3571
3573
  loadStatus: [{ type: Output }],
3572
3574
  unsupportedViewerException: [{ type: Output }],
3573
- downloadLink: [{ type: ViewChild, args: ['downloadLink',] }]
3575
+ downloadLink: [{ type: ViewChild, args: ['downloadLink', { static: false },] }]
3574
3576
  };
3575
3577
 
3576
3578
  /**
@@ -3786,12 +3788,13 @@ CommentService.decorators = [
3786
3788
  * @fileoverview added by tsickle
3787
3789
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3788
3790
  */
3789
- /** @type {?} */
3790
- const getTagsRootState = createSelector(getMVState, (/**
3791
+ const ɵ0$2 = /**
3791
3792
  * @param {?} state
3792
3793
  * @return {?}
3793
3794
  */
3794
- (state) => state.tags));
3795
+ (state) => state.tags;
3796
+ /** @type {?} */
3797
+ const getTagsRootState = createSelector(getMVState, (ɵ0$2));
3795
3798
  /** @type {?} */
3796
3799
  const getTagEntities = createSelector(getTagsRootState, getTagNameEnt);
3797
3800
  /** @type {?} */
@@ -3800,8 +3803,7 @@ const getTagFilters = createSelector(getTagsRootState, getFilters);
3800
3803
  const getTagFiltered = createSelector(getTagsRootState, getFilteredComments);
3801
3804
  /** @type {?} */
3802
3805
  const getFilteredPageEntities = createSelector(getTagsRootState, getFilteredPageEnt);
3803
- /** @type {?} */
3804
- const getAllTagsArr = createSelector(getTagEntities, (/**
3806
+ const ɵ1$1 = /**
3805
3807
  * @param {?} tagEnt
3806
3808
  * @return {?}
3807
3809
  */
@@ -3814,24 +3816,26 @@ key => {
3814
3816
  key,
3815
3817
  length: Object.keys(tagEnt[key]).length
3816
3818
  };
3817
- }))));
3819
+ }));
3820
+ /** @type {?} */
3821
+ const getAllTagsArr = createSelector(getTagEntities, (ɵ1$1));
3818
3822
 
3819
3823
  /**
3820
3824
  * @fileoverview added by tsickle
3821
3825
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3822
3826
  */
3823
- /** @type {?} */
3824
- const getAnnotationsSetState = createSelector(getMVState, (/**
3827
+ const ɵ0$3 = /**
3825
3828
  * @param {?} state
3826
3829
  * @return {?}
3827
3830
  */
3828
- (state) => state.annotations));
3831
+ (state) => state.annotations;
3832
+ /** @type {?} */
3833
+ const getAnnotationsSetState = createSelector(getMVState, (ɵ0$3));
3829
3834
  /** @type {?} */
3830
3835
  const getAnnotationEntities = createSelector(getAnnotationsSetState, getAnnoEnt);
3831
3836
  /** @type {?} */
3832
3837
  const getSet = createSelector(getAnnotationsSetState, getAnnoSet);
3833
- /** @type {?} */
3834
- const getDocumentIdSetId = createSelector(getSet, (/**
3838
+ const ɵ1$2 = /**
3835
3839
  * @param {?} annoSet
3836
3840
  * @return {?}
3837
3841
  */
@@ -3840,9 +3844,10 @@ const getDocumentIdSetId = createSelector(getSet, (/**
3840
3844
  documentId: annoSet.documentId,
3841
3845
  annotationSetId: annoSet.id
3842
3846
  };
3843
- }));
3847
+ };
3844
3848
  /** @type {?} */
3845
- const getAnnotationSet = createSelector(getAnnotationEntities, getSet, (/**
3849
+ const getDocumentIdSetId = createSelector(getSet, (ɵ1$2));
3850
+ const ɵ2 = /**
3846
3851
  * @param {?} entities
3847
3852
  * @param {?} set
3848
3853
  * @return {?}
@@ -3853,7 +3858,9 @@ const getAnnotationSet = createSelector(getAnnotationEntities, getSet, (/**
3853
3858
  * @return {?}
3854
3859
  */
3855
3860
  key => entities[key])) });
3856
- }));
3861
+ };
3862
+ /** @type {?} */
3863
+ const getAnnotationSet = createSelector(getAnnotationEntities, getSet, (ɵ2));
3857
3864
  /** @type {?} */
3858
3865
  const getSelectedAnnotation = createSelector(getAnnotationsSetState, getSelectedAnno);
3859
3866
  /** @type {?} */
@@ -3862,16 +3869,16 @@ const getCommentEntities = createSelector(getAnnotationsSetState, getCommentEnts
3862
3869
  const getPageEntities = createSelector(getAnnotationsSetState, getAnnoPageEnt);
3863
3870
  /** @type {?} */
3864
3871
  const getComponentSearchQueries = createSelector(getAnnotationsSetState, commentSearchQ);
3865
- /** @type {?} */
3866
- const getComponentSearchText = createSelector(getComponentSearchQueries, (/**
3872
+ const ɵ3 = /**
3867
3873
  * @param {?} queries
3868
3874
  * @return {?}
3869
3875
  */
3870
- (queries) => queries.commentSearch));
3876
+ (queries) => queries.commentSearch;
3871
3877
  /** @type {?} */
3872
- const getCommentSummaryFilters = createSelector(getAnnotationsSetState, getSummaryFilters);
3878
+ const getComponentSearchText = createSelector(getComponentSearchQueries, (ɵ3));
3873
3879
  /** @type {?} */
3874
- const getAnnoPerPage = createSelector(getPages, getPageEntities, getFilteredPageEntities, (/**
3880
+ const getCommentSummaryFilters = createSelector(getAnnotationsSetState, getSummaryFilters);
3881
+ const ɵ4 = /**
3875
3882
  * @param {?} pages
3876
3883
  * @param {?} pageEnt
3877
3884
  * @param {?} filteredPageEnt
@@ -3897,9 +3904,10 @@ const getAnnoPerPage = createSelector(getPages, getPageEntities, getFilteredPage
3897
3904
  }));
3898
3905
  return arr;
3899
3906
  }
3900
- }));
3907
+ };
3901
3908
  /** @type {?} */
3902
- const getCommentsArray = createSelector(getCommentEntities, getPages, getAnnotationEntities, getTagFiltered, (/**
3909
+ const getAnnoPerPage = createSelector(getPages, getPageEntities, getFilteredPageEntities, (ɵ4));
3910
+ const ɵ5 = /**
3903
3911
  * @param {?} commentEnts
3904
3912
  * @param {?} pages
3905
3913
  * @param {?} annoEnts
@@ -3923,9 +3931,10 @@ const getCommentsArray = createSelector(getCommentEntities, getPages, getAnnotat
3923
3931
  pages });
3924
3932
  }));
3925
3933
  }
3926
- }));
3934
+ };
3927
3935
  /** @type {?} */
3928
- const getCommentSummary = createSelector(getCommentsArray, getCommentSummaryFilters, (/**
3936
+ const getCommentsArray = createSelector(getCommentEntities, getPages, getAnnotationEntities, getTagFiltered, (ɵ5));
3937
+ const ɵ6 = /**
3929
3938
  * @param {?=} commentSummary
3930
3939
  * @param {?=} filters
3931
3940
  * @return {?}
@@ -3949,9 +3958,10 @@ const getCommentSummary = createSelector(getCommentsArray, getCommentSummaryFilt
3949
3958
  }));
3950
3959
  }
3951
3960
  return [''];
3952
- }));
3961
+ };
3953
3962
  /** @type {?} */
3954
- const getFilteredAnnotations = createSelector(getAnnotationEntities, getTagFiltered, (/**
3963
+ const getCommentSummary = createSelector(getCommentsArray, getCommentSummaryFilters, (ɵ6));
3964
+ const ɵ7 = /**
3955
3965
  * @param {?} annoEnt
3956
3966
  * @param {?} filters
3957
3967
  * @return {?}
@@ -3971,7 +3981,9 @@ const getFilteredAnnotations = createSelector(getAnnotationEntities, getTagFilte
3971
3981
  * @return {?}
3972
3982
  */
3973
3983
  annotation => annotation.comments && annotation.comments.length > 0));
3974
- }));
3984
+ };
3985
+ /** @type {?} */
3986
+ const getFilteredAnnotations = createSelector(getAnnotationEntities, getTagFiltered, (ɵ7));
3975
3987
 
3976
3988
  /**
3977
3989
  * @fileoverview added by tsickle
@@ -4222,7 +4234,7 @@ MediaViewerComponent.ctorParameters = () => [
4222
4234
  { type: ChangeDetectorRef }
4223
4235
  ];
4224
4236
  MediaViewerComponent.propDecorators = {
4225
- viewerRef: [{ type: ViewChild, args: ['viewerRef',] }],
4237
+ viewerRef: [{ type: ViewChild, args: ['viewerRef', { static: false },] }],
4226
4238
  url: [{ type: Input }],
4227
4239
  downloadFileName: [{ type: Input }],
4228
4240
  contentType: [{ type: Input }],
@@ -4270,7 +4282,7 @@ NumberHelperService.decorators = [
4270
4282
  ];
4271
4283
  /** @nocollapse */
4272
4284
  NumberHelperService.ctorParameters = () => [];
4273
- /** @nocollapse */ NumberHelperService.ngInjectableDef = defineInjectable({ factory: function NumberHelperService_Factory() { return new NumberHelperService(); }, token: NumberHelperService, providedIn: "root" });
4285
+ /** @nocollapse */ NumberHelperService.ngInjectableDef = ɵɵdefineInjectable({ factory: function NumberHelperService_Factory() { return new NumberHelperService(); }, token: NumberHelperService, providedIn: "root" });
4274
4286
 
4275
4287
  /**
4276
4288
  * @fileoverview added by tsickle
@@ -4528,9 +4540,9 @@ MainToolbarComponent.propDecorators = {
4528
4540
  enableRedactions: [{ type: Input }],
4529
4541
  enableICP: [{ type: Input }],
4530
4542
  contentType: [{ type: Input }],
4531
- zoomSelect: [{ type: ViewChild, args: ['zoomSelect',] }],
4532
- mvToolbarMain: [{ type: ViewChild, args: ['mvToolbarMain',] }],
4533
- mvMenuItems: [{ type: ViewChild, args: ['dropdownMenu',] }],
4543
+ zoomSelect: [{ type: ViewChild, args: ['zoomSelect', { static: false },] }],
4544
+ mvToolbarMain: [{ type: ViewChild, args: ['mvToolbarMain', { static: false },] }],
4545
+ mvMenuItems: [{ type: ViewChild, args: ['dropdownMenu', { static: false },] }],
4534
4546
  onResize: [{ type: HostListener, args: ['window:resize', [],] }]
4535
4547
  };
4536
4548
 
@@ -4676,7 +4688,7 @@ SearchBarComponent.ctorParameters = () => [
4676
4688
  { type: ToolbarEventService }
4677
4689
  ];
4678
4690
  SearchBarComponent.propDecorators = {
4679
- findInput: [{ type: ViewChild, args: ['findInput',] }],
4691
+ findInput: [{ type: ViewChild, args: ['findInput', { static: true },] }],
4680
4692
  onWindowKeyDown: [{ type: HostListener, args: ['window:keydown', ['$event'],] }]
4681
4693
  };
4682
4694
 
@@ -4684,12 +4696,13 @@ SearchBarComponent.propDecorators = {
4684
4696
  * @fileoverview added by tsickle
4685
4697
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4686
4698
  */
4687
- /** @type {?} */
4688
- const getRedactionState = createSelector(getMVState, (/**
4699
+ const ɵ0$4 = /**
4689
4700
  * @param {?} state
4690
4701
  * @return {?}
4691
4702
  */
4692
- (state) => state.redactions));
4703
+ (state) => state.redactions;
4704
+ /** @type {?} */
4705
+ const getRedactionState = createSelector(getMVState, (ɵ0$4));
4693
4706
  /** @type {?} */
4694
4707
  const getRedactionPages = createSelector(getRedactionState, getPageEnt);
4695
4708
  /** @type {?} */
@@ -4698,8 +4711,7 @@ const getSelected = createSelector(getRedactionState, getSelectedRedaction);
4698
4711
  const getRedactedDocumentInfo = createSelector(getRedactionState, getRedactedDocInfo);
4699
4712
  /** @type {?} */
4700
4713
  const getRedactionEnt$1 = createSelector(getRedactionState, getRedactionEnt);
4701
- /** @type {?} */
4702
- const getRedactionArray = createSelector(getRedactionEnt$1, getDocumentId, (/**
4714
+ const ɵ1$3 = /**
4703
4715
  * @param {?} ent
4704
4716
  * @param {?} documentId
4705
4717
  * @return {?}
@@ -4712,9 +4724,10 @@ const getRedactionArray = createSelector(getRedactionEnt$1, getDocumentId, (/**
4712
4724
  */
4713
4725
  key => ent[key]));
4714
4726
  return { redactions, documentId };
4715
- }));
4727
+ };
4716
4728
  /** @type {?} */
4717
- const getRedactionsPerPage = createSelector(getPages, getRedactionPages, (/**
4729
+ const getRedactionArray = createSelector(getRedactionEnt$1, getDocumentId, (ɵ1$3));
4730
+ const ɵ2$1 = /**
4718
4731
  * @param {?} pages
4719
4732
  * @param {?} pageEnt
4720
4733
  * @return {?}
@@ -4735,7 +4748,9 @@ const getRedactionsPerPage = createSelector(getPages, getRedactionPages, (/**
4735
4748
  }));
4736
4749
  return arr;
4737
4750
  }
4738
- }));
4751
+ };
4752
+ /** @type {?} */
4753
+ const getRedactionsPerPage = createSelector(getPages, getRedactionPages, (ɵ2$1));
4739
4754
 
4740
4755
  /**
4741
4756
  * @fileoverview added by tsickle
@@ -4827,38 +4842,42 @@ RedactionToolbarComponent.ctorParameters = () => [
4827
4842
  * @fileoverview added by tsickle
4828
4843
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4829
4844
  */
4830
- /** @type {?} */
4831
- const getIcpState = createSelector(getMVState, (/**
4845
+ const ɵ0$5 = /**
4832
4846
  * @param {?} state
4833
4847
  * @return {?}
4834
4848
  */
4835
- (state) => state.icp));
4849
+ (state) => state.icp;
4836
4850
  /** @type {?} */
4837
- const getIcpSession$1 = createSelector(getIcpState, getIcpSession);
4851
+ const getIcpState = createSelector(getMVState, (ɵ0$5));
4838
4852
  /** @type {?} */
4839
- const getCaseId = createSelector(getIcpSession$1, (/**
4853
+ const getIcpSession$1 = createSelector(getIcpState, getIcpSession);
4854
+ const ɵ1$4 = /**
4840
4855
  * @param {?} session
4841
4856
  * @return {?}
4842
4857
  */
4843
- session => session === null ? null : session.caseId));
4858
+ session => session === null ? null : session.caseId;
4844
4859
  /** @type {?} */
4845
- const getPresenter$1 = createSelector(getIcpState, getPresenter);
4860
+ const getCaseId = createSelector(getIcpSession$1, (ɵ1$4));
4846
4861
  /** @type {?} */
4847
- const getPresenterName = createSelector(getPresenter$1, (/**
4862
+ const getPresenter$1 = createSelector(getIcpState, getPresenter);
4863
+ const ɵ2$2 = /**
4848
4864
  * @param {?} presenter
4849
4865
  * @return {?}
4850
4866
  */
4851
- presenter => presenter === null ? null : presenter.username));
4867
+ presenter => presenter === null ? null : presenter.username;
4852
4868
  /** @type {?} */
4853
- const getClient$1 = createSelector(getIcpState, getClient);
4869
+ const getPresenterName = createSelector(getPresenter$1, (ɵ2$2));
4854
4870
  /** @type {?} */
4855
- const isPresenter = createSelector(getPresenter$1, getClient$1, (/**
4871
+ const getClient$1 = createSelector(getIcpState, getClient);
4872
+ const ɵ3$1 = /**
4856
4873
  * @param {?} presenter
4857
4874
  * @param {?} client
4858
4875
  * @return {?}
4859
4876
  */
4860
4877
  (presenter, client) => presenter === null ? undefined : presenter.id === client.id // isPresenter is called when = false.
4861
- ));
4878
+ ;
4879
+ /** @type {?} */
4880
+ const isPresenter = createSelector(getPresenter$1, getClient$1, (ɵ3$1));
4862
4881
  /** @type {?} */
4863
4882
  const getParticipants$1 = createSelector(getIcpState, getParticipants);
4864
4883
 
@@ -5083,7 +5102,7 @@ AnnotationViewComponent.propDecorators = {
5083
5102
  update: [{ type: Output }],
5084
5103
  delete: [{ type: Output }],
5085
5104
  annotationClick: [{ type: Output }],
5086
- container: [{ type: ViewChild, args: ['container',] }]
5105
+ container: [{ type: ViewChild, args: ['container', { static: false },] }]
5087
5106
  };
5088
5107
 
5089
5108
  /**
@@ -5397,7 +5416,7 @@ RectangleComponent.propDecorators = {
5397
5416
  pageWidth: [{ type: Input }],
5398
5417
  select: [{ type: Output }],
5399
5418
  update: [{ type: Output }],
5400
- viewRect: [{ type: ViewChild, args: ['rectElement',] }],
5419
+ viewRect: [{ type: ViewChild, args: ['rectElement', { static: false },] }],
5401
5420
  annoRect: [{ type: Input }],
5402
5421
  selected: [{ type: Input }]
5403
5422
  };
@@ -5687,8 +5706,8 @@ CommentComponent.propDecorators = {
5687
5706
  zoom: [{ type: Input }],
5688
5707
  index: [{ type: Input }],
5689
5708
  page: [{ type: Input }],
5690
- form: [{ type: ViewChild, args: ['form',] }],
5691
- editableComment: [{ type: ViewChild, args: ['editableComment',] }],
5709
+ form: [{ type: ViewChild, args: ['form', { static: false },] }],
5710
+ editableComment: [{ type: ViewChild, args: ['editableComment', { static: false },] }],
5692
5711
  comment: [{ type: Input }],
5693
5712
  annotation: [{ type: Input }]
5694
5713
  };
@@ -6142,8 +6161,8 @@ CommentSetComponent.propDecorators = {
6142
6161
  height: [{ type: Input }],
6143
6162
  pageHeights: [{ type: Input }],
6144
6163
  contentScrollTop: [{ type: Input }],
6145
- container: [{ type: ViewChild, args: ['container',] }],
6146
- panel: [{ type: ViewChild, args: ['panel',] }],
6164
+ container: [{ type: ViewChild, args: ['container', { static: false },] }],
6165
+ panel: [{ type: ViewChild, args: ['panel', { static: false },] }],
6147
6166
  commentComponents: [{ type: ViewChildren, args: ['commentComponent',] }]
6148
6167
  };
6149
6168
 
@@ -6232,6 +6251,11 @@ class CommentsSummaryComponent {
6232
6251
  });
6233
6252
  this.comments$ = this.store.pipe(select(getCommentSummary));
6234
6253
  this.buildCheckBoxForm();
6254
+ }
6255
+ /**
6256
+ * @return {?}
6257
+ */
6258
+ ngAfterViewInit() {
6235
6259
  this.container.nativeElement.focus();
6236
6260
  }
6237
6261
  /**
@@ -6340,8 +6364,8 @@ CommentsSummaryComponent.ctorParameters = () => [
6340
6364
  CommentsSummaryComponent.propDecorators = {
6341
6365
  title: [{ type: Input }],
6342
6366
  contentType: [{ type: Input }],
6343
- container: [{ type: ViewChild, args: ['outerContainer',] }],
6344
- commentsTable: [{ type: ViewChild, args: ['commentContainer',] }]
6367
+ container: [{ type: ViewChild, args: ['outerContainer', { static: false },] }],
6368
+ commentsTable: [{ type: ViewChild, args: ['commentContainer', { static: false },] }]
6345
6369
  };
6346
6370
 
6347
6371
  /**
@@ -6472,7 +6496,7 @@ BoxHighlightCreateComponent.propDecorators = {
6472
6496
  zoom: [{ type: Input }],
6473
6497
  container: [{ type: Input }],
6474
6498
  saveSelection: [{ type: Output }],
6475
- highlight: [{ type: ViewChild, args: ['boxHighlight',] }]
6499
+ highlight: [{ type: ViewChild, args: ['boxHighlight', { static: false },] }]
6476
6500
  };
6477
6501
 
6478
6502
  /**
@@ -6638,7 +6662,7 @@ CommentSearchComponent.ctorParameters = () => [
6638
6662
  ];
6639
6663
  CommentSearchComponent.propDecorators = {
6640
6664
  annotations: [{ type: Input }],
6641
- searchInput: [{ type: ViewChild, args: ['searchInput',] }]
6665
+ searchInput: [{ type: ViewChild, args: ['searchInput', { static: false },] }]
6642
6666
  };
6643
6667
 
6644
6668
  /**
@@ -7399,26 +7423,27 @@ SharedModule.decorators = [
7399
7423
  * @fileoverview added by tsickle
7400
7424
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7401
7425
  */
7402
- /** @type {?} */
7403
- const getBookmarkState = createSelector(getMVState, (/**
7426
+ const ɵ0$6 = /**
7404
7427
  * @param {?} state
7405
7428
  * @return {?}
7406
7429
  */
7407
- (state) => state.bookmarks));
7430
+ (state) => state.bookmarks;
7431
+ /** @type {?} */
7432
+ const getBookmarkState = createSelector(getMVState, (ɵ0$6));
7408
7433
  /** @type {?} */
7409
7434
  const getBookmarkPages = createSelector(getBookmarkState, getBookmarkPageEnt);
7410
7435
  /** @type {?} */
7411
7436
  const getBookmarkEntities = createSelector(getBookmarkState, getBookmarkEnts);
7412
- /** @type {?} */
7413
- const getBookmarkNodes = createSelector(getBookmarkEntities, (/**
7437
+ const ɵ1$5 = /**
7414
7438
  * @param {?} entities
7415
7439
  * @return {?}
7416
7440
  */
7417
- (entities) => generateBookmarkNodes(entities)));
7441
+ (entities) => generateBookmarkNodes(entities);
7418
7442
  /** @type {?} */
7419
- const getEditableBookmark = createSelector(getBookmarkState, getEditBookmark);
7443
+ const getBookmarkNodes = createSelector(getBookmarkEntities, (ɵ1$5));
7420
7444
  /** @type {?} */
7421
- const getBookmarkInfo = createSelector(getBookmarkNodes, getDocumentId, getPdfPosition, getPages, (/**
7445
+ const getEditableBookmark = createSelector(getBookmarkState, getEditBookmark);
7446
+ const ɵ2$3 = /**
7422
7447
  * @param {?} bookmarkNodes
7423
7448
  * @param {?} docId
7424
7449
  * @param {?} pdfPosition
@@ -7433,9 +7458,10 @@ const getBookmarkInfo = createSelector(getBookmarkNodes, getDocumentId, getPdfPo
7433
7458
  previous: bookmarkNodes.length > 0 ? bookmarkNodes[bookmarkNodes.length - 1].id : undefined,
7434
7459
  documentId: docId
7435
7460
  };
7436
- }));
7461
+ };
7437
7462
  /** @type {?} */
7438
- const getBookmarksPerPage = createSelector(getPages, getBookmarkPages, (/**
7463
+ const getBookmarkInfo = createSelector(getBookmarkNodes, getDocumentId, getPdfPosition, getPages, (ɵ2$3));
7464
+ const ɵ3$2 = /**
7439
7465
  * @param {?} pages
7440
7466
  * @param {?} pageEnt
7441
7467
  * @return {?}
@@ -7461,7 +7487,9 @@ const getBookmarksPerPage = createSelector(getPages, getBookmarkPages, (/**
7461
7487
  }));
7462
7488
  return arr;
7463
7489
  }
7464
- }));
7490
+ };
7491
+ /** @type {?} */
7492
+ const getBookmarksPerPage = createSelector(getPages, getBookmarkPages, (ɵ3$2));
7465
7493
 
7466
7494
  /**
7467
7495
  * @fileoverview added by tsickle
@@ -10130,8 +10158,8 @@ MultimediaPlayerComponent.propDecorators = {
10130
10158
  downloadFileName: [{ type: Input }],
10131
10159
  multimediaOn: [{ type: Input }],
10132
10160
  loadStatus: [{ type: Output }],
10133
- downloadLink: [{ type: ViewChild, args: ['downloadLink',] }],
10134
- videoPlayer: [{ type: ViewChild, args: ['videoPlayer',] }]
10161
+ downloadLink: [{ type: ViewChild, args: ['downloadLink', { static: false },] }],
10162
+ videoPlayer: [{ type: ViewChild, args: ['videoPlayer', { static: false },] }]
10135
10163
  };
10136
10164
 
10137
10165
  /**